PowerPC: multiarch strncasecmp for PowerPC32
[glibc.git] / ChangeLog
blobadf07a8563f265b2e2de4232587b9b800e2a45ca
1 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4         file.
5         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6         multiarch strncasecmp for PPC32.
7         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8         file.
9         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10         multiarch strncasecmp_l for PPC32.
11         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12         strncasecmp multiarch objects.
13         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14         (__libc_ifunc_impl_list): Likewise.
16 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19         file.
20         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21         multiarch strncasecmp for PPC32.
22         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23         New file.
24         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25         multiarch strcasecmp_l for PPC32.
26         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27         multiarch objects.
28         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29         (__libc_ifunc_impl_list): Likewise.
31 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34         file.
35         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36         file.
37         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38         multiarch strncmp for PPC32.
39         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40         multiarch objects.
41         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42         (__libc_ifunc_impl_list): Likewise.
44 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48         file.
49         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
50         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52         multiarch objects.
53         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54         (__libc_ifunc_impl_list): Likewise.
56 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59         file.
60         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
61         file.
62         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
63         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
64         multiarch objects.
65         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
66         (__libc_ifunc_impl_list): Likewise.
68 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
71         file.
72         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
73         file.
74         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
75         multiarch rawmemchr for PPC32.
76         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
77         multiarch objects.
78         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
79         (__libc_ifunc_impl_list): Likewise.
81 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
84         file.
85         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
86         file.
87         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
88         file: memrchr multiarch for PPC32.
89         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
90         multiarch objects.
91         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
92         (__libc_ifunc_impl_list): Likewise.
94 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
96         * string/memchr.c (__memchr): Using macro to redefine symbol name.
97         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
98         file.
99         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
100         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
101         multiarch memchr for PPC32.
102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
103         multiarch objects.
104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
105         (__libc_ifunc_impl_list): Likewise.
107 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
109         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
110         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
111         file.
112         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
113         file.
114         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
115         file: multiarch mempcpy for PPC32.
116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
117         multiarch objects.
118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
119         (__libc_ifunc_impl_list): Likewise.
121 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
123         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
124         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
125         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
126         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
127         multiarch bzero for PPC32.
128         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
129         file.
130         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
131         file.
132         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
133         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
134         file: multiarch memset for PPC32.
135         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
137         memset multiarch objects.
138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
139         (__libc_ifunc_impl_list): Likewise.
141 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
144         file.
145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
147         memcmp for PPC32.
148         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
150         multiarch objects.
151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
152         (__libc_ifunc_impl_list): Likewise.
154 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
157         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
159         file.
160         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
161         file.
162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
163         file.
164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
165         multiarch memcpy for PPC32.
166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
167         multiarch objects.
168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
169         (__libc_ifunc_impl_list): Likewise.
171 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
174         support multiarch for POWER/PPC32.
175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
176         Likewise.
177         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
179         Implies file to make multiarch folder appers before the fpu and
180         default folder for power4 configuration.
182 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
184         * scripts/bench.pl: Append volatile keyword to type.
186 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
188         * sysdeps/sh/sotruss-lib.c: New file.
189         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
191 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
195 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
197         [BZ #6810]
198         * math/w_tgamma.c: Include <errno.h>.
199         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
200         * math/w_tgammaf.c: Include <errno.h>.
201         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
202         * math/w_tgammal.c: Include <errno.h>.
203         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
204         * math/auto-libm-test-in: Do not allow missing errno on tgamma
205         underflow.  Add more tgamma tests.
206         * math/auto-libm-test-out: Regenerated.
207         * sysdeps/i386/fpu/libm-test-ulps: Update.
208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
210         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
211         sin, sinh, tan, tanh, tgamma, y0 and y1.
212         * math/auto-libm-test-out: Regenerated.
213         * math/libm-test.inc (TEST_COND_x86_64): New macro.
214         (TEST_COND_x86): Likewise.
215         (M_E2l): Remove macro.
216         (M_E3l): Likewise.
217         (M_2_SQRT_PIl): Likewise.
218         (M_SQRT_PIl): Likewise.
219         (M_1_DIV_El): Likewise.
220         (log_test_data): Use AUTO_TESTS_f_f.
221         (log10_test_data): Likewise.
222         (log1p_test_data): Likewise.
223         (log2_test_data): Likewise.
224         (sin_test_data): Likewise.
225         (sin_tonearest_test_data): Likewise.
226         (sin_towardzero_test_data): Likewise.
227         (sin_downward_test_data): Likewise.
228         (sin_upward_test_data): Likewise.
229         (sinh_test_data): Likewise.
230         (sinh_tonearest_test_data): Likewise.
231         (sinh_towardzero_test_data): Likewise.
232         (sinh_downward_test_data): Likewise.
233         (sinh_upward_test_data): Likewise.
234         (tan_test_data): Likewise.
235         (tan_tonearest_test_data): Likewise.
236         (tan_towardzero_test_data): Likewise.
237         (tan_downward_test_data): Likewise.
238         (tan_upward_test_data): Likewise.
239         (tanh_test_data): Likewise.
240         (tgamma_test_data): Likewise.
241         (y0_test_data): Likewise.
242         (y1_test_data): Likewise.
243         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
244         (special_real_inputs): Add pi/4.
245         * sysdeps/i386/fpu/libm-test-ulps: Update.
246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
248 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
250         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
251         "longjmp_target" static probes.
252         (__longjmp): Rename to __longjmp_symbol.
253         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
254         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
255         on which longjmp to generate.
256         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
257         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
258         probe.
259         (__sigsetjmp): Rename to __sigsetjmp_symbol.
260         (__sigjmp_save): Rename to __sigjmp_save_symbol.
261         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
262         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
263         and __sigjmp_save_symbol based on which sigsetjmp to generated.
264         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
266         __longjmp_symbol based on which __longjmp to generate.
267         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
268         probe.
269         (setjmp): Rename to setjmp_symbol.
270         (__sigsetjmp): Rename to __sigsetjmp_symbol.
271         (_setjmp): Rename to _setjmp_symbol.
272         (__sigsetjmp): Rename to __sigsetjmp_symbol.
273         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
274         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
275         which setjmp to generate.
276         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
277         "longjmp_target" static probes.
279 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
281         * benchtests/README: Add note about output arguments.
282         * benchtests/bench-sincos.c: Remove file.
283         * benchtests/sincos-inputs: New file.
284         * scripts/bench.pl: Identify output arguments and define
285         static variables for them.
287         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
289         [BZ #15941]
290         * Makefile (INSTALL): Add install-plain.texi as the primary
291         dependency.
292         * manual/install-plain.texi: New file.
293         * manual/install.texi: Include node directive only for
294         non-plaintext output.
296 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
298         * stdlib/longlong.h: Update from GCC.
300         [BZ #6807]
301         [BZ #15901]
302         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
303         * math/w_j0f.c (y0f): Likewise.
304         * math/w_j0l.c (__y0l): Likewise.
305         * math/w_j1.c (y1): Likewise.
306         * math/w_j1f.c (y1f): Likewise.
307         * math/w_j1l.c (__y1l): Likewise
308         * math/w_jn.c (yn): Likewise.
309         * math/w_jnf.c (ynf): Likewise.
310         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
311         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
312         value for Bessel function domain errors outside _SVID_ mode.
313         Adjust sign of return value for yn (negative integer, 0).
314         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
315         by zero in return for negative x and set sign appropriately for
316         negative n.
317         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
318         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
319         * math/libm-test.inc (y0_test_data): Add more tests and adjust
320         expectations in error cases.
321         (y1_test_data): Likewise.
322         (yn_test_data): Likewise.
323         * sysdeps/i386/fpu/libm-test-ulps: Update.
324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
326 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
328         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
329         "64" to "64-v1".  Add "64-v2".
330         (abi-64-options): Rename to ...
331         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
332         (abi-64-condition): Rename to ...
333         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
334         (abi-64-ld-soname): Rename to ...
335         (abi-64-v1-ld-soname): ... this.
336         (abi-64-v2-options): Define.
337         (abi-64-v2-condition): Likewise.
338         (abi-64-v2-ld-soname): Likewise.
339         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
340         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
345 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
346             Alan Modra  <amodra@gmail.com>
348         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
349         New versions for use with the ELFv2 ABI.
350         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
351         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
352         declaration.
353         (struct La_ppc64v2_retval): Likewise.
354         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
355         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
356         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
357         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
358         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
359         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
360         Do not save or restore CR.
361         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
362         (_dl_profile_resolve): Do no save or restore CR.  Support extended
363         return values for ELFv2 ABI.  Fix location of FPR return registers.
364         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
365         updated values for _CALL_ELF == 2.
366         (La_regs, La_retval, int_retval): Likewise.
368 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
370         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
371         (FRAME_MIN_SIZE_PARM): Likewise.
372         (FRAME_BACKCHAIN): Likewise.
373         (FRAME_CR_SAVE): Likewise.
374         (FRAME_LR_SAVE): Likewise.
375         (FRAME_TOC_SAVE): Likewise.
376         (FRAME_PARM_SAVE): Likewise.
377         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
378         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
379         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
380         (call_mcount_parm_offset): New macro.
381         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
382         (PROF): Use symbolic stack frame offsets.
383         (TAIL_CALL_SYSCALL_ERROR): Likewise.
384         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
385         Redefine in terms of FRAME_MIN_SIZE.
386         (_dl_runtime_resolve): Use symbolic stack frame offsets.
387         (_dl_profile_resolve): Likewise.  Update comment.
388         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
389         symbols stack frame offsets.
390         (__sigsetjmp): Likewise.
391         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
392         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
393         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
394         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
397         (FRAME_BACKCHAIN): Remove.
398         (FRAME_CR_SAVE): Likewise.
399         (FRAME_LR_SAVE): Likewise.
400         (FRAME_COMPILER_DW): Likewise.
401         (FRAME_LINKER_DW): Likewise.
402         (FRAME_TOC_SAVE): Likewise.
403         (FRAME_PARM_SAVE): Likewise.
404         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
405         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
406         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
408         (CHECK_SP): Use symbolic stack frame offsets.
409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
410         zone" instead of caller's parameter save area for temp storage.
411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
412         Likewise.  Also, use symbolic stack frame offsets.
413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
414         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
415         our own stack frame instead of the caller's.
416         (__socket): Use symbolic stack frame offsets.
418 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
419             Alan Modra  <amodra@gmail.com>
421         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
422         Define.
423         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
424         PPC64_LOCAL_ENTRY_OFFSET): Define.
425         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
426         New function.
427         (elf_machine_fixup_plt): Call it.
428         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
429         reloc arguments.
430         (elf_machine_rela): Update call to elf_machine_plt_conflict.
431         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
432         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
433         r2 before calling target.
435 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
436             Alan Modra  <amodra@gmail.com>
438         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
439         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
440         versions of macros to support ELFv2 ABI.
441         (LOCALENTRY): New macro.
442         (ENTRY, EALIGN): Use it.
443         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
444         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
445         fall through into ENTRY entry point.
446         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
447         Only define if _CALL_ELF != 2.
449         (elf_machine_matches_host): Verify ABI version matches.
450         (RTLD_START): Use LOCALENTRY.
451         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
452         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
453         (PLT_ENTRY_WORDS): New macro.
454         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
455         (elf_machine_runtime_setup): Support ELFv2 ABI.
456         (elf_machine_fixup_plt): Likewise.
457         (elf_machine_plt_conflict): Likewise.
458         (resolve_ifunc): Likewise.
459         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
460         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
461         Likewise.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
463         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
465         (makecontext): Support ELFv2 ABI.
466         * elf/elf.h (EF_PPC64_ABI): Define.
468 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
470         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
471         New assembler macro.
472         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
473         [ASSEMBLER] (ENTRY): ... but instead here ...
474         [ASSEMBLER] (EALIGN): ... and here.
475         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
476         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
477         [!ASSEMBLER] (ENTRY_2): Use it.
478         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
479         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
480         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
481         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
482         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
484         Use PPC64_LOAD_FUNCPTR.
486 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
488         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
490 2013-12-04  Alan Modra  <amodra@gmail.com>
492         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
493         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
494         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
495         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
498         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
499         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
500         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
501         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
502         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
504 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
507         (__makecontext): Fix incorrect CFI when backtracing out of
508         context created via makecontext.
509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
510         (__setcontext): Fix incorrect CFI during switch to new context.
511         (__novec_setcontext): Likewise.
513 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
515         [BZ #4772]
516         * time/strptime_l.c (__strptime_internal): Allow modifiers
517         in strptime.
518         * time/tst-strptime.c (day_tests): Add testcase.
521 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
523         * scripts/bench.pl: Skip over blank lines.
525 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
527         [BZ #926]
528         * manual/time.texi (Calendar Time): Clarify what timezone functions
529         use.
531 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
535 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
537         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
538         implementation.
539         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
540         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
541         * debug/memset_chk.c (__memset_chk): Likewise.
542         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
543         * debug/strncpy_chk.c: Likewise.
545 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
547         [BZ #15268]
548         [BZ #15425]
549         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
550         (__ieee754_exp): For possibly underflowing results, check size of
551         result and force underflow exception if required.
552         * math/auto-libm-test-in: Add more tests of exp.
553         * math/auto-libm-test-out: Regenerated.
554         * sysdeps/i386/fpu/libm-test-ulps: Update.
555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
557         [BZ #16283]
558         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
559         * math/w_exp2f.c (__exp2f): Likewise.
560         * math/w_exp2l.c (__exp2l): Likewise.
561         * math/auto-libm-test-in: Do not allow missing errno on exp2
562         underflow.
563         * math/auto-libm-test-out: Regenerated.
565 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
567         [BZ #16274]
568         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
569         handle filename validation.
570         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
571         (do_open): Delete.
573 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
575         [BZ #6786]
576         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
577         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
578         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
579         <float.h>.
580         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
581         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
582         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
583         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
584         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
585         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
586         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
587         * math/auto-libm-test-in: Don't allow missing errno from erfc.
588         Add more erfc tests.
589         * math/auto-libm-test-out: Regenerated.
590         * sysdeps/i386/fpu/libm-test-ulps: Update.
591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
593         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
594         exp2, expm1, j0 and j1.
595         * math/auto-libm-test-out: Regenerated.
596         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
597         (erfc_test_data): Likewise.
598         (exp_test_data): Likewise.
599         (exp_tonearest_test_data): Likewise.
600         (exp_towardzero_test_data): Likewise.
601         (exp_downward_test_data): Likewise.
602         (exp_upward_test_data): Likewise.
603         (exp10_test_data): Likewise.
604         (exp2_test_data): Likewise.
605         (expm1_test_data): Likewise.
606         (j0_test_data): Likewise.
607         (j1_test_data): Likewise.
608         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
609         (input_flag_type): Add flag_xfail_rounding.
610         (input_flags): Add xfail-rounding.
611         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
612         (output_for_one_input_case): Handle flag_xfail_rounding.
613         * sysdeps/i386/fpu/libm-test-ulps: Update.
614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
616 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
618         [BZ #16289]
619         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
620         division by 0.
622 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
624         [BZ #16195]
625         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
626         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
627         (STAP_PROBE0): New macro.
628         (STAP_PROBE1): Likewise.
629         (STAP_PROBE2): Likewise.
630         (STAP_PROBE3): Likewise.
631         (STAP_PROBE4): Likewise.
633 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
635         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
637 2013-12-02  Steve Ellcey  <sellcey@mips.com>
639         * benchtests/Makefile (bench): Add sqrt.
640         (LDLIBS-bench-sqrt): New.
641         * benchtests/sqrt-input: New.
643 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
645         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
646         (GAIH_EAI): Likewise.
647         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
648         (gaih_inet): Likewise.
649         (getaddrinfo): Don't use GAIH_EAI.
651         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
652         (struct gaih): Remove definition.
654 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
656         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
657         Use HERRNOP directly.
659 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
663 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
665         * math/gen-auto-libm-tests.c (test_functions): Add more
666         single-argument functions.
667         (special_fill_pi_2): New function.
668         (special_fill_minus_pi_2): Likewise.
669         (special_fill_pi_6): Likewise.
670         (special_fill_minus_pi_6): Likewise.
671         (special_fill_pi_3): Likewise.
672         (special_fill_2pi_3): Likewise.
673         (special_fill_e): Likewise.
674         (special_fill_1_e): Likewise.
675         (special_fill_e_minus_1): Likewise.
676         (special_real_inputs): Add more special inputs.
677         (output_for_one_input_case): Do not require ERANGE on underflow to
678         zero if round-to-nearest result does not underflow to zero, unless
679         exact results required.
680         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
681         atan, atanh, cbrt, cos and cosh.
682         * math/auto-libm-test-out: Regenerated.
683         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
684         (acos_tonearest_test_data): Likewise.
685         (acos_towardzero_test_data): Likewise.
686         (acos_downward_test_data): Likewise.
687         (acos_upward_test_data): Likewise.
688         (acosh_test_data): Likewise.
689         (asin_test_data): Likewise.
690         (asin_tonearest_test_data): Likewise.
691         (asin_towardzero_test_data): Likewise.
692         (asin_upward_test_data): Likewise.
693         (asinh_test_data): Likewise.
694         (atan_test_data): Likewise.
695         (atanh_test_data): Likewise.
696         (cbrt_test_data): Likewise.
697         (cos_test_data): Likewise.
698         (cos_tonearest_test_data): Likewise.
699         (cos_towardzero_test_data): Likewise.
700         (cos_downward_test_data): Likewise.
701         (cos_upward_test_data): Likewise.
702         (cosh_test_data): Likewise.
703         (cosh_tonearest_test_data): Likewise.
704         (cosh_towardzero_test_data): Likewise.
705         (cosh_downward_test_data): Likewise.
706         (cosh_upward_test_data): Likewise.
707         * sysdeps/i386/fpu/libm-test-ulps: Update.
708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
710 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
712         [BZ #6787]
713         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
714         * math/w_exp10f.c (__exp10f): Likewise.
715         * math/w_exp10l.c (__exp10l): Likewise.
716         * math/libm-test.inc (exp10_test_data): Add more tests and expect
717         errno settings in existing tests.
719         [BZ #14032]
720         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
721         precision control set to double precision.
722         * sysdeps/i386/fpu/w_sqrt.c: New file.
723         * math/auto-libm-test-in: Add more tests.
724         * math/auto-libm-test-out: Update.
726         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
727         (sqrt_test_tonearest): New function.
728         (sqrt_towardzero_test_data): New variable.
729         (sqrt_test_towardzero): New function.
730         (sqrt_downward_test_data): New variable.
731         (sqrt_test_downward): New function.
732         (sqrt_upward_test_data): New variable.
733         (sqrt_test_upward): New function.
734         (main): Call the new functions.
736         * math/gen-auto-libm-tests.c: New file.
737         * math/auto-libm-test-in: Likewise.
738         * math/auto-libm-test-out: New generated file.
739         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
740         variables.
741         (%beautify): Add generated representations of zero.
742         (top level): Set $auto_input and call parse_auto_input.
743         (beautify): Remove trailing "f" from hex float constants.
744         (parse_args): Handle XFAIL_TEST.
745         (convert_condition): New function.
746         (or_value): Likewise.
747         (or_cond_value): Likewise.
748         (generate_testfile): Handle AUTO_TESTS_* lines.
749         (parse_auto_input): New function.
750         * math/libm-test.inc (XFAIL_TEST): New macro.
751         (ERRNO_UNCHANGED): Update value.
752         (ERRNO_EDOM): Likewise.
753         (ERRNO_ERANGE): Likewise.
754         (IGNORE_RESULT): Likewise.
755         (TEST_COND_flt_32): New macro.
756         (TEST_COND_dbl_64): Likewise.
757         (TEST_COND_ldbl_96_intel): Likewise.
758         (TEST_COND_ldbl_96_m68k): Likewise.
759         (TEST_COND_ldbl_128): Likewise.
760         (TEST_COND_ldbl_128ibm): Likewise.
761         (TEST_COND_long32): Likewise.
762         (TEST_COND_long64): Likewise.
763         (TEST_COND_before_rounding): Likewise.
764         (TEST_COND_after_rounding): Likewise.
765         (enable_test): Handle XFAIL_TEST flag.
766         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
767         with finite results.
768         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
769         auto-libm-test-out.
771 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
772             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
774         [BZ #16214]
775         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
776         __tls_get_addr_internal instead of __tls_get_offset in order to
777         avoid GOT pointer dependency.  Make rtld export
778         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
779         __tls_get_addr since we are a __tls_get_offset platform.
780         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
781         GOT pointer being set up before.
782         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
784 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
786         * manual/math.texi (Errors in Math Functions): Document accuracy
787         goals.
789         [BZ #15004]
790         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
791         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
792         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
793         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
794         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
795         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
796         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
797         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
798         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
799         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
800         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
801         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
802         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
803         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
804         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
805         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
807         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
808         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
809         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
810         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
811         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
812         Likewise.
813         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
814         Likewise.
815         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
816         Likewise.
817         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
818         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
819         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
820         atomic-feupdateenv and flt-rounds.
821         * sysdeps/powerpc/nofpu/Versions (libc): Add
822         __atomic_feholdexcept, __atomic_feclearexcept,
823         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
824         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
825         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
826         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
827         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
828         here.
829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
830         Update.
832         * manual/arith.texi (FP Exceptions): Document that exceptions may
833         not be raised when matherr is used.
834         (Math Error Reporting): Document overflow in directed rounding
835         modes.  Document that errno may not be set when finite values are
836         returned on overflow.  Document intent to set errno on underflow
837         only for underflow to zero.
839         [BZ #16271]
840         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
841         round-to-nearest then adjust result for other rounding modes.
842         * include/fenv.h (fegetround): Use libm_hidden_proto.
843         * math/fegetround.c (fegetround): Use libm_hidden_def.
844         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
845         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
846         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
847         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
848         Likewise.
849         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
850         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
851         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
852         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
854 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
856         [BZ #16077]
857         * nss/Versions (libnss_files): Add
858         _nss_files_gethostbyname3_r.
859         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
860         New function.
861         (HOST_DB_LOOKUP): Remove macro.
862         (_nss_files_gethostbyname_r): Implement function without the
863         HOST_DB_LOOKUP macro.
864         (_nss_files_gethostbyname2_r): Likewise.
866 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
868         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
870 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
872         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
873         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
874         warning.
876 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
878         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
879         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
880         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
881         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
882         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
883         __fe_nomask_env_priv and attribute_hidden.
884         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
885         (libc_feupdateenv_test_ppc): Likewise.
886         (libc_feresetround_ppc): Likewise.
887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
888         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
889         compat_symbol macro.
890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
891         (__fe_nomask_env): Likewise.
892         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
894 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
896         * string/Makefile: Remove ifunc tests.
897         * string/test-string.h: Define TEST_IFUNC.
898         * string/test-bcopy-ifunc.c: Remove.
899         * string/test-bzero-ifunc.c: Likewise.
900         * string/test-memccpy-ifunc.c: Likewise.
901         * string/test-memchr-ifunc.c: Likewise.
902         * string/test-memcmp-ifunc.c: Likewise.
903         * string/test-memcpy-ifunc.c: Likewise.
904         * string/test-memmem-ifunc.c: Likewise.
905         * string/test-memmove-ifunc.c: Likewise.
906         * string/test-mempcpy-ifunc.c: Likewise.
907         * string/test-memrchr-ifunc.c: Likewise.
908         * string/test-memset-ifunc.c: Likewise.
909         * string/test-rawmemchr-ifunc.c: Likewise.
910         * string/test-stpcpy-ifunc.c: Likewise.
911         * string/test-stpncpy-ifunc.c: Likewise.
912         * string/test-strcasecmp-ifunc.c: Likewise.
913         * string/test-strcasestr-ifunc.c: Likewise.
914         * string/test-strcat-ifunc.c: Likewise.
915         * string/test-strchr-ifunc.c: Likewise.
916         * string/test-strchrnul-ifunc.c: Likewise.
917         * string/test-strcmp-ifunc.c: Likewise.
918         * string/test-strcpy-ifunc.c: Likewise.
919         * string/test-strcspn-ifunc.c: Likewise.
920         * string/test-strlen-ifunc.c: Likewise.
921         * string/test-strncasecmp-ifunc.c: Likewise.
922         * string/test-strncat-ifunc.c: Likewise.
923         * string/test-strncmp-ifunc.c: Likewise.
924         * string/test-strncpy-ifunc.c: Likewise.
925         * string/test-strnlen-ifunc.c: Likewise.
926         * string/test-strpbrk-ifunc.c: Likewise.
927         * string/test-strrchr-ifunc.c: Likewise.
928         * string/test-strspn-ifunc.c: Likewise.
929         * string/test-strstr-ifunc.c: Likewise.
931 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
933         * benchtests/Makefile: Remove ifunc tests.
934         * benchtests/bench-string.h: Define TEST_IFUNC.
935         * benchtests/bench-bcopy-ifunc.c: Remove.
936         * benchtests/bench-bzero-ifunc.c: Likewise.
937         * benchtests/bench-memccpy-ifunc.c: Likewise.
938         * benchtests/bench-memchr-ifunc.c: Likewise.
939         * benchtests/bench-memcmp-ifunc.c: Likewise.
940         * benchtests/bench-memcpy-ifunc.c: Likewise.
941         * benchtests/bench-memmem-ifunc.c: Likewise.
942         * benchtests/bench-memmove-ifunc.c: Likewise.
943         * benchtests/bench-mempcpy-ifunc.c: Likewise.
944         * benchtests/bench-memrchr-ifunc.c: Likewise.
945         * benchtests/bench-memset-ifunc.c: Likewise.
946         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
947         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
948         * benchtests/bench-stpcpy-ifunc.c: Likewise.
949         * benchtests/bench-stpncpy-ifunc.c: Likewise.
950         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
951         * benchtests/bench-strcasestr-ifunc.c: Likewise.
952         * benchtests/bench-strcat-ifunc.c: Likewise.
953         * benchtests/bench-strchr-ifunc.c: Likewise.
954         * benchtests/bench-strchrnul-ifunc.c: Likewise.
955         * benchtests/bench-strcmp-ifunc.c: Likewise.
956         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
957         * benchtests/bench-strcpy-ifunc.c: Likewise.
958         * benchtests/bench-strcspn-ifunc.c: Likewise.
959         * benchtests/bench-strlen-ifunc.c: Likewise.
960         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
961         * benchtests/bench-strncat-ifunc.c: Likewise.
962         * benchtests/bench-strncmp-ifunc.c: Likewise.
963         * benchtests/bench-strncpy-ifunc.c: Likewise.
964         * benchtests/bench-strnlen-ifunc.c: Likewise.
965         * benchtests/bench-strpbrk-ifunc.c: Likewise.
966         * benchtests/bench-strrchr-ifunc.c: Likewise.
967         * benchtests/bench-strsep-ifunc.c: Likewise.
968         * benchtests/bench-strspn-ifunc.c: Likewise.
969         * benchtests/bench-strstr-ifunc.c: Likewise.
971 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
973         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
975 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
977         * resolv/netdb.h: Use __glibc_reserved instead __unused.
978         * rt/aio.h: Likewise.
979         * sysdeps/gnu/bits/utmp.h: Likewise.
980         * sysdeps/gnu/bits/utmpx.h: Likewise.
981         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
982         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
983         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
984         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
985         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
986         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
987         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
988         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
989         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
990         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
991         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
992         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
993         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
995         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
996         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
997         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
998         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
999         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1000         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1001         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1002         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1003         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1004         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1005         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1006         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1007         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1008         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1009         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1010         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1011         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1012         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1013         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1014         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1015         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1016         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1017         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1018         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1019         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1020         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1021         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1022         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1024 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
1026         [BZ #16245]
1027         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1028         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1030 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
1032         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1033         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1034         Likewise.
1036 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1038         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1039         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1040         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1041         (__fesetround): Remove define.
1042         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1043         rounding and exceptions handling.
1044         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1045         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1046         (__fe_nomask_env): Likewise.
1047         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1048         __fegetround instead of fegetround.
1049         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1050         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1052 2013-11-21  Roland McGrath  <roland@hack.frob.com>
1054         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1055         it's there.
1057         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1059 2013-11-21  Meador Inge  <meadori@codesourcery.com>
1061         [BZ #11157]
1062         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1063         (encrypt_r): Likewise.
1064         * malloc/obstack.h (obstack_free): Likewise.
1065         * posix/unistd.h (encrypt): Likewise.
1067 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1069         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1070         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1071         DL_CALL_DT_FINI() that call the functions directly.
1072         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1073         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1074         * elf/dl-fini.c: Likewise.
1076 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
1078         * malloc/hooks.c (memalign_check): Add alignment rounding.
1079         * malloc/malloc.c (_mid_memalign): New function.
1080         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1081         Implement by calling _mid_memalign.
1082         * manual/probes.texi (Memory Allocation Probes): Remove
1083         memory_valloc_retry and memory_pvalloc_retry.
1085 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1087         * locale/programs/locarchive.c (open_archive): Add const
1088         qualifier to ARCHIVEFNAME and copy default fname to
1089         DEFAULT_FNAME.
1091         [BZ #15601]
1092         * libio/tst-widetext.input: Rename Oriya to Odia.
1093         * locale/iso-639.def: Likewise.
1095         * manual/probes.texi (Mathematical Function Probes): Add
1096         documentation for sin, cos, asin and acos probes.
1097         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1098         (__sin32): Add slowasin probe.
1099         (__cos32): Add slowacos probe.
1100         (__mpsin): Add slowsin probe.
1101         (__mpcos): Add slowcos probe.
1103 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
1105         [BZ #15483]
1106         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1107         thread-local __sim_exceptions_thread and global
1108         __sim_exceptions_global.
1109         (__sim_disabled_exceptions): Change to thread-local
1110         __sim_disabled_exceptions_thread and global
1111         __sim_disabled_exceptions_global.
1112         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1113         and global __sim_round_mode_global.
1114         (__simulate_exceptions): Use thread-local floating-point state and
1115         set global state from it as needed.
1116         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1117         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1118         __sim_round_mode_thread.
1119         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1120         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1121         and global __sim_exceptions_global.
1122         (__sim_disabled_exceptions): Change to thread-local
1123         __sim_disabled_exceptions_thread and global
1124         __sim_disabled_exceptions_global.
1125         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1126         and global __sim_round_mode_global.
1127         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1128         (SIM_SET_GLOBAL): Likewise.
1129         * sysdeps/powerpc/soft-fp/sfp-machine.h
1130         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1131         __sim_round_mode_thread.
1132         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1133         __sim_disabled_exceptions_thread.
1134         (__sim_exceptions): Change to __sim_exceptions_thread.
1135         (__sim_disabled_exceptions): Change to
1136         __sim_disabled_exceptions_thread.
1137         (__sim_round_mode): Change to __sim_round_mode_thread.
1138         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1139         thread-local floating-point state and set global state from it as
1140         needed.
1141         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1142         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1143         (__sim_disabled_exceptions): Remove extern declaration.
1144         (feenableexcept): Use thread-local floating-point state and set
1145         global state from it as needed.
1146         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1147         extern declaration.
1148         (__sim_disabled_exceptions): Likewise.
1149         (__sim_round_mode): Likewise.
1150         (__fegetenv): Use thread-local floating-point state.
1151         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1152         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1153         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1154         floating-point state and set global state from it as needed.
1155         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1156         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1157         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1158         Likewise.
1159         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1160         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1161         Likewise.
1162         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1163         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1164         Use __sim_round_mode_thread.
1165         * math/test-fenv-tls.c: New file.
1166         * math/Makefile (tests): Add test-fenv-tls.
1167         ($(objpfx)test-fenv-tls): Depend on
1168         $(common-objpfx)nptl/libpthread.so.
1170 2013-11-19  Andreas Schwab  <schwab@suse.de>
1172         * locale/programs/locale.c (show_info): Decode wordarray elements.
1173         * locale/categories.def (LC_MONETARY): Add element for
1174         _NL_MONETARY_CRNCYSTR.
1175         * locale/C-monetary.c (conversion_rate): New variable.
1176         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1177         element.
1179 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
1181         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1182         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1184 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1186         * elf/Makefile (tst-auxv): New test.
1187         * elf/tst-auxv.c: New
1188         * elf/rtld.c (dl_main): Adjust AT_EXECFN
1190 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
1192         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1193         (hidden_proto): Caller changed.
1194         (hidden_tls_proto): New macro.
1195         (libc_hidden_tls_proto): Likewise.
1196         (rtld_hidden_tls_proto): Likewise.
1197         (libm_hidden_tls_proto): Likewise.
1198         (libresolv_hidden_tls_proto): Likewise.
1199         (librt_hidden_tls_proto): Likewise.
1200         (libdl_hidden_tls_proto): Likewise.
1201         (libnss_files_hidden_tls_proto): Likewise.
1202         (libnsl_hidden_tls_proto): Likewise.
1203         (libnss_nisplus_hidden_tls_proto): Likewise.
1204         (libutil_hidden_tls_proto): Likewise.
1206 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
1208         [BZ #10253]
1209         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1210         (decompose_rpath): Defer expansion to fillin_rpath.
1211         (_dl_init_paths): Pass linkmap to fillin_rpath.
1213 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1215         * benchtests/Makefile: Add strsep.
1216         * benchtests/bench-strsep.c: New file: strsep benchtest.
1217         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1219 2013-11-18  Andreas Schwab  <schwab@suse.de>
1221         * locale/programs/locale.c (show_info) [case byte]: Check for
1222         '\377' instead of '\177'.
1223         * locale/C-monetary.c (not_available): Always use "\377".
1224         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1225         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
1226         detect unavailable sign_posn locale elements.
1227         * locale/localeconv.c (__localeconv): For grouping and
1228         mon_grouping handle "\177" and "\377" like no grouping.
1229         (INT_ELEM): New macro.  Use it to set all numeric members.
1230         * locale/programs/ld-monetary.c (monetary_read)
1231         <tok_mon_grouping>: Normalize single -1 to the empty string.
1232         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1233         Likewise.
1235 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
1237         [BZ #16055]
1238         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1239         when we match (nil).
1240         * stdio-common/tst-sscanf.c (struct test): Add testcase.
1242 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
1244         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1245         (NO_TEST_INLINE): Update value.
1246         (ERRNO_UNCHANGED): Likewise.
1247         (ERRNO_EDOM): Likewise.
1248         (ERRNO_ERANGE): Likewise.
1249         (IGNORE_RESULT): Likewise.
1250         (check_float_internal): Check signs of NaN results if
1251         TEST_NAN_SIGN used.
1252         (check_complex): Pass TEST_NAN_SIGN flag through to second
1253         check_float_internal call.
1254         (copysign_test_data): Add tests with quiet NaNs as second
1255         argument.  Use TEST_NAN_SIGN.
1256         (fabs_test_data): Add test of negative quiet NaN argument.  Use
1257         TEST_NAN_SIGN.
1258         (signbit_test_data): Add tests of quiet NaN argument.
1259         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1261         * math/gen-libm-test.pl (show_exceptions): Take extra argument
1262         $ignore_result.
1263         (parse_args): Handle function results specified as IGNORE.
1264         * math/libm-test.inc (IGNORE_RESULT): New macro.
1265         (check_float_internal): Do not check numerical result if flag
1266         IGNORE_RESULT set.
1267         (check_complex): Pass through IGNORE_RESULT to second
1268         check_float_internal call.
1269         (check_int): Do not check numerical result if flag IGNORE_RESULT
1270         set.
1271         (check_long): Likewise.
1272         (check_bool): Likewise.
1273         (check_longlong): Likewise.
1274         (lrint_test_data): Add tests of infinite and NaN arguments.
1275         (lrint_tonearest_test_data): Likewise.
1276         (lrint_towardzero_test_data): Likewise.
1277         (lrint_downward_test_data): Likewise.
1278         (lrint_upward_test_data): Likewise.
1279         (llrint_test_data): Likewise.
1280         (llrint_tonearest_test_data): Likewise.
1281         (llrint_towardzero_test_data): Likewise.
1282         (llrint_downward_test_data): Likewise.
1283         (llrint_upward_test_data): Likewise.
1284         (lround_test_data): Likewise.
1285         (llround_test_data): Likewise.
1287         * math/libm-test.inc (NO_TEST_INLINE): New macro.
1288         (ERRNO_UNCHANGED): Update value.
1289         (ERRNO_EDOM): Likewise.
1290         (ERRNO_ERANGE): Likewise.
1291         (NO_TEST_INLINE_FLOAT): New macro.
1292         (NO_TEST_INLINE_DOUBLE): Likewise.
1293         (enable_test): New function.
1294         (RUN_TEST_f_f): Check enable_test before running test.
1295         (RUN_TEST_2_f): Likewise.
1296         (RUN_TEST_fff_f): Likewise.
1297         (RUN_TEST_c_f): Likewise.
1298         (RUN_TEST_f_f1): Likewise.
1299         (RUN_TEST_fF_f1): Likewise.
1300         (RUN_TEST_fI_f1): Likewise.
1301         (RUN_TEST_ffI_f1): Likewise.
1302         (RUN_TEST_c_c): Likewise.
1303         (RUN_TEST_cc_c): Likewise.
1304         (RUN_TEST_f_i): Likewise.
1305         (RUN_TEST_f_i_tg): Likewise.
1306         (RUN_TEST_ff_i_tg): Likewise.
1307         (RUN_TEST_f_b): Likewise.
1308         (RUN_TEST_f_b_tg): Likewise.
1309         (RUN_TEST_f_l): Likewise.
1310         (RUN_TEST_f_L): Likewise.
1311         (RUN_TEST_fFF_11): Likewise.
1312         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1313         conditionals.
1314         (cosh_test_data): Likewise.
1315         (exp_test_data): Likewise.
1316         (expm1_test_data): Likewise.
1317         (hypot_test_data): Likewise.
1318         (pow_test_data): Likewise.
1319         (sinh_test_data): Likewise.
1320         (tanh_test_data): Likewise.
1321         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1322         flags argument.
1324         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1325         tests with quiet NaN input and output.
1326         (acosh_test_data): Likewise.
1327         (asin_test_data): Likewise.
1328         (asinh_test_data): Likewise.
1329         (atan_test_data): Likewise.
1330         (atanh_test_data): Likewise.
1331         (atan2_test_data): Likewise.
1332         (cbrt_test_data): Likewise.
1333         (cos_test_data): Likewise.
1334         (cosh_test_data): Likewise.
1335         (erf_test_data): Likewise.
1336         (erfc_test_data): Likewise.
1337         (exp_test_data): Likewise.
1338         (exp10_test_data): Likewise.
1339         (exp2_test_data): Likewise.
1340         (expm1_test_data): Likewise.
1341         (hypot_test_data): Likewise.
1342         (j0_test_data): Likewise.
1343         (j1_test_data): Likewise.
1344         (jn_test_data): Likewise.
1345         (lgamma_test_data): Likewise.
1346         (log_test_data): Likewise.
1347         (log10_test_data): Likewise.
1348         (log1p_test_data): Likewise.
1349         (log2_test_data): Likewise.
1350         (pow_test_data): Likewise.
1351         (scalb_test_data): Likewise.
1352         (sin_test_data): Likewise.
1353         (sincos_test_data): Likewise.
1354         (sinh_test_data): Likewise.
1355         (tan_test_data): Likewise.
1356         (tanh_test_data): Likewise.
1357         (tgamma_test_data): Likewise.
1358         (y0_test_data): Likewise.
1359         (y1_test_data): Likewise.
1360         (yn_test_data): Likewise.
1362         [BZ #16167]
1363         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1364         argument being NaN and avoid computations with second argument in
1365         that case.
1366         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1367         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1368         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1370 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
1372         * locale/iso-639.def: Add Chitwani Tharu (the).
1374 2013-11-14  Andreas Schwab  <schwab@suse.de>
1376         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1377         word instead of empty string.
1379 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1382         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1384         (__fe_nomask_env): Likewise.
1386 2013-11-13  Steve Ellcey  <sellcey@mips.com>
1388         * benchtests/bench-timing.h: Include time.h.
1390 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1392         [BZ #15997]
1393         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1394         to 3.4.0 for x32.
1395         * sysdeps/unix/sysv/linux/configure: Regenerated.
1397 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
1399         [BZ #16151]
1400         * stdlib/strtod_l.c (round_and_return): Do not consider
1401         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1402         exponent one less than half the least subnormal exponent.
1403         * stdlib/test-strtod-round-data: Add more tests.
1404         * stdlib/tst-strtod-round.c (tests): Regenerated.
1406 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1408         [BZ #14143]
1409         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1410         (__fe_mask_env): Likewise.
1411         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1412         libm_hidden_proto and add function prototype.
1413         (__fe_mask_env): Add function prototype.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1415         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1417         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1419         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1421 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1423         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1424         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1426 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1428         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1429         of htab_find_slot().
1431 2013-11-11  David S. Miller  <davem@davemloft.net>
1433         [BZ #16150]
1434         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1435         symbol in the non-vis3 case in static builds.
1436         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1437         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1438         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1439         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1441 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1443         [BZ #387]
1444         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1445         it is empty.
1447 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1449         * benchtests/Makefile: Add bench-strtod.
1450         * benchtests/bench-strtod.c: New file: strtod benchtest
1452 2013-11-11  Andreas Schwab  <schwab@suse.de>
1454         [BZ #16153]
1455         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1456         terminating NUL in key length.
1458 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1460         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1461         Add artificial ODP entry for vDSO symbol for PPC64.
1462         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1463         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1465 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
1467         [BZ #15374]
1468         * nss/getent.c (services_keys): Recognize services starting with digit.
1470 2013-11-06  David S. Miller  <davem@davemloft.net>
1472         [BZ #15985]
1473         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1474         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1476 2013-11-06  Will Newton  <will.newton@linaro.org>
1478         * manual/memory.texi (Malloc Examples): Remove register
1479         keyword from examples.
1481 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
1483         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1485 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
1487         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1488         depending on [__GCC_IEC_559 > 0].
1489         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1490         depending on [__GCC_IEC_559_COMPLEX > 0].
1492 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
1494         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1495         to iso-639.def.
1497 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
1499         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1501 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
1503         [BZ #16112]
1504         * malloc/malloc (malloc_info): Do not handle first bin as
1505         special case.
1507 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
1509         * locale/iso-639.def: Add Central Nahuatl (nhn).
1511 2013-11-01  Bruno Haible  <bruno@clisp.org>
1513         [BZ #7003]
1514         * manual/math.texi (BSD Random): Specify range upper bound as
1515         in POSIX.
1517 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
1519         * locale/iso-639.def: Add Meadow Mari (mhr).
1521 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
1523         [BZ #14752], [BZ #15763]
1524         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1525         Validate name.
1526         * rt/tst_shm.c: Add test for escaping directory.
1528 2013-10-31  Andreas Schwab  <schwab@suse.de>
1530         [BZ #15917]
1531         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1532         followed by 'x' as part of digit sequence.
1533         * stdio-common/tst-sscanf.c (double_tests2): New tests.
1535 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1537         [BZ #16037]
1538         * configure.ac: allow GNU Make 4.0 and greater.
1539         * configure: Regenerated.
1541 2013-10-30  Will Newton  <will.newton@linaro.org>
1543         [BZ #16038]
1544         * malloc/hooks.c (memalign_check): Limit alignment to the
1545         maximum representable power of two.
1546         * malloc/malloc.c (__libc_memalign): Likewise.
1547         * malloc/tst-memalign.c (do_test): Add test for very
1548         large alignment values.
1549         * malloc/tst-posix_memalign.c (do_test): Likewise.
1551 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
1553         [BZ #11087]
1554         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1555         (munmap_chunk): Likewise.
1556         (mremap_chunk): Likewise.
1558 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
1560         [BZ #15799]
1561         * stdlib/div.c (div): Remove obsolete code.
1562         * stdlib/ldiv.c (ldiv): Likewise.
1563         * stdlib/lldiv.c (lldiv): Likewise.
1565 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1567         [BZ #16071]
1568         * nss/nss_files/files-XXX.c (get_contents_ret): New
1569         enumerator.
1570         (get_contents): New function.
1571         (internal_getent): Use it.  Expand size of LINEBUFLEN.
1573 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
1575         * configure.in: Moved to ...
1576         * configure.ac: ... here. Change reference to configure.in
1577         to configure.ac.
1578         * sysdeps/arm/preconfigure.ac: ... here.
1579         configure.in to configure.ac.
1580         * sysdeps/gnu/configure.in: Moved to ...
1581         * sysdeps/gnu/configure.ac: ... here.
1582         * sysdeps/i386/configure.in: Moved to ...
1583         * sysdeps/i386/configure.ac: ... here.
1584         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1585         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1586         * sysdeps/mach/configure.in: Moved to ...
1587         * sysdeps/mach/configure.ac: ... here.
1588         * sysdeps/mach/hurd/configure.in: Moved to ...
1589         * sysdeps/mach/hurd/configure.ac: ... here.
1590         * sysdeps/powerpc/configure.in: Moved to ...
1591         * sysdeps/powerpc/configure.ac: ... here.
1592         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1593         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1594         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1595         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1596         * sysdeps/s390/s390-32/configure.in: Moved to ...
1597         * sysdeps/s390/s390-32/configure.ac: ... here.
1598         * sysdeps/s390/s390-64/configure.in: Moved to ...
1599         * sysdeps/s390/s390-64/configure.ac: ... here.
1600         * sysdeps/sh/configure.in: Moved to ...
1601         * sysdeps/sh/configure.ac: ... here.
1602         * sysdeps/sparc/configure.in: Moved to ...
1603         * sysdeps/sparc/configure.ac: ... here.
1604         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1605         * sysdeps/unix/sysv/linux/configure.ac: ... here.
1606         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1607         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1608         * sysdeps/x86_64/configure.in: Moved to ...
1609         * sysdeps/x86_64/configure.ac: ... here.
1610         * sysdeps/x86_64/preconfigure.in: Moved to ...
1611         * sysdeps/x86_64/preconfigure.ac: ... here.
1612         * aclocal.m4: Change reference to configure.in to configure.ac.
1613         * config.h.in: Likewise.
1614         * manual/install.texi: Likewise.
1615         * manual/maint.texi: Likewise.
1616         * Makefile: Likewise.
1617         * malloc/Makefile: Likewise.
1618         * nscd/Makefile: Likewise.
1619         * Makeconfig: Change reference to configure.in and
1620         preconfigure.in to configure.ac and preconfigure.ac
1621         respectively.
1622         * INSTALL: Regenerated.
1623         * configure: Likewise.
1624         * sysdeps/gnu/configure: Likewise.
1625         * sysdeps/i386/configure: Likewise.
1626         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1627         * sysdeps/mach/configure: Likewise.
1628         * sysdeps/mach/hurd/configure: Likewise.
1629         * sysdeps/powerpc/configure: Likewise.
1630         * sysdeps/powerpc/powerpc32/configure: Likewise.
1631         * sysdeps/powerpc/powerpc64/configure: Likewise.
1632         * sysdeps/s390/s390-32/configure: Likewise.
1633         * sysdeps/s390/s390-64/configure: Likewise.
1634         * sysdeps/sh/configure: Likewise.
1635         * sysdeps/sparc/configure: Likewise.
1636         * sysdeps/unix/sysv/linux/configure: Likewise.
1637         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1638         * sysdeps/x86_64/configure: Likewise.
1639         * sysdeps/x86_64/preconfigure: Likewise.
1641 2013-10-29  Andreas Schwab  <schwab@suse.de>
1643         * stdio-common/Makefile (tst-swscanf-ENV): Define.
1645 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1647         * benchtests/pow-inputs: Add new inputs.
1649         * benchtests/exp-inputs: Add new inputs.
1651         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1652         conditional check for return value.
1653         (__cos32): Likewise.
1655 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1657         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1658         to provide a boost for large inputs with word alignment.
1659         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1660         implementation based on optimized PPC64 strcpy.
1661         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1662         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1663         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1664         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1666 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1668         [BZ #2801]
1669         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1671 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1673         [BZ #14876]
1674         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1675         * time/tst-strptime.c (day_tests): Add testcase.
1677 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1679         [BZ #14029]
1680         * manual/pattern.texi: Acknowledge that fnmatch can fail.
1682 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
1684         [BZ #16074]
1685         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1686         MAP_FAILED on error.
1688 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1690         [BZ #16072]
1691         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1692         heap for large requests.
1694 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
1696         [BZ #9954]
1697         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1698         result if the result has no associated interface.
1699         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1700         interface for all 127.X.Y.Z addresses.
1702 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
1704         * locale/iso-639.def: Add Ligurian (lij)
1706 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
1708         [BZ #15825]
1709         * sunrpc/rpc_main.c: Document rpcgen -5.
1711 2013-10-19  Michael Stahl  <mstahl@redhat.com>
1713         * elf/rtld.c (do_preload): Print the reason why preloading failed.
1715 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1717         [BZ #10278]
1718         * posix/glob.c: Match only directories when trailing slash is present.
1719         * posix/tst-gnuglob.c (my_opendir): Do not open files.
1720         (main): Add testcase.
1722 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1724         [BZ #15670]
1725         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1727 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
1729         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1730         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1731         AUTH_DES and cindex for FIPS 140-2.
1732         (DES Encryption): Add cindex FIPS 46-3.
1734         * locale/locarchive.h (struct locarhandle): Add fname.
1735         * locale/programs/localedef.c (main): Pass ARGV[remaining]
1736         if an optional argument was specified to --list-archive,
1737         otherwise NULL.
1738         * locale/programs/locarchive.c (show_archive_content): Take new
1739         argument fname and pass it via ah.fname to open_archive.
1740         * locale/programs/localedef.h: Update decl.
1741         (open_archive): If AH->fname is non-null, open that file
1742         rather than the default file name, and don't ignore ENOENT.
1743         (create_archive): Set AH.fname to NULL.
1744         (delete_locales_from_archive): Likewise.
1745         (add_locales_to_archive): Likewise.
1746         * locale/programs/locfile.c (write_all_categories): Likewise.
1748 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
1749             Aldy Hernandez  <aldyh@redhat.com>
1751         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1752         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1753         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1754         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1755         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1756         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1757         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1758         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1759         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1760         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1761         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1762         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1763         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1764         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1765         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1766         Likewise.
1767         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1768         Likewise.
1769         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1770         Likewise.
1771         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1772         Likewise.
1773         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1774         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1775         Likewise.
1776         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1777         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1778         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1779         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1780         Likewise.
1781         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1782         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1783         * sysdeps/powerpc/preconfigure: Likewise.
1784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1785         Likewise.
1786         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1787         Replace contents of file by #include of <fenv_libc.h>.
1788         * sysdeps/powerpc/soft-fp/sfp-machine.h
1789         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1790         and <sys/prctl.h>.
1791         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1793         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1798         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1799         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1800         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1801         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1802         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1804         Allow copysignl PLT reference to be missing.
1806 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
1807             Joseph Myers  <joseph@codesourcery.com
1809         [BZ #15948]
1810         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1811         single character.
1812         (add_to_tablewc): Assert sequence of wide characters is nonempty.
1814 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1816         * elf/tst-tls-dlinfo.c: Don't include tls.h.
1817         * elf/tst-tls1.c: Likewise.
1818         * elf/tst-tls10.h: Likewise.
1819         * elf/tst-tls14.c: Likewise.
1820         * elf/tst-tls2.c: Likewise.
1821         * elf/tst-tls3.c: Likewise.
1822         * elf/tst-tls4.c: Likewise.
1823         * elf/tst-tls5.c: Likewise.
1824         * elf/tst-tls6.c: Likewise.
1825         * elf/tst-tls7.c: Likewise.
1826         * elf/tst-tls8.c: Likewise.
1827         * elf/tst-tls9.c: Likewise.
1828         * elf/tst-tlsmod1.c: Likewise.
1829         * elf/tst-tlsmod13.c: Likewise.
1830         * elf/tst-tlsmod13a.c: Likewise.
1831         * elf/tst-tlsmod14a.c: Likewise.
1832         * elf/tst-tlsmod16a.c: Likewise.
1833         * elf/tst-tlsmod16b.c: Likewise.
1834         * elf/tst-tlsmod2.c: Likewise.
1835         * elf/tst-tlsmod3.c: Likewise.
1836         * elf/tst-tlsmod4.c: Likewise.
1837         * elf/tst-tlsmod5.c: Likewise.
1838         * elf/tst-tlsmod6.c: Likewise.
1840 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
1842         [BZ #12486]
1843         * malloc/malloc.c: remove checks for statistics.
1845 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1847         [BZ #15277]
1848         * inet/inet_net.c (inet_network): Detect additional invalid strings.
1849         * inet/tst-network.c: Add testcase.
1851 2013-10-17  Andreas Schwab  <schwab@suse.de>
1853         [BZ #15218]
1854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1855         to determine canonical name.
1857 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1859         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1860         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1861         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1862         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1864         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1865         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1866         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1867         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1868         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1869         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1870         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1871         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1872         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1873         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1874         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1876         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1877         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1878         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1879         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1880         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1881         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1882         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1883         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1884         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1885         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1886         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1887         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1888         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1889         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1890         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1891         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1892         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1893         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1894         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1895         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1896         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1897         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1898         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1899         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1900         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1901         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1902         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1903         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1904         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1905         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1906         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1907         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1908         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1909         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1910         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1911         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1912         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1913         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1914         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1915         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1916         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1918 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
1920         [BZ #16041]
1921         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1922         make result into a quiet NaN.
1924 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
1926         * soft-fp/adddf3.c: Fix horizontal whitespace.
1927         * soft-fp/addsf3.c: Likewise.
1928         * soft-fp/addtf3.c: Likewise.
1929         * soft-fp/divdf3.c: Likewise.
1930         * soft-fp/divsf3.c: Likewise.
1931         * soft-fp/divtf3.c: Likewise.
1932         * soft-fp/double.h: Likewise.
1933         * soft-fp/eqdf2.c: Likewise.
1934         * soft-fp/eqsf2.c: Likewise.
1935         * soft-fp/eqtf2.c: Likewise.
1936         * soft-fp/extenddftf2.c: Likewise.
1937         * soft-fp/extended.h: Likewise.
1938         * soft-fp/extendsfdf2.c: Likewise.
1939         * soft-fp/extendsftf2.c: Likewise.
1940         * soft-fp/extendxftf2.c: Likewise.
1941         * soft-fp/fixdfdi.c: Likewise.
1942         * soft-fp/fixdfsi.c: Likewise.
1943         * soft-fp/fixdfti.c: Likewise.
1944         * soft-fp/fixsfdi.c: Likewise.
1945         * soft-fp/fixsfsi.c: Likewise.
1946         * soft-fp/fixsfti.c: Likewise.
1947         * soft-fp/fixtfdi.c: Likewise.
1948         * soft-fp/fixtfsi.c: Likewise.
1949         * soft-fp/fixtfti.c: Likewise.
1950         * soft-fp/fixunsdfdi.c: Likewise.
1951         * soft-fp/fixunsdfsi.c: Likewise.
1952         * soft-fp/fixunsdfti.c: Likewise.
1953         * soft-fp/fixunssfdi.c: Likewise.
1954         * soft-fp/fixunssfsi.c: Likewise.
1955         * soft-fp/fixunssfti.c: Likewise.
1956         * soft-fp/fixunstfdi.c: Likewise.
1957         * soft-fp/fixunstfsi.c: Likewise.
1958         * soft-fp/fixunstfti.c: Likewise.
1959         * soft-fp/floatdidf.c: Likewise.
1960         * soft-fp/floatdisf.c: Likewise.
1961         * soft-fp/floatditf.c: Likewise.
1962         * soft-fp/floatsidf.c: Likewise.
1963         * soft-fp/floatsisf.c: Likewise.
1964         * soft-fp/floatsitf.c: Likewise.
1965         * soft-fp/floattidf.c: Likewise.
1966         * soft-fp/floattisf.c: Likewise.
1967         * soft-fp/floattitf.c: Likewise.
1968         * soft-fp/floatundidf.c: Likewise.
1969         * soft-fp/floatundisf.c: Likewise.
1970         * soft-fp/floatunditf.c: Likewise.
1971         * soft-fp/floatunsidf.c: Likewise.
1972         * soft-fp/floatunsisf.c: Likewise.
1973         * soft-fp/floatunsitf.c: Likewise.
1974         * soft-fp/floatuntidf.c: Likewise.
1975         * soft-fp/floatuntisf.c: Likewise.
1976         * soft-fp/floatuntitf.c: Likewise.
1977         * soft-fp/fmadf4.c: Likewise.
1978         * soft-fp/fmasf4.c: Likewise.
1979         * soft-fp/fmatf4.c: Likewise.
1980         * soft-fp/gedf2.c: Likewise.
1981         * soft-fp/gesf2.c: Likewise.
1982         * soft-fp/getf2.c: Likewise.
1983         * soft-fp/ledf2.c: Likewise.
1984         * soft-fp/lesf2.c: Likewise.
1985         * soft-fp/letf2.c: Likewise.
1986         * soft-fp/muldf3.c: Likewise.
1987         * soft-fp/mulsf3.c: Likewise.
1988         * soft-fp/multf3.c: Likewise.
1989         * soft-fp/negdf2.c: Likewise.
1990         * soft-fp/negsf2.c: Likewise.
1991         * soft-fp/negtf2.c: Likewise.
1992         * soft-fp/op-1.h: Likewise.
1993         * soft-fp/op-2.h: Likewise.
1994         * soft-fp/op-4.h: Likewise.
1995         * soft-fp/op-8.h: Likewise.
1996         * soft-fp/op-common.h: Likewise.
1997         * soft-fp/quad.h: Likewise.
1998         * soft-fp/single.h: Likewise.
1999         * soft-fp/soft-fp.h: Likewise.
2000         * soft-fp/sqrtdf2.c: Likewise.
2001         * soft-fp/sqrtsf2.c: Likewise.
2002         * soft-fp/sqrttf2.c: Likewise.
2003         * soft-fp/subdf3.c: Likewise.
2004         * soft-fp/subsf3.c: Likewise.
2005         * soft-fp/subtf3.c: Likewise.
2006         * soft-fp/truncdfsf2.c: Likewise.
2007         * soft-fp/trunctfdf2.c: Likewise.
2008         * soft-fp/trunctfsf2.c: Likewise.
2009         * soft-fp/trunctfxf2.c: Likewise.
2010         * soft-fp/unorddf2.c: Likewise.
2011         * soft-fp/unordsf2.c: Likewise.
2012         * soft-fp/unordtf2.c: Likewise.
2014 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
2016         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2017         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2019 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
2021         * elf/dl-libc.c: Clear initfini list after freeing.
2023 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
2025         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2026         * soft-fp/addsf3.c: Likewise.
2027         * soft-fp/addtf3.c: Likewise.
2028         * soft-fp/divdf3.c: Likewise.
2029         * soft-fp/divsf3.c: Likewise.
2030         * soft-fp/divtf3.c: Likewise.
2031         * soft-fp/double.h: Likewise.
2032         * soft-fp/eqdf2.c: Likewise.
2033         * soft-fp/eqsf2.c: Likewise.
2034         * soft-fp/eqtf2.c: Likewise.
2035         * soft-fp/extenddftf2.c: Likewise.
2036         * soft-fp/extended.h: Likewise.
2037         * soft-fp/extendsfdf2.c: Likewise.
2038         * soft-fp/extendsftf2.c: Likewise.
2039         * soft-fp/extendxftf2.c: Likewise.
2040         * soft-fp/fixdfdi.c: Likewise.
2041         * soft-fp/fixdfsi.c: Likewise.
2042         * soft-fp/fixdfti.c: Likewise.
2043         * soft-fp/fixsfdi.c: Likewise.
2044         * soft-fp/fixsfsi.c: Likewise.
2045         * soft-fp/fixsfti.c: Likewise.
2046         * soft-fp/fixtfdi.c: Likewise.
2047         * soft-fp/fixtfsi.c: Likewise.
2048         * soft-fp/fixtfti.c: Likewise.
2049         * soft-fp/fixunsdfdi.c: Likewise.
2050         * soft-fp/fixunsdfsi.c: Likewise.
2051         * soft-fp/fixunsdfti.c: Likewise.
2052         * soft-fp/fixunssfdi.c: Likewise.
2053         * soft-fp/fixunssfsi.c: Likewise.
2054         * soft-fp/fixunssfti.c: Likewise.
2055         * soft-fp/fixunstfdi.c: Likewise.
2056         * soft-fp/fixunstfsi.c: Likewise.
2057         * soft-fp/fixunstfti.c: Likewise.
2058         * soft-fp/floatdidf.c: Likewise.
2059         * soft-fp/floatdisf.c: Likewise.
2060         * soft-fp/floatditf.c: Likewise.
2061         * soft-fp/floatsidf.c: Likewise.
2062         * soft-fp/floatsisf.c: Likewise.
2063         * soft-fp/floatsitf.c: Likewise.
2064         * soft-fp/floattidf.c: Likewise.
2065         * soft-fp/floattisf.c: Likewise.
2066         * soft-fp/floattitf.c: Likewise.
2067         * soft-fp/floatundidf.c: Likewise.
2068         * soft-fp/floatundisf.c: Likewise.
2069         * soft-fp/floatunsidf.c: Likewise.
2070         * soft-fp/floatunsisf.c: Likewise.
2071         * soft-fp/floatuntidf.c: Likewise.
2072         * soft-fp/floatuntisf.c: Likewise.
2073         * soft-fp/floatuntitf.c: Likewise.
2074         * soft-fp/fmadf4.c: Likewise.
2075         * soft-fp/fmasf4.c: Likewise.
2076         * soft-fp/fmatf4.c: Likewise.
2077         * soft-fp/gedf2.c: Likewise.
2078         * soft-fp/gesf2.c: Likewise.
2079         * soft-fp/getf2.c: Likewise.
2080         * soft-fp/ledf2.c: Likewise.
2081         * soft-fp/lesf2.c: Likewise.
2082         * soft-fp/letf2.c: Likewise.
2083         * soft-fp/muldf3.c: Likewise.
2084         * soft-fp/mulsf3.c: Likewise.
2085         * soft-fp/multf3.c: Likewise.
2086         * soft-fp/negdf2.c: Likewise.
2087         * soft-fp/negsf2.c: Likewise.
2088         * soft-fp/negtf2.c: Likewise.
2089         * soft-fp/op-1.h: Likewise.
2090         * soft-fp/op-2.h: Likewise.
2091         * soft-fp/op-4.h: Likewise.
2092         * soft-fp/op-8.h: Likewise.
2093         * soft-fp/op-common.h: Likewise.
2094         * soft-fp/quad.h: Likewise.
2095         * soft-fp/single.h: Likewise.
2096         * soft-fp/soft-fp.h: Likewise.
2097         * soft-fp/sqrtdf2.c: Likewise.
2098         * soft-fp/sqrtsf2.c: Likewise.
2099         * soft-fp/sqrttf2.c: Likewise.
2100         * soft-fp/subdf3.c: Likewise.
2101         * soft-fp/subsf3.c: Likewise.
2102         * soft-fp/subtf3.c: Likewise.
2103         * soft-fp/truncdfsf2.c: Likewise.
2104         * soft-fp/trunctfdf2.c: Likewise.
2105         * soft-fp/trunctfsf2.c: Likewise.
2106         * soft-fp/trunctfxf2.c: Likewise.
2107         * soft-fp/unorddf2.c: Likewise.
2108         * soft-fp/unordsf2.c: Likewise.
2109         * soft-fp/unordtf2.c: Likewise.
2111 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
2113         [BZ #15672]
2114         * misc/error.c (error_tail): Fix possible buffer overflow.
2116 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
2118         [BZ #13028]
2119         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2120         address.
2122 2013-10-14  P. J. McDermott  <pj@pehjota.net>
2124         [BZ #832]
2125         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
2126         testing pipefail option.
2128 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2130         * soft-fp/double.h: Indent preprocessor directives inside #if.
2131         * soft-fp/extended.h: Likewise.
2132         * soft-fp/op-2.h: Likewise.
2133         * soft-fp/op-4.h: Likewise.
2134         * soft-fp/op-common.h: Likewise.
2135         * soft-fp/quad.h: Likewise.
2136         * soft-fp/single.h: Likewise.
2137         * soft-fp/soft-fp.h: Likewise.
2139 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
2141         * iconv/iconv_prog.c: Fix typos.
2142         * stdio-common/psiginfo-data.h: Likewise.
2144 2013-10-12   Reuben Thomas <rrt@sc3d.org>
2146         [BZ #15764]
2147         * locale/setlocale.c: Fix typo.
2149 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2151         [BZ #16036]
2152         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2153         signaling NaN arguments.
2154         * soft-fp/unordsf2.c (__unordsf2): Likewise.
2155         * soft-fp/unordtf2.c (__unordtf2): Likewise.
2157         [BZ #14910]
2158         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2159         unordered operands.
2160         * soft-fp/gesf2.c (__gesf2): Likewise.
2161         * soft-fp/getf2.c (__getf2): Likewise.
2162         * soft-fp/ledf2.c (__ledf2): Likewise.
2163         * soft-fp/lesf2.c (__lesf2): Likewise.
2164         * soft-fp/letf2.c (__letf2): Likewise.
2166         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2167         * soft-fp/eqsf2.c (__eqsf2): Likewise.
2168         * soft-fp/eqtf2.c (__eqtf2): Likewise.
2169         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2170         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2171         * soft-fp/fixdfti.c (__fixdfti): Likewise.
2172         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2173         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2174         * soft-fp/fixsfti.c (__fixsfti): Likewise.
2175         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2176         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2177         * soft-fp/fixtfti.c (__fixtfti): Likewise.
2178         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2179         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2180         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2181         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2182         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2183         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2184         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2185         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2186         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2187         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2188         * soft-fp/floatdisf.c (__floatdisf): Likewise.
2189         * soft-fp/floatsisf.c (__floatsisf): Likewise.
2190         * soft-fp/floattidf.c (__floattidf): Likewise.
2191         * soft-fp/floattisf.c (__floattisf): Likewise.
2192         * soft-fp/floattitf.c (__floattitf): Likewise.
2193         * soft-fp/floatundidf.c (__floatundidf): Likewise.
2194         * soft-fp/floatundisf.c (__floatundisf): Likewise.
2195         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2196         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2197         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2198         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2199         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2200         * soft-fp/gesf2.c (__gesf2): Likewise.
2201         * soft-fp/getf2.c (__getf2): Likewise.
2202         * soft-fp/ledf2.c (__ledf2): Likewise.
2203         * soft-fp/lesf2.c (__lesf2): Likewise.
2204         * soft-fp/letf2.c (__letf2): Likewise.
2206         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2207         Undefine and redefine.
2208         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2209         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2210         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2211         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2212         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2213         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2214         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2215         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2216         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2217         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2218         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2219         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2220         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2221         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2222         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2224         [BZ #16032]
2225         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2226         without decrementing exponent if mantissa >= that for the
2227         denominator, not >.
2228         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2229         denominator, not >.  Decrement exponent in < case instead of
2230         incrementing in >= case.
2231         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2232         without decrementing exponent if mantissa >= that for the
2233         denominator, not >.
2235         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2236         computing saturated result for unsigned overflow.
2238 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2239             Jeff Law  <law@redhat.com>
2241         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2242         (atan2Mp): Add systemtap probe marker.
2243         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2244         (__ieee754_log): Add systemtap probe marker.
2245         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2246         (atanMp): Add systemtap probe marker.
2247         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2248         (tanMp): Add systemtap probe marker.
2249         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2250         (__slowexp): Add systemtap probe marker.
2251         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2252         (__slowpow): Add systemtap probe marker.
2253         * manual/probes.texi: Document probes.
2255 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
2257         [BZ #15362]
2258         * libio/fileops.c (_IO_new_file_write): Return count of bytes
2259         written.
2260         (_IO_new_file_xsputn): Don't return EOF if nothing has been
2261         written.
2262         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2263         written to buffer but not flushed.
2264         * libio/iofwrite_u.c:  Likewise.
2265         * libio/iopadn.c:  Return bytes returned even if EOF was
2266         encountered.
2267         * libio/iowpadn.c:  Likewise.
2268         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2269         if _IO_padn does not write the whole buffer.
2270         [!COMPILE_WPRINTF] (PAD): Likewise.
2272 2013-10-10  David S. Miller  <davem@davemloft.net>
2274         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2275         directory block.
2277 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2279         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
2280         instead of FSF address.
2281         * soft-fp/fixdfti.c: Likewise.
2282         * soft-fp/fixsfti.c: Likewise.
2283         * soft-fp/fixtfti.c: Likewise.
2284         * soft-fp/fixunsdfti.c: Likewise.
2285         * soft-fp/fixunssfti.c: Likewise.
2286         * soft-fp/fixunstfti.c: Likewise.
2287         * soft-fp/floattidf.c: Likewise.
2288         * soft-fp/floattisf.c: Likewise.
2289         * soft-fp/floattitf.c: Likewise.
2290         * soft-fp/floatuntidf.c: Likewise.
2291         * soft-fp/floatuntisf.c: Likewise.
2292         * soft-fp/floatuntitf.c: Likewise.
2293         * soft-fp/trunctfxf2.c: Likewise.
2295         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
2296         * soft-fp/fixdfti.c: Likewise.
2297         * soft-fp/fixsfti.c: Likewise.
2298         * soft-fp/fixtfti.c: Likewise.
2299         * soft-fp/fixunsdfti.c: Likewise.
2300         * soft-fp/fixunssfti.c: Likewise.
2301         * soft-fp/fixunstfti.c: Likewise.
2302         * soft-fp/floattidf.c: Likewise.
2303         * soft-fp/floattisf.c: Likewise.
2304         * soft-fp/floattitf.c: Likewise.
2305         * soft-fp/floatuntidf.c: Likewise.
2306         * soft-fp/floatuntisf.c: Likewise.
2307         * soft-fp/floatuntitf.c: Likewise.
2308         * soft-fp/trunctfxf2.c: Likewise.
2310 2013-10-10  David S. Miller  <davem@davemloft.net>
2312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2314 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
2316         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2317         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2318         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2319         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2320         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2321         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2322         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2324         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2325         for NaNs before doing comparisons on argument.
2326         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2327         Likewise.
2329 2013-10-10  Will Newton  <will.newton@linaro.org>
2331         * malloc/hooks.c (memalign_check): Ensure the value of bytes
2332         passed to _int_memalign does not overflow.
2334 2013-10-10  Torvald Riegel  <triegel@redhat.com>
2336         * scripts/bench.pl: Add include-sources directive.
2337         * benchtests/README: Update documentation.
2339 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2341         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2342         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2343         instead of FP_INIT_ROUNDMODE.
2344         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2345         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2347         [BZ #16034]
2348         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
2349         copy class of input value.
2350         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
2351         not handle exceptions.
2352         * soft-fp/negsf2.c (__negsf2): Likewise.
2353         * soft-fp/negtf2.c (__negtf2): Likewise.
2354         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2356 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
2358         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2359         semicolon.  From Linux kernel.
2361 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
2363         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2365 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
2367         [BZ #156]
2368         * manual/socket.texi: Added statement about buffer
2369         for gethostbyname2_r.
2371 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
2373         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2374         Use .p2align directive instead, throughout.
2375         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2376         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2377         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2379         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2380         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2381         * sysdeps/x86_64/strchr.S: Likewise.
2382         * sysdeps/x86_64/strrchr.S: Likewise.
2384 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2386         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2388         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2390         * sysdeps/generic/math_private.h (__mpsin1): Remove
2391         declaration.
2392         (__mpcos1): Likewise.
2393         (__mpsin): New argument __range_reduce.
2394         (__mpcos): Likewise.
2395         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2396         (slow): Use __mpsin and __mpcos.
2397         (slow1): Likewise.
2398         (slow2): Likewise.
2399         (sloww): Likewise.
2400         (sloww1): Likewise.
2401         (sloww2): Likewise.
2402         (bsloww): Likewise.
2403         (bsloww1): Likewise.
2404         (bsloww2): Likewise.
2405         (cslow2): Likewise.
2406         (csloww): Likewise.
2407         (csloww1): Likewise.
2408         (csloww2): Likewise.
2409         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2410         range_reduce.  Merge in __mpsin1.
2411         (__mpcos): Likewise.
2412         (__mpsin1): Remove.
2413         (__mpcos1): Likewise.
2415 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
2417         * locale/loadlocale.c (_nl_intern_locale_data): Use
2418         LOCFILE_ALIGNED_P.
2419         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2420         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2421         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2422         obstack data is appropriately aligned.
2423         (obstack_int32_grow_fast): Likewise.
2424         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2425         * locale/programs/locfile.c (add_locale_uint32): Likewise.
2426         (add_locale_uint32_array): Likewise.
2428 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
2430         * benchtests/Makefile: Remove ARGLIST and RET variables.
2431         ($(objpfx)bench-%.c): Pass only function name to the script.
2432         * benchtests/README: Update documentation.
2433         * benchtests/acos-inputs: Add new directives.
2434         * benchtests/acosh-inputs: Likewise.
2435         * benchtests/asin-inputs: Likewise.
2436         * benchtests/asinh-inputs: Likewise.
2437         * benchtests/atan-inputs: Likewise.
2438         * benchtests/atanh-inputs: Likewise.
2439         * benchtests/cos-inputs: Likewise.
2440         * benchtests/cosh-inputs: Likewise.
2441         * benchtests/exp-inputs: Likewise.
2442         * benchtests/log-inputs: Likewise.
2443         * benchtests/pow-inputs: Likewise.
2444         * benchtests/rint-inputs: Likewise.
2445         * benchtests/sin-inputs: Likewise.
2446         * benchtests/sinh-inputs: Likewise.
2447         * benchtests/tan-inputs: Likewise.
2448         * benchtests/tanh-inputs: Likewise.
2449         * scripts/bench.pl: Add support for new directives.
2451 2013-10-07  Alan Modra  <amodra@gmail.com>
2453         * README: Fix careless merge.
2455 2013-10-05  Alan Modra  <amodra@gmail.com>
2457         * NEWS: Mention powerpc64le support and bugs fixed.
2458         * README: Both big-endian and little-endian powerpc64 supported.
2460 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2462         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2463         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2464         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2465         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2467 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
2469         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2470         match prototype.
2472 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
2474         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2475         Move -mhard-float appending from
2476         ports/sysdeps/powerpc/powerpc32/Makefile.
2477         [$(with-fp) = yes] (ASFLAGS): Likewise.
2478         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2479         * sysdeps/powerpc/nofpu: Move directory from
2480         ports/sysdeps/powerpc/nofpu.
2481         * sysdeps/powerpc/soft-fp: Move directory from
2482         ports/sysdeps/powerpc/soft-fp.
2483         * sysdeps/powerpc/powerpc32/405: Move directory from
2484         ports/sysdeps/powerpc/powerpc32/405.
2485         * sysdeps/powerpc/powerpc32/440: Move directory from
2486         ports/sysdeps/powerpc/powerpc32/440.
2487         * sysdeps/powerpc/powerpc32/464: Move directory from
2488         ports/sysdeps/powerpc/powerpc32/464.
2489         * sysdeps/powerpc/powerpc32/476: Move directory from
2490         ports/sysdeps/powerpc/powerpc32/476.
2491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2492         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2496         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2498         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2500         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2501         * README: Update for powerpc-*-linux-gnu software floating point
2502         support in libc.
2504         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2505         case to powerpc/powerpc32*.
2506         * sysdeps/unix/sysv/linux/configure: Regenerated.
2508         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2509         (_FPU_MASK_OM): Define as 0x04.
2510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2512         0x00c10080.
2513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2514         0x0000003c.
2515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2518         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2519         getcontext_e500.
2520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2521         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2522         setcontext_e500.
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2524         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2525         and setcontext_e500.
2527 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
2529         * locale/iso-3166.def: Update iso-1366.def and related occurrences
2531 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2533         * manual/threads.texi (Default Thread Attributes): Fix typo.
2535 2013-10-04  Will Newton  <will.newton@linaro.org>
2537         * malloc/Makefile: Add tst-memalign.
2538         * malloc/tst-memalign.c: New file.
2540         * malloc/tst-posix_memalign.c: Add comments.
2541         (do_test): Add comments and call free on all potentially
2542         allocated pointers. Add space after cast.
2544         * malloc/tst-pvalloc.c: Add comments.
2545         (do_test): Add comments and call free on all potentially
2546         allocated pointers. Remove duplicate check for NULL pointer.
2547         Add space after cast.
2549         * malloc/tst-valloc.c: Add comments.
2550         (do_test): Add comments and call free on all potentially
2551         allocated pointers. Remove duplicate check for NULL pointer.
2552         Add space after cast.
2554 2013-10-04  Alan Modra  <amodra@gmail.com>
2556         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2557         Use stdint types in rather than __attribute__((mode())).
2558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2560 2013-10-04  Alan Modra  <amodra@gmail.com>
2562         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2563         Correct handling of unaligned relocs for little-endian.
2564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2566 2013-10-04  Alan Modra  <amodra@gmail.com>
2568         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2569         * configure: Regenerate.
2570         * nptl/shlib-versions: Powerpc*le starts at 2.18.
2571         * shlib-versions: Likewise.
2573 2013-10-04  Alan Modra  <amodra@gmail.com>
2575         * string/tester.c (test_memrchr): Increment reported test cycle.
2577 2013-10-04  Alan Modra  <amodra@gmail.com>
2579         * string/test-memcpy.c (do_one_test): When reporting errors, print
2580         string address and don't overrun end of string.
2582 2013-10-04  Alan Modra  <amodra@gmail.com>
2584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2585         insrdi.  Make better use of reg selection to speed exit slightly.
2586         Schedule entry path a little better.  Remove useless "are we done"
2587         checks on entry to main loop.  Handle wrapping around zero address.
2588         Correct main loop count.  Handle single left-over word from main
2589         loop inline rather than by using loop_small.  Remove extra word
2590         case in loop_small caused by wrong loop count.  Add little-endian
2591         support.
2592         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2593         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
2594         cache hint.
2595         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2596         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2597         support.  Avoid rlwimi.
2598         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2600 2013-10-04  Alan Modra  <amodra@gmail.com>
2602         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2603         insrdi.  Formatting.
2604         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2605         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2606         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2607         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2608         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2609         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2611 2013-10-04  Alan Modra  <amodra@gmail.com>
2613         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2614         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2615         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2616         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2617         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2618         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2619         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2620         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2621         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
2622         use of regs.  Use power7 mtocrf.  Tidy function tails.
2624 2013-10-04  Alan Modra  <amodra@gmail.com>
2626         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2627         Formatting.  Consistently use rXXX register defines or rN defines.
2628         Use early exit labels that avoid restoring unused non-volatile regs.
2629         Make cr field use more consistent with rWORDn compares.  Rename
2630         regs used as shift registers for unaligned loop, using rN defines
2631         for short lifetime/multiple use regs.
2632         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2633         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
2634         addi 1,1,64 to pop stack frame.  Simplify return value code.
2635         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2637 2013-10-04  Alan Modra  <amodra@gmail.com>
2639         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2640         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
2641         rather than rlwimi.
2642         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2643         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2644         little-endian support.  Correct typos.
2645         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
2646         rather than rlwimi.
2647         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
2648         in loop and entry code to keep "and." results.
2649         (strchr): Add little-endian support.  Comment.  Move cntlzd
2650         earlier in tail.
2651         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2653 2013-10-04  Alan Modra  <amodra@gmail.com>
2655         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2656         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2657         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2658         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2660 2013-10-04  Alan Modra  <amodra@gmail.com>
2662         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2663         (rTMP): Define as r11.
2664         (strcmp): Add little-endian support.  Optimise tail.
2665         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2666         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2667         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2668         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2669         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2670         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2671         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2673 2013-10-04  Alan Modra  <amodra@gmail.com>
2675         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2676         little-endian support.  Remove unnecessary "are we done" tests.
2677         Handle "s" wrapping around zero and extremely large "size".
2678         Correct main loop count.  Handle single left-over word from main
2679         loop inline rather than by using small_loop.  Correct comments.
2680         Delete "zero" tail, use "end_max" instead.
2681         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2683 2013-10-04  Alan Modra  <amodra@gmail.com>
2685         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2686         support.  Don't branch over align.
2687         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2688         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2689         support.  Rearrange tmp reg use to suit.  Comment.
2690         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2692 2013-10-04  Alan Modra  <amodra@gmail.com>
2694         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2696 2013-10-04  Alan Modra  <amodra@gmail.com>
2698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2699         conditional form of branch and link when obtaining pc.
2700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2702 2013-10-04  Alan Modra  <amodra@gmail.com>
2704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2705         HIWORD/LOWORD.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2709 2013-10-04  Alan Modra  <amodra@gmail.com>
2711         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2712         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2713         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2714         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2715         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2716         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2717         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2718         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2719         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2720         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2722 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2723             Alistair Popple <alistair@ozlabs.au.ibm.com>
2724             Alan Modra <amodra@gmail.com>
2726         [BZ #15723]
2727         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2728         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2729         _dl_hwcap access for little-endian.
2730         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
2731         destroy vmx regs when saving unaligned.
2732         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2733         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
2734         destroy vmx regs when saving unaligned.
2736 2013-10-04  Alan Modra  <amodra@gmail.com>
2738         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2739         Don't use a union to pack hi/low value.
2741 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2743         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2744         for little-endian.
2745         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2746         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2747         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2748         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2749         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2751 2013-10-04  Alan Modra  <amodra@gmail.com>
2753         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2754         constants to usual value for .cst8 section, and remove redundant
2755         high address load.
2756         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2757         constant for 0x1p52.  Load little-endian words of double from
2758         correct stack offsets.
2760 2013-10-04  Alan Modra  <amodra@gmail.com>
2762         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2763         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2764         words of double from correct stack offsets.
2765         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2766         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2767         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2768         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2769         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2770         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2771         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2772         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2773         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2774         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2775         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2776         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2777         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2778         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2779         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2780         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2781         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2783 2013-10-04  Alan Modra  <amodra@gmail.com>
2785         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2786         64-bit int/double union.
2787         (_FPU_SETCW): Likewise.
2788         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2789         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2791 2013-10-04  Alan Modra  <amodra@gmail.com>
2793         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2794         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2796 2013-10-04  Alan Modra  <amodra@gmail.com>
2798         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2799         use vector int constants.
2800         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2802 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2804         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2805         array with long long.
2806         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2807         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2808         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2809         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2810         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2811         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2812         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2813         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2814         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2815         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2816         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2817         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2818         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2820 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2822         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2823         (__signbit): Likewise.  Correct for little-endian.
2824         (__signbitl): Call __signbit.
2825         (lrint): Correct for little-endian.
2826         (lrintf): Call lrint.
2828 2013-10-04  Alan Modra  <amodra@gmail.com>
2830         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2831         union 32-bit int array member with 64-bit int array.
2832         (t515, tm256): Double rather than long double.
2833         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2835 2013-10-04  Alan Modra  <amodra@gmail.com>
2837         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2838         Delete.
2839         (IEEE854_LONG_DOUBLE_BIAS): Delete.
2840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2841         version of math_ldbl.h.
2843 2013-10-04  Alan Modra  <amodra@gmail.com>
2845         [BZ #15734], [BZ #15735]
2846         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2847         all uses of ieee875 long double macros and unions.  Simplify test
2848         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
2849         ldbl_extract_mantissa value for ix,iy exponents.  Properly
2850         normalize after ldbl_extract_mantissa, and don't add hidden bit
2851         already handled.  Don't treat low word of ieee854 mantissa like
2852         low word of IBM long double and mask off bit when testing for
2853         zero.
2854         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2855         all uses of ieee875 long double macros and unions.  Simplify tests
2856         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
2857         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
2858         two1022, instead use their values.  Recognise that tests for large
2859         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
2860         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2861         Rewrite all uses of ieee875 long double macros and unions.  Simplify
2862         test for 0.0L and nan.  Correct negation.
2863         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2864         ieee875 long double macros and unions.  Correct output for large
2865         magnitude x.  Correct absolute value calculation.
2866         (__erfcl): Likewise.
2867         * math/libm-test.inc: Add tests for errors discovered in IBM long
2868         double versions of fmodl, remainderl, erfl and erfcl.
2870 2013-10-04  Alan Modra  <amodra@gmail.com>
2872         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2873         all uses of ieee854 long double macros and unions.  Simplify tests
2874         for long doubles that are fully specified by the high double.
2875         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2876         Likewise.
2877         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2878         Remove dead code too.
2879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2880         (__ieee754_ynl): Likewise.
2881         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2882         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2883         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2884         Remove dead code too.
2885         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2886         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2887         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2888         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2889         Simplify.
2890         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2891         Simplify.
2892         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2893         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2894         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2895         Comment on variable precision.
2896         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2897         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2898         Likewise.
2899         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2900         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2901         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2902         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2903         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2905 2013-10-04  Alan Modra  <amodra@gmail.com>
2907         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2908         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2909         all uses of ieee854 long double macros and unions.
2910         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2911         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2912         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2913         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2914         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2915         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2916         Likewise.
2917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2918         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2919         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2920         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2921         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2922         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2923         Simplify sign and nan test too.
2924         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2925         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2926         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2927         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2928         Likewise.
2929         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2930         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2931         Likewise.
2932         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2933         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2934         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2935         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2936         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2939 2013-10-04  Alan Modra  <amodra@gmail.com>
2941         * stdio-common/printf_size.c (__printf_size): Don't use
2942         union ieee854_long_double in fpnum union.
2943         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
2944         signbit macro to retrieve sign from long double.
2945         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2946         retrieve sign from long double.
2947         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2948         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2949         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2950         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2951         * math/test-misc.c (main): Don't use union ieee854_long_double.
2953 2013-10-04  Alan Modra  <amodra@gmail.com>
2955         [BZ #15680]
2956         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2957         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2958         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2959         calculation.  Remove unnecessary test for denormal exponent.
2960         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2961         Correct handling of denormals.  Avoid undefined shift behaviour.
2962         Correct normalisation of low mantissa when low double is denormal.
2963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2964         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
2965         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2966         Correct normalisation of low mantissa.  Test for overflow of high
2967         mantissa and normalise.
2968         (ldbl_nearbyint): Use more readable constant for two52.
2969         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2970         (__mpn_construct_long_double): Fix test for overflow of high
2971         mantissa and correct normalisation.  Avoid undefined shift.
2973 2013-10-04  Alan Modra  <amodra@gmail.com>
2975         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2976         (union ibm_extended_long_double): Define as an array of ieee754_double.
2977         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2978         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2979         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2980         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2981         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2982         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2983         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2984         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2985         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2986         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2987         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2989 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
2991         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2992         page size instead of calling getpagesize.
2994         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2995         (LOCFILE_ALIGN_MASK): Likewise.
2996         (LOCFILE_ALIGN_UP): Likewise.
2997         (LOCFILE_ALIGNED_P): Likewise.
2998         * locale/programs/ld-collate.c (collate_output): Use the new
2999         macros instead of __alignof__ (int32_t).
3000         * locale/weight.h (findidx): Likewise.
3002 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
3004         [BZ #431]
3005         * manual/string.texi: Fix strncat and wcsncat.
3007 2013-10-03  Brooks Moses  <bmoses@google.com>
3009         [BZ #15915]
3010         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3011         * Makerules: ...here, and adjust associated comments.
3013 2013-10-02  Will Newton  <will.newton@linaro.org>
3015         * malloc/Makefile: Add tst-pvalloc.
3016         * malloc/tst-pvalloc.c: New file.
3018 2013-10-02  Will Newton  <will.newton@linaro.org>
3020         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3021         improve test coverage.
3023 2013-10-02  Will Newton  <will.newton@linaro.org>
3025         * malloc/Makefile: Add tst-posix_memalign.
3026         * malloc/tst-posix_memalign.c: New file.
3028 2013-10-01  Eric Blake  <eblake@redhat.com>
3030         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3031         Use __THROWNL rather than __THROW on static functions.
3033 2013-09-30  Petr Machata  <pmachata@redhat.com>
3035         * elf/elf.h (R_AARCH64_ABS16): New macro.
3036         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3037         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3038         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3039         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3040         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3041         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3042         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3043         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3044         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3045         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3046         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3047         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3048         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3049         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3050         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3051         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3052         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3053         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3054         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3055         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3056         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3057         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3058         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3059         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3060         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3061         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3062         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3063         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3064         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3065         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3066         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3067         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3068         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3069         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3070         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3071         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3072         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3073         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3074         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3075         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3076         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3077         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3078         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3079         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3080         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3081         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3082         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3083         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3084         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3085         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3086         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3087         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3088         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3089         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3090         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3091         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3092         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3093         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3094         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3095         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3096         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3097         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3098         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3099         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3100         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3101         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3102         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3103         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3104         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3105         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3106         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3107         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3108         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3109         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3110         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3111         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3112         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3113         (R_AARCH64_TLSDESC_LDR): Likewise.
3114         (R_AARCH64_TLSDESC_ADD): Likewise.
3115         (R_AARCH64_TLSDESC_CALL): Likewise.
3117 2013-09-30  Andreas Schwab  <schwab@suse.de>
3119         [BZ #15048]
3120         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3121         the nss database lookup.
3122         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3125 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
3127         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3129 2013-09-28  P. J. McDermott  <pj@pehjota.net>
3131         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3132         ${Bash-specific parameter/pattern/string} parameter expansion.
3133         * sysdeps/unix/make-syscalls.sh: Likewise.
3135 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3137         * sysdeps/sh/stackguard-macros.h: New file.
3139 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
3141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3143         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3144         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3145         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3146         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3148 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3150         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3151         Fix thread ID register.
3153 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
3155         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3156         [POSIX || UNIX98]: Require rather than permitting all symbols from
3157         <time.h>.
3158         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3159         element of struct sched_param.
3160         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3161         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3162         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3163         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3164         constant.
3166 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
3168         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3169         argument calculation.
3171 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3173         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3174         Expect macro.
3175         [POSIX] (pthread_attr_t): Do not require type.
3176         [POSIX] (pthread_cond_t): Likewise.
3177         [POSIX] (pthread_condattr_t): Likewise.
3178         [POSIX] (pthread_key_t): Likewise.
3179         [POSIX] (pthread_mutex_t): Likewise.
3180         [POSIX] (pthread_mutexattr_t): Likewise.
3181         [POSIX] (pthread_once_t): Likewise.
3182         [POSIX] (pthread_t): Likewise.
3183         [POSIX-based standards] (pthread_atfork): Expect function.
3185 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3186             Richard Sandiford  <richard@codesourcery.com>
3188         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3189         (swap_endianness_p): New extern variable.
3190         (set_big_endian): New inline function.
3191         (maybe_swap_uint32): Likewise.
3192         (maybe_swap_uint32_array): Likewise.
3193         (maybe_swap_uint32_obstack): Likewise.
3194         * locale/programs/locfile.c: Include <stdbool.h>.
3195         (swap_endianness_p): New variable.
3196         (add_locale_uint32): Call maybe_swap_uint32.
3197         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3198         (write_locale_data): Call maybe_swap_uint32_array.
3199         * locale/programs/ld-collate.c (obstack_int32_grow): Call
3200         maybe_swap_uint32.
3201         (obstack_int32_grow_fast): Likewise.
3202         (output_weightwc): Call maybe_swap_uint32_obstack.
3203         (collate_output): Likewise.
3204         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3205         (OPT_LITTLE_ENDIAN): Likewise.
3206         (options): Add --little-endian and --big-endian options.
3207         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3208         * locale/programs/locarchive.c: Include "locfile.h".
3209         (GET): New macro.
3210         (SET): Likewise.
3211         (INC): Likewise.
3212         (create_archive): Use the new macros to access fields of
3213         structures directly mapped from or written to locale archives.
3214         (oldlocrecentcmp): Likewise.
3215         (enlarge_archive): Likewise.
3216         (insert_name): Likewise.
3217         (add_alias): Likewise.
3218         (add_locale): Likewise.
3219         (delete_locales_from_archive): Likewise.
3220         (show_archive_content): Likewise.
3221         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
3222         locale data.
3224 2013-09-24  Roland McGrath  <roland@hack.frob.com>
3226         * manual/freemanuals.texi: Updated from (newly) canonical copy at
3227         http://www.gnu.org/doc/freemanuals.texi.
3228         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3230 2013-09-24  Will Newton  <will.newton@linaro.org>
3232         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3233         macro.
3235 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
3237         * locale/hashval.h (compute_hashval): Interpret bytes of key as
3238         unsigned char.
3240 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
3242         * manual/threads.texi (POSIX Threads): Fix a typo.
3244 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3246         [BZ #14547]
3247         * string/tst-strcoll-overflow.c: New test case.
3248         * string/Makefile (xtests): Add tst-strcoll-overflow.
3249         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3250         cache if string sizes may cause integer overflow.
3252         [BZ #14547]
3253         * string/strcoll_l.c (coll_seq): New members rule, idx,
3254         save_idx and back_us.
3255         (get_next_seq_nocache): New function.
3256         (do_compare_nocache): New function.
3257         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3258         when malloc fails.
3260 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
3262         [BZ #15754]
3263         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3264         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3265         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3267         [BZ #15754]
3268         * elf/Makefile (tests): Add tst-ptrguard1.
3269         (tests-static): Add tst-ptrguard1-static.
3270         (tst-ptrguard1-ARGS): Define.
3271         (tst-ptrguard1-static-ARGS): Define.
3272         * elf/tst-ptrguard1.c: New file.
3273         * elf/tst-ptrguard1-static.c: New file.
3274         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3275         * sysdeps/i386/stackguard-macros.h: Likewise.
3276         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3277         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3278         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3279         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3280         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3281         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3283 2013-09-23  Hector Marco  <hecmargi@upv.es>
3284             Ismael Ripoll  <iripoll@disca.upv.es>
3285             Carlos O'Donell  <carlos@redhat.com>
3287         [BZ #15754]
3288         * sysdeps/generic/stackguard-macros.h: Define
3289         __pointer_chk_guard_local and POINTER_CHK_GUARD.
3290         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3291         Define __pointer_chk_guard_local.
3292         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3293         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3295 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
3297         [BZ #15859]
3298         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3300 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
3302         * include/string.h (__ffs): Declare as hidden.
3303         * string/ffs.c (__ffs): Define as hidden.
3304         * sysdeps/i386/ffs.c (__ffs): Likewise.
3305         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3306         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3307         * sysdeps/s390/ffs.c (__ffs): Likewise.
3308         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3310 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
3312         * NEWS: Mention malloc probes.
3314         * malloc/arena.c (new_heap): New memory_heap_new probe.
3315         (grow_heap): New memory_heap_more probe.
3316         (shrink_heap): New memory_heap_less probe.
3317         (heap_trim): New memory_heap_free probe.
3318         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3319         (systrim): New memory_sbrk_less probe.
3320         * manual/probes.texi: Document them.
3322         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3323         * manual/probes.texi: Document it.
3325         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3326         (__libc_realloc): Add memory_realloc_retry probe.
3327         (__libc_memalign): Add memory_memalign_retry probe.
3328         (__libc_valloc): Add memory_valloc_retry probe.
3329         (__libc_pvalloc): Add memory_pvalloc_retry probe.
3330         (__libc_calloc): Add memory_calloc_retry probe.
3331         * manual/probes.texi: Document them.
3333         * malloc/arena.c (get_free_list): Add probe
3334         memory_arena_reuse_free_list.
3335         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3336         and memory_arena_reuse.
3337         (arena_get2) [!PER_THREAD]: Likewise.
3338         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3339         memory_arena_reuse_realloc.
3340         * manual/probes.texi: Document them.
3342         * malloc/malloc.c (__libc_free): Add
3343         memory_mallopt_free_dyn_thresholds probe.
3344         (__libc_mallopt): Add multiple memory_mallopt probes.
3345         * manual/probes.texi: Document them.
3347         * malloc/malloc.c: Include stap-probe.h.
3348         (__libc_mallopt): Add memory_mallopt probe.
3349         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3350         * manual/probes.texi: New.
3351         * manual/Makefile (chapters): Add probes.
3352         * manual/threads.texi: Set next node.
3354 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
3356         [BZ #15963, #13985]
3357         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3358         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3359         Add `Chinese' to `nan' entry name.
3361 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3363         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3364         (POLYNOMIAL): Likewise.
3365         (TAYLOR_SINCOS): Likewise.
3366         (TAYLOR_SLOW): Likewise.
3367         (__sin): Use TAYLOR_SINCOS.
3368         (__cos): Likewise.
3369         (slow): Use TAYLOR_SLOW.
3370         (sloww): Likewise.
3371         (bsloww): Likewise.
3372         (csloww): Likewise.
3374 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3376         * stdlib/strtod_l.c: Fix buffer overrun.
3378 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3380         * benchtests/Makefile (bench): Add sincos.
3381         * benchtests/bench-sincos.c: New file.
3383         * math/libm-test.inc (cos_test_data): New test inputs.
3384         (sin_test_data): Likewise.
3386         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3387         macro.
3388         (__sin): Use it.
3389         (__cos): Likewise.
3390         (slow1): Likewise.
3391         (slow2): Likewise.
3392         (sloww1): Likewise.
3393         (sloww2): Likewise.
3394         (bsloww1): Likewise.
3395         (bsloww2): Likewise.
3396         (cslow2): Likewise.
3397         (csloww1): Likewise.
3398         (csloww2): Likewise.
3400         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3401         function.
3402         (__sin): Use it.
3403         (__cos): Likewise.
3405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3406         gotos.
3407         (__cos): Likewise.
3409 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
3411         * config.h.in (HAVE_MIPS_NAN2008): New macro.
3412         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3413         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3414         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3415         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3416         * elf/cache.c (print_entry): Handle the new cache flags.
3418 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
3419             Aldy Hernandez  <aldyh@redhat.com>
3421         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3422         Change condition to [_SOFT_FLOAT].
3423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3435         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3438         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3439         declaration.
3441 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
3443         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3444         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3445         (__longjmp): Use LOAD_GP to load saved GPRs.
3446         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3447         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3448         (__sigsetjmp): Use SAVE_GP to save GPRs.
3450         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3451         Do not append -msoft-float.
3452         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3454 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3456         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3458 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
3460         [BZ #15966]
3461         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3462         (_FPU_GETCW): Use initial "__" on variable and field names but not
3463         on macro parameter name.
3464         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
3465         parentheses around reference to macro parameter.
3467 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
3469         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3470         prototype.
3471         (ctype_startup): Use uint32_t in cast and sizeof for
3472         ctype->charnames.
3474 2013-09-11  Jia Liu  <proljc@gmail.com>
3476         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3477         __daddr_t_defined.
3478         [__FreeBSD__]: Likewise.
3480 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
3482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3483         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3484         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3485         (strchr): Remove __strchr_sse42 ifunc selection.
3486         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3487         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3489 2013-09-11  Will Newton  <will.newton@linaro.org>
3491         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3492         parameter to RES. Remove hardcoded 1000 value.
3493         * benchtests/bench-skeleton.c (main): Pass RES parameter
3494         to TIMING_INIT and multiply result by 1000.
3496 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3500 2013-09-11  Andreas Schwab  <schwab@suse.de>
3502         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3503         if not defined.
3504         (O_TMPFILE) [__USE_GNU]: Define.
3505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3506         Define.
3508 2013-09-11  Will Newton  <will.newton@linaro.org>
3510         [BZ #15857]
3511         * malloc/malloc.c (__libc_memalign): Check the value of bytes
3512         does not overflow.
3514 2013-09-11  Will Newton  <will.newton@linaro.org>
3516         [BZ #15856]
3517         * malloc/malloc.c (__libc_valloc): Check the value of bytes
3518         does not overflow.
3520 2013-09-11  Will Newton  <will.newton@linaro.org>
3522         [BZ #15855]
3523         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3524         does not overflow.
3526 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
3528         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3529         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3530         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3531         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3532         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3534 2013-09-10  Allan McRae  <allan@archlinux.org>
3536         [BZ #15748]
3537         * manual/arith.texi (Parsing of Floats): Clarify
3538         cross-reference.
3540         [BZ #15849]
3541         * manual/install.texi (Running make install): Mention
3542         --enable-pt-chown.
3543         * INSTALL: Regenerated.
3545 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
3547         * csu/init-first.c (_init): Remove the !SHARED condition around
3548         FPU control word initialization.
3549         * elf/dl-support.c (_dl_fpu_control): New variable.
3550         (_dl_aux_init) <AT_FPUCW>: Initialize it.
3551         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3552         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3553         * math/test-fpucw-static.c: New file.
3554         * math/test-fpucw-ieee.c: New file.
3555         * math/test-fpucw-ieee-static.c: New file.
3556         * math/Makefile (tests): Add `test-fpucw-ieee' and
3557         `$(tests-static)'.
3558         (tests-static): New variable.
3559         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3560         dependency to...
3561         [($(build-shared),yes)]
3562         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3563         ... this.
3564         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3565         New dependency.
3567 2013-09-09  Allan McRae  <allan@archlinux.org>
3569         [BZ #15939]
3570         * manual/string.texi (Collation Functions): Fix typo in
3571         strcoll example.
3572         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3574         [BZ #15893]
3575         * stdlib/isomac.c (get_null_defines): Fix memory leak.
3577         [BZ #15892]
3578         * libio/memstream.c (open_memstream): Fix memory leak.
3579         * libio/wmemstream.c (open_wmemstream): Likewise.
3581         [BZ #15895]
3582         * nscd/netgroupcache.c: Fix nesting of ifdefs.
3584 2013-09-09  Will Newton  <will.newton@linaro.org>
3586         * malloc/Makefile: Add tst-realloc to tests.
3587         * malloc/tst-realloc.c: New file.
3589 2013-09-09  Allan McRae  <allan@archlinux.org>
3591         [BZ #15844]
3592         * COPYING: Update from GNU website to fix FSF address.
3593         * COPYING.LIB: Likewise.
3595 2013-09-06  David S. Miller  <davem@davemloft.net>
3597         * po/zh_TW.po: Update Chinese (traditional) translation from
3598         translation project.
3600 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
3601             Joseph Myers  <joseph@codesourcery.com>
3603         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3604         "localeinfo.h".
3605         (obstack_chunk_alloc): New macro.
3606         (obstack_chunk_free): Likewise.
3607         (record_offset): New function.
3608         (init_locale_data): Likewise.
3609         (align_locale_data): Likewise.
3610         (add_locale_empty): Likewise.
3611         (add_locale_raw_data): Likewise.
3612         (add_locale_raw_obstack): Likewise.
3613         (add_locale_string): Likewise.
3614         (add_locale_wstring): Likewise.
3615         (add_locale_uint32): Likewise.
3616         (add_locale_uint32_array): Likewise.
3617         (add_locale_char): Likewise.
3618         (start_locale_structure): Likewise.
3619         (end_locale_structure): Likewise.
3620         (start_locale_prelude): Likewise.
3621         (end_locale_prelude): Likewise.
3622         (write_locale_data): Take locale_file structure rather than an
3623         iovec.
3624         * locale/programs/locfile.h: Include "obstack.h".
3625         (struct locale_file): Change to store locale file contents instead
3626         of header.
3627         (init_locale_data): New prototype.
3628         (align_locale_data): Likewise.
3629         (add_locale_empty): Likewise.
3630         (add_locale_raw_data): Likewise.
3631         (add_locale_raw_obstack): Likewise.
3632         (add_locale_string): Likewise.
3633         (add_locale_wstring): Likewise.
3634         (add_locale_uint32): Likewise.
3635         (add_locale_uint32_array): Likewise.
3636         (add_locale_char): Likewise.
3637         (start_locale_structure): Likewise.
3638         (end_locale_structure): Likewise.
3639         (start_locale_prelude): Likewise.
3640         (end_locale_prelude): Likewise.
3641         (write_locale_data): Update prototype.
3642         * locale/programs/3level.h (struct TABLE): Remove result field.
3643         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3644         Use new locale_file interface.
3645         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3646         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3647         * locale/programs/ld-address.c (address_output): Use new
3648         locale_file interface.
3649         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3650         NO_ADD_LOCALE.
3651         (collate_finish): Don't call collseq_table_finalize.
3652         (collate_output): Use new locale_file interface.
3653         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3654         in file.
3655         (NO_FINALIZE): Change to NO_ADD_LOCALE.
3656         (TABLE): Move defines earlier in file.
3657         (ELEMENT): Likewise.
3658         (DEFAULT): Likewise.
3659         (wctrans_table_add): Move macro and inline function earlier in
3660         file.
3661         (struct wctype_table): Move type earlier in file.
3662         (add_locale_wctype_table): New static prototype.
3663         (struct locale_ctype_t): Use logical types instead of struct iovec
3664         pointers for members.
3665         (ctype_output): Use new locale_file interface.
3666         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
3667         new locale_file interface.
3668         (allocate_arrays): Update for use of new locale_file interface.
3669         * locale/programs/ld-identification.c (identification_output): Use
3670         new locale_file interface.
3671         * locale/programs/ld-measurement.c (measurement_output): Likewise.
3672         * locale/programs/ld-messages.c (messages_output): Likewise.
3673         * locale/programs/ld-monetary.c (monetary_output): Likewise.
3674         * locale/programs/ld-name.c (name_output): Likewise.
3675         * locale/programs/ld-numeric.c (numeric_output): Likewise.
3676         * locale/programs/ld-paper.c (paper_output): Likewise.
3677         * locale/programs/ld-telephone.c (telephone_output): Likewise.
3678         * locale/programs/ld-time.c (time_output): Likewise.
3680 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3682         * benchtests/Makefile: Add memrchr benchmark.
3683         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3684         benchmark as memrchr.
3685         * benchtests/bench-memrchr-ifunc.c: New file.
3686         * benchtests/bench-memrchr.c: New file.
3688 2013-09-06   Will Newton  <will.newton@linaro.org>
3690         * benchtests/Makefile (string-bench): Add memcpy.
3692 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
3693             Cong Wang  <amwang@redhat.com>
3695         * sysdeps/unix/sysv/linux/bits/in.h
3696         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3697         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3698         before __USE_KERNEL_IPV6_DEFS uses.
3699         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3700         IPPROTO_BEETPH.
3701         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3702         sockaddr_in6, or ipv6_mreq.
3704 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3706         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3707         memory access for final bytes in some large inputs.
3708         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3710 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3712         * string/test-memrchr.c: New file.
3713         * string/test-memrchr-ifunc.c: New file.
3714         * string/Makefile: Add new memrchr testcase.
3716 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
3718         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3719         fanotify_init returns EPERM.
3721 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3723         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3724         errors.
3725         (top level): Treat second token from macro or constant entries for
3726         allowed headers as allowed.
3727         * include/complex.h: Condition internal declarations on
3728         [!_ISOMAC].
3729         * include/fenv.h: Condition include of <stdbool.h> and internal
3730         declarations on [!_ISOMAC].
3732 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
3734         [BZ #15923]
3735         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3737 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3739         * configure.in (--enable-versioning): Remove configure option.
3740         (libc_cv_asm_symver_directive): Remove configure test.
3741         (libc_cv_ld_version_script_option): Likewise.
3742         (VERSIONING): Remove variable and AC_SUBST.
3743         (DO_VERSIONING): Remove AC_DEFINE.
3744         * configure: Regenerated.
3745         * config.h.in (DO_VERSIONING): Remove macro.
3746         * Makerules [$(versioning) = yes]: Change conditionals to
3747         [$(build-shared) = yes].
3748         * config.make.in (versioning): Remove variable.
3749         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3750         [$(build-shared) = yes].
3751         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3752         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3753         * elf/Makefile [$(versioning) = yes]: Change conditionals to
3754         [$(build-shared) = yes].
3755         * extra-lib.mk [$(versioning) = yes]: Likewise.
3756         * hurd/Makefile [$(versioning) = yes]: Likewise.
3757         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3758         [SHARED].
3759         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3760         [SHARED].
3761         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3762         [SHARED && !NO_HIDDEN].
3763         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3764         [SHARED].
3765         [SHARED && DO_VERSIONING]: Likewise..
3766         * libio/Makefile [$(versioning) = yes]: Change conditionals to
3767         [$(build-shared) = yes].
3768         * manual/install.texi (--disable-versioning): Remove
3769         documentation.
3770         * INSTALL: Regenerated.
3771         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3772         to [SHARED].
3773         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3774         [$(build-shared) = yes].
3775         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3776         * sysdeps/i386/i686/multiarch/strstr-c.c
3777         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3778         [SHARED && !NO_HIDDEN].
3779         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3780         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3781         * sysdeps/powerpc/powerpc32/dl-machine.c
3782         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3783         * sysdeps/powerpc/powerpc32/sysdep.h
3784         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3785         to [SHARED && PIC && !NO_HIDDEN].
3786         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3787         conditional to [SHARED].
3789 2013-09-04   Will Newton  <will.newton@linaro.org>
3791         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3792         * benchtests/bench-string.h: Include bench-timing.h instead
3793         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3794         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3795         call to HP_TIMING_DIFF_INIT.
3796         * benchtests/bench-memccpy.c: Use bench-timing.h macros
3797         instead of hp-timing.h macros.
3798         * benchtests/bench-memchr.c: Likewise.
3799         * benchtests/bench-memcmp.c: Likewise.
3800         * benchtests/bench-memcpy.c: Likewise.
3801         * benchtests/bench-memmem.c: Likewise.
3802         * benchtests/bench-memmove.c: Likewise.
3803         * benchtests/bench-memset.c: Likewise.
3804         * benchtests/bench-rawmemchr.c: Likewise.
3805         * benchtests/bench-strcasecmp.c: Likewise.
3806         * benchtests/bench-strcasestr.c: Likewise.
3807         * benchtests/bench-strcat.c: Likewise.
3808         * benchtests/bench-strchr.c: Likewise.
3809         * benchtests/bench-strcmp.c: Likewise.
3810         * benchtests/bench-strcpy.c: Likewise.
3811         * benchtests/bench-strcpy_chk.c: Likewise.
3812         * benchtests/bench-strlen.c: Likewise.
3813         * benchtests/bench-strncasecmp.c: Likewise.
3814         * benchtests/bench-strncat.c: Likewise.
3815         * benchtests/bench-strncmp.c: Likewise.
3816         * benchtests/bench-strncpy.c: Likewise.
3817         * benchtests/bench-strnlen.c: Likewise.
3818         * benchtests/bench-strpbrk.c: Likewise.
3819         * benchtests/bench-strrchr.c: Likewise.
3820         * benchtests/bench-strspn.c: Likewise.
3821         * benchtests/bench-strstr.c: Likewise.
3823 2013-09-04  Will Newton  <will.newton@linaro.org>
3825         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3827 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
3829         [BZ #15427]
3830         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3831         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3832         * math/libm-test.inc (lgamma_test_data): Add more tests.
3833         * sysdeps/i386/fpu/libm-test-ulps: Update.
3834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3836 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
3838         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3840         Add ifunc.
3841         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3842         Add strcmp-sse2-unaligned
3843         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3845 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3847         * Versions.def (libc): Add GLIBC_2.19.
3849 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3851         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3852         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3854 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
3856         [BZ #14155]
3857         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3858         intermediate calculations in recurrence.
3859         (__ieee754_ynf): Likewise.
3860         * math/libm-test.inc (jn_test_data): Do not allow spurious
3861         underflow exception.  Add more tests.
3862         (yn_test_data): Add more tests.
3863         * sysdeps/i386/fpu/libm-test-ulps: Update.
3864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3866 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
3868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3870 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3872         * csu/init-first.c: Fix then/than typos.
3873         * locale/programs/ld-collate.c: Likewise.
3874         * locale/programs/linereader.h: Likewise.
3875         * manual/charset.texi: Likewise.
3876         * manual/filesys.texi: Likewise.
3877         * manual/stdio.texi: Likewise.
3878         * manual/string.texi: Likewise.
3879         * stdlib/fmtmsg.c: Likewise.
3880         * sysdeps/i386/stpncpy.S: Likewise.
3881         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3882         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3883         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3884         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3886 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3888         * elf/dl-open.c: Fix typos.
3889         * iconvdata/gbbig5.c: Likewise.
3890         * iconvdata/iso-2022-jp.c: Likewise.
3891         * iconv/gconv_int.h: Likewise.
3892         * iconv/loop.c: Likewise.
3893         * nis/rpcsvc/nis.h: Likewise.
3894         * resolv/ns_name.c: Likewise.
3895         * stdio-common/vfscanf.c: Likewise.
3896         * streams/stropts.h: Likewise.
3897         * sunrpc/rpc_thread.c: Likewise.
3898         * sysdeps/i386/strpbrk.S: Likewise.
3899         * sysdeps/ieee754/k_standard.c: Likewise.
3900         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3901         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3902         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3903         * sysdeps/mach/hurd/profil.c: Likewise.
3904         * sysdeps/s390/dl-procinfo.h: Likewise.
3905         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3906         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3907         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3908         * sysdeps/x86_64/dl-trampoline.S: Likewise.
3909         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3911 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
3913         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3916 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
3918         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3919         aix specific files.
3920         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3921         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3922         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3924         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3925         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3926         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3927         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3929 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3930             Roland McGrath  <roland@hack.frob.com>
3932         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3933         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3935 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3937         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3938         __executable_start symbol instead of _start.
3940 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3942         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3943         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3944         Move macros to...
3945         * sysdeps/gnu/ldsodefs.h: ... this new file.
3947         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3948         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3949         instead of ELFOSABI_LINUX.
3951         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3952         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3953         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3954         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3955         Likewise.
3956         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3957         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3958         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3959         Likewise.
3960         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3961         (ibm_extended_long_double): Add ieee_nan member.
3962         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3963         (do_test): New function.
3965         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3966         TEST_TRUNC.
3967         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3968         functions, renamed from truncdfsf_test, trunctfsf_test,
3969         trunctfdf_test.
3970         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3971         functions.
3972         (do_test): Run all these.
3974 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
3976         * argp/argp-help.c: Fix typos.
3977         * argp/argp-parse.c: Likewise.
3978         * debug/backtracesyms.c: Likewise.
3979         * elf/elf.h: Likewise.
3980         * malloc/malloc.c: Likewise.
3981         * nis/nis_print.c: Likewise.
3982         * resolv/res_comp.c: Likewise.
3983         * stdlib/stdlib.h: Likewise.
3984         * sunrpc/clnt_tcp.c: Likewise.
3985         * sunrpc/clnt_udp.c: Likewise.
3986         * sunrpc/clnt_unix.c: Likewise.
3987         * sysdeps/unix/bsd/ptsname.c: Likewise.
3988         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3989         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3991         Likewise.
3992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3993         Likewise.
3994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3995         Likewise.
3996         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3998 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4000         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4003 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
4005         [BZ #15897]
4006         * dlfcn/Makefile (tests): Add bug-dl-leaf.
4007         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4008         ($(objpfx)bug-dl-leaf): New rule.
4009         ($(objpfx)bug-dl-leaf.so): Likewise.
4010         ($(objpfx)bug-dl-leaf.out): Likewise.
4011         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4012         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4013         * dlfcn/bug-dl-leaf.c: New test.
4014         * dlfcn/bug-dl-leaf-lib.c: Likewise.
4015         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4016         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4017         (dlclose): Likewise.
4018         (dlmopen): Likewise.
4020 2013-08-27  Roland McGrath  <roland@hack.frob.com>
4022         * include/netdb.h [!_ISOMAC]:
4023         Don't include <tls.h>.
4024         (h_errno, __libc_h_errno): Move declaration and macros out of
4025         [_LIBC_REENTRANT].
4027         * include/resolv.h [_RESOLV_H_]:
4028         Don't include <tls.h>.
4029         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4030         * resolv/res_libc.c: Don't include <tls.h>.
4031         (_res): Use __attribute__ ((nocommon)) in place of
4032         __attribute__ ((section (".bss"))).
4034         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4035         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4037         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4039         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4040         only under [SIOCGIFCONF && SIOCGIFNETMASK].
4042         * resolv/res_mkquery.c: Include <sys/time.h>.
4044         * inet/ifreq.c: Moved to ...
4045         * sysdeps/unix/ifreq.c: ... here.
4046         * inet/ifreq.c: New file, true stub version.
4048         * socket/sa_len.c: New file.
4049         * socket/Makefile (aux): Add it.
4050         * sysdeps/unix/sysv/linux/Makefile
4051         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4052         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4053         and #include <socket/sa_len.c>.
4054         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4055         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4057         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4058         * bits/socket.h: ... here.
4060         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4061         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4062         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4064 2013-08-27  Andreas Schwab  <schwab@suse.de>
4066         [BZ #15736]
4067         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4068         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4069         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4070         * string/test-strcasecmp.c (test_main): Run tests in several
4071         locales.
4072         * string/test-strncasecmp.c (test_main): Likewise.
4074         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4075         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4076         to __strcasecmp_nonascii and __strncasecmp_nonascii.
4077         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4078         (__strncasecmp_ssse3) [PIC]: Likewise.
4080 2013-08-26  Roland McGrath  <roland@hack.frob.com>
4082         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4084         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4085         instead of explicitly declaring xdecrypt.
4086         * nis/nss_nis/nis-publickey.c: Likewise.
4088 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4090         [BZ #15890]
4091         * nscd/aicache.c: Include res_hconf.h.
4092         (addhstaiX): Initialize res_hconf.
4094 2013-08-26  Andreas Schwab  <schwab@suse.de>
4096         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4097         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4099 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4101         * nscd/aicache.c (addhstaiX): Fix indentation.
4103 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
4105         * configure.ac: Quote $build_pt_chown test.
4106         * configure: Regenerated.
4108 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
4110         [BZ #15532]
4111         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4112         * math/s_cexpf.c (__cexpf): Likewise.
4113         * math/s_cexpl.c (__cexpl): Likewise.
4114         * math/libm-test.inc (cexp_test_data): Correct expected return
4115         value for NaN + i0.  Add another test.
4117 2013-08-22  David S. Miller  <davem@davemloft.net>
4119         * po/ca.po: Update Catalan translation from translation project.
4120         * po/uk.po: Add Ukrainian translations from translation project.
4122 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
4124         [BZ #15797]
4125         * math/s_fdim.c (__fdim): Check for infinite arguments if result
4126         is infinite, not alongside NaN test.
4127         * math/s_fdimf.c (__fdimf): Likewise.
4128         * math/s_fdiml.c (__fdiml): Likewise.
4129         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
4130         errno is unchanged.
4132 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
4134         * argp/argp-help.c: Fix typos.
4135         * crypt/speeds.c: Likewise.
4136         * csu/check_fds.c: Likewise.
4137         * elf/dl-load.c: Likewise.
4138         * elf/dl-open.c: Likewise.
4139         * elf/reldep3.c: Likewise.
4140         * elf/reldep.c: Likewise.
4141         * elf/sprof.c: Likewise.
4142         * iconv/iconv_charmap.c: Likewise.
4143         * iconv/skeleton.c: Likewise.
4144         * iconv/strtab.c: Likewise.
4145         * io/lockf64.c: Likewise.
4146         * libio/libioP.h: Likewise.
4147         * resolv/gai_notify.c: Likewise.
4148         * resolv/ns_name.c: Likewise.
4149         * resolv/ns_samedomain.c: Likewise.
4150         * resolv/res_send.c: Likewise.
4151         * stdlib/random.c: Likewise.
4152         * sunrpc/rpc/xdr.h: Likewise.
4153         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4154         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4155         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4156         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4157         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4158         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4159         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4160         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4161         * sysdeps/mach/hurd/check_fds.c: Likewise.
4162         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4163         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4164         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4165         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4166         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4167         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4168         * sysdeps/pthread/aio_notify.c: Likewise.
4169         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4170         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4171         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4172         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4173         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4175 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4177         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4178         version if bit_Slow_SSE4_2 is set.
4179         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4180         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4182 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4184         [BZ #15867]
4185         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4186         trampoline stack frame information.
4187         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4188         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4189         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4190         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4191         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4192         * sysdeps/unix/sysv/linux/powerpc/init-first.c
4193         (_libc_vdso_platform_setup): Initialize the signal trampolines.
4194         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4195         sa_flags value.
4196         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4197         interrupting a syscall and set with option SA_SIGINFO.
4199 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4201         [BZ #15531]
4202         * math/s_cproj.c (__cproj): Only return an infinity if one part of
4203         argument is infinite.
4204         * math/s_cprojf.c (__cprojf): Likewise.
4205         * math/s_cprojl.c (__cprojl): Likewise.
4206         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4207         * math/libm-test.inc (cproj_test_data): Add more tests.
4209         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4211         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4212         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4213         size.  Use __ffs to determine corresponding shift.
4215 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4216             Roland McGrath  <roland@hack.frob.com>
4218         * Makefile (INSTALL): Remove trailing blank lines from output of
4219         makeinfo.
4221 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4223         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4224         Align 32 bit compat elf_greg to 8 bytes.
4226 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4228         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4230 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4232         * string/strcoll_l.c (coll_seq): New structure.
4233         (get_next_seq_cached): New function.
4234         (get_next_seq): New function.
4235         (do_compare): New function.
4236         (STRCOLL): Use GNU style definition.  Simplify implementation
4237         by using get_next_seq, get_next_seq_cached and do_compare.
4239 2013-08-16  Florian Weimer  <fweimer@redhat.com>
4241         [BZ #14699]
4242         CVE-2013-4237
4243         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4244         member.
4245         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4246         member.
4247         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4248         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4249         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
4250         conditional.
4251         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4252         GETDENTS_64BIT_ALIGNED.
4253         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4254         * manual/filesys.texi (Reading/Closing Directory): Document
4255         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
4256         strongly.
4257         * manual/conf.texi (Limits for Files): Add portability note to
4258         NAME_MAX, PATH_MAX.
4259         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4261 2013-08-13  Andreas Schwab  <schwab@suse.de>
4263         [BZ #15749]
4264         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4265         of fabs.
4266         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4267         LDBL_MAX_EXP >= 16384]: Add tests for it.
4269 2013-08-12  David S. Miller  <davem@davemloft.net>
4271         * version.h (RELEASE): Set to "development".
4272         (VERSION): Set to "2.18.90".
4273         * NEWS: Add 2.19 section.
4275 2013-08-03  David S. Miller  <davem@davemloft.net>
4277         * po/ko.po: Update Korean translation from translation project.
4279 2013-08-01  David S. Miller  <davem@davemloft.net>
4281         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
4282         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4283         Bilka.
4285 2013-07-30  David S. Miller  <davem@davemloft.net>
4287         * po/fr.po: Update French translation from translation project.
4289 2013-07-28  David S. Miller  <davem@davemloft.net>
4291         * po/cs.po: Update Czech translation from translation project.
4293         * po/sv.po: Update Swedish translation from translation project.
4295 2013-07-27  David S. Miller  <davem@davemloft.net>
4297         * po/eo.po: Update Esperanto translation from translation project.
4299         * po/vi.po: Update Vietnamese translation from translation project.
4301         * po/de.po: Update German translation from translation project.
4303 2013-07-26  David S. Miller  <davem@davemloft.net>
4305         * po/bg.po: Update Bulgarian translation from translation project.
4307         * po/nl.po: Update Dutch translation from translation project.
4308         * po/pl.po: Update Polish translation from translation project.
4309         * po/ru.po: Update Russian translation from translation project.
4311 2013-07-24  David S. Miller  <davem@davemloft.net>
4313         * po/libc.pot: Update.
4315 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4317         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4318         variable page size.
4319         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4320         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4321         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4323 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4325         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4327 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4328             Andreas Schwab  <schwab@suse.de>
4329             Roland McGrath  <roland@hack.frob.com>
4330             Joseph Myers  <joseph@codesourcery.com>
4331             Carlos O'Donell  <carlos@redhat.com>
4333         [BZ #15755]
4334         * config.h.in: Define HAVE_PT_CHOWN.
4335         * config.make.in (build-pt-chown): New variable.
4336         * configure.in (--enable-pt_chown): New configure option.
4337         * configure: Regenerate.
4338         * login/Makefile: Include Makeconfig.  Build pt_chown only if
4339         build-pt-chown is enabled.
4340         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4341         pt_chown to fix pty ownership.
4342         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4343         CLOSE_ALL_FDS.
4344         * manual/install.texi (Configuring and compiling): Mention
4345         --enable-pt_chown. Add @findex for grantpt.
4346         * INSTALL: Regenerate.
4348 2013-07-20  David S. Miller  <davem@davemloft.net>
4350         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4351         difference between 32-bit and 64-bit.
4353 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
4355         [BZ #15711]
4356         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4357         Avoid system header dependency with -ffreestanding.
4358         ($(objpfx)bits/syscall%d): Likewise.
4360 2013-07-13  David S. Miller  <davem@davemloft.net>
4362         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4363         underflows from atanl/atan2l due to bug 15319.
4364         (casinh_test_data): Likewise.
4366 2013-07-07  David S. Miller  <davem@davemloft.net>
4368         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4370 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
4372         * sysdeps/i386/fpu/libm-test-ulps: Update.
4373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4375 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4377         * configure.in (--enable-lock-elision): Fix message text.
4378         * INSTALL: Regenerate.
4379         * configure: Regenerate.
4381 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4385 2013-07-03  Andreas Jaeger  <aj@suse.de>
4387         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4388         define.
4389         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4390         (ptrace_peeksiginfo_args): Add.
4391         (__ptrace_peeksiginfo_flags): Add.
4392         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4393         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4394         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4396 2013-07-03  Allan McRae  <allan@archlinux.org>
4398         * sysdeps/i386/fpu/libm-test-ulps: Update.
4400 2013-07-02  David S. Miller  <davem@davemloft.net>
4402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4404 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
4406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4408 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4410         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4413 2013-07-02  Andi Kleen <ak@linux.intel.com>
4415         * config.h.in (ENABLE_LOCK_ELISION): Add.
4416         * configure.in (--enable-lock-elision): Add option.
4417         * manual/install.texi: Document --enable lock elision.
4418         * configure: Regenerate
4419         * INSTALL: Regenerate.
4421 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4423         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4424         SSE4.2 strcasecmp for libc.a.
4425         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4427 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4429         [BZ #13304]
4430         * soft-fp/op-common.h (_FP_FMA): New macro.
4431         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4432         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
4433         (_FP_MUL_MEAT_1_imm): ... here.
4434         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
4435         (_FP_MUL_MEAT_1_wide): ... here.
4436         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
4437         (_FP_MUL_MEAT_1_hard): ... here.
4438         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4439         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
4440         (_FP_MUL_MEAT_2_wide): ... here.
4441         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
4442         (_FP_MUL_MEAT_2_wide_3mul): ... here.
4443         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
4444         (_FP_MUL_MEAT_2_gmp): ... here.
4445         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4446         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
4447         (_FP_MUL_MEAT_4_wide): ... here.
4448         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
4449         (_FP_MUL_MEAT_4_gmp): ... here.
4450         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4451         (_FP_WFRACBITS_DW_S): Likewise.
4452         (_FP_WFRACXBITS_DW_S): Likewise.
4453         (_FP_HIGHBIT_DW_S): Likewise.
4454         (FP_FMA_S): Likewise.
4455         (_FP_FRAC_HIGH_DW_S): Likewise.
4456         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4457         (_FP_WFRACBITS_DW_D): Likewise.
4458         (_FP_WFRACXBITS_DW_D): Likewise.
4459         (_FP_HIGHBIT_DW_D): Likewise.
4460         (FP_FMA_D): Likewise.
4461         (_FP_FRAC_HIGH_DW_D): Likewise.
4462         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4463         (_FP_WFRACBITS_DW_E): Likewise.
4464         (_FP_WFRACXBITS_DW_E): Likewise.
4465         (_FP_HIGHBIT_DW_E): Likewise.
4466         (FP_FMA_E): Likewise.
4467         (_FP_FRAC_HIGH_DW_E): Likewise.
4468         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4469         (_FP_WFRACBITS_DW_Q): Likewise.
4470         (_FP_WFRACXBITS_DW_Q): Likewise.
4471         (_FP_HIGHBIT_DW_Q): Likewise.
4472         (FP_FMA_Q): Likewise.
4473         (_FP_FRAC_HIGH_DW_Q): Likewise.
4474         * soft-fp/fmasf4.c: New file.
4475         * soft-fp/fmadf4.c: Likewise.
4476         * soft-fp/fmatf4.c: Likewise.
4478 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4481         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4482         Silvermont.
4483         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4484         macro.
4485         (index_Slow_SSE4_2): Likewise.
4486         (index_Prefer_PMINUB_for_stringop): Likewise.
4487         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4488         bit_Slow_SSE4_2 is set.
4489         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4490         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4492 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4494         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4495         rtld_global._dl_hwcap2.
4496         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4497         POWER8.
4498         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4499         POWER8 feature descriptions defined in _dl_hwcap2.
4500         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4501         string handling for POWER8 feature bits.
4502         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4503         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4504         _dl_powerpc_cap_flags.
4505         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4506         * sysdeps/powerpc/rtld-global-offsets.sym
4507         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4508         _dl_hwcap2 in the rtld_global_ro structure.
4510 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4512         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4513         hardware capabilities in support of AT_HWCAP2.
4514         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4515         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4516         GLRO(dl_hwcap2).
4517         (_dl_show_auxv): Add support for calling _dl_procinfo to display
4518         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
4519         explicitly the unknown a_type display mechanism is used.
4520         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4521         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4522         struct member.
4523         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4524         to macro prototype for AT_HWCAP2 support.
4525         * sysdeps/i386/dl-procinfo.h: Likewise.
4526         * sysdeps/s390/dl-procinfo.h: Likewise.
4527         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4528         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
4529         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
4530         return -1 for unknown a_type display fallback.
4531         * sysdeps/sparc/dl-procinfo.h: Likewise.
4532         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4533         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4535 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
4537         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4538         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4540 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
4542         [BZ #12492]
4543         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4544         mprotect making __stack_prot writable.
4546 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
4547             Joseph Myers  <joseph@codesourcery.com>
4549         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4550         as being properly aligned.
4552 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
4554         * dlfcn/modstatic5.c: New file.
4555         * dlfcn/tststatic5.c: New file.
4556         * dlfcn/Makefile (tests): Add tststatic5.
4557         (tests-static): Likewise.
4558         (modules-names): Add modstatic5.
4559         (tststatic5-ENV): New variable.
4560         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4562         [BZ #15022]
4563         * elf/dl-support.c (_dl_main_map): New variable.
4564         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4565         (_dl_nns, _dl_load_adds): Set to 1.
4566         (_dl_initial_searchlist): Refer to _dl_main_map.
4567         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4568         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4569         call to _dl_get_origin.
4570         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4571         around call_map.
4572         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4573         * dlfcn/modstatic3.c: New file.
4574         * dlfcn/tststatic3.c: New file.
4575         * dlfcn/tststatic4.c: New file.
4576         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4577         (tests-static): Likewise.
4578         (modules-names): Add modstatic3.
4579         (tststatic3-ENV, tststatic4-ENV): New variables.
4580         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4581         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4583 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
4585         * configure.in (CC): Require GCC version 4.4 or later.
4586         * configure: Regenerated.
4587         * manual/install.texi (Tools for Compilation): Update GCC version
4588         requirement.
4589         * INSTALL: Regenerated.
4591 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4593         [BZ #15674]
4594         * string/test-memcmp.c (check2): New.
4595         (main): Call check2.
4597         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4599 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
4601         [BZ #15022]
4602         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4603         over to...
4604         (dl_open_worker) [!SHARED]: ... here.
4606 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4608         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4610 2013-06-25  Richard Henderson  <rth@redhat.com>
4612         * locale/programs/locarchive.c: Include <libc-internal.h>
4614 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
4616         * manual/texinfo.tex: Update to version 2013-06-21.17, with
4617         trailing whitespace removed.
4619 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4621         [BZ #10283]
4622         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4623         * locale/programs/locarchive.c: Include libc-mmap.h.
4624         (prepare_address_space): Take two new outputs (the mmap base and len).
4625         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
4626         values.
4627         (create_archive): Declare new mmap base and len values for
4628         prepare_address_space, and store the result in ah.
4629         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4630         (enlarge_archive): If ah->mmap_base is not NULL, use that and
4631         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4632         Declare new mmap base and len values for
4633         prepare_address_space, and store the result in new_ah.
4634         (open_archive): Declare new mmap base and len values for
4635         prepare_address_space, and store the result in ah.
4636         (close_archive): If ah->mmap_base is not NULL, use that and
4637         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4638         * sysdeps/generic/libc-mmap.h: New file.
4640 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4642         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4643         (ALIGN_UP): Likewise.
4644         (PTR_ALIGN_DOWN): Likewise.
4645         (PTR_ALIGN_UP): Likewise.
4647 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4649         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4650         entry mapped to PPC_PLATFORM_POWER8.
4651         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4652         POWER8.
4653         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4654         (_dl_string_platform): Add case for exporting platform position for
4655         POWER8.
4656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4657         search path to sysdeps/powerpc/powerpc32/power8 directory.
4658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4659         search path to sysdeps/powerpc/powerpc64/power8 directory.
4660         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4661         power7 directories.
4662         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4663         power7 directories.
4665 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4667         * INSTALL: Regenerate.
4669         * nscd/connections.c (nscd_init): Fix comment.
4671 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
4673         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4675         [BZ #15667]
4676         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4677         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4679 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4681         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4682         DL_DST_REQ_STATIC.
4683         (DL_DST_REQ_STATIC): Remove macro.
4685 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4687         [BZ #7006]
4688         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4689         with a shift of 0 bits.
4691 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4693         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4694         $(tststatic-ENV).
4696 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4698         [BZ #15655]
4699         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4701 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4703         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4704         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4705         accepts -fno-tree-loop-distribute-patterns.
4706         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4707         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4708         recursive call.
4709         * string/memset.c (memset): Likewise.
4710         * string/test-memmove.c (simple_memmove): Disable loop transformation
4711         to library calls.
4712         * string/test-memset.c (simple_memset): Likewise.
4713         * benchtests/bench-memmove.c (simple_memmove): Likewise.
4714         * benchtests/bench-memset.c (simple_memset): Likewise.
4715         * configure: Regenerated.
4717 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
4719         * math/test-misc.c (main): Ignore fesetround failure when failures
4720         of subsequent rounding tests would be ignored.
4722         [BZ #15654]
4723         * math/fedisblxcpt.c (fedisableexcept): Return 0.
4724         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4725         * math/fegetenv.c (__fegetenv): Return 0.
4726         * math/fegetexcept.c (fegetexcept): Return 0.
4727         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4728         FE_TONEAREST.
4729         * math/feholdexcpt.c (feholdexcept): Return 0.
4730         * math/fesetenv.c (__fesetenv): Return 0.
4731         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4732         argument FE_TONEAREST.
4733         * math/feupdateenv.c (__feupdateenv): Return 0.
4734         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4736 2013-06-18  Roland McGrath  <roland@hack.frob.com>
4738         * elf/rtld-Rules (rtld-compile-command.S): New variable.
4739         (rtld-compile-command.s, rtld-compile-command.c): New variables.
4740         ($(objpfx)rtld-%.os rules): Use them.
4742 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4744         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4745         fields.
4747 2013-06-17  Roland McGrath  <roland@hack.frob.com>
4749         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4750         length of target pattern, then descending length of dependency pattern.
4751         * configure.in (AWK): Require gawk 3.1.2 or newer.
4752         * manual/install.texi (Tools for Compilation): Say that we do.
4753         * configure: Regenerated.
4755         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4756         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4757         * scripts/sysd-rules.awk: ... this new script.
4758         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4759         than a glob-style pattern.
4761 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
4763         * math/test-misc.c (main): Do not treat incorrectly rounded
4764         conversions as failure unless ROUNDING_TESTS passes.
4766 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
4768         [BZ #15631]
4769         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4770         restore exception state around main square root computation, then
4771         check for inexactness explicitly.
4773         * math/libm-test.inc (fma_test_data): Add another test.
4775 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4777         * manual/threads.texi (Non-POSIX Extensions): New document
4778         node.  Document pthread_getattr_default_np and
4779         pthread_setattr_default_np.
4781         * Versions.def (libpthread): Add GLIBC_2.18.
4782         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4784         Likewise.
4785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4786         Likewise.
4787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4788         Likewise.
4789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4790         Likewise.
4791         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4792         Likewise.
4793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4794         Likewise.
4795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4796         Likewise.
4797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4798         Likewise.
4799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4800         Likewise.
4802 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4805         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4807 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4808             H.J. Lu  <hjl.tools@gmail.com>
4810         [BZ #15627]
4811         * sysdeps/x86_64/rtld-memset.c: Remove file.
4812         * sysdeps/x86_64/rtld-memset.S: New file.
4814 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
4816         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4817         (test_in_one_mode): Take arguments for whether the rounding mode
4818         is supported for each floating-point type.
4819         (do_test): Pass new arguments to test_in_one_mode using
4820         ROUNDING_TESTS.
4822 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4824         * posix/tst-waitid.c (do_test): Distinguish different instances of
4825         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
4826         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4827         before entering the kernel for waitpid.
4829 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4831         * NEWS: Fix note on clock function precision.  Text by Roland
4832         McGrath.
4834 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4836         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4837         it into place only when and if the sanity check passes.
4839 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
4841         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4842         output for whether conversion result is exact.  Take argument
4843         indicating whether type is IBM long double.
4844         (round_for_all): Change need_exact field to ibm_ld.
4845         * stdlib/tst-strtod-round.c (struct exactness): New type.
4846         (struct test): Change bool ld_ok field to struct exactness exact.
4847         (TEST): Update all definitions for change to field.
4848         (tests): Regenerate array contents.
4849         (test_in_one_mode): Take pointer to new field instead of old ld_ok
4850         field value.  Check for IBM long double here.
4851         (do_test): Update calls to test_in_one_mode.
4853 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4855         [BZ #12515]
4856         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4857         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4859 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4861         [BZ #15605]
4862         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4863         generated by the compiler on loop optimizations.
4864         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4865         general definitions.
4867 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
4869         * math/bug-nextafter.c: Include <math-tests.h>.
4870         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4871         the relevant type.
4872         * math/bug-nexttoward.c: Include <math-tests.h>.
4873         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4874         the relevant type.
4875         * math/test-misc.c: Include <math-tests.h>.
4876         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4877         the relevant type.
4879 2013-06-12  Andreas Jaeger  <aj@suse.de>
4881         * po/ia.po: Update Interlingua translation from translation
4882         project.
4884 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4886         * include/fenv.h: Include stdbool.h.
4887         (struct rm_ctx): New structure.
4888         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4889         Define macro.
4890         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4891         (SET_RESTORE_ROUNDF): Likewise.
4892         (SET_RESTORE_ROUNDL): Likewise.
4893         (SET_RESTORE_ROUND_NOEX): Likewise.
4894         (SET_RESTORE_ROUND_NOEXF): Likewise.
4895         (SET_RESTORE_ROUND_NOEXL): Likewise.
4896         (SET_RESTORE_ROUND_53BIT): Likewise.
4897         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4898         (libc_feresetround_noexf_ctx): Likewise.
4899         (libc_feresetround_noexl_ctx): Likewise.
4900         (libc_feholdsetround_53bit_ctx): Likewise.
4901         (libc_feresetround_53bit_ctx): Likewise.
4902         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4903         (libc_feholdexcept_setround_sse_ctx): New function.
4904         (libc_fesetenv_sse_ctx): Likewise.
4905         (libc_feupdateenv_sse_ctx): Likewise.
4906         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4907         (libc_feholdexcept_setround_387_ctx): Likewise.
4908         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4909         (libc_feholdsetround_387_prec_ctx): Likewise.
4910         (libc_feholdsetround_387_ctx): Likewise.
4911         (libc_feholdsetround_387_53bit_ctx): Likewise.
4912         (libc_feholdsetround_sse_ctx): Likewise.
4913         (libc_feresetround_sse_ctx): Likewise.
4914         (libc_feresetround_387_ctx): Likewise.
4915         (libc_feupdateenv_387_ctx): Likewise.
4916         (libc_feholdexcept_setroundf_ctx): Define macro.
4917         (libc_fesetenvf_ctx): Likewise.
4918         (libc_feupdateenvf_ctx): Likewise.
4919         (libc_feholdsetroundf_ctx): Likewise.
4920         (libc_feresetroundf_ctx): Likewise.
4921         (libc_feholdexcept_setround_ctx): Likewise.
4922         (libc_fesetenv_ctx): Likewise.
4923         (libc_feupdateenv_ctx): Likewise.
4924         (libc_feholdsetround_ctx): Likewise.
4925         (libc_feresetround_ctx): Likewise.
4926         (libc_feholdexcept_setroundl_ctx): Likewise.
4927         (libc_feupdateenvl_ctx): Likewise.
4928         (libc_feholdsetroundl_ctx): Likewise.
4929         (libc_feresetroundl_ctx): Likewise.
4930         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4931         (libc_feresetround_53bit_ctx): Likewise.
4933 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4935         * locale/iso-639.def: Convert to UTF-8.
4937 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
4939         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4940         (EXCEPTION_TESTS_double): Likewise.
4941         (EXCEPTION_TESTS_long_double): Likewise.
4942         (EXCEPTION_TESTS): Likewise.
4943         * math/libm-test.inc (test_exceptions): Only test exceptions if
4944         EXCEPTION_TESTS (FLOAT).
4946 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4948         * benchtests/Makefile (string-bench): Add strcpy_chk and
4949         stpcpy_chk.
4950         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4951         * benchtests/bench-stpcpy_chk.c: New file.
4952         * benchtests/bench-strcpy_chk-ifunc.c: New file.
4953         * benchtests/bench-strcpy_chk.c: New file.
4954         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4955         code.
4956         (do_test): Likewise.
4958 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4960         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4961         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4962         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4963         with tabs where appropriate.
4964         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4965         dl-procinfo.h.
4966         [PPC_PLATFORM_PPC440]: Likewise.
4967         [PPC_PLATFORM_PPC464]: Likewise.
4968         [PPC_PLATFORM_PPC476]: Likewise.
4969         (_dl_string_platform): Add support for detecting ppc405, ppc440,
4970         ppc464, and ppc476 platform strings merging from ports/
4971         dl-procinfo.h.
4973 2013-06-11  Andreas Schwab  <schwab@suse.de>
4975         [BZ #14991]
4976         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4977         (from_ucs4_idx): Regenerate.
4978         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4979         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4980         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4981         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4982         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4983         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4984         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4985         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4986         from FROM_LOOP and TO_LOOP specific macros.
4987         (BODY): Handle combining characters.
4988         * iconvdata/BIG5HKSCS.irreversible: Update.
4989         * iconvdata/BIG5HKSCS.precomposed: New file.
4990         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4991         characters.
4992         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4994 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4996         * include/sys/time.h: Fix indentation and add copyright header.
4998         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4999         (do_test): Likewise.
5000         * string/test-memchr.c (do_one_test): Likewise.
5001         (do_test): Likewise.
5002         * string/test-memcmp.c (do_one_test): Likewise.
5003         (do_test): Likewise.
5004         * string/test-memcpy.c (do_one_test): Likewise.
5005         (do_test): Likewise.
5006         * string/test-memmem.c (do_one_test): Likewise.
5007         (do_test): Likewise.
5008         (do_random_tests): Likewise.
5009         * string/test-memmove.c (do_one_test): Likewise.
5010         (do_test): Likewise.
5011         * string/test-memset.c (do_one_test): Likewise.
5012         (do_test): Likewise.
5013         * string/test-rawmemchr.c (do_one_test): Likewise.
5014         (do_test): Likewise.
5015         * string/test-strcasecmp.c (do_one_test): Likewise.
5016         (do_test): Likewise.
5017         * string/test-strcasestr.c (do_one_test): Likewise.
5018         (do_test): Likewise.
5019         * string/test-strcat.c (do_one_test): Likewise.
5020         (do_test): Likewise.
5021         * string/test-strchr.c (do_one_test): Likewise.
5022         (do_test): Likewise.
5023         * string/test-strcmp.c (do_one_test): Likewise.
5024         (do_test): Likewise.
5025         * string/test-strcpy.c (do_one_test): Likewise.
5026         (do_test): Likewise.
5027         * string/test-string.h: Likewise.
5028         (test_init): Likewise.
5029         * string/test-strlen.c (do_one_test): Likewise.
5030         (do_test): Likewise.
5031         * string/test-strncasecmp.c (do_one_test): Likewise.
5032         (do_test): Likewise.
5033         * string/test-strncat.c (do_one_test): Likewise.
5034         (do_test): Likewise.
5035         * string/test-strncmp.c (do_one_test): Likewise.
5036         (do_test_limit): Likewise.
5037         (do_test): Likewise.
5038         * string/test-strncpy.c (do_one_test): Likewise.
5039         (do_test): Likewise.
5040         * string/test-strnlen.c (do_one_test): Likewise.
5041         (do_test): Likewise.
5042         * string/test-strpbrk.c (do_one_test): Likewise.
5043         (do_test): Likewise.
5044         * string/test-strrchr.c (do_one_test): Likewise.
5045         (do_test): Likewise.
5046         * string/test-strspn.c (do_one_test): Likewise.
5047         (do_test): Likewise.
5048         * string/test-strstr.c (do_one_test): Likewise.
5049         (do_test): Likewise.
5051         * benchtests/Makefile (string-bench): Add string benchmarks.
5052         * benchtests/bench-bcopy-ifunc.c: New file.
5053         * benchtests/bench-bcopy.c: New file.
5054         * benchtests/bench-bzero-ifunc.c: New file.
5055         * benchtests/bench-bzero.c: New file.
5056         * benchtests/bench-memccpy-ifunc.c: New file.
5057         * benchtests/bench-memccpy.c: New file.
5058         * benchtests/bench-memchr-ifunc.c: New file.
5059         * benchtests/bench-memchr.c: New file.
5060         * benchtests/bench-memcmp-ifunc.c: New file.
5061         * benchtests/bench-memcmp.c: New file.
5062         * benchtests/bench-memmem-ifunc.c: New file.
5063         * benchtests/bench-memmem.c: New file.
5064         * benchtests/bench-memmove-ifunc.c: New file.
5065         * benchtests/bench-memmove.c: New file.
5066         * benchtests/bench-mempcpy-ifunc.c: New file.
5067         * benchtests/bench-mempcpy.c: New file.
5068         * benchtests/bench-memset-ifunc.c: New file.
5069         * benchtests/bench-memset.c: New file.
5070         * benchtests/bench-rawmemchr-ifunc.c: New file.
5071         * benchtests/bench-rawmemchr.c: New file.
5072         * benchtests/bench-stpcpy-ifunc.c: New file.
5073         * benchtests/bench-stpcpy.c: New file.
5074         * benchtests/bench-stpncpy-ifunc.c: New file.
5075         * benchtests/bench-stpncpy.c: New file.
5076         * benchtests/bench-strcasecmp-ifunc.c: New file.
5077         * benchtests/bench-strcasecmp.c: New file.
5078         * benchtests/bench-strcasestr-ifunc.c: New file.
5079         * benchtests/bench-strcasestr.c: New file.
5080         * benchtests/bench-strcat-ifunc.c: New file.
5081         * benchtests/bench-strcat.c: New file.
5082         * benchtests/bench-strchr-ifunc.c: New file.
5083         * benchtests/bench-strchr.c: New file.
5084         * benchtests/bench-strchrnul-ifunc.c: New file.
5085         * benchtests/bench-strchrnul.c: New file.
5086         * benchtests/bench-strcmp-ifunc.c: New file.
5087         * benchtests/bench-strcmp.c: New file.
5088         * benchtests/bench-strcpy-ifunc.c: New file.
5089         * benchtests/bench-strcpy.c: New file.
5090         * benchtests/bench-strcspn-ifunc.c: New file.
5091         * benchtests/bench-strcspn.c: New file.
5092         * benchtests/bench-strlen-ifunc.c: New file.
5093         * benchtests/bench-strlen.c: New file.
5094         * benchtests/bench-strncasecmp-ifunc.c: New file.
5095         * benchtests/bench-strncasecmp.c: New file.
5096         * benchtests/bench-strncat-ifunc.c: New file.
5097         * benchtests/bench-strncat.c: New file.
5098         * benchtests/bench-strncmp-ifunc.c: New file.
5099         * benchtests/bench-strncmp.c: New file.
5100         * benchtests/bench-strncpy-ifunc.c: New file.
5101         * benchtests/bench-strncpy.c: New file.
5102         * benchtests/bench-strnlen-ifunc.c: New file.
5103         * benchtests/bench-strnlen.c: New file.
5104         * benchtests/bench-strpbrk-ifunc.c: New file.
5105         * benchtests/bench-strpbrk.c: New file.
5106         * benchtests/bench-strrchr-ifunc.c: New file.
5107         * benchtests/bench-strrchr.c: New file.
5108         * benchtests/bench-strspn-ifunc.c: New file.
5109         * benchtests/bench-strspn.c: New file.
5110         * benchtests/bench-strstr-ifunc.c: New file.
5111         * benchtests/bench-strstr.c: New file.
5113         * benchtests/Makefile: Disable parallel execution of targets.
5114         (string-bench): Add memcpy.
5115         (benchset): New variable to store a list of benchmark sets.
5116         (bench-func): Renamed from bench.
5117         (bench-set): New target.
5118         (bench): Depend on bench-func and bench-set.
5119         * benchtests/README: Add section on benchmark sets.
5120         * benchtests/bench-memcpy-ifunc.c: New file.
5121         * benchtests/bench-memcpy.c: New file.
5122         * benchtests/bench-string.h: New file.
5124 2013-06-11  Andreas Schwab  <schwab@suse.de>
5126         [BZ #15577]
5127         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5128         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5129         values in the triple.
5130         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5131         terminator in the group key.
5133 2013-06-11  Andreas Jaeger  <aj@suse.de>
5135         * po/zh_TW.po: Update Chinese (traditional) translation from
5136         translation project.
5138 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5140         * include/time.h (__clock_gettime): Add libc_hidden_proto.
5141         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5142         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
5143         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5144         (clock_getcpuclockid): Likewise.
5145         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5146         Add weak_alias and libc_hidden_def.
5147         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5148         * rt/clock_gettime.c (clock_gettime): Rename to
5149         __clock_gettime.  Add weak_alias and libc_hidden_def.
5150         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5151         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5152         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
5153         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5154         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5155         Likewise.
5156         * rt/clock_settime.c (clock_settime): Rename to
5157         __clock_settime.  Add weak_alias and libc_hidden_def.
5158         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5160 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
5162         * mach/err_boot.sub: Remove trailing whitespace.
5163         * mach/err_ipc.sub: Likewise.
5164         * mach/err_mach.sub: Likewise.
5166         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5167         (ROUNDING_TESTS_double): Likewise.
5168         (ROUNDING_TESTS_long_double): Likewise.
5169         (ROUNDING_TESTS): Likewise.
5170         * math/libm-test.inc: Include <math-tests.h>.
5171         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5172         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5173         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5174         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5176 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5178         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5179         of assigning.
5181 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
5183         * sysdeps/gnu/errlist.awk: Do not generate space at end of
5184         otherwise empty TRANS lines.
5185         * sysdeps/gnu/errlist.c: Regenerated.
5187         * catgets/gencat.c (error_print): Use (void) in function
5188         definition.
5189         * crypt/crypt_util.c (__init_des): Likewise.
5190         * crypt/speeds.c (Stop): Likewise.
5191         (main): Likewise.
5192         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5193         * inet/ruserpass.c (token): Likewise.
5194         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5195         * intl/localealias.c (extend_alias_table): Likewise.
5196         * intl/plural-exp.c (init_germanic_plural): Likewise.
5197         * libio/fcloseall.c (__fcloseall): Likewise.
5198         * libio/genops.c (_IO_flush_all): Likewise.
5199         (_IO_flush_all_linebuffered): Likewise.
5200         (_IO_cleanup): Likewise.
5201         (_IO_iter_begin): Likewise.
5202         (_IO_iter_end): Likewise.
5203         (_IO_list_lock): Likewise.
5204         (_IO_list_unlock): Likewise.
5205         (_IO_list_resetlock): Likewise.
5206         * libio/getchar.c (getchar): Likewise.
5207         * libio/getchar_u.c (getchar_unlocked): Likewise.
5208         * libio/getwchar.c (getwchar): Likewise.
5209         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5210         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5211         * login/getpt.c (__getpt): Likewise.
5212         * login/tst-utmp.c (main): Likewise.
5213         * malloc/hooks.c (__malloc_check_init): Likewise.
5214         * malloc/malloc.c (__malloc_stats): Likewise.
5215         * malloc/mtrace.c (tr_break): Likewise.
5216         (mtrace): Likewise.
5217         (muntrace): Likewise.
5218         * misc/fstab.c (endfsent): Likewise.
5219         * misc/getclktck.c (__getclktck): Likewise.
5220         * misc/getdtsz.c (__getdtablesize): Likewise.
5221         * misc/gethostid.c (gethostid): Likewise.
5222         * misc/getpagesize.c (__getpagesize): Likewise.
5223         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5224         (__get_nprocs): Likewise.
5225         (__get_phys_pages): Likewise.
5226         (__get_avphys_pages): Likewise.
5227         * misc/getttyent.c (getttyent): Likewise.
5228         (setttyent): Likewise.
5229         (endttyent): Likewise.
5230         * misc/getusershell.c (getusershell): Likewise.
5231         (endusershell): Likewise.
5232         (setusershell): Likewise.
5233         (initshells): Likewise.
5234         * misc/hsearch.c (__hdestroy): Likewise.
5235         * misc/sync.c (sync): Likewise.
5236         * misc/syslog.c (closelog_internal): Likewise.
5237         (closelog): Likewise.
5238         * misc/ttyslot.c (ttyslot): Likewise.
5239         * misc/vhangup.c (vhangup): Likewise.
5240         * posix/fork.c (__fork): Likewise.
5241         * posix/getegid.c (__getegid): Likewise.
5242         * posix/geteuid.c (__geteuid): Likewise.
5243         * posix/getgid.c (__getgid): Likewise.
5244         * posix/getpid.c (__getpid): Likewise.
5245         * posix/getppid.c (__getppid): Likewise.
5246         * posix/getuid.c (__getuid): Likewise.
5247         * posix/pause.c (pause): Likewise.
5248         * posix/setpgrp.c (setpgrp): Likewise.
5249         * posix/setsid.c (__setsid): Likewise.
5250         * posix/test-vfork.c (noop): Likewise.
5251         * resolv/gethnamaddr.c (_endhtent): Likewise.
5252         (_gethtent): Likewise.
5253         (ht_endhostent): Likewise.
5254         (gethostent): Likewise.
5255         (dns_service): Likewise.
5256         * stdlib/drand48.c (drand48): Likewise.
5257         * stdlib/lrand48.c (lrand48): Likewise.
5258         * stdlib/mrand48.c (mrand48): Likewise.
5259         * stdlib/rand.c (rand): Likewise.
5260         * stdlib/random.c (__random): Likewise.
5261         * stdlib/setenv.c (clearenv): Likewise.
5262         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5263         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5264         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5265         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5266         (__get_nprocs): Likewise.
5267         (__get_phys_pages): Likewise.
5268         (__get_avphys_pages): Likewise.
5269         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5270         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5271         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5272         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5273         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5274         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5275         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5276         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5277         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5278         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5279         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5280         * sysdeps/mach/hurd/sync.c (sync): Likewise.
5281         * sysdeps/posix/clock.c (clock): Likewise.
5282         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5283         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5284         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5285         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5286         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5287         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5288         (__get_nprocs_conf): Likewise.
5289         (__get_phys_pages): Likewise.
5290         (__get_avphys_pages): Likewise.
5291         * time/clock.c (clock): Likewise.
5292         * time/tzset.c (__tzname_max): Likewise.
5294 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
5296         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5297         (__bswap_32): Do not use "register".
5298         * crypt/crypt.c (_ufc_doit_r): Likewise.
5299         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5300         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5301         * gmon/gmon.c (__monstartup): Likewise.
5302         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5303         * hurd/hurdmalloc.c (more_memory): Likewise.
5304         (malloc): Likewise.
5305         (free): Likewise.
5306         (realloc): Likewise.
5307         (malloc_fork_prepare): Likewise.
5308         (malloc_fork_parent): Likewise.
5309         (malloc_fork_child): Likewise.
5310         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5311         (_svcauth_des): Likewise.
5312         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5313         * inet/inet_net.c (inet_network): Likewise.
5314         * inet/inet_netof.c (inet_netof): Likewise.
5315         * inet/rcmd.c (__validuser2_sa): Likewise.
5316         * io/fts.c (fts_open): Likewise.
5317         (fts_load): Likewise.
5318         (fts_close): Likewise.
5319         (fts_read): Likewise.
5320         (fts_children): Likewise.
5321         (fts_build): Likewise.
5322         (fts_stat): Likewise.
5323         (fts_sort): Likewise.
5324         (fts_alloc): Likewise.
5325         (fts_lfree): Likewise.
5326         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5327         (_IO_file_xsgetn): Likewise.
5328         (_IO_file_xsgetn_mmap): Likewise.
5329         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5330         (_IO_cookie_write): Likewise.
5331         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5332         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5333         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5334         * malloc/obstack.c (_obstack_begin): Likewise.
5335         (_obstack_begin_1): Likewise.
5336         (_obstack_newchunk): Likewise.
5337         (_obstack_allocated_p): Likewise.
5338         (obstack_free): Likewise.
5339         (_obstack_memory_used): Likewise.
5340         * misc/getttyent.c (getttynam): Likewise.
5341         (getttyent): Likewise.
5342         (skip): Likewise.
5343         (value): Likewise.
5344         * misc/getusershell.c (initshells): Likewise.
5345         * misc/syslog.c (__vsyslog_chk): Likewise.
5346         * misc/ttyslot.c (ttyslot): Likewise.
5347         * nis/nis_hash.c (__nis_hash): Likewise.
5348         * posix/fnmatch_loop.c (FCT): Likewise.
5349         * posix/getconf.c (print_all): Likewise.
5350         (main): Likewise.
5351         * posix/getopt.c (exchange): Likewise.
5352         * posix/glob.c (globfree): Likewise.
5353         (prefix_array): Likewise.
5354         (__glob_pattern_type): Likewise.
5355         * resolv/arpa/nameser.h (NS_GET16): Likewise.
5356         (NS_GET32): Likewise.
5357         (NS_PUT16): Likewise.
5358         (NS_PUT32): Likewise.
5359         * resolv/gethnamaddr.c (getanswer): Likewise.
5360         (gethostbyname2): Likewise.
5361         (gethostbyaddr): Likewise.
5362         (_gethtent): Likewise.
5363         (_gethtbyname2): Likewise.
5364         (_gethtbyaddr): Likewise.
5365         * resolv/ns_print.c (dst_s_get_int16): Likewise.
5366         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5367         * resolv/res_init.c (__res_vinit): Likewise.
5368         (net_mask): Likewise.
5369         * resolv/res_mkquery.c (outchar): Likewise.
5370         (PRINT): Likewise.
5371         * stdio-common/printf_fp.c (outchar): Likewise.
5372         (PRINT): Likewise.
5373         * stdio-common/printf_fphex.c (outchar): Likewise.
5374         (PRINT): Likewise.
5375         * stdio-common/printf_size.c (outchar): Likewise.
5376         (PRINT): Likewise.
5377         * stdio-common/test_rdwr.c (main): Likewise.
5378         * stdio-common/tfformat.c (matches): Likewise.
5379         * stdio-common/vfprintf.c (outchar): Likewise.
5380         (printf_unknown): Likewise.
5381         (buffered_vfprintf): Likewise.
5382         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5383         * stdio-common/xbug.c (AppendToBuffer): Likewise.
5384         (ReadFile): Likewise.
5385         * stdlib/qsort.c (SWAP): Likewise.
5386         (_quicksort): Likewise.
5387         * stdlib/setenv.c (__add_to_environ): Likewise.
5388         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5389         * stdlib/strtol_l.c (__strtol_l): Likewise.
5390         * stdlib/tst-strtod.c (main): Likewise.
5391         * stdlib/tst-strtol.c (main): Likewise.
5392         * stdlib/tst-strtoll.c (main): Likewise.
5393         * string/bits/string2.h (__strcmp_cc): Likewise.
5394         (__strcmp_cg): Likewise.
5395         (__strcspn_c1): Likewise.
5396         (__strcspn_c2): Likewise.
5397         (__strcspn_c3): Likewise.
5398         (__strspn_c1): Likewise.
5399         (__strspn_c2): Likewise.
5400         (__strspn_c3): Likewise.
5401         (__strsep_1c): Likewise.
5402         (__strsep_2c): Likewise.
5403         (__strsep_3c): Likewise.
5404         * string/memccpy.c (__memccpy): Likewise.
5405         * string/stpcpy.c (__stpcpy): Likewise.
5406         * string/strcmp.c (strcmp): Likewise.
5407         * string/strrchr.c (strrchr): Likewise.
5408         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5409         Likewise.
5410         * sysdeps/mach/hurd/getcwd.c
5411         (_hurd_canonicalize_directory_name_internal): Likewise.
5412         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5413         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5414         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5415         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5416         Likewise, in both definitions.
5417         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5418         definitions.
5419         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5420         64] (__bswap_64): Likewise.
5421         * time/test_time.c (main): Likewise.
5422         * time/tzfile.c (__tzfile_read): Likewise.
5423         (__tzfile_compute): Likewise.
5424         * time/tzset.c (__tzset_parse_tz): Likewise.
5425         (tzset_internal): Likewise.
5426         (compute_change): Likewise.
5427         * wcsmbs/wcscat.c (__wcscat): Likewise.
5428         * wcsmbs/wcschr.c (wcschr): Likewise.
5429         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5430         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5431         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5432         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5433         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5434         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5435         * wcsmbs/wmemchr.c (wmemchr): Likewise.
5436         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5437         * wcsmbs/wmemset.c (wmemset): Likewise.
5439 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
5441         * scripts/config.guess: Update to version 2013-05-16.
5442         * scripts/config.sub: Update to version 2013-04-24.
5443         * scripts/install-sh: Update to version 2011-11-20.07.
5444         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5445         * scripts/move-if-change: Update to version 2012-01-06 07:23.
5447 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
5449         * debug/fgetws_u_chk.c: Fix leading whitespaces.
5450         * elf/sln.c: Likewise.
5451         * hurd/hurd/ioctl.h: Likewise.
5452         * hurd/hurdmalloc.c: Likewise.
5453         * hurd/xattr.c: Likewise.
5454         * include/shlib-compat.h: Likewise.
5455         * inet/ruserpass.c: Likewise.
5456         * libio/iofgets_u.c: Likewise.
5457         * libio/iofgetws_u.c: Likewise.
5458         * locale/programs/ld-identification.c: Likewise.
5459         * locale/programs/ld-time.c: Likewise.
5460         * mach/msg-destroy.c: Likewise.
5461         * nss/nss_files/files-netgrp.c: Likewise.
5462         * resolv/res_data.c: Likewise.
5463         * soft-fp/op-1.h: Likewise.
5464         * soft-fp/op-2.h: Likewise.
5465         * soft-fp/op-4.h: Likewise.
5466         * soft-fp/op-common.h: Likewise.
5467         * stdio-common/printf_fphex.c: Likewise.
5468         * stdlib/strtod_l.c: Likewise.
5469         * sunrpc/rpc/clnt.h: Likewise.
5470         * sysdeps/generic/framestate.c: Likewise.
5471         * sysdeps/i386/bsd-_setjmp.S: Likewise.
5472         * sysdeps/i386/bsd-setjmp.S: Likewise.
5473         * sysdeps/i386/__longjmp.S: Likewise.
5474         * sysdeps/i386/setjmp.S: Likewise.
5475         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5476         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5477         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5478         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5480         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5481         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5482         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5483         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5484         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5485         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5486         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5487         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5488         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5489         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5490         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5491         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5492         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5493         * sysdeps/ieee754/support.c: Likewise.
5494         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5495         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5496         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5497         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5498         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5499         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5500         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5501         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5502         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5503         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5504         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5505         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5506         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5507         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5508         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5509         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5510         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5513 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
5515         * posix/transbug.c: Remove executable mode.
5517 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
5519         * crypt/speeds.c: Remove trailing whitespace.
5520         * dlfcn/default.c: Likewise.
5521         * elf/ifuncdep2.c: Likewise.
5522         * elf/ifuncmain1.c: Likewise.
5523         * elf/ifuncmain1vis.c: Likewise.
5524         * elf/testobj.h: Likewise.
5525         * elf/tst-stackguard1.c: Likewise.
5526         * gmon/sys/gmon.h: Likewise.
5527         * hurd/hurdmsg.c: Likewise.
5528         * hurd/new-fd.c: Likewise.
5529         * hurd/ports-get.c: Likewise.
5530         * iconvdata/ibm1008_420.c: Likewise.
5531         * inet/tst-getni1.c: Likewise.
5532         * inet/tst-getni2.c: Likewise.
5533         * libio/ioungetc.c: Likewise.
5534         * libio/wfiledoalloc.c: Likewise.
5535         * manual/libm-err-tab.pl: Likewise.
5536         * math/w_dremf.c: Likewise.
5537         * misc/ftruncate.c: Likewise.
5538         * posix/bug-glob2.c: Likewise.
5539         * posix/tst-pcre.c: Likewise.
5540         * posix/wait4.c: Likewise.
5541         * resolv/README: Likewise.
5542         * resolv/res_debug.h: Likewise.
5543         * resolv/tst-inet_ntop.c: Likewise.
5544         * setjmp/bug269-setjmp.c: Likewise.
5545         * soft-fp/extended.h: Likewise.
5546         * soft-fp/op-1.h: Likewise.
5547         * soft-fp/op-2.h: Likewise.
5548         * soft-fp/op-4.h: Likewise.
5549         * soft-fp/op-8.h: Likewise.
5550         * soft-fp/testit.c: Likewise.
5551         * stdio-common/bug16.c: Likewise.
5552         * stdlib/random.c: Likewise.
5553         * sunrpc/rpcsvc/rquota.x: Likewise.
5554         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5555         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5556         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5557         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5558         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5559         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5560         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5561         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5562         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5563         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5564         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5565         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5566         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5567         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5568         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5569         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5570         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5571         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5572         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5573         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5574         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5575         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5576         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5577         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5578         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5579         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5580         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5581         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5582         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5583         * sysdeps/ieee754/s_lib_version.c: Likewise.
5584         * sysdeps/mach/hurd/check_fds.c: Likewise.
5585         * sysdeps/mach/hurd/getsockname.c: Likewise.
5586         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5587         * sysdeps/mach/hurd/recvfrom.c: Likewise.
5588         * sysdeps/powerpc/bits/link.h: Likewise.
5589         * sysdeps/powerpc/dl-procinfo.c: Likewise.
5590         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5591         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5592         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5593         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5594         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5595         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5596         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5597         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5598         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5599         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5600         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5601         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5602         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5603         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5604         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5605         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5606         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5607         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5608         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5609         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5610         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5611         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5612         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5613         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5614         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5615         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5616         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5617         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5618         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5619         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5620         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5621         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5622         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5623         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5624         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5625         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5626         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5627         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5628         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5629         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5630         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5631         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5632         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5633         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5634         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5635         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5636         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5637         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5638         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5639         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5640         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5641         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5642         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5643         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5644         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5645         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5646         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5647         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5648         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5649         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5650         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5651         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5652         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5653         * sysdeps/powerpc/sysdep.h: Likewise.
5654         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5655         * sysdeps/s390/s390-64/sub_n.S: Likewise.
5656         * sysdeps/sh/dl-trampoline.S: Likewise.
5657         * sysdeps/sh/memset.S: Likewise.
5658         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5659         * sysdeps/sh/strlen.S: Likewise.
5660         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5661         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5662         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5663         * sysdeps/sparc/sparc32/rem.S: Likewise.
5664         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5665         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5666         * sysdeps/sparc/sparc32/strchr.S: Likewise.
5667         * sysdeps/sparc/sparc32/udiv.S: Likewise.
5668         * sysdeps/sparc/sparc32/urem.S: Likewise.
5669         * sysdeps/sparc/sparc64/add_n.S: Likewise.
5670         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5671         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5672         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5673         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5674         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5675         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5676         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5677         * sysdeps/unix/bsd/times.c: Likewise.
5678         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5679         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5683         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5684         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5685         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5686         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5687         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5688         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5689         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5690         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5691         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5692         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5693         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5694         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5695         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5696         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5697         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5698         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5699         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5700         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5701         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5702         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5703         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5704         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5705         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5706         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5707         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5708         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5709         * sysdeps/x86_64/strcspn.S: Likewise.
5711 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5713         * locale/C-translit.h: Revert #include <stdint.h> because this is a
5714         generated file.  Regenerate properly from gen-translit.pl.
5715         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
5716         locale/C-translit.h.
5718 2013-06-05  Andreas Schwab  <schwab@suse.de>
5720         [BZ #15100]
5721         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5722         week as 6 instead of -1.
5723         * time/tst-strptime.c (day_tests): Add test case.
5725 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5727         * sysdeps/generic/math_private.h
5728         (libc_feholdexcept_setround_53bit): Replace with
5729         libc_feholdsetround_53bit.
5730         (libc_feupdateenv_53bit): Replace with
5731         libc_feresetround_53bit.
5732         (SET_RESTORE_ROUND_53BIT): Adjust.
5734 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5736         * string/test-strchrnul.c: Add copyright header.
5738         * posix/tst-getaddrinfo4.c: Increase test timeout.
5740 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
5742         [BZ #15536]
5743         * math/libm-test.inc (MAX_EXP): Remove
5744         (MIN_EXP): Define.
5745         (ulp): Use MIN_EXP - MANT_DIG.
5746         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5748 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
5750         * po/be.po: Revert last change.
5751         * po/zh_CN.po: Likewise.
5752         * po/header.pot: Likewise.
5754 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
5756         * Makefile ($(common-objpfx)linkobj/libc.so): Define
5757         link-libc-deps to empty as target-specific variable.
5758         * Makerules (link-libc-args): New variable.
5759         (libc-for-link): Likewise.
5760         (link-libc-deps): Likewise.
5761         (lib%.so): Depend on $(link-libc-deps).  Link with
5762         $(link-libc-args).
5763         (build-module): Link with $(link-libc-args).
5764         (build-module-asneeded): Likewise.
5765         (build-module-helper-objlist): Filter out $(link-libc-deps) from
5766         list of objects.
5767         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5768         target-specific variable.
5769         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5770         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5771         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5772         libc.
5773         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5774         libc and ld.so.
5775         ($(objpfx)libpcprofile.so): Likewise.
5776         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5777         libc_nonshared.a.
5778         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5779         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5780         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5781         $(link-libc-deps).
5782         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5783         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5784         * login/Makefile ($(objpfx)libutil.so): Likewise.
5785         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5786         * math/Makefile ($(objpfx)libm.so): Likewise.
5787         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5788         $(objpfx)libnsl.so): Define libc-for-link as target-specific
5789         variable instead of depending directly on libc.
5790         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5791         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5792         $(link-libc-deps).
5793         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5794         libc.
5795         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5796         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5797         ($(objpfx)libanl.so): Likewise.
5798         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5799         ld.so.
5800         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5801         $(link-libc-deps).
5802         * sysdeps/i386/fpu/Makefile: Remove file.
5803         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5804         ($(objpfx)libm.so): Remove dependency on ld.so.
5806 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
5808         [BZ # 15553]
5809         * nis/yp_xdr.c (XDRMAXNAME): Define.
5810         (XDRMAXRECORD): Define.
5811         (xdr_domainname): Use XDRMAXNAME.
5812         (xdr_mapname): Likewise.
5813         (xdr_peername): Likewise.
5814         (xdr_keydat): Use XDRMAXRECORD.
5815         (xdr_valdat): Likewise.
5817 2013-05-30  Jeff Law  <law@redhat.com>
5819         [BZ #14256]
5820         * manual/errno.texi (ESTALE): Update to account for more than
5821         just NFS file systems.
5822         * sysdeps/gnu/errlist.c: Regenerated.
5824 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5826         [BZ #15465]
5827         * elf/Makefile (tests): Add tst-null-argv.
5828         (modules-names):  Add tst-null-argv-lib.
5829         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5830         (tst-null-argv-ENV): Set environment for tst-null-argv.
5831         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5832         (RTLD_PROGNAME): New macro.
5833         * elf/tst-null-argv.c: New test case.
5834         * elf/tst-null-argv-lib.c: Library for test case.
5835         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5836         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5837         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5838         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5839         * elf/dl-init.c (call_init): Likewise.
5840         (_dl_init): Likewise.
5841         * elf/dl-load.c (print_search_path): Likewise.
5842         (_dl_map_object): Likewise.
5843         * elf/dl-lookup.c (do_lookup_x): Likewise.
5844         (add_dependency): Likewise.
5845         (_dl_lookup_symbol_x): Likewise.
5846         (_dl_debug_bindings): Likewise.
5847         * elf/dl-open.c (_dl_show_scope): Likewise.
5848         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5849         * elf/dl-version.c (match_symbol): Likewise.
5850         (_dl_check_map_versions): Likewise.
5851         * elf/rtld.c (dl_main): Likewise.
5852         (print_unresolved): Use RTLD_PROGNAME.
5853         (print_missing_version): Likewise.
5854         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5855         (elf_machine_rela): Likewise.
5856         * sysdeps/powerpc/powerpc32/dl-machine.c
5857         (__process_machine_rela): Likewise.
5858         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5859         Likewise.
5860         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5861         Likewise.
5862         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5863         Likewise.
5864         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5865         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5866         Likewise.
5867         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5868         Likewise.
5869         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5871 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
5873         * po/be.po: Add descriptive title.
5874         * po/zh_CN.po: Likewise.
5875         * po/header.pot: Likewise.
5877 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
5879         * locale/programs/locarchive.c (create_archive): Inlucde fname in
5880         error message.
5881         (enlarge_archive): Likewise.
5883 2013-05-28  Ben North  <ben@redfrontdoor.org>
5885         * manual/arith.texi (frexp): It is the magnitude of the return
5886         value which lies in [0.5, 1), not the return value itself.
5888 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5892 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
5894         * stdio-common/bug26.c (main): Correct fscanf template.
5896         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5897         declare _dl_skip_args.
5899         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5900         Don't declare.
5902         * manual/platform.texi: Add missing @end deftypefun.
5904 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5906         [BZ #15529]
5907         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5908         bit of mantissa of 2^16382.
5909         * math/libm-test.inc (hypot_test_data): Add more tests.
5911         * math/libm-test.inc: Add drem and pow10 to list of tested
5912         functions.
5913         (pow10_test): New function.
5914         (drem_test): Likewise.
5915         (drem_test_tonearest): Likewise.
5916         (drem_test_towardzero): Likewise.
5917         (drem_test_downward): Likewise.
5918         (drem_test_upward): Likewise.
5919         (main): Call the new functions.
5921         * math/libm-test.inc (finite_test_data): Remove.
5922         (finite_test): Run tests from isfinite_test_data.
5923         (gamma_test_data): Remove.
5924         (gamma_test): Run tests from lgamma_test_data.
5925         * sysdeps/i386/fpu/libm-test-ulps: Update.
5926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5928 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5930         * manual/platform.texi: Add PowerPC PPR function set documentation.
5931         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5932         implementation.
5934 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
5936         * math/libm-test.inc (MAX_EXP): Define.
5937         (ULPDIFF): Define.
5938         (ulp): New function.
5939         (check_float_internal): Use ULPDIFF.
5940         (cpow_test): Disable failing test.
5941         (check_ulp): Test ulp() implemetnation.
5942         (main): Call check_ulp before starting tests.
5944 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5946         * math/gen-libm-test.pl (generate_testfile): Do not handle
5947         START_DATA and END_DATA.
5948         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5949         END_DATA.
5950         (acos_tonearest_test_data): Likewise.
5951         (acos_towardzero_test_data): Likewise.
5952         (acos_downward_test_data): Likewise.
5953         (acos_upward_test_data): Likewise.
5954         (acosh_test_data): Likewise.
5955         (asin_test_data): Likewise.
5956         (asin_tonearest_test_data): Likewise.
5957         (asin_towardzero_test_data): Likewise.
5958         (asin_downward_test_data): Likewise.
5959         (asin_upward_test_data): Likewise.
5960         (asinh_test_data): Likewise.
5961         (atan_test_data): Likewise.
5962         (atanh_test_data): Likewise.
5963         (atan2_test_data): Likewise.
5964         (cabs_test_data): Likewise.
5965         (cacos_test_data): Likewise.
5966         (cacosh_test_data): Likewise.
5967         (carg_test_data): Likewise.
5968         (casin_test_data): Likewise.
5969         (casinh_test_data): Likewise.
5970         (catan_test_data): Likewise.
5971         (catanh_test_data): Likewise.
5972         (cbrt_test_data): Likewise.
5973         (ccos_test_data): Likewise.
5974         (ccosh_test_data): Likewise.
5975         (ceil_test_data): Likewise.
5976         (cexp_test_data): Likewise.
5977         (cimag_test_data): Likewise.
5978         (clog_test_data): Likewise.
5979         (clog10_test_data): Likewise.
5980         (conj_test_data): Likewise.
5981         (copysign_test_data): Likewise.
5982         (cos_test_data): Likewise.
5983         (cos_tonearest_test_data): Likewise.
5984         (cos_towardzero_test_data): Likewise.
5985         (cos_downward_test_data): Likewise.
5986         (cos_upward_test_data): Likewise.
5987         (cosh_test_data): Likewise.
5988         (cosh_tonearest_test_data): Likewise.
5989         (cosh_towardzero_test_data): Likewise.
5990         (cosh_downward_test_data): Likewise.
5991         (cosh_upward_test_data): Likewise.
5992         (cpow_test_data): Likewise.
5993         (cproj_test_data): Likewise.
5994         (creal_test_data): Likewise.
5995         (csin_test_data): Likewise.
5996         (csinh_test_data): Likewise.
5997         (csqrt_test_data): Likewise.
5998         (ctan_test_data): Likewise.
5999         (ctan_tonearest_test_data): Likewise.
6000         (ctan_towardzero_test_data): Likewise.
6001         (ctan_downward_test_data): Likewise.
6002         (ctan_upward_test_data): Likewise.
6003         (ctanh_test_data): Likewise.
6004         (ctanh_tonearest_test_data): Likewise.
6005         (ctanh_towardzero_test_data): Likewise.
6006         (ctanh_downward_test_data): Likewise.
6007         (ctanh_upward_test_data): Likewise.
6008         (erf_test_data): Likewise.
6009         (erfc_test_data): Likewise.
6010         (exp_test_data): Likewise.
6011         (exp_tonearest_test_data): Likewise.
6012         (exp_towardzero_test_data): Likewise.
6013         (exp_downward_test_data): Likewise.
6014         (exp_upward_test_data): Likewise.
6015         (exp10_test_data): Likewise.
6016         (exp2_test_data): Likewise.
6017         (expm1_test_data): Likewise.
6018         (fabs_test_data): Likewise.
6019         (fdim_test_data): Likewise.
6020         (finite_test_data): Likewise.
6021         (floor_test_data): Likewise.
6022         (fma_test_data): Likewise.
6023         (fma_towardzero_test_data): Likewise.
6024         (fma_downward_test_data): Likewise.
6025         (fma_upward_test_data): Likewise.
6026         (fmax_test_data): Likewise.
6027         (fmin_test_data): Likewise.
6028         (fmod_test_data): Likewise.
6029         (fpclassify_test_data): Likewise.
6030         (frexp_test_data): Likewise.
6031         (gamma_test_data): Likewise.
6032         (hypot_test_data): Likewise.
6033         (ilogb_test_data): Likewise.
6034         (isfinite_test_data): Likewise.
6035         (isgreater_test_data): Likewise.
6036         (isgreaterequal_test_data): Likewise.
6037         (isinf_test_data): Likewise.
6038         (isless_test_data): Likewise.
6039         (islessequal_test_data): Likewise.
6040         (islessgreater_test_data): Likewise.
6041         (isnan_test_data): Likewise.
6042         (isnormal_test_data): Likewise.
6043         (issignaling_test_data): Likewise.
6044         (isunordered_test_data): Likewise.
6045         (j0_test_data): Likewise.
6046         (j1_test_data): Likewise.
6047         (jn_test_data): Likewise.
6048         (ldexp_test_data): Likewise.
6049         (lgamma_test_data): Likewise.
6050         (lrint_test_data): Likewise.
6051         (lrint_tonearest_test_data): Likewise.
6052         (lrint_towardzero_test_data): Likewise.
6053         (lrint_downward_test_data): Likewise.
6054         (lrint_upward_test_data): Likewise.
6055         (llrint_test_data): Likewise.
6056         (llrint_tonearest_test_data): Likewise.
6057         (llrint_towardzero_test_data): Likewise.
6058         (llrint_downward_test_data): Likewise.
6059         (llrint_upward_test_data): Likewise.
6060         (log_test_data): Likewise.
6061         (log10_test_data): Likewise.
6062         (log1p_test_data): Likewise.
6063         (log2_test_data): Likewise.
6064         (logb_test_data): Likewise.
6065         (logb_downward_test_data): Likewise.
6066         (lround_test_data): Likewise.
6067         (llround_test_data): Likewise.
6068         (modf_test_data): Likewise.
6069         (nearbyint_test_data): Likewise.
6070         (nextafter_test_data): Likewise.
6071         (nexttoward_test_data): Likewise.
6072         (pow_test_data): Likewise.
6073         (pow_tonearest_test_data): Likewise.
6074         (pow_towardzero_test_data): Likewise.
6075         (pow_downward_test_data): Likewise.
6076         (pow_upward_test_data): Likewise.
6077         (remainder_test_data): Likewise.
6078         (remainder_tonearest_test_data): Likewise.
6079         (remainder_towardzero_test_data): Likewise.
6080         (remainder_downward_test_data): Likewise.
6081         (remainder_upward_test_data): Likewise.
6082         (remquo_test_data): Likewise.
6083         (rint_test_data): Likewise.
6084         (rint_tonearest_test_data): Likewise.
6085         (rint_towardzero_test_data): Likewise.
6086         (rint_downward_test_data): Likewise.
6087         (rint_upward_test_data): Likewise.
6088         (round_test_data): Likewise.
6089         (scalb_test_data): Likewise.
6090         (scalbn_test_data): Likewise.
6091         (scalbln_test_data): Likewise.
6092         (signbit_test_data): Likewise.
6093         (sin_test_data): Likewise.
6094         (sin_tonearest_test_data): Likewise.
6095         (sin_towardzero_test_data): Likewise.
6096         (sin_downward_test_data): Likewise.
6097         (sin_upward_test_data): Likewise.
6098         (sincos_test_data): Likewise.
6099         (sinh_test_data): Likewise.
6100         (sinh_tonearest_test_data): Likewise.
6101         (sinh_towardzero_test_data): Likewise.
6102         (sinh_downward_test_data): Likewise.
6103         (sinh_upward_test_data): Likewise.
6104         (sqrt_test_data): Likewise.
6105         (tan_test_data): Likewise.
6106         (tan_tonearest_test_data): Likewise.
6107         (tan_towardzero_test_data): Likewise.
6108         (tan_downward_test_data): Likewise.
6109         (tan_upward_test_data): Likewise.
6110         (tanh_test_data): Likewise.
6111         (tgamma_test_data): Likewise.
6112         (trunc_test_data): Likewise.
6113         (y0_test_data): Likewise.
6114         (y1_test_data): Likewise.
6115         (yn_test_data): Likewise.
6116         (significand_test_data): Likewise.
6118         * math/gen-libm-test.pl (@functions): Remove variable.
6119         (generate_testfile): Don't handle START and END lines.
6120         * math/libm-test.inc (START): New macro.
6121         (END): Likewise.
6122         (END_COMPLEX): Likewise.
6123         (acos_test): Use END macro without arguments.
6124         (acos_test_tonearest): Likewise.
6125         (acos_test_towardzero): Likewise.
6126         (acos_test_downward): Likewise.
6127         (acos_test_upward): Likewise.
6128         (acosh_test): Likewise.
6129         (asin_test): Likewise.
6130         (asin_test_tonearest): Likewise.
6131         (asin_test_towardzero): Likewise.
6132         (asin_test_downward): Likewise.
6133         (asin_test_upward): Likewise.
6134         (asinh_test): Likewise.
6135         (atan_test): Likewise.
6136         (atanh_test): Likewise.
6137         (atan2_test): Likewise.
6138         (cabs_test): Likewise.
6139         (cacos_test): Use END_COMPLEX macro without arguments.
6140         (cacosh_test): Likewise.
6141         (carg_test): Use END macro without arguments.
6142         (casin_test): Use END_COMPLEX macro without arguments.
6143         (casinh_test): Likewise.
6144         (catan_test): Likewise.
6145         (catanh_test): Likewise.
6146         (cbrt_test): Use END macro without arguments.
6147         (ccos_test): Use END_COMPLEX macro without arguments.
6148         (ccosh_test): Likewise.
6149         (ceil_test): Use END macro without arguments.
6150         (cexp_test): Use END_COMPLEX macro without arguments.
6151         (cimag_test): Use END macro without arguments.
6152         (clog_test): Use END_COMPLEX macro without arguments.
6153         (clog10_test): Likewise.
6154         (conj_test): Likewise.
6155         (copysign_test): Use END macro without arguments.
6156         (cos_test): Likewise.
6157         (cos_test_tonearest): Likewise.
6158         (cos_test_towardzero): Likewise.
6159         (cos_test_downward): Likewise.
6160         (cos_test_upward): Likewise.
6161         (cosh_test): Likewise.
6162         (cosh_test_tonearest): Likewise.
6163         (cosh_test_towardzero): Likewise.
6164         (cosh_test_downward): Likewise.
6165         (cosh_test_upward): Likewise.
6166         (cpow_test): Use END_COMPLEX macro without arguments.
6167         (cproj_test): Likewise.
6168         (creal_test): Use END macro without arguments.
6169         (csin_test): Use END_COMPLEX macro without arguments.
6170         (csinh_test): Likewise.
6171         (csqrt_test): Likewise.
6172         (ctan_test): Likewise.
6173         (ctan_test_tonearest): Likewise.
6174         (ctan_test_towardzero): Likewise.
6175         (ctan_test_downward): Likewise.
6176         (ctan_test_upward): Likewise.
6177         (ctanh_test): Likewise.
6178         (ctanh_test_tonearest): Likewise.
6179         (ctanh_test_towardzero): Likewise.
6180         (ctanh_test_downward): Likewise.
6181         (ctanh_test_upward): Likewise.
6182         (erf_test): Use END macro without arguments.
6183         (erfc_test): Likewise.
6184         (exp_test): Likewise.
6185         (exp_test_tonearest): Likewise.
6186         (exp_test_towardzero): Likewise.
6187         (exp_test_downward): Likewise.
6188         (exp_test_upward): Likewise.
6189         (exp10_test): Likewise.
6190         (exp2_test): Likewise.
6191         (expm1_test): Likewise.
6192         (fabs_test): Likewise.
6193         (fdim_test): Likewise.
6194         (finite_test): Likewise.
6195         (floor_test): Likewise.
6196         (fma_test): Likewise.
6197         (fma_test_towardzero): Likewise.
6198         (fma_test_downward): Likewise.
6199         (fma_test_upward): Likewise.
6200         (fmax_test): Likewise.
6201         (fmin_test): Likewise.
6202         (fmod_test): Likewise.
6203         (fpclassify_test): Likewise.
6204         (frexp_test): Likewise.
6205         (gamma_test): Likewise.
6206         (hypot_test): Likewise.
6207         (ilogb_test): Likewise.
6208         (isfinite_test): Likewise.
6209         (isgreater_test): Likewise.
6210         (isgreaterequal_test): Likewise.
6211         (isinf_test): Likewise.
6212         (isless_test): Likewise.
6213         (islessequal_test): Likewise.
6214         (islessgreater_test): Likewise.
6215         (isnan_test): Likewise.
6216         (isnormal_test): Likewise.
6217         (issignaling_test): Likewise.
6218         (isunordered_test): Likewise.
6219         (j0_test): Likewise.
6220         (j1_test): Likewise.
6221         (jn_test): Likewise.
6222         (ldexp_test): Likewise.
6223         (lgamma_test): Likewise.
6224         (lrint_test): Likewise.
6225         (lrint_test_tonearest): Likewise.
6226         (lrint_test_towardzero): Likewise.
6227         (lrint_test_downward): Likewise.
6228         (lrint_test_upward): Likewise.
6229         (llrint_test): Likewise.
6230         (llrint_test_tonearest): Likewise.
6231         (llrint_test_towardzero): Likewise.
6232         (llrint_test_downward): Likewise.
6233         (llrint_test_upward): Likewise.
6234         (log_test): Likewise.
6235         (log10_test): Likewise.
6236         (log1p_test): Likewise.
6237         (log2_test): Likewise.
6238         (logb_test): Likewise.
6239         (logb_test_downward): Likewise.
6240         (lround_test): Likewise.
6241         (llround_test): Likewise.
6242         (modf_test): Likewise.
6243         (nearbyint_test): Likewise.
6244         (nextafter_test): Likewise.
6245         (nexttoward_test): Likewise.
6246         (pow_test): Likewise.
6247         (pow_test_tonearest): Likewise.
6248         (pow_test_towardzero): Likewise.
6249         (pow_test_downward): Likewise.
6250         (pow_test_upward): Likewise.
6251         (remainder_test): Likewise.
6252         (remainder_test_tonearest): Likewise.
6253         (remainder_test_towardzero): Likewise.
6254         (remainder_test_downward): Likewise.
6255         (remainder_test_upward): Likewise.
6256         (remquo_test): Likewise.
6257         (rint_test): Likewise.
6258         (rint_test_tonearest): Likewise.
6259         (rint_test_towardzero): Likewise.
6260         (rint_test_downward): Likewise.
6261         (rint_test_upward): Likewise.
6262         (round_test): Likewise.
6263         (scalb_test): Likewise.
6264         (scalbn_test): Likewise.
6265         (scalbln_test): Likewise.
6266         (signbit_test): Likewise.
6267         (sin_test): Likewise.
6268         (sin_test_tonearest): Likewise.
6269         (sin_test_towardzero): Likewise.
6270         (sin_test_downward): Likewise.
6271         (sin_test_upward): Likewise.
6272         (sincos_test): Likewise.
6273         (sinh_test): Likewise.
6274         (sinh_test_tonearest): Likewise.
6275         (sinh_test_towardzero): Likewise.
6276         (sinh_test_downward): Likewise.
6277         (sinh_test_upward): Likewise.
6278         (sqrt_test): Likewise.
6279         (tan_test): Likewise.
6280         (tan_test_tonearest): Likewise.
6281         (tan_test_towardzero): Likewise.
6282         (tan_test_downward): Likewise.
6283         (tan_test_upward): Likewise.
6284         (tanh_test): Likewise.
6285         (tgamma_test): Likewise.
6286         (trunc_test): Likewise.
6287         (y0_test): Likewise.
6288         (y1_test): Likewise.
6289         (yn_test): Likewise.
6290         (significand_test): Likewise.
6292 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
6294         [BZ #15381]
6295         * libio/genops.c (_IO_no_init): Initialize wide struct info.
6297 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6299         [BZ #14894]
6300         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6301         __ppc_mdoio and __ppc_mdoom.
6302         * manual/platform.texi: Document new functions __ppc_yield,
6303         __ppc_mdoio and __ppc_mdoom.
6305 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
6307         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6308         (main): Mention "tls" pseudo-hwcap is legacy.
6309         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6311 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6313         * math/gen-libm-test.pl (parse_args): Output only string of
6314         arguments as text for test name, not full call or descriptions of
6315         tests for extra outputs.
6316         (generate_testfile): Do not pass function name to parse_args.
6317         Generate this_func variable from START.
6318         * math/libm-test.inc (struct test_f_f_data): Rename test_name
6319         field to arg_str.
6320         (struct test_ff_f_data): Likewise.
6321         (test_ff_f_data_nexttoward): Likewise.
6322         (struct test_fi_f_data): Likewise.
6323         (struct test_fl_f_data): Likewise.
6324         (struct test_if_f_data): Likewise.
6325         (struct test_fff_f_data): Likewise.
6326         (struct test_c_f_data): Likewise.
6327         (struct test_f_f1_data): Likewise.  Remove field extra_name.
6328         (struct test_fF_f1_data): Likewise.
6329         (struct test_ffI_f1_data): Likewise.
6330         (struct test_c_c_data): Rename test_name field to arg_str.
6331         (struct test_cc_c_data): Likewise.
6332         (struct test_f_i_data): Likewise.
6333         (struct test_ff_i_data): Likewise.
6334         (struct test_f_l_data): Likewise.
6335         (struct test_f_L_data): Likewise.
6336         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
6337         and extra2_name.
6338         (COMMON_TEST_SETUP): New macro.
6339         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6340         (COMMON_TEST_CLEANUP): Likewise.
6341         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6342         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
6343         macros.
6344         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6345         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
6346         macros.
6347         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6348         (RUN_TEST_fff_f): Take argument string.  Call new setup and
6349         cleanup macros.
6350         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6351         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
6352         macros.
6353         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6354         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
6355         macros.
6356         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6357         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
6358         cleanup macros.
6359         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6360         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
6361         cleanup macros.
6362         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6363         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
6364         cleanup macros.
6365         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6366         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
6367         macros.
6368         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6369         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
6370         macros.
6371         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6372         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
6373         macros.
6374         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6375         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
6376         cleanup macros.
6377         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6378         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
6379         cleanup macros.
6380         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6381         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
6382         macros.
6383         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6384         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
6385         cleanup macros.
6386         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6387         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
6388         macros.
6389         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6390         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
6391         macros.
6392         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6393         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
6394         cleanup macros.
6395         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6397 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
6399         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6400         to _sifields.sigfault.
6401         (si_addr_lsb): Define new macro.
6402         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6403         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6404         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6406 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
6408         [BZ #15441]
6409         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6410         returns -1.
6411         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6412         null return -1.
6413         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6414         loading the domain.
6416 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6418         * math/gen-libm-test.pl (parse_args): Do not include expected
6419         result in test name.
6420         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6421         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6422         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6423         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6424         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6427 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6429         * benchtests/Makefile: Sort function entries.
6431         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6432         tanh, asinh, acosh, atanh.
6433         * benchtests/acos-inputs: New file.
6434         * benchtests/acosh-inputs: New file.
6435         * benchtests/asin-inputs: New file.
6436         * benchtests/asinh-inputs: New file.
6437         * benchtests/atanh-inputs: New file.
6438         * benchtests/cosh-inputs: New file.
6439         * benchtests/log-inputs: New file.
6440         * benchtests/sinh-inputs: New file.
6441         * benchtests/tanh-inputs: New file.
6443 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
6445         [BZ #15339]
6446         * posix/tst-getaddrinfo4.c: New test.
6447         * posix/Makefile (tests): Add it.
6449 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6451         [BZ #15339]
6452         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6453         when no services were used.
6454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6455         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6457 2013-05-21  Andreas Schwab  <schwab@suse.de>
6459         [BZ #15014]
6460         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6461         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6462         successful.
6463         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6464         redundant variable declarations and reallocation of buffer when
6465         parsing as IPv6 address.  Always set NSS status when called from
6466         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
6467         buffer too small.  Correct computation of needed size.
6468         * nss/Makefile (tests): Add test-digits-dots.
6469         * nss/test-digits-dots.c: New test.
6471 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6473         * benchtests/Makefile: Remove instructions for adding
6474         benchmark tests.
6475         * benchtests/README: New file to explain how to execute and
6476         enhance the benchmark tests.
6478 2013-05-21  Andreas Schwab  <schwab@suse.de>
6480         [BZ #15493]
6481         * setjmp/Makefile (tests): Add tst-sigsetjmp.
6482         * setjmp/tst-sigsetjmp.c: New test.
6484 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
6486         * sysdeps/x86_64/memset.S (memset): New implementation.
6487         (__bzero): Likewise.
6488         (__memset_tail): New function.
6490 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
6492         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6493         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6494         __memcpy_sse2_unaligned ifunc selection.
6495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6496         Add memcpy-sse2-unaligned.S.
6497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6498         Add: __memcpy_sse2_unaligned.
6500 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
6502         [BZ #15490]
6503         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6504         math_force_eval before restoring floating-point envrionment.
6505         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6506         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6507         Likewise.
6508         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6509         <math_private.h>.
6510         (__nearbyintl): Use math_force_eval before restoring
6511         floating-point environment.
6512         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6514         * math/gen-libm-test.pl (special_functions): Remove.
6515         (parse_args): Don't handle TEST_extra.  Handle functions with no
6516         return value.
6517         * math/libm-test.inc (struct test_sincos_data): Replace with
6518         struct test_fFF_11_data.
6519         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6520         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6521         (sincos_test_data): Change element type to struct
6522         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
6523         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6524         RUN_TEST_LOOP_sincos.
6525         * math/README.libm-test: Don't mention special handling of
6526         individual functions.
6527         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6528         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6529         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6530         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6531         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6534         * math/gen-libm-test.pl (get_variable): Remove function.
6535         (parse_args): Don't show pointer parameters to call in test
6536         names.  Use "extra output N" in test names for extra outputs
6537         rather than naming variables.
6539 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
6541         [BZ #15488]
6542         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6543         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6544         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6545         double tests.
6546         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6547         disable.
6548         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6549         check_long_double.
6551         * math/gen-libm-test.pl (@tests): Remove variable.
6552         ($count): Likewise.
6553         (new_test): Remove function.
6554         (show_exceptions): New function.
6555         (special_functions): Use show_exceptions instead of new_test.
6556         (parse_args): Likewise.
6557         (generate_testfile): Pass only function name in generated call to
6558         print_max_error or print_complex_max_error.
6559         (get_ulps): Do not handle complex tests specially.
6560         (output_test): Rename to ...
6561         (get_all_ulps_for_test): ... this.  Return a string rather than
6562         printing to a file.  Require ulps to be present.
6563         (output_ulps): Generate arrays rather than #defines.
6564         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6565         (struct ulp_data): New type.
6566         (BUILD_COMPLEX_ULP): Remove macro.
6567         (compare_ulp_data): New function.
6568         (find_ulps): Likewise.
6569         (find_test_ulps): Likewise.
6570         (find_function_ulps): Likewise.
6571         (find_complex_function_ulps): Likewise.
6572         (print_max_error): Determine allowed ulps using
6573         find_function_ulps.
6574         (print_complex_max_error): Determine allowed ulps using
6575         find_complex_function_ulps.
6576         (check_float_internal): Determine max ulps using find_test_ulps.
6577         (check_float): Do not take max_ulp parameter.  Update call to
6578         check_float_internal.
6579         (check_complex): Likewise.
6580         (check_int): Do not take max_ulp parameter.
6581         (check_long): Likewise.
6582         (check_bool): Likewise.
6583         (check_longlong): Likewise.
6584         (struct test_f_f_data): Remove max_ulp field.
6585         (struct test_ff_f_data): Likewise.
6586         (struct test_ff_f_data_nexttoward): Likewise.
6587         (struct test_fi_f_data): Likewise.
6588         (struct test_fl_f_data): Likewise.
6589         (struct test_if_f_data): Likewise.
6590         (struct test_fff_f_data): Likewise.
6591         (struct test_c_f_data): Likewise.
6592         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6593         (struct test_fF_f1_data): Likewise.
6594         (struct test_ffI_f1_data): Likewise.
6595         (struct test_c_c_data): Remove max_ulp field.
6596         (struct test_cc_c_data): Likewise.
6597         (struct test_f_i_data): Likewise.
6598         (struct test_ff_i_data): Likewise.
6599         (struct test_f_l_data): Likewise.
6600         (struct test_f_L_data): Likewise.
6601         (struct test_sincos_data): Likewise.
6602         (RUN_TEST_f_f): Do not handle ulps.
6603         (RUN_TEST_LOOP_f_f): Likewise.
6604         (RUN_TEST_2_f): Likewise.
6605         (RUN_TEST_LOOP_2_f): Likewise.
6606         (RUN_TEST_fff_f): Likewise.
6607         (RUN_TEST_LOOP_fff_f): Likewise.
6608         (RUN_TEST_c_f): Likewise.
6609         (RUN_TEST_LOOP_c_f): Likewise.
6610         (RUN_TEST_f_f1): Likewise.
6611         (RUN_TEST_LOOP_f_f1): Likewise.
6612         (RUN_TEST_fF_f1): Likewise.
6613         (RUN_TEST_LOOP_fF_f1): Likewise.
6614         (RUN_TEST_fI_f1): Likewise.
6615         (RUN_TEST_LOOP_fI_f1): Likewise.
6616         (RUN_TEST_ffI_f1): Likewise.
6617         (RUN_TEST_LOOP_ffI_f1): Likewise.
6618         (RUN_TEST_c_c): Likewise.
6619         (RUN_TEST_LOOP_c_c): Likewise.
6620         (RUN_TEST_cc_c): Likewise.
6621         (RUN_TEST_LOOP_cc_c): Likewise.
6622         (RUN_TEST_f_i): Likewise.
6623         (RUN_TEST_LOOP_f_i): Likewise.
6624         (RUN_TEST_f_i_tg): Likewise.
6625         (RUN_TEST_LOOP_f_i_tg): Likewise.
6626         (RUN_TEST_ff_i_tg): Likewise.
6627         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6628         (RUN_TEST_f_b): Likewise.
6629         (RUN_TEST_LOOP_f_b): Likewise.
6630         (RUN_TEST_f_b_tg): Likewise.
6631         (RUN_TEST_LOOP_f_b_tg): Likewise.
6632         (RUN_TEST_f_l): Likewise.
6633         (RUN_TEST_LOOP_f_l): Likewise.
6634         (RUN_TEST_f_L): Likewise.
6635         (RUN_TEST_LOOP_f_L): Likewise.
6636         (RUN_TEST_sincos): Likewise.
6637         (RUN_TEST_LOOP_sincos): Likewise.
6639 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
6641         [BZ #15480]
6642         [BZ #15485]
6643         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6644         main case of finite arguments, set rounding mode to FE_TONEAREST
6645         and discard exceptions.
6646         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6647         exceptions.
6648         (remainder_tonearest_test_data): New variable.
6649         (remainder_test_tonearest): New function.
6650         (remainder_towardzero_test_data): New variable.
6651         (remainder_test_towardzero): New function.
6652         (remainder_downward_test_data): New variable.
6653         (remainder_test_downward): New function.
6654         (remainder_upward_test_data): New variable.
6655         (remainder_test_upward): New function.
6656         (main): Call the new test functions.
6658         * math/libm-test.inc (struct test_f_f1_data): Remove field
6659         extra_init.
6660         (struct test_fF_f1_data): Likewise.
6661         (struct test_ffI_f1_data): Likewise.
6662         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
6663         based on value of EXTRA_EXPECTED.
6664         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6665         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
6666         EXTRA_VAR based on value of EXTRA_EXPECTED.
6667         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6668         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
6669         EXTRA_VAR based on value of EXTRA_EXPECTED.
6670         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6671         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
6672         EXTRA_VAR based on value of EXTRA_EXPECTED.
6673         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6674         * math/gen-libm-test.pl (parse_args): Don't output initializers
6675         for extra output values.
6677         * math/libm-test.inc (check_int): Expect result to be exactly
6678         equal to expected value and do not handle ulps.
6679         (check_long): Likewise.
6680         (check_longlong): Likewise.
6682         * math/libm-test.inc (ceil_test_data): Test for "inexact"
6683         exceptions.
6684         (cimag_test_data): Likewise.
6685         (conj_test_data): Likewise.
6686         (copysign_test_data): Likewise.
6687         (cproj_test_data): Likewise.
6688         (creal_test_data): Likewise.
6689         (fabs_test_data): Likewise.
6690         (fdim_test_data): Likewise.
6691         (finite_test_data): Likewise.
6692         (floor_test_data): Likewise.
6693         (fmax_test_data): Likewise.
6694         (fmin_test_data): Likewise.
6695         (fmod_test_data): Likewise.
6696         (fpclassify_test_data): Likewise.
6697         (frexp_test_data): Likewise.
6698         (ilogb_test_data): Likewise.
6699         (isfinite_test_data): Likewise.
6700         (isgreater_test_data): Likewise.
6701         (isgreaterequal_test_data): Likewise.
6702         (isinf_test_data): Likewise.
6703         (isless_test_data): Likewise.
6704         (islessequal_test_data): Likewise.
6705         (islessgreater_test_data): Likewise.
6706         (isnan_test_data): Likewise.
6707         (isnormal_test_data): Likewise.
6708         (issignaling_test_data): Likewise.
6709         (isunordered_test_data): Likewise.
6710         (ldexp_test_data): Likewise.
6711         (lrint_test_data): Likewise.
6712         (lrint_test_data) [TEST_FLOAT]: Disable one test.
6713         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6714         (lrint_tonearest_test_data): Test for "inexact" exceptions.
6715         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6716         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6717         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6718         test input.
6719         (lrint_towardzero_test_data): Test for "inexact" exceptions.
6720         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6721         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6722         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6723         that test input.
6724         (lrint_downward_test_data): Test for "inexact" exceptions.
6725         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6726         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6727         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6728         test input.
6729         (lrint_upward_test_data): Test for "inexact" exceptions.
6730         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6731         test input.
6732         (llrint_test_data): Test for "inexact" exceptions.
6733         (llrint_test_data) [TEST_FLOAT]: Disable one test.
6734         (llrint_tonearest_test_data): Test for "inexact" exceptions.
6735         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6736         (llrint_towardzero_test_data): Test for "inexact" exceptions.
6737         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6738         (llrint_downward_test_data): Test for "inexact" exceptions.
6739         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6740         (llrint_upward_test_data): Test for "inexact" exceptions.
6741         (logb_test_data): Likewise.
6742         (logb_downward_test_data): Likewise.
6743         (nextafter_test_data): Likewise.
6744         (nexttoward_test_data): Likewise.
6745         (remainder_test_data): Likewise.
6746         (remquo_test_data): Likewise.
6747         (scalbn_test_data): Likewise.
6748         (scalbln_test_data): Likewise.
6749         (signbit_test_data): Likewise.
6750         (sqrt_test_data): Likewise.
6751         (significand_test_data): Likewise.
6753 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6755         [BZ #15424]
6756         * benchtests/bench-modf.c (struct args): Mark arg0 as
6757         volatile.
6758         * scripts/bench.pl: Mark members of struct args as volatile.
6760 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6762         [BZ # 15497]
6763         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6764         negative infinity on POWER6 or lower.
6765         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6767 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6769         [BZ #15442]
6770         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6771         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6772         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6773         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6774         (_FP_SETQNAN): New macro.
6775         (_FP_SETQNAN_SEMIRAW): Likewise.
6776         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6777         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6778         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6779         (FP_EXTEND): Use _FP_FRAC_SNANP.
6780         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6781         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6782         into account.
6783         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6784         New macro.
6785         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6786         Likewise.
6788 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6790         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6791         with DIVIDE_BY_ZERO_EXCEPTION.
6792         (gamma_test_data): Likewise.
6793         (lgamma_test_data): Likewise.
6794         (log_test_data): Likewise.
6795         (log10_test_data): Likewise.
6796         (log2_test_data): Likewise.
6797         (tgamma_test_data): Likewise.
6799         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6800         (acos_test_tonearest): Likewise.
6801         (acos_test_towardzero): Likewise.
6802         (acos_test_downward): Likewise.
6803         (acos_test_upward): Likewise.
6804         (acosh_test): Likewise.
6805         (asin_test): Likewise.
6806         (asin_test_tonearest): Likewise.
6807         (asin_test_towardzero): Likewise.
6808         (asin_test_downward): Likewise.
6809         (asin_test_upward): Likewise.
6810         (asinh_test): Likewise.
6811         (atan_test): Likewise.
6812         (atanh_test): Likewise.
6813         (atan2_test): Likewise.
6814         (cabs_test): Likewise.
6815         (cacos_test): Likewise.
6816         (cacosh_test): Likewise.
6817         (casin_test): Likewise.
6818         (casinh_test): Likewise.
6819         (catan_test): Likewise.
6820         (catanh_test): Likewise.
6821         (cbrt_test): Likewise.
6822         (ccos_test): Likewise.
6823         (ccosh_test): Likewise.
6824         (cexp_test): Likewise.
6825         (clog_test): Likewise.
6826         (clog10_test): Likewise.
6827         (cos_test): Likewise.
6828         (cos_test_tonearest): Likewise.
6829         (cos_test_towardzero): Likewise.
6830         (cos_test_downward): Likewise.
6831         (cos_test_upward): Likewise.
6832         (cosh_test): Likewise.
6833         (cosh_test_tonearest): Likewise.
6834         (cosh_test_towardzero): Likewise.
6835         (cosh_test_downward): Likewise.
6836         (cosh_test_upward): Likewise.
6837         (cpow_test): Likewise.
6838         (csin_test): Likewise.
6839         (csinh_test): Likewise.
6840         (csqrt_test): Likewise.
6841         (ctan_test): Likewise.
6842         (ctan_test_tonearest): Likewise.
6843         (ctan_test_towardzero): Likewise.
6844         (ctan_test_downward): Likewise.
6845         (ctan_test_upward): Likewise.
6846         (ctanh_test): Likewise.
6847         (ctanh_test_tonearest): Likewise.
6848         (ctanh_test_towardzero): Likewise.
6849         (ctanh_test_downward): Likewise.
6850         (ctanh_test_upward): Likewise.
6851         (erf_test): Likewise.
6852         (erfc_test): Likewise.
6853         (exp_test): Likewise.
6854         (exp_test_tonearest): Likewise.
6855         (exp_test_towardzero): Likewise.
6856         (exp_test_downward): Likewise.
6857         (exp_test_upward): Likewise.
6858         (exp10_test): Likewise.
6859         (exp2_test): Likewise.
6860         (expm1_test): Likewise.
6861         (fmod_test): Likewise.
6862         (gamma_test): Likewise.
6863         (hypot_test): Likewise.
6864         (j0_test): Likewise.
6865         (j1_test): Likewise.
6866         (jn_test): Likewise.
6867         (lgamma_test): Likewise.
6868         (log_test): Likewise.
6869         (log10_test): Likewise.
6870         (log1p_test): Likewise.
6871         (log2_test): Likewise.
6872         (logb_test_downward): Likewise.
6873         (pow_test): Likewise.
6874         (pow_test_tonearest): Likewise.
6875         (pow_test_towardzero): Likewise.
6876         (pow_test_downward): Likewise.
6877         (pow_test_upward): Likewise.
6878         (remainder_test): Likewise.
6879         (remquo_test): Likewise.
6880         (sin_test): Likewise.
6881         (sin_test_tonearest): Likewise.
6882         (sin_test_towardzero): Likewise.
6883         (sin_test_downward): Likewise.
6884         (sin_test_upward): Likewise.
6885         (sincos_test): Likewise.
6886         (sinh_test): Likewise.
6887         (sinh_test_tonearest): Likewise.
6888         (sinh_test_towardzero): Likewise.
6889         (sinh_test_downward): Likewise.
6890         (sinh_test_upward): Likewise.
6891         (sqrt_test): Likewise.
6892         (tan_test): Likewise.
6893         (tan_test_tonearest): Likewise.
6894         (tan_test_towardzero): Likewise.
6895         (tan_test_downward): Likewise.
6896         (tan_test_upward): Likewise.
6897         (tanh_test): Likewise.
6898         (tgamma_test): Likewise.
6899         (y0_test): Likewise.
6900         (y1_test): Likewise.
6901         (yn_test): Likewise.
6903         * math/gen-libm-test.pl (adjust_arg): Remove function.
6904         (special_function): Remove argument $in_func.  Only handle
6905         generating output for tables of tests, not inside functions.
6906         (parse_args): Likewise.
6907         (generate_testfile): Remove variable $in_func.  Update call to
6908         parse_args.
6909         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6910         (MINUS_ZERO_INIT): Rename macro to minus_zero.
6911         (PLUS_INFTY_INIT): Rename macro to plus_infty.
6912         (MINUS_INFTY_INIT): Rename macro to minus_infty.
6913         (QNAN_VALUE_INIT): Rename macro to qnan_value.
6914         (MAX_VALUE_INIT): Rename macro to max_value.
6915         (MIN_VALUE_INIT): Rename macro to min_value.
6916         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6917         (plus_zero): Remove variable.
6918         (minus_zero): Likewise.
6919         (plus_infty): Likewise.
6920         (minus_infty): Likewise.
6921         (qnan_value): Likewise.
6922         (max_value): Likewise.
6923         (min_value): Likewise.
6924         (min_subnorm_value): Likewise.
6926 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6928         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6929         uint64_t or uint32_t usage.
6930         * crypt/sha256-block.c: Likewise.
6931         * crypt/sha256-crypt.c: Likewise.
6932         * crypt/sha256.c: Likewise.
6933         * crypt/sha512-block.c: Likewise.
6934         * crypt/sha512-crypt.c: Likewise.
6935         * crypt/sha512.c: Likewise.
6936         * debug/backtrace-tst.c: Likewise.
6937         * debug/pcprofiledump.c: Likewise.
6938         * elf/cache.c: Likewise.
6939         * elf/dl-cache.c: Likewise.
6940         * elf/dl-misc.c: Likewise.
6941         * elf/dl-profile.c: Likewise.
6942         * elf/dl-support.c: Likewise.
6943         * elf/ldconfig.c: Likewise.
6944         * elf/sprof.c: Likewise.
6945         * iconv/dummy-repertoire.c: Likewise.
6946         * iconv/iconv_charmap.c: Likewise.
6947         * iconv/skeleton.c: Likewise.
6948         * iconvdata/8bit-generic.c: Likewise.
6949         * iconvdata/cp737.h: Likewise.
6950         * iconvdata/cp775.h: Likewise.
6951         * iconvdata/ibm1008.h: Likewise.
6952         * iconvdata/ibm1025.h: Likewise.
6953         * iconvdata/ibm1046.h: Likewise.
6954         * iconvdata/ibm1097.h: Likewise.
6955         * iconvdata/ibm1112.h: Likewise.
6956         * iconvdata/ibm1122.h: Likewise.
6957         * iconvdata/ibm1123.h: Likewise.
6958         * iconvdata/ibm1124.h: Likewise.
6959         * iconvdata/ibm1129.h: Likewise.
6960         * iconvdata/ibm1130.h: Likewise.
6961         * iconvdata/ibm1132.h: Likewise.
6962         * iconvdata/ibm1133.h: Likewise.
6963         * iconvdata/ibm1137.h: Likewise.
6964         * iconvdata/ibm1140.h: Likewise.
6965         * iconvdata/ibm1141.h: Likewise.
6966         * iconvdata/ibm1142.h: Likewise.
6967         * iconvdata/ibm1143.h: Likewise.
6968         * iconvdata/ibm1144.h: Likewise.
6969         * iconvdata/ibm1145.h: Likewise.
6970         * iconvdata/ibm1146.h: Likewise.
6971         * iconvdata/ibm1147.h: Likewise.
6972         * iconvdata/ibm1148.h: Likewise.
6973         * iconvdata/ibm1149.h: Likewise.
6974         * iconvdata/ibm1153.h: Likewise.
6975         * iconvdata/ibm1154.h: Likewise.
6976         * iconvdata/ibm1155.h: Likewise.
6977         * iconvdata/ibm1156.h: Likewise.
6978         * iconvdata/ibm1157.h: Likewise.
6979         * iconvdata/ibm1158.h: Likewise.
6980         * iconvdata/ibm1160.h: Likewise.
6981         * iconvdata/ibm1161.h: Likewise.
6982         * iconvdata/ibm1162.h: Likewise.
6983         * iconvdata/ibm1163.h: Likewise.
6984         * iconvdata/ibm1164.h: Likewise.
6985         * iconvdata/ibm1166.h: Likewise.
6986         * iconvdata/ibm1167.h: Likewise.
6987         * iconvdata/ibm12712.h: Likewise.
6988         * iconvdata/ibm1390.h: Likewise.
6989         * iconvdata/ibm1399.h: Likewise.
6990         * iconvdata/ibm16804.h: Likewise.
6991         * iconvdata/ibm4517.h: Likewise.
6992         * iconvdata/ibm4899.h: Likewise.
6993         * iconvdata/ibm4909.h: Likewise.
6994         * iconvdata/ibm4971.h: Likewise.
6995         * iconvdata/ibm5347.h: Likewise.
6996         * iconvdata/ibm803.h: Likewise.
6997         * iconvdata/ibm856.h: Likewise.
6998         * iconvdata/ibm901.h: Likewise.
6999         * iconvdata/ibm902.h: Likewise.
7000         * iconvdata/ibm9030.h: Likewise.
7001         * iconvdata/ibm9066.h: Likewise.
7002         * iconvdata/ibm921.h: Likewise.
7003         * iconvdata/ibm922.h: Likewise.
7004         * iconvdata/ibm9448.h: Likewise.
7005         * iconvdata/isiri-3342.h: Likewise.
7006         * iconvdata/jis0201.h: Likewise.
7007         * include/link.h: Likewise.
7008         * include/netdb.h: Likewise.
7009         * inet/check_native.c: Likewise.
7010         * inet/check_pf.c: Likewise.
7011         * inet/getipv4sourcefilter.c: Likewise.
7012         * inet/getnameinfo.c: Likewise.
7013         * inet/getsourcefilter.c: Likewise.
7014         * inet/htonl.c: Likewise.
7015         * inet/setipv4sourcefilter.c: Likewise.
7016         * inet/setsourcefilter.c: Likewise.
7017         * inet/test-inet6_opt.c: Likewise.
7018         * inet/tst-network.c: Likewise.
7019         * locale/C-collate.c: Likewise.
7020         * locale/C-ctype.c: Likewise.
7021         * locale/C-time.c: Likewise.
7022         * locale/C-translit.h: Likewise.
7023         * locale/loadarchive.c: Likewise.
7024         * locale/programs/3level.h: Likewise.
7025         * locale/programs/charmap.c: Likewise.
7026         * locale/programs/charmap.h: Likewise.
7027         * locale/programs/ld-address.c: Likewise.
7028         * locale/programs/ld-collate.c: Likewise.
7029         * locale/programs/ld-ctype.c: Likewise.
7030         * locale/programs/ld-identification.c: Likewise.
7031         * locale/programs/ld-measurement.c: Likewise.
7032         * locale/programs/ld-messages.c: Likewise.
7033         * locale/programs/ld-monetary.c: Likewise.
7034         * locale/programs/ld-name.c: Likewise.
7035         * locale/programs/ld-numeric.c: Likewise.
7036         * locale/programs/ld-paper.c: Likewise.
7037         * locale/programs/ld-telephone.c: Likewise.
7038         * locale/programs/ld-time.c: Likewise.
7039         * locale/programs/linereader.c: Likewise.
7040         * locale/programs/locale.c: Likewise.
7041         * locale/programs/locarchive.c: Likewise.
7042         * locale/programs/locfile.h: Likewise.
7043         * locale/programs/repertoire.c: Likewise.
7044         * locale/programs/simple-hash.c: Likewise.
7045         * locale/programs/simple-hash.h: Likewise.
7046         * malloc/memusage.c: Likewise.
7047         * malloc/memusagestat.c: Likewise.
7048         * nis/nis_defaults.c: Likewise.
7049         * nis/nis_hash.c: Likewise.
7050         * nis/nis_print.c: Likewise.
7051         * nis/nis_xdr.c: Likewise.
7052         * nscd/connections.c: Likewise.
7053         * nscd/hstcache.c: Likewise.
7054         * nscd/nscd_gethst_r.c: Likewise.
7055         * nscd/nscd_getserv_r.c: Likewise.
7056         * nscd/nscd_helper.c: Likewise.
7057         * nscd/servicescache.c: Likewise.
7058         * nss/makedb.c: Likewise.
7059         * nss/nss_db/db-XXX.c: Likewise.
7060         * nss/nss_db/db-initgroups.c: Likewise.
7061         * nss/nss_db/db-netgrp.c: Likewise.
7062         * nss/nss_files/files-network.c: Likewise.
7063         * nss/nss_files/files-parse.c: Likewise.
7064         * posix/bug-regex5.c: Likewise.
7065         * posix/fnmatch_loop.c: Likewise.
7066         * posix/regcomp.c: Likewise.
7067         * posix/regexec.c: Likewise.
7068         * posix/tst-rfc3484-2.c: Likewise.
7069         * posix/tst-rfc3484-3.c: Likewise.
7070         * posix/tst-rfc3484.c: Likewise.
7071         * resolv/nss_dns/dns-canon.c: Likewise.
7072         * resolv/nss_dns/dns-network.c: Likewise.
7073         * resolv/res_init.c: Likewise.
7074         * resolv/res_mkquery.c: Likewise.
7075         * resolv/tst-aton.c: Likewise.
7076         * stdlib/cxa_atexit.c: Likewise.
7077         * stdlib/cxa_finalize.c: Likewise.
7078         * stdlib/gen-fpioconst.c: Likewise.
7079         * stdlib/strtol_l.c: Likewise.
7080         * string/tst-endian.c: Likewise.
7081         * sunrpc/auth_des.c: Likewise.
7082         * sunrpc/clnt_udp.c: Likewise.
7083         * sunrpc/rtime.c: Likewise.
7084         * sunrpc/svcauth_des.c: Likewise.
7085         * sunrpc/xdr.c: Likewise.
7086         * sunrpc/xdr_intXX_t.c: Likewise.
7087         * sunrpc/xdr_rec.c: Likewise.
7088         * sysdeps/generic/ldconfig.h: Likewise.
7089         * sysdeps/generic/ldsodefs.h: Likewise.
7090         * sysdeps/generic/memusage.h: Likewise.
7091         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7092         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7093         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7094         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7095         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7096         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7097         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7098         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7099         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7100         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7101         * sysdeps/posix/getaddrinfo.c: Likewise.
7102         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7103         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7104         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7105         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7106         * sysdeps/powerpc/test-gettimebase.c: Likewise.
7107         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7108         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7109         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7110         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7111         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7112         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7113         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7114         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7115         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7116         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7117         * sysdeps/x86_64/dl-tls.h: Likewise.
7118         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7119         * time/alt_digit.c: Likewise.
7120         * time/era.c: Likewise.
7121         * wcsmbs/tst-c16c32-1.c: Likewise.
7123 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7125         * math/libm-test.inc (struct test_sincos_data): New type.
7126         (RUN_TEST_LOOP_sincos): New macro.
7127         (sincos_test_data): New variable.
7128         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7130 2013-05-16  Richard Henderson  <rth@redhat.com>
7132         * math/atest-exp2.c (LIMB64): New macro.
7133         (CONSTSZ): New macro.
7134         (mp_exp1, mp_exp_m1, mp_log2): New variables.
7135         (hexdig): Move ...
7136         (print_mpn_fp): ... to function scope.
7137         (read_mpn_hex): Remove.
7138         (get_log2): Remove.
7139         (exp2_mpn): Use mp_log2.
7140         (main): Use mp_exp1.
7142 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7144         * math/libm-test.inc: Remove comment about not testing "inexact"
7145         exceptions.
7146         (INEXACT_EXCEPTION): New macro.
7147         (NO_INEXACT_EXCEPTION): Likewise.
7148         (INVALID_EXCEPTION_OK): Update value.
7149         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7150         (OVERFLOW_EXCEPTION_OK): Likewise.
7151         (UNDERFLOW_EXCEPTION_OK): Likewise.
7152         (IGNORE_ZERO_INF_SIGN): Likewise.
7153         (ERRNO_UNCHANGED): Likewise.
7154         (ERRNO_EDOM): Likewise.
7155         (ERRNO_ERANGE): Likewise.
7156         (test_exceptions): Handle testing "inexact" exceptions.
7157         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7158         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7159         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7160         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7161         INEXACT_EXCEPTION.
7162         (rint_towardzero_test_data): Likewise.
7163         (rint_downward_test_data): Likewise.
7164         (rint_upward_test_data): Likewise.
7166         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7167         with OVERFLOW_EXCEPTION.
7168         (exp10_test_data): Likewise.
7169         (exp2_test_data): Likewise.
7170         (expm1_test_data): Likewise.
7171         (lgamma_test_data): Likewise.
7172         (pow_test_data): Likewise.
7173         (tgamma_test_data): Likewise.
7174         (yn_test_data): Remove duplicate test of overflow.
7176         * math/libm-test.inc (struct test_cc_c_data): New type.
7177         (RUN_TEST_LOOP_cc_c): New macro.
7178         (cpow_test_data): New variable.
7179         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7181         * math/libm-test.inc (struct test_f_L_data): New type.
7182         (RUN_TEST_LOOP_f_L): New macro.
7183         (llrint_test_data): New variable.
7184         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7185         (llrint_tonearest_test_data): New variable.
7186         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7187         (llrint_towardzero_test_data): New variable.
7188         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7189         (llrint_downward_test_data): New variable.
7190         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7191         (llrint_upward_test_data): New variable.
7192         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7193         (llround_test_data): New variable.
7194         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7196 2013-05-13  Peter Collingbourne  <pcc@google.com>
7198         * math/atest-exp2.c (get_log2): Remove const attribute.
7200 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7202         * math/libm-test.inc (struct test_f_l_data): New type.
7203         (RUN_TEST_LOOP_f_l): New macro.
7204         (lrint_test_data): New variable.
7205         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7206         (lrint_tonearest_test_data): New variable.
7207         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7208         (lrint_towardzero_test_data): New variable.
7209         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7210         (lrint_downward_test_data): New variable.
7211         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7212         (lrint_upward_test_data): New variable.
7213         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7214         (lround_test_data): New variable.
7215         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7217 2013-05-15  Peter Collingbourne  <pcc@google.com>
7219         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7220         (EXTRACT_WORDS64) Use where appropriate.
7221         (INSERT_WORDS64) Likewise.
7223         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7224         constraints with x constraints.
7225         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7227         * malloc/obstack.c (_obstack_compat): Add initializer.
7229 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7231         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7232         si_trapno and add si_addr_lsb to _sifields.sigfault.
7233         (si_trapno): Remove macro.
7234         (si_addr_lsb): Define new macro.
7235         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7237 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7239         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7240         instead of TEST_f_l.
7241         (llrint_test_tonearest): Likewise.
7242         (llrint_test_towardzero): Likewise.
7243         (llrint_test_downward): Likewise.
7244         (llrint_test_upward): Likewise.
7245         (llround_test): Likewise.
7247         * math/libm-test.inc (struct test_f_i_data): Add comment.
7248         (RUN_TEST_LOOP_f_b): New macro.
7249         (RUN_TEST_LOOP_f_b_tg): Likewise.
7250         (finite_test_data): New variable.
7251         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7252         (isfinite_test_data): New variable.
7253         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7254         (isinf_test_data): New variable.
7255         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7256         (isnan_test_data): New variable.
7257         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7258         (isnormal_test_data): New variable.
7259         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7260         (issignaling_test_data): New variable.
7261         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7262         (signbit_test_data): New variable.
7263         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7265         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7266         with INVALID_EXCEPTION.
7267         (acosh_test_data): Likewise.
7268         (asin_test_data): Likewise.
7269         (atanh_test_data): Likewise.
7270         (fmod_test_data): Likewise.
7271         (log_test_data): Likewise.
7272         (log10_test_data): Likewise.
7273         (log2_test_data): Likewise.
7274         (pow_test_data): Likewise.
7275         (sqrt_test_data): Likewise.
7276         (y0_test_data): Likewise.
7277         (y1_test_data): Likewise.
7278         (yn_test_data): Likewise.
7280         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7281         function contents.
7283         * math/libm-test.inc (struct test_ff_i_data): New type.
7284         (RUN_TEST_LOOP_ff_i_tg): New macro.
7285         (isgreater_test_data): New variable.
7286         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7287         (isgreaterequal_test_data): New variable.
7288         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7289         (isless_test_data): New variable.
7290         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7291         (islessequal_test_data): New variable.
7292         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7293         (islessgreater_test_data): New variable.
7294         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7295         (isunordered_test_data): New variable.
7296         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7298 2013-05-14  David S. Miller  <davem@davemloft.net>
7300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7302 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
7304         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7306         * math/libm-test.inc (struct test_fF_f1_data): Change type of
7307         extra_test to int.
7308         (struct test_f_i_data): Change type of max_ulp to int.
7310         * math/libm-test.inc (test_ffI_f1_data): New type.
7311         (RUN_TEST_LOOP_ffI_f1): New macro.
7312         (remquo_test_data): New variable.
7313         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7315         * setjmp/tst-setjmp-fp.c: New file.
7316         * setjmp/Makefile (tests): Add tst-setjmp-fp.
7317         (link-libm): New variable.
7318         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7320         * math/libm-test.inc (struct test_f_i_data): New type.
7321         (RUN_TEST_LOOP_f_i): New macro.
7322         (RUN_TEST_LOOP_f_i_tg): Likewise.
7323         (fpclassify_test_data): New variable.
7324         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7325         (ilogb_test_data): New variable.
7326         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7328         * math/libm-test.inc (scalbln_test): Correct function name in END
7329         call.
7331         * math/libm-test.inc (struct test_f_f1_data): Add comment.
7332         (RUN_TEST_LOOP_fI_f1): New macro.
7333         (frexp_test_data): New variable.
7334         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7336         * math/libm-test.inc (struct test_fF_f1_data): New type.
7337         (RUN_TEST_LOOP_fF_f1): New macro.
7338         (modf_test_data): New variable.
7339         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7341         * math/libm-test.inc (struct test_f_f1_data): New type.
7342         (RUN_TEST_LOOP_f_f1): New macro.
7343         (gamma_test_data): New variable.
7344         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7345         (lgamma_test_data): New variable.
7346         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7348 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
7350         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7351         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7352         (main): Comment "tls" pseudo-hwcap.
7354 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
7356         * math/libm-test.inc (struct test_fl_f_data): New type.
7357         (RUN_TEST_LOOP_fl_f): New variable.
7358         (scalbln_test_data): New variable.
7359         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7361         * math/libm-test.inc (struct test_fi_f_data): New type.
7362         (RUN_TEST_LOOP_fi_f): New macro.
7363         (ldexp_test_data): New variable.
7364         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7365         (scalbn_test_data): New variable.
7366         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7368         * math/libm-test.inc (struct test_c_f_data): New type.
7369         (RUN_TEST_LOOP_c_f): New macro.
7370         (cabs_test_data): New variable.
7371         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7372         (carg_test_data): New variable.
7373         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7374         (cimag_test_data): New variable.
7375         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7376         (creal_test_data): New variable.
7377         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7379         * math/libm-test.inc (struct test_if_f_data): New type.
7380         (RUN_TEST_LOOP_if_f): New macro.
7381         (jn_test_data): New variable.
7382         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7383         (yn_test_data): New variable.
7384         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7386         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7388 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7390         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7391         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7393 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7395         * benchtests/Makefile (CPPFLAGS-nonlib): Add
7396         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7397         (bench-deps): Add bench-timing.h.
7398         * benchtests-bench-skeleton.c: Include bench-timing.h.
7399         (main): Use TIMING_* macros instead of clock_gettime.
7400         * benchtests/bench-timing.h: New file.
7402         [BZ #14582]
7403         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7404         Renamed from _LIB_VERSION.
7405         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7407 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
7409         * math/libm-test.inc (struct test_fff_f_data): New type.
7410         (RUN_TEST_LOOP_fff_f): New macro.
7411         (fma_test_data): New variable.
7412         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7413         (fma_towardzero_test_data): New variable.
7414         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7415         (fma_downward_test_data): New variable.
7416         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7417         (fma_upward_test_data): New variable.
7418         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7420         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7421         (struct test_c_c_data): New type.
7422         (RUN_TEST_LOOP_c_c): New macro.
7423         (cacos_test_data): New variable.
7424         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7425         (cacosh_test_data): New variable.
7426         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7427         (casin_test_data): New variable.
7428         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7429         (casinh_test_data): New variable.
7430         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7431         (catan_test_data): New variable.
7432         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7433         (catanh_test_data): New variable.
7434         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7435         (ccos_test_data): New variable.
7436         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7437         (ccosh_test_data): New variable.
7438         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7439         (cexp_test_data): New variable.
7440         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7441         (clog_test_data): New variable.
7442         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7443         (clog10_test_data): New variable.
7444         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7445         (conj_test_data): New variable.
7446         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7447         (cproj_test_data): New variable.
7448         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7449         (csin_test_data): New variable.
7450         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7451         (csinh_test_data): New variable.
7452         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7453         (csqrt_test_data): New variable.
7454         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7455         (ctan_test_data): New variable.
7456         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7457         (ctan_tonearest_test_data): New variable.
7458         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7459         (ctan_towardzero_test_data): New variable.
7460         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7461         (ctan_downward_test_data): New variable.
7462         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7463         (ctan_upward_test_data): New variable.
7464         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7465         (ctanh_test_data): New variable.
7466         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7467         (ctanh_tonearest_test_data): New variable.
7468         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7469         (ctanh_towardzero_test_data): New variable.
7470         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7471         (ctanh_downward_test_data): New variable.
7472         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7473         (ctanh_upward_test_data): New variable.
7474         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7475         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7476         of BUILD_COMPLEX.
7478         * math/libm-test.inc (struct test_ff_f_data): New type.
7479         (struct test_ff_f_data_nexttoward): Likewise.
7480         (RUN_TEST_LOOP_2_f): New macro.
7481         (RUN_TEST_LOOP_ff_f): Likewise.
7482         (atan2_test_data): New variable.
7483         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7484         (copysign_test_data): New variable.
7485         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7486         (fdim_test_data): New variable.
7487         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7488         (fmax_test_data): New variable.
7489         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7490         (fmin_test_data): New variable.
7491         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7492         (fmod_test_data): New variable.
7493         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7494         (hypot_test_data): New variable.
7495         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7496         (nextafter_test_data): New variable.
7497         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7498         (nexttoward_test_data): New variable.
7499         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7500         (pow_test_data): New variable.
7501         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7502         (pow_tonearest_test_data): New variable.
7503         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7504         (pow_towardzero_test_data): New variable.
7505         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7506         (pow_downward_test_data): New variable.
7507         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7508         (pow_upward_test_data): New variable.
7509         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7510         (remainder_test_data): New variable.
7511         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7512         (scalb_test_data): New variable.
7513         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7514         * sysdeps/i386/fpu/libm-test-ulps: Update.
7516 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
7518         * math/libm-test.inc (fma_test): Use max_value instead of local
7519         variable fltmax.
7520         (nextafter_test): Likewise.
7522         * math/libm-test.inc (acos_towardzero_test_data): New variable.
7523         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7524         (acos_downward_test_data): New variable.
7525         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7526         (acos_upward_test_data): New variable.
7527         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7528         (acosh_test_data): New variable.
7529         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7530         (asin_test_data): New variable.
7531         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7532         (asin_tonearest_test_data): New variable.
7533         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7534         (asin_towardzero_test_data): New variable.
7535         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7536         (asin_downward_test_data): New variable.
7537         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7538         (asin_upward_test_data): New variable.
7539         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7540         (asinh_test_data): New variable.
7541         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7542         (atan_test_data): New variable.
7543         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7544         (atanh_test_data): New variable.
7545         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7546         (cbrt_test_data): New variable.
7547         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7548         (ceil_test_data): New variable.
7549         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7550         (cos_test_data): New variable.
7551         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7552         (cos_tonearest_test_data): New variable.
7553         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7554         (cos_towardzero_test_data): New variable.
7555         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7556         (cos_downward_test_data): New variable.
7557         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7558         (cos_upward_test_data): New variable.
7559         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7560         (cosh_test_data): New variable.
7561         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7562         (cosh_tonearest_test_data): New variable.
7563         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7564         (cosh_towardzero_test_data): New variable.
7565         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7566         (cosh_downward_test_data): New variable.
7567         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7568         (cosh_upward_test_data): New variable.
7569         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7570         (erf_test_data): New variable.
7571         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7572         (erfc_test_data): New variable.
7573         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7574         (exp_test_data): New variable.
7575         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7576         (exp_tonearest_test_data): New variable.
7577         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7578         (exp_towardzero_test_data): New variable.
7579         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7580         (exp_downward_test_data): New variable.
7581         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7582         (exp_upward_test_data): New variable.
7583         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7584         (exp10_test_data): New variable.
7585         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7586         (exp2_test_data): New variable.
7587         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7588         (expm1_test_data): New variable.
7589         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7590         (fabs_test_data): New variable.
7591         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7592         (floor_test_data): New variable.
7593         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7594         (j0_test_data): New variable.
7595         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7596         (j1_test_data): New variable.
7597         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7598         (log_test_data): New variable.
7599         (log_test): Run tests with RUN_TEST_LOOP_f_f.
7600         (log10_test_data): New variable.
7601         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7602         (log1p_test_data): New variable.
7603         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7604         (log2_test_data): New variable.
7605         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7606         (logb_test_data): New variable.
7607         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7608         (logb_downward_test_data): New variable.
7609         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7610         (nearbyint_test_data): New variable.
7611         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7612         (rint_test_data): New variable.
7613         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7614         (rint_tonearest_test_data): New variable.
7615         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7616         (rint_towardzero_test_data): New variable.
7617         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7618         (rint_downward_test_data): New variable.
7619         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7620         (rint_upward_test_data): New variable.
7621         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7622         (round_test_data): New variable.
7623         (round_test): Run tests with RUN_TEST_LOOP_f_f.
7624         (sin_test_data): New variable.
7625         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7626         (sin_tonearest_test_data): New variable.
7627         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7628         (sin_towardzero_test_data): New variable.
7629         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7630         (sin_downward_test_data): New variable.
7631         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7632         (sin_upward_test_data): New variable.
7633         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7634         (sinh_test_data): New variable.
7635         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7636         (sinh_tonearest_test_data): New variable.
7637         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7638         (sinh_towardzero_test_data): New variable.
7639         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7640         (sinh_downward_test_data): New variable.
7641         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7642         (sinh_upward_test_data): New variable.
7643         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7644         (sqrt_test_data): New variable.
7645         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7646         (tan_test_data): New variable.
7647         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7648         (tan_tonearest_test_data): New variable.
7649         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7650         (tan_towardzero_test_data): New variable.
7651         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7652         (tan_downward_test_data): New variable.
7653         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7654         (tan_upward_test_data): New variable.
7655         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7656         (tanh_test_data): New variable.
7657         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7658         (tgamma_test_data): New variable.
7659         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7660         (trunc_test_data): New variable.
7661         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7662         (y0_test_data): New variable.
7663         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7664         (y1_test_data): New variable.
7665         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7666         (significand_test_data): New variable.
7667         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7669 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
7671         [BZ #12387]
7672         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7674 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7676         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7678 2013-05-10  Andreas Jaeger  <aj@suse.de>
7680         [BZ #15448]
7681         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7682         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7684 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7686         * math/gen-libm-test.pl (adjust_arg): New function.
7687         (special_functions): Handle generating output in both functions
7688         and arrays.
7689         (parse_args): Likewise.
7690         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
7691         $in_func argument to parse_args.
7692         * math/libm-test.inc (struct test_f_f_data): New type.
7693         (IF_ROUND_INIT_): New macro.
7694         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7695         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7696         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7697         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7698         (ROUND_RESTORE_): Likewise.
7699         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7700         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7701         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7702         (ROUND_RESTORE_FE_UPWARD): Likewise.
7703         (RUN_TEST_LOOP_f_f): New macro.
7704         (acos_test_data): New variable.
7705         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7706         (acos_tonearest_test_data): New variable.
7707         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7709 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7711         * benchtests/bench-skeleton.c (startup): Fix coding style.
7713 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7715         [BZ #6809]
7716         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7717         negative infinity argument.
7718         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7719         negative infinity argument.
7720         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7721         negative infinity argument.
7722         * math/libm-test.inc (tgamma_test): Expect errno to be set for
7723         domain errors.
7725 2013-05-10  Florian Weimer  <fweimer@redhat.com>
7727         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7728         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7729         * iconv/iconv_prog.c (main): Likewise.
7730         * locale/programs/charmap-dir.c (charmap_readdir)
7731         (fopen_uncompressed): Likewise.
7732         * locale/programs/locfile.c (siblings_uncached)
7733         (write_locale_data): Use lstat64 instead of lstat.
7734         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7735         stat.
7737 2013-05-10  Andreas Jaeger  <aj@suse.de>
7739         [BZ #15395]
7740         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7741         localization.
7742         Include <locale.h>.
7744 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
7746         * elf/dl-close.c (_dl_close_worker): Add comments.
7748 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
7750         [BZ #15359]
7751         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7752         high part of pi/2.
7753         (__ieee754_rem_pio2l): Update comments.
7755         [BZ #15429]
7756         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7757         high part of pi/2.
7758         (__ieee754_rem_pio2l): Update comments.
7760         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7761         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7763         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7764         M_PI_4l.
7766         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7767         (M_PI_34_LOG10El): Likewise.
7768         (M_PI2_LOG10El): Likewise.
7769         (M_PI4_LOG10El): Likewise.
7770         (M_PI_LOG10El): Likewise.
7772 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7776 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
7778         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7779         (MINUS_ZERO_INIT): Likewise.
7780         (PLUS_INFTY_INIT): Likewise.
7781         (MINUS_INFTY_INIT): Likewise.
7782         (QNAN_VALUE_INIT): Likewise.
7783         (MAX_VALUE_INIT): Likewise.
7784         (MIN_VALUE_INIT): Likewise.
7785         (MIN_SUBNORM_VALUE_INIT): Likewise.
7786         (plus_zero): Initialize with PLUS_ZERO_INIT.
7787         (minus_zero): Initialize with MINUS_ZERO_INIT.
7788         (plus_infty): Initialize with PLUS_INFTY_INIT.
7789         (minus_infty): Initialize with MINUS_INFTY_INIT.
7790         (qnan_value): Initialize with QNAN_VALUE_INIT.
7791         (max_value): Initialize with MAX_VALUE_INIT.
7792         (min_value): Initialize with MIN_VALUE_INIT.
7793         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7795         * math/libm-test.inc (RUN_TEST_if_f): New macro.
7796         (jn_test): Use TEST_if_f instead of TEST_ff_f.
7797         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7798         (yn_test): Use TEST_if_f instead of TEST_ff_f.
7800         * math/libm-test.inc (RUN_TEST_f_f): New macro.
7801         (RUN_TEST_2_f): Likewise.
7802         (RUN_TEST_ff_f): Likewise.
7803         (RUN_TEST_fi_f): Likewise.
7804         (RUN_TEST_fl_f): Likewise.
7805         (RUN_TEST_fff_f): Likewise.
7806         (RUN_TEST_c_f): Likewise.
7807         (RUN_TEST_f_f1): Likewise.
7808         (RUN_TEST_fF_f1): Likewise.
7809         (RUN_TEST_fI_f1): Likewise.
7810         (RUN_TEST_ffI_f1): Likewise.
7811         (RUN_TEST_c_c): Likewise.
7812         (RUN_TEST_cc_c): Likewise.
7813         (RUN_TEST_f_i): Likewise.
7814         (RUN_TEST_f_i_tg): Likewise.
7815         (RUN_TEST_ff_i_tg): Likewise.
7816         (RUN_TEST_f_b): Likewise.
7817         (RUN_TEST_f_b_tg): Likewise.
7818         (RUN_TEST_f_l): Likewise.
7819         (RUN_TEST_f_L): Likewise.
7820         (RUN_TEST_sincos): Likewise.
7821         * math/gen-libm-test.pl (new_test): Take new argument to indicate
7822         whether to show exceptions.  Do not include ");\n" in return
7823         value.
7824         (special_functions): Output call to RUN_TEST_sincos instead of
7825         check_float calls.  Update calls to new_test.
7826         (parse_args): Output call to single RUN_TEST_* macro instead of
7827         check_* calls and other assignments.  Update calls to new_test.
7829         [BZ #2546]
7830         [BZ #2560]
7831         [BZ #5159]
7832         [BZ #15426]
7833         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7834         input to result for tgamma overflow.
7835         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7836         (gamma_coeff): New variable.
7837         (NCOEFF): New macro.
7838         (gamma_positive): New function.
7839         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7840         underflow here.  Use gamma_positive instead of exp (lgamma) for
7841         other arguments.
7842         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7843         (gamma_coeff): New variable.
7844         (NCOEFF): New macro.
7845         (gammaf_positive): New function.
7846         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7847         underflow here.  Use gamma_positive instead of exp (lgamma) for
7848         other arguments.
7849         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7850         (gamma_coeff): New variable.
7851         (NCOEFF): New macro.
7852         (gammal_positive): New function.
7853         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7854         underflow here.  Use gamma_positive instead of exp (lgamma) for
7855         other arguments.
7856         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7857         (gamma_coeff): New variable.
7858         (NCOEFF): New macro.
7859         (gammal_positive): New function.
7860         (__ieee754_gammal_r): Handle positive infinity, overflow and
7861         underflow here.  Handle NaN the same as positive infinity.  Remove
7862         check x < 0xffffffff for negative integers.  Use gamma_positive
7863         instead of exp (lgamma) for other arguments.
7864         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7865         (gamma_coeff): New variable.
7866         (NCOEFF): New macro.
7867         (gammal_positive): New function.
7868         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7869         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7870         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7871         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7872         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7873         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7874         * sysdeps/generic/math_private.h (__gamma_productf): New
7875         prototype.
7876         (__gamma_product): Likewise.
7877         (__gamma_productl): Likewise.
7878         * math/Makefile (libm-calls): Add gamma_product.
7879         * math/libm-test.inc (tgamma_test): Add more tests.
7880         * sysdeps/i386/fpu/libm-test-ulps: Update.
7881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7883 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
7885         * benchtests/bench-skeleton.c (main): Preheat CPU.
7887 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
7889         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7891 2013-05-07  Roland McGrath  <roland@hack.frob.com>
7893         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7894         and _dl_skip_args_internal.
7896 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
7898         * manual/message.texi (Message Translation): Talk about users.
7899         Message to key mapping impacts design.
7901 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7903         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7905         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7907         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7908         * sysdeps/wordsize-64/glob64.c: ... here.
7910         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7911         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7912         New macros.
7914         * debug/getlogin_r_chk.c: Moved to ...
7915         * login/getlogin_r_chk.c: ... here.
7916         * debug/Makefile (routines): Move getlogin_r_chk to ...
7917         * login/Makefile (routines): ... here.
7918         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7919         * login/Versions (libc: GLIBC_2.4): ... here.
7921         * io/poll.c (__poll): Renamed from poll.
7922         Add libc_hidden_def.
7923         (poll): Define as weak alias.
7925         * debug/ptsname_r_chk.c: Moved to ...
7926         * login/ptsname_r_chk.c: ... here.
7927         * debug/Makefile (routines): Move ptsname_r_chk to ...
7928         * login/Makefile (routines): ... here.
7929         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7930         * login/Versions (libc: GLIBC_2.4): ... here.
7932         * posix/getlogin.c: Moved to ...
7933         * login/getlogin.c: ... here.
7934         * posix/getlogin_r.c: Moved to ...
7935         * login/getlogin_r.c: ... here.
7936         * posix/getlogin_r.c: Moved to ...
7937         * login/getlogin_r.c: ... here.
7938         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7939         * login/Makefile (routines): ... here.
7940         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7941         * login/Versions (libc: GLIBC_2.0): ... here.
7943         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7944         (setrlimit): Define as weak alias.
7946         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7947         Call __ names for open, ftruncate, and close.
7948         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7949         (truncate): Define as weak alias.
7951 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
7953         * math/gen-libm-test.pl (parse_args): Initialize x before each
7954         test of frexp, modf and remquo.
7956         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7957         test signgam value.
7959 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7961         [BZ #15418]
7962         [BZ #15419]
7963         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7964         internal tests.
7965         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7967 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7969         * elf/dl-writev.h: New file.
7970         * elf/dl-misc.c: Include it.
7971         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7972         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7974 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
7976         * math/libm-test.inc (noXFails): Remove variable.
7977         (noXPasses): Likewise.
7978         (BUILD_COMPLEX_INT): Remove macro.
7979         (print_screen): Remove xfail argument.
7980         (print_screen_max_error): Likewise.
7981         (update_stats): Likewise.
7982         (print_max_error): Likewise.  Update calls to other affected
7983         functions.
7984         (print_complex_max_error): Likewise.
7985         (test_single_exception): Update calls to print_screen.
7986         (test_single_errno): Likewise.
7987         (check_float_internal): Remove xfail argument.  Update calls to
7988         other affected functions.
7989         (check_float): Likewise.
7990         (check_complex): Likewise.
7991         (check_int): Likewise.
7992         (check_long): Likewise.
7993         (check_bool): Likewise.
7994         (check_longlong): Likewise.
7995         (main): Don't print noXFails and noXPasses.
7996         * math/gen-libm-test.pl (top level): Don't mention expected
7997         failure handling in comment.
7998         (new_test): Don't handle expected failures.
7999         (parse_args): Don't mention expected failure handling in comment.
8000         (generate_testfile): Don't handle expected failures.
8001         (parse_ulps): Likewise.
8002         (print_ulps_file): Likewise.
8003         (get_failure): Remove function.
8004         (output_test): Don't handle expected failures.
8005         * make/README.libm-test: Don't mention expected failure handling.
8007         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
8008         (minus_zero): Likewise.
8009         (plus_infty): Likewise.
8010         (minus_infty): Likewise.
8011         (qnan_value): Likewise.
8012         (max_value): Likewise.
8013         (min_value): Likewise.
8014         (min_subnorm_value): Likewise.
8015         (initialize): Do not initialize those variables dynamically.
8017 2013-05-03  Roland McGrath  <roland@hack.frob.com>
8019         * io/open.c (__open_2): Moved to ...
8020         * io/open_2.c: ... this new file.
8021         * io/open64.c (__open64_2): Moved to ...
8022         * io/open64_2.c: ... this new file.
8023         * io/openat.c (__openat_2): Moved to ...
8024         * io/openat_2.c: ... this new file.
8025         * io/openat64.c (__openat64_2): Moved to ...
8026         * io/openat64_2.c: ... this new file.
8027         * io/Makefile (routines): Add them.
8028         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8029         * sysdeps/unix/sysv/linux/open_2.c: File removed.
8030         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8031         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8032         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8033         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8034         (__openat64): Add hidden_ver.
8035         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8036         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8038         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8039         Separately conditionalize setting of GLRO(dl_sysinfo) so
8040         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8041         as well, but the actual setting is only under [NEED_DL_SYSINFO].
8043 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8045         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8046         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8047         definition.
8048         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8049         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8050         (_libc_vdso_platform_setup): Add __vdso_time initialization.
8051         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8052         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8054 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
8056         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8057         test signgam value.
8059         * math/libm-test.inc (hypot_test): Do not use
8060         IGNORE_ZERO_INF_SIGN.
8062 2013-05-03  Andreas Jaeger  <aj@suse.de>
8064         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8065         Linux 3.9.
8066         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8067         (PF_MAX): Adjust for VSOCK change.
8069 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8073 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
8075         [BZ #15264]
8076         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8077         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8078         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8080 2013-05-02  David S. Miller  <davem@davemloft.net>
8082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8084 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
8086         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8088 2013-05-01  Roland McGrath  <roland@hack.frob.com>
8090         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8092 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
8094         [BZ #14952]
8095         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8096         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8097         Use __attribute__ ((__gnu_inline__)).
8098         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8099         Don't use __attribute__ ((__gnu_inline__)).
8101 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
8103         [BZ #15423]
8104         * math/s_catan.c (__catan): Handle small real or imaginary part of
8105         input specially to avoid spurious underflow.
8106         * math/s_catanf.c (__catanf): Likewise.
8107         * math/s_catanh.c (__catanh): Likewise.
8108         * math/s_catanhf.c (__catanhf): Likewise.
8109         * math/s_catanhl.c (__catanhl): Likewise.
8110         * math/s_catanl.c (__catanl): Likewise.
8111         * math/libm-test.inc (catan_test): Add more tests.
8112         (catanh_test): Likewise.
8113         * sysdeps/i386/fpu/libm-test-ulps: Update.
8114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8116 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8120 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
8122         [BZ #15416]
8123         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8124         accurately for denominator in atan2.
8125         * math/s_catanf.c (__catanf): Likewise.
8126         * math/s_catanh.c (__catanh): Likewise.
8127         * math/s_catanhf.c (__catanhf): Likewise.
8128         * math/s_catanhl.c (__catanhl): Likewise.
8129         * math/s_catanl.c (__catanl): Likewise.
8130         * math/libm-test.inc (catan_test): Add more tests.
8131         (catanh_test): Likewise.
8132         * sysdeps/i386/fpu/libm-test-ulps: Update.
8133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8135 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8137         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8139         * benchtests/Makefile (bench): Remove slow benchmarks.
8140         * benchtests/atan-inputs: Add slow benchmark inputs.
8141         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8142         (BENCH_FUNC): Accept variant offset.
8143         (VARIANT): Define.
8144         * benchtests/bench-skeleton.c (main): Run benchmark for each
8145         variant.
8146         * benchtests/cos-inputs: Add slow benchmark inputs.
8147         * benchtests/exp-inputs: Likewise.
8148         * benchtests/pow-inputs: Likewise.
8149         * benchtests/sin-inputs: Likewise.
8150         * benchtests/slowatan-inputs: Remove.
8151         * benchtests/slowatan.c: Remove.
8152         * benchtests/slowcos-inputs: Remove.
8153         * benchtests/slowcos.c: Remove.
8154         * benchtests/slowexp-inputs: Remove.
8155         * benchtests/slowexp.c: Remove.
8156         * benchtests/slowpow-inputs: Remove.
8157         * benchtests/slowpow.c: Remove.
8158         * benchtests/slowsin-inputs: Remove.
8159         * benchtests/slowsin.c: Remove.
8160         * benchtests/slowtan-inputs: Remove.
8161         * benchtests/slowtan.c: Remove.
8162         * benchtests/tan-inputs: Add slow benchmark inputs.
8163         * scripts/bench.pl: Parse comments and directives.
8165         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
8166         in CPPFLAGS.
8167         ($(objpfx)bench-%.c): Remove *-ITER.
8168         * benchtests/bench-modf.c: Remove definition of ITER.
8169         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8170         (main): Loop for DURATION seconds instead of fixed number of
8171         iterations.
8172         * scripts/bench.pl: Don't expect iterations in parameters.
8174 2013-04-29  Roland McGrath  <roland@hack.frob.com>
8176         * io/fchdir.c (__fchdir): Renamed from fchdir.
8177         (fchdir): Define as weak alias.
8179 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8181         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8182         (ERRNO_EDOM): Likewise.
8183         (ERRNO_ERANGE): Likewise.
8184         (noErrnoTests): New variable.
8185         (init_max_error): Set errno to 0.
8186         (test_single_errno): New function.
8187         (test_errno): Likewise.
8188         (check_float_internal): Call test_errno.  Set errno to 0.
8189         (check_complex): Refer to errno tests in comment.
8190         (check_int): Call test_errno.  Set errno to 0.
8191         (check_long): Likewise.
8192         (check_bool): Likewise.
8193         (check_longlong): Likewise.
8194         (cos_test): Use ERRNO_* flags for errno tests instead of
8195         check_int.
8196         (expm1_test): Likewise.
8197         (fmod_test): Likewise.
8198         (ilogb_test): Likewise.
8199         (lgamma_test): Likewise.
8200         (pow_test): Likewise.
8201         (remainder_test): Likewise.
8202         (sin_test): Likewise.
8203         (tan_test): Likewise.
8204         (yn_test): Likewise.
8205         (initialize): Set errno to 0.
8206         (main): Print number of errno tests.
8207         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8209 2013-04-29  Andreas Jaeger  <aj@suse.de>
8211         [BZ #15084]
8212         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8213         and RES_USEVC.
8215         [BZ #15085]
8216         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8217         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8218         unimplemented.
8220         [BZ #15380]
8221         * stdlib/random.c (__initstate): Return NULL if
8222         __initstate fails.
8224         [BZ #15086]
8225         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8226         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8227         RES_SNGLKUPREOP.
8229 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8233 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8235         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8236         of individual tests.
8237         (casin_test): Likewise.
8238         (casinh_test): Likewise.
8240 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
8242         [BZ #15409]
8243         * math/s_catan.c (__catan): Handle arguments with large real or
8244         imaginary part separately without squaring.
8245         * math/s_catanf.c (__catanf): Likewise.
8246         * math/s_catanh.c (__catanh): Likewise.
8247         * math/s_catanhf.c (__catanhf): Likewise.
8248         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8249         and redefine.
8250         (__catanhl): Handle arguments with large real or imaginary part
8251         separately without squaring.
8252         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8253         and redefine.
8254         (__catanl): Handle arguments with large real or imaginary part
8255         separately without squaring.
8256         * math/libm-test.inc (catan_test): Add more tests.
8257         (catanh_test): Likewise.
8258         * sysdeps/i386/fpu/libm-test-ulps: Update.
8259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8261 2013-04-27  Andreas Jaeger  <aj@suse.de>
8263         [BZ #15007]
8264         * stdlib/stdlib.h: Update guards for qecvt.
8265         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8266         <stdlib.h>.
8268 2013-04-27  Allan McRae  <allan@archlinux.org>
8270         * sysdeps/i386/fpu/libm-test-ulps: Update.
8272 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
8274         [BZ #15406]
8275         * math/s_catan.c: Include <float.h>.
8276         (__catan): Ensure underflow exception occurs for underflowed
8277         result.
8278         * math/s_catanf.c: Include <float.h>.
8279         (__catanf): Ensure underflow exception occurs for underflowed
8280         result.
8281         * math/s_catanh.c: Include <float.h>.
8282         (__catanh): Ensure underflow exception occurs for underflowed
8283         result.
8284         * math/s_catanhf.c: Include <float.h>.
8285         (__catanhf): Ensure underflow exception occurs for underflowed
8286         result.
8287         * math/s_catanhl.c: Include <float.h>.
8288         (__catanhl): Ensure underflow exception occurs for underflowed
8289         result.
8290         * math/s_catanl.c: Include <float.h>.
8291         (__catanl): Ensure underflow exception occurs for underflowed
8292         result.
8293         * math/libm-test.inc (catan_test): Add more tests.
8294         (catanh_test): Likewise.
8296         [BZ #15405]
8297         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8298         underflowed result.
8299         * math/s_ccoshf.c (__ccoshf): Likewise.
8300         * math/s_ccoshl.c (__ccoshl): Likewise.
8301         * math/s_csin.c (__csin): Likewise.
8302         * math/s_csinf.c (__csinf): Likewise.
8303         * math/s_csinh.c (__csinh): Likewise.
8304         * math/s_csinhf.c (__csinhf): Likewise.
8305         * math/s_csinhl.c (__csinhl): Likewise.
8306         * math/s_csinl.c (__csinl): Likewise.
8307         * math/libm-test.inc (ccos_test): Add more tests.
8308         (ccosh_test): Likewise.
8309         (csin_test): Likewise.
8310         (csinh_test): Likewise.
8312 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8314         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8315         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8316         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8317         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8318         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8319         powerpc/power5+/fpu folders.
8320         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8323 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8325         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8327 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
8329         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8330         additions to variable.
8331         [$(config-machine) = x86_64] (modules-names): Likewise.
8332         ($(objpfx)tst-audit3): Remove dependency.
8333         ($(objpfx)tst-audit3.out): Likewise.
8334         ($(objpfx)tst-audit4): Likewise.
8335         ($(objpfx)tst-audit4.out): Likewise.
8336         ($(objpfx)tst-audit5): Likewise.
8337         ($(objpfx)tst-audit5.out): Likewise.
8338         ($(objpfx)tst-audit6): Likewise.
8339         ($(objpfx)tst-audit6.out): Likewise.
8340         ($(objpfx)tst-audit7): Likewise.
8341         ($(objpfx)tst-audit7.out): Likewise.
8342         (tst-audit3-ENV): Remove variable.
8343         (tst-audit4-ENV): Likewise.
8344         (tst-audit5-ENV): Likewise.
8345         (tst-audit6-ENV): Likewise.
8346         (tst-audit7-ENV): Likewise.
8347         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8348         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8349         addition to variable.
8350         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8351         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8352         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8353         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8354         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8355         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8356         tst-audit3, tst-audit4 and tst-audit5.
8357         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8358         tst-audit6 and tst-audit7.
8359         [$(subdir) = elf] (modules-names): Add audit modules for those
8360         tests.
8361         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8362         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8363         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8364         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8365         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8366         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8367         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8368         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8369         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8370         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8371         [$(subdir) = elf] (tst-audit3-ENV): New variable.
8372         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8373         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8374         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8375         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8376         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8377         Likewise.
8378         [$(subdir) = elf && $(config-cflags-avx) = yes]
8379         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8380         [$(subdir) = elf && $(config-cflags-avx) = yes]
8381         (CFLAGS-tst-auditmod4a.c): Likewise.
8382         [$(subdir) = elf && $(config-cflags-avx) = yes]
8383         (CFLAGS-tst-auditmod4b.c): Likewise.
8384         [$(subdir) = elf && $(config-cflags-avx) = yes]
8385         (CFLAGS-tst-auditmod6b.c): Likewise.
8386         [$(subdir) = elf && $(config-cflags-avx) = yes]
8387         (CFLAGS-tst-auditmod6c.c): Likewise.
8388         [$(subdir) = elf && $(config-cflags-avx) = yes]
8389         (CFLAGS-tst-auditmod7b.c): Likewise.
8390         * elf/tst-audit3.c: Move to ...
8391         * sysdeps/x86_64/tst-audit3.c: ... here.
8392         * elf/tst-audit4.c: Move to ...
8393         * sysdeps/x86_64/tst-audit4.c: ... here.
8394         * elf/tst-audit5.c: Move to ...
8395         * sysdeps/x86_64/tst-audit5.c: ... here.
8396         * elf/tst-audit6.c: Move to ...
8397         * sysdeps/x86_64/tst-audit6.c: ... here.
8398         * elf/tst-audit7.c: Move to ...
8399         * sysdeps/x86_64/tst-audit7.c: ... here.
8400         * elf/tst-auditmod3a.c: Move to ...
8401         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8402         * elf/tst-auditmod3b.c: Move to ...
8403         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8404         * elf/tst-auditmod4a.c: Move to ...
8405         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8406         * elf/tst-auditmod4b.c: Move to ...
8407         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8408         * elf/tst-auditmod5a.c: Move to ...
8409         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8410         * elf/tst-auditmod5b.c: Move to ...
8411         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8412         * elf/tst-auditmod6a.c: Move to ...
8413         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8414         * elf/tst-auditmod6b.c: Move to ...
8415         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8416         * elf/tst-auditmod6c.c: Move to ...
8417         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8418         * elf/tst-auditmod7a.c: Move to ...
8419         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8420         * elf/tst-auditmod7b.c: Move to ...
8421         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8423 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
8425         [BZ #15366]
8426         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8427         define unconditionally.
8428         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8429         define unconditionally.
8430         (INT8_C, INT16_C, etc.): Likewise.
8432 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
8434         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8435         __ehdr_start with hidden visibility.
8437         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8439 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
8441         * math/libm-test.inc (cos_test): Use accurate hex constants.
8442         (sincost_test): Likewise.
8444 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
8446         * math/libm-test.inc (catan_test): Add more tests.
8447         (catanh_test): Likewise.
8449         * math/s_catanf.c (__catanf): Use suffixed floating-point
8450         constants.
8451         * math/s_catanhf.c (__catanhf): Likewise.
8452         * math/s_catanhl.c (__catanhl): Likewise.
8453         * math/s_catanl.c (__catanl): Likewise.
8455         [BZ #15394]
8456         * math/s_catan.c (__catan): Calculate imaginary part of result
8457         with log1p not log unless computing log of number close to 0.
8458         * math/s_catanf.c (__catanf): Likewise.
8459         * math/s_catanl.c (__catanl): Likewise.
8460         * math/s_catanh.c (__catanh): Calculate real part of result with
8461         log1p not log unless computing log of number close to 0.
8462         * math/s_catanhf.c (__catanhf): Likewise.
8463         * math/s_catanhl.c (__catanhl): Likewise.
8464         * math/libm-test.inc (catan_test): Add more tests.
8465         (catanh_test): Likewise.
8466         * sysdeps/i386/fpu/libm-test-ulps: Update.
8467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8469 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8471         * benchtests/Makefile: Mention files in which fast and slow
8472         paths of math functions are implemented.
8474 2013-04-23  Roland McGrath  <roland@hack.frob.com>
8476         * sysdeps/posix/timespec_get.c: New file.
8478 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8480         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8481         POWER.
8482         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8483         for POWER.
8484         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8485         powerpc/power5/fpu folders.
8486         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8487         * benchtests/Makefile: Add modf testcase.
8488         * benchtests/bench-modf.c: New file: Benchmark test for mo
8490 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8492         [BZ #14888]
8493         * time/Makefile (tests): Add tst-strptime-whitespace.
8494         * time/strptime_l.c (get_number): Use ISSPACE.
8495         (__strptime_internal): Likewise.
8496         * time/tst-strptime-whitespace.c: New test case.
8498 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
8500         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8501         member.
8502         (_nss_files_init): Set it here.
8504 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
8506         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8507         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8508         unsigned.
8510 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
8512         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8514 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8516         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8517         size just once.
8519 2013-04-21  David S. Miller  <davem@davemloft.net>
8521         * po/ru.po: Update Russion translation from translation project.
8523 2013-04-17  Adam Conrad  <adconrad@0c3.net>
8525         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8526         and setfsgid.
8528 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
8530         * configure.in: Remove i386 configure warning. Remove i386 case.
8531         * configure: Regenerate.
8532         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8533         Add example to error message.
8534         * sysdeps/i386/configure: Regenerate.
8536 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8538         * benchtests/Makefile (bench): Add cos, tan, slowcos and
8539         slowtan.
8540         * benchtests/cos-inputs: New file.
8541         * benchtests/slowcos-inputs: New file.
8542         * benchtests/slowcos.c: New file.
8543         * benchtests/slowtan-inputs: New file.
8544         * benchtests/slowtan.c: New file.
8545         * benchtests/tan-inputs: New file.
8547 2013-04-16  Roland McGrath  <roland@hack.frob.com>
8549         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8550         considered kosher.
8552 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8554         * benchtests/Makefile: Include cppflags-iterator.mk to add
8555         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8557         * Makefile.in (bench-clean): New target.
8558         * benchtests/Makefile (bench-clean): Likewise.
8560 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
8562         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8564 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
8566         * stdio-common/tstdiomisc.c: Fix coding-style violation.
8568 2013-04-15  Andreas Schwab  <schwab@suse.de>
8570         * nscd/grpcache.c (cache_addgr): Properly check for short write.
8571         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8572         * nscd/pwdcache.c (cache_addpw): Likewise.
8573         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
8574         more than recsize.
8576 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8578         * benchtests/Makefile (bench): Write all output to
8579         bench-out.tmp together.
8581 2013-04-15  Andreas Schwab  <schwab@suse.de>
8583         * nscd/nscd.c (main): Don't fork again after closing files.
8585 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8587         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8589         * benchtests/Rules (bench-deps): Collect dependencies into a
8590         single variable.  Add Makefile to dependencies.
8591         ($(objpfx)bench-%.c): Depend on bench-deps.
8593 2013-04-12  Roland McGrath  <roland@hack.frob.com>
8594             Xavier Roche  <roche+kml2@exalead.com>
8596         [BZ #15361]
8597         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8598         just that it's a file descriptor.
8599         * manual/llio.texi (Synchronizing AIO Operations): Update description
8600         for EBADF error from aio_fsync.
8602 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8604         * Rules (bench): Move target definition...
8605         * benchtests/Makefile: ... here.
8607 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
8609         * math/libm-test.inc (cos_test): Fix PI/2 test.
8610         (sincos_test): Likewise.
8611         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8612         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8614 2013-04-11  Andreas Schwab  <schwab@suse.de>
8616         [BZ #13988]
8617         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8618         accept exponent character only when digits were seen.
8619         * stdio-common/Makefile (tests): Add bug26.
8620         * stdio-common/bug26.c: New file.
8622         [BZ #14293]
8623         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8624         non-freeable.
8626 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8628         * Makeconfig (rtld-prefix): Define built linker prefix.
8629         * Rules (run-bench): Use it.
8630         * math/Makefile (run-regen-ulps): Likewise.
8632         * Rules (bench): Remove eval.
8634 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8635             Roland McGrath  <roland@hack.frob.com>
8636             Ondrej Bilka  <neleai@seznam.cz>
8638         [BZ #15346]
8639         * time/getdate.c: Include ctype.h and alloca.h.
8640         (__getdate_r): Trim leading and trailing spaces of input.
8641         * time/tst-getdate.c (tests): Add tests with leading and
8642         trailing spaces.
8644 2013-04-08  Roland McGrath  <roland@hack.frob.com>
8646         [BZ #14280]
8647         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8648         when computing value.
8650 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8652         * math/README.libm-test (How can I generate "libm-test-ulps"?):
8653         Use testrun.sh to run libm tests.
8655         [BZ #15309]
8656         * elf/dl-open.c (dl_open_worker): memset all of seen array.
8658 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
8660         [BZ #15264]
8661         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8663 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8665         * Makefile.in (regen-ulps): New target.
8666         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8667         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8668         [ifneq (no,$(PERL)] (regen-ulps): New target.
8669         [ifeq (no,$(PERL)] (regen-ulps): New target.
8670         * math/libm-test.inc (ulps_file_name): Define.
8671         (output_dir): New variable.
8672         (options): Add "output-dir" option.
8673         (parse_opt): Handle 'o' case.
8674         (main): If output_dir is non-NULL use it as a prefix
8675         otherwise use "".
8676         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8678 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8680         [BZ #10060, #10062]
8681         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8682         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8683         fail configure if __sync_val_compare_and_swap is not inlined.
8684         * sysdeps/i386/configure: Regenerate.
8685         * configure.in: Build for i686 when configured for i386.
8686         * configure: Regenerate.
8687         * README: Remove i386 reference.
8689 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8691         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8692         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8694 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8696         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8697         (lmsnanval): New variables.
8698         (F): Add conversion tests.
8699         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8700         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8702         * stdio-common/tstdiomisc.c (F): Properly collect individual
8703         tests' results.
8705         [BZ #14686, #15336]
8706         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8707         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8708         Instead, use input NaN values or generate a qNaN by arithmetic
8709         operation.  Also fix bugs to comply with the standard.
8710         * math/libm-test.inc (remainder_test): Add more tests.
8712         [BZ #15335, #15342]
8713         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8715         input NaN values or generate a qNaN by arithmetic operation.
8717         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8718         unreachable code.
8720         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8721         definitions.
8723 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
8725         [BZ #14478]
8726         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8727         underflowed result.
8728         * math/s_cexpf.c (__cexpf): Likewise.
8729         * math/s_cexpl.c (__cexpl): Likewise.
8730         * math/libm-test.inc (cexp_test): Add more tests.
8732 2013-04-03  Andreas Schwab  <schwab@suse.de>
8734         [BZ #15330]
8735         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8736         order arrays from heap if bigger than alloca cutoff.
8738 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
8740         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8741         (SNAN_TESTS_double): Refer to GCC PR56831.
8742         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8743         GCC PR56828.
8745 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8747         * Rules (bench): Move bench.out after the run is complete.
8749         * Rules (bench): Echo currently running benchmark.
8751         * benchtests/Makefile (bench): Add atan and slowatan.
8752         * benchtests/atan-inputs: New file.
8753         * benchtests/slowatan-inputs: New file.
8754         * benchtests/slowatan.c: New file.
8756         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8757         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8758         its value.
8760         [BZ #15305]
8761         * sysdeps/unix/sysv/linux/kernel-features.h
8762         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8763         __ASSUME_XFS_RESTRICTED_CHOWN.
8764         * sysdeps/unix/sysv/linux/pathconf.c
8765         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8766         Save and restore errno.
8768 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
8770         [BZ #15327]
8771         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8772         arguments using __kernel_casinh.
8773         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8774         arguments using __kernel_casinhf.
8775         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8776         arguments using __kernel_casinhl.
8777         * math/libm-test.inc (cacosh_test): Add more tests.
8778         * sysdeps/i386/fpu/libm-test-ulps: Update.
8779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8781 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8783         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8786         * bench/Makefile (bench): Add sin and slowsin.
8787         * benchtests/sin-inputs: New file.
8788         * benchtests/slowsin-inputs: New file.
8789         * benchtests/slowsin.c: New file.
8791         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8792         (bench): Add slowexp and slowpow.
8793         (exp-ITER): Increase iterations.
8794         (pow-ITER): Likewise.
8795         * benchtests/exp-inputs: Change input.
8796         * benchtests/pow-inputs: Likewise.
8797         * benchtests/slowexp-inputs: New file.
8798         * benchtests/slowexp.c: New file.
8799         * benchtests/slowpow-inputs: New file.
8800         * benchtests/slowpow.c: New file.
8802 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8804         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8805         instructions.
8806         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8807         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8808         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8809         * benchtests/Makefile: Add rint benchtest.
8810         * benchtests/rint-inputs: Input for rint benchtest.
8812 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8814         * Versions.def (libm): Add GLIBC_2.18.
8815         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8816         hidden libm prototypes.
8817         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8818         * math/Makefile (libm-calls): Add s_issignaling.
8819         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8820         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
8821         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8822         declaration.
8823         * math/math.h [__USE_GNU] (issignaling): New macro.
8824         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8825         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8826         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8827         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8828         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8829         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8830         * manual/arith.texi (issignaling): New section.
8831         * manual/libm-err-tab.pl (@all_functions): Update comment.
8832         * math/gen-libm-test.pl (parse_args): Apply special handling for
8833         issignaling.
8834         * math/libm-test.inc (print_float, issignaling_test): New
8835         functions.
8836         (check_float_internal): Add issignaling checks.
8837         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8838         default definition.
8839         * sysdeps/powerpc/math-tests.h: New file.
8840         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8841         tests.
8842         * math/test-snan.c (TEST_FUNC): Likewise.
8844 2013-03-30  David S. Miller  <davem@davemloft.net>
8846         * po/de.po: Update from translation team.
8848 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
8850         [BZ #10357]
8851         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8852         imaginary part less than 1.0 and real part less than 0.5
8853         specially.
8854         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8855         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8856         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8857         (cacos_test): Add more tests.
8858         (casin_test): Likewise.
8859         (casinh_test): Likewise.
8860         * sysdeps/i386/fpu/libm-test-ulps: Update.
8861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8863 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8865         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8866         ONE with its value.
8868         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8869         (__pow_mp): Replace ONE and MONE with their values.
8870         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8872         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8873         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8874         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8875         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8877         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8879         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8880         (__pow_mp): Replace ZERO and MZERO with their values.
8881         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8882         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8883         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8884         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8885         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8886         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8887         (__sqr): Likewise.
8889         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8891         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8893 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8895         * include/stdlib.h [!SHARED] (__call_tls_dtors):
8896         Declare with __attribute__ ((weak)).
8897         * stdlib/exit.c (__libc_atexit) [!SHARED]:
8898         Call __call_tls_dtors only if it's not NULL.
8900 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8902         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8903         didn't do it already, then set _dl_phdr and _dl_phnum based on the
8904         magic __ehdr_start linker symbol if it's defined.
8905         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8906         them up here if it was already done.
8908         * elf/dl-support.c (_dl_phdr): Make pointer to const.
8909         (_dl_aux_init): Use const in cast when setting it.
8910         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8911         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8912         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8914         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8915         Declare them here.
8916         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8917         * csu/libc-tls.c: Nor here.
8918         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8920         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8921         (__libc_message): Never call vsyslog.
8923 2013-03-28  Alan Modra  <amodra@gmail.com>
8925         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8926         Define as empty.
8927         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8928         Likewise.
8930 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8932         [BZ #15214]
8933         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8934         underflow.
8935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8937 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8939         [BZ #15304]
8940         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8941         Don't add gid passed as argument.
8943         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8945 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
8947         [BZ #15307]
8948         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8949         imaginary part between 1.0 and 1.5 and real part less than 0.5
8950         specially.
8951         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8952         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8953         * math/libm-test.inc (cacos_test): Add more tests.
8954         (casin_test): Likewise.
8955         (casinh_test): Likewise.
8956         * sysdeps/i386/fpu/libm-test-ulps: Update.
8957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8959 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8961         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8962         constants.
8963         (norm): Likewise.
8964         (denorm): Likewise.
8965         (__dbl_mp): Likewise.
8966         (add_magnitudes): Likewise.
8967         (sub_magnitudes): Likewise.
8968         (__add): Likewise.
8969         (__sub): Likewise.
8970         (__mul): Likewise.
8971         (__sqr): Likewise.
8972         (__inv): Likewise.
8973         (__dvd): Likewise.
8975         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8976         commented code.
8977         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8978         (__dubcos): Likewise.
8979         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8980         (__ieee754_acos): Likewise.
8981         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8982         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8983         (__exp1): Likewise.
8984         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8985         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8986         (log1): Likewise.
8987         (my_log2): Likewise.
8988         (checkint): Likewise.
8989         * sysdeps/ieee754/dbl-64/e_remainder.c
8990         (__ieee754_remainder): Likewise.
8991         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8992         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8993         (bsloww): Likewise.
8994         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8996         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8997         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8998         MANTISSA_STORE_T to store computations on mantissa.  Use
8999         macros for rounding and division.
9000         (denorm): Likewise.
9001         (__dbl_mp): Likewise.
9002         (add_magnitudes): Likewise.
9003         (sub_magnitudes): Likewise.
9004         (__mul): Likewise.
9005         (__sqr): Likewise.
9006         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9007         powers of two in terms of TWOPOW macro.
9008         (mp_no): Make type of mantissa as MANTISSA_T.
9009         [!RADIXI]: Define RADIXI.
9010         [!TWO52]: Define TWO52.
9011         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9013 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9015         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9016         llroundl symbol when building for PPC32.
9018 2013-03-24  Mark H Weaver  <mhw@netris.org>
9020         * manual/arith.texi (Normalization Functions): Fix prototypes for
9021         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9023 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9025         [BZ #13889]
9026         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9027         high value to check if expl overflow.
9028         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9029         to check for underflow and overflow.
9030         * math/libm-test.inc: Add exp test.
9032 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
9034         [BZ #11120]
9035         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9036         with NOT_IN_libc.
9038 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9040         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9041         symbol.
9043 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9045         * math/gen-libm-test.pl (parse_args, special_functions): Properly
9046         wrap blocks consisting of several statements.
9048         * sysdeps/generic/math-tests.h: New file.
9049         * sysdeps/i386/fpu/math-tests.h: Likewise.
9050         * math/test-snan.c: Include it.
9051         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9053 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9055         [BZ #15285]
9056         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9057         (__ieee754_j0l): Do not improve calculations using cos of twice
9058         input for inputs above LDBL_MAX / 2.0L.
9059         (__ieee754_y0l): Likewise.
9060         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9061         (__ieee754_j1l): Do not improve calculations using cos of twice
9062         input for inputs above LDBL_MAX / 2.0L.
9063         (__ieee754_y1l): Likewise.
9064         * math/libm-test.inc (j0_test): Add another test.
9065         (j1_test): Likewise.
9066         (y0_test): Likewise.
9067         (y1_test): Likewise.
9068         * sysdeps/i386/fpu/libm-test-ulps: Update.
9070 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9072         * Rules ($(objpfx)bench-%.c): Include code from a C source
9073         file.
9075 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9077         [BZ #15287]
9078         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9079         imaginary part 1.0 and real part less than 0.5 specially.
9080         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9081         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9082         * math/libm-test.inc (cacos_test): Add more tests.
9083         (casin_test): Likewise.
9084         (casinh_test): Likewise.
9085         * sysdeps/i386/fpu/libm-test-ulps: Update.
9086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9088 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9090         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9091         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9093 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
9095         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9096         * config.make.in (config-cflags-sse4): Remove variable.
9097         (config-cflags-avx): Likewise.
9098         (config-cflags-sse2avx): Likewise.
9099         (config-cflags-novzeroupper): Likewise.
9100         (config-asflags-i686): Likewise.
9101         (have-mfma4): Likewise.
9102         (have-as-vis3): Likewise.
9103         (MIG): Likewise.
9104         * configure.in (MIG): Do not AC_SUBST.
9105         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9106         (libc_cv_cc_sse4): Do not AC_SUBST.
9107         (libc_cv_cc_avx): Likewise.
9108         (libc_cv_cc_sse2avx): Likewise.
9109         (libc_cv_cc_novzeroupper): Likewise.
9110         (libc_cv_cc_fma4): Likewise.
9111         (libc_cv_as_i686): Likewise.
9112         (libc_cv_sparc_as_vis3): Likewise.
9113         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9114         LIBC_CONFIG_VAR.
9115         (config-asflags-i686): Likewise.
9116         (config-cflags-avx): Likewise.
9117         (config-cflags-sse2avx): Likewise.
9118         (have-mfma4): Likewise.
9119         (config-cflags-novzeroupper): Likewise.
9120         * sysdeps/mach/configure.in (MIG): Likewise.
9121         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9122         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9123         LIBC_CONFIG_VAR.
9124         (config-cflags-avx): Likewise.
9125         (config-cflags-sse2avx): Likewise.
9126         (have-mfma4): Likewise.
9127         (config-cflags-novzeroupper): Likewise.
9128         * configure: Regenerated.
9129         * sysdeps/i386/configure: Likewise.
9130         * sysdeps/mach/configure: Likewise.
9131         * sysdeps/sparc/configure: Likewise.
9132         * sysdeps/x86_64/configure: Likewise.
9134 2013-03-20  Roland McGrath  <roland@hack.frob.com>
9136         [BZ #14812]
9137         * locale/programs/localedef.c (options): Put N_ translation marker
9138         on argument names, not just descriptions.
9140 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9142         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9144 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
9146         [BZ #14176]
9147         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9149 2013-03-19  Roland McGrath  <roland@hack.frob.com>
9151         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9152         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9153         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9154         [!BEFORE_ABORT] (before_abort): New function.
9155         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9156         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9157         (writev_for_fatal): New function.
9158         (WRITEV_FOR_FATAL): New macro; call that.
9159         (backtrace_and_maps): New function.
9160         (BEFORE_ABORT): New macro; call that.
9161         (struct str_list): Type removed.
9162         (__libc_message, __libc_fatal): Functions removed.
9163         Include <sysdeps/posix/libc_fatal.c> instead.
9165 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
9167         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9168         constants.
9169         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9170         double constants.
9172 2013-03-19  Andreas Schwab  <schwab@suse.de>
9174         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9175         * sysdeps/gnu/configure: Regenerate.
9177         * configure.in: Substitute libc_cv_rtlddir.
9178         * configure: Regenerate.
9179         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9180         * Makeconfig (rtlddir, inst_rtlddir): New variables.
9181         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9182         * elf/Makefile (install-others, CFLAGS-interp.c)
9183         (ldso_install, common-ldd-rewrite): Likewise.
9184         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9185         $(inst_slibdir)/$(rtld-installed-name).
9186         * scripts/rellns-sh: Add -p option.
9187         * Makerules (make-shlib-link): Use rellns-sh to get relative name
9188         for source.
9190 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9192         * manual/nptl.texi: Renamed to ...
9193         * manual/threads.texi: ... this.
9194         * manual/Makefile (chapters): Update.
9196 2013-03-18  Roland McGrath  <roland@hack.frob.com>
9198         [BZ #14812]
9199         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9200         on argument names, not just descriptions.
9201         * malloc/memusagestat.c (options): Likewise.
9202         * nss/getent.c (options): Likewise.
9204 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
9206         [BZ #14812]
9207         * iconv/iconv_prog.c (options): Put N_ translation marker
9208         on argument names, not just descriptions.
9209         * iconv/iconvconfig.c (options): Likewise.
9211 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
9213         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9214         implementation which is faster on all x86_64 architectures.
9215         Tested on AMD, Intel Nehalem, SNB, IVB.
9216         * sysdeps/x86_64/strnlen.S: Likewise.
9218         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9219         Remove all multiarch strlen and strnlen versions.
9220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9221         Remove strlen and strnlen related parts.
9223         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9224         Inline strlen part.
9225         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9227         * sysdeps/x86_64/multiarch/strlen.S: Remove.
9228         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9229         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9230         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9231         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9232         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9234 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
9236         * manual/memory.texi (Malloc Tunable Parameters):
9237         Sort parameters alphabetically. Add comments for missing entries.
9239 2013-03-17  David S. Miller  <davem@davemloft.net>
9241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9243 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
9245         [BZ #15283]
9246         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9247         for arguments at most half maximum finite value.
9248         * math/libm-test.inc (j0_test): Add more tests.
9249         (j1_test): Likewise.
9250         (y0_test): Likewise.
9251         (y1_test): Likewise.
9252         * sysdeps/i386/fpu/libm-test-ulps: Update.
9253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9255         [BZ #14155]
9256         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9257         1 / x and functions P and Q for arguments above 0x1p256L.
9258         (__ieee754_y0l): Likewise.
9259         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9260         (__ieee754_y1l): Likewise.
9261         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9262         (j1_test): Likewise.
9263         (y0_test): Likewise.
9264         (y1_test): Likewise.
9266 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
9268         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9269         variable.
9271 2013-03-15  Roland McGrath  <roland@hack.frob.com>
9273         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9274         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9275         zero since it's initialized to EXEC_PAGESIZE.
9277         * sysdeps/unix/sysv/linux/ldsodefs.h
9278         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9279         * sysdeps/generic/ldsodefs.h: ... here.
9281 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
9283         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9285         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9286         math/test-snan.c.
9287         * math/test-snan.c: Renamed from
9288         sysdeps/powerpc/fpu/test-powerpc-snan.c.
9289         * math/Makefile (tests): Add test-snan.
9290         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9291         test-powerpc-snan.
9293         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9294         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
9295         functions.
9296         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
9297         __builtin_nan family of functions.
9298         * math/libm-test.inc (initialize): Initialize qnan_value with
9299         __builtin_nan family of functions.
9300         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9301         Remove variables.
9302         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9303         Remove functions.
9304         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
9305         storage class.  Initialize qNaN_var and sNaN_var with
9306         __builtin_nan and __builtin_nans families of functions,
9307         respectively.
9309         * math/libm-test.inc (acosh_test): Also test with qNaN input.
9310         (sqrt_test): Remove duplicate test with qNaN input.
9311         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9312         (round_test, signbit_test, significand_test): Note missing +/-Inf
9313         as well as qNaN tests.
9315         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9316         qNaN_var.  Fix a few strings, too.
9317         * math/libm-test.inc (nan_value): Rename to qnan_value.
9318         * math/gen-libm-test.pl (%beautify): Adjust to that.
9319         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9320         * math/test-misc.c (main): Likewise.
9321         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9322         to __qnan_bytes, and __qnan_union, respectively.
9323         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9324         Likewise.
9325         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9326         and lqnanval, respectively.
9327         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9328         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9329         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9330         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9332         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9333         * math/test-misc.c (main) [__x86_64__]: Enable test for long
9334         doubles.
9336         * math/test-misc.c (main): Fix copy'n'pastos.
9337         * misc/tst-efgcvt.c (special): Likewise.
9339         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9340         Remove declarations.
9342 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9344         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9345         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9346         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9347         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9349 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9351         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9352         macro to return vdso values correctly in IFUNC implementations.
9353         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9354         Optimization by using IFUNC.
9356 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9357             Richard Henderson  <rth@redhat.com>
9358             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9360         * Makefile.in (bench): New target.
9361         * NEWS: Mention the benchmark framework.
9362         * Rules (bench): Likewise.
9363         (binaries-bench): Generate binaries for functions to
9364         benchmark.
9365         * benchtests/Makefile: New makefile for benchmark tests.
9366         * benchtests/bench-skeleton.c: New skeleton file for benchmark
9367         programs.
9368         * benchtests/exp-inputs: New input file for EXP function.
9369         * benchtests/pow-inputs: New input file for POW function.
9370         * scripts/bench.pl: New script to generate source files for
9371         benchmark programs.
9373 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9375         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9376         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9377         computations on mantissa.  Use macros for rounding and
9378         division.
9379         (denorm): Likewise.
9380         (__dbl_mp): Likewise.
9381         (add_magnitudes): Likewise.
9382         (sub_magnitudes): Likewise.
9383         (__mul): Likewise.
9384         (__sqr): Likewise.
9385         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9386         powers of two in terms of TWOPOW macro.
9387         (mp_no): Make type of mantissa as MANTISSA_T.
9388         [!RADIXI]: Define RADIXI.
9389         [!TWO52]: Define TWO52.
9390         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9392         * manual/nptl.texi (cindex): Modify threads to pthreads.
9394 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
9396         * sysdeps/x86_64/preconfigure: Regenerated.
9398 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
9400         [BZ #14155]
9401         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9402         0x1p28 and above.
9403         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9404         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9405         0x1p28 and above.
9406         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9407         * math/libm-test.inc (j0_test): Do not allow one spurious
9408         underflow exception.
9409         (y1_test): Likewise.
9411 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9413         * manual/Makefile (chapters): Add nptl.
9414         * manual/debug.texi (Debugging Support): Add link to Threads
9415         chapter.
9416         * manual/nptl.texi: New file.
9418         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9420 2013-03-14  Petr Baudis  <pasky@ucw.cz>
9422         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9423         for non-NULL pointer before the memory validity test. Pointed
9424         out by Holger Brunck <holger.brunck@keymile.com>.
9426 2013-03-13  Andreas Schwab  <schwab@suse.de>
9428         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9429         instead of .os.
9431 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
9433         * timezone/zic.c: Update from tzcode 2013b.
9435 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
9437         * manual/install.texi (Configuring and compiling):
9438         Mention i686 and i586.
9439         * INSTALL: Regenerate.
9441 2013-03-12  Roland McGrath  <roland@hack.frob.com>
9443         * sysdeps/init_array/elf-init.c: New file.
9444         * csu/elf-init.c
9445         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9446         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9448         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9449         __gmon_start__ as global, but as static with a .preinit_array pointer.
9450         * sysdeps/init_array/gmon-start.c: New file.  Use that.
9451         * sysdeps/init_array/crti.S: New file, empty except for comments.
9452         * sysdeps/init_array/crtn.S: Likewise.
9454 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
9456         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9457         definining bcopy.
9458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9459         Remove Prefer_SSE_for_memop.
9460         * sysdeps/x86_64/multiarch/init-arch.h: Remove
9461         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9462         HAS_PREFER_SSE_FOR_MEMOP.
9463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9464         memset-x86-64.
9465         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9466         Remove bzero, memset ifunc support.
9467         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9468         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9469         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9470         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9472 2013-03-11  Andreas Schwab  <schwab@suse.de>
9474         [BZ #15234]
9475         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9476         by SHLIB_COMPAT.
9477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9478         (GLIBC_2.16): Remove pthread_atfork.
9480 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9482         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9483         (ptestcases.h): Likewise.
9485 2013-03-08  Roland McGrath  <roland@hack.frob.com>
9487         * Makeconfig ($(common-objpfx)config.status): Depend on
9488         sysdeps/*/preconfigure{,.in} too.
9490 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
9492         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9493         (__free_hook): Use void * instead of __malloc_ptr_t.
9494         (__malloc_hook): Likewise.
9495         (__realloc_hook): Likewise.
9496         (__memalign_hook): Likewise.
9497         (__after_morecore_hook): Likewise.
9498         * malloc/arena.c (save_malloc_hook): Likewise.
9499         (save_free_hook): Likewise.
9500         * malloc/hooks.c (malloc_hook_ini): Likewise.
9501         (realloc_hook_ini): Likewise.
9502         (memalign_hook_ini): Likewise.
9503         * malloc/malloc.c (malloc_hook_ini): Likewise.
9504         (realloc_hook_ini): Likewise.
9505         (memalign_hook_ini): Likewise.
9506         (__free_hook): Likewise.
9507         (__malloc_hook): Likewise.
9508         (__realloc_hook): Likewise.
9509         (__memalign_hook): Likewise.
9510         (__libc_malloc): Likewise.
9511         (__libc_free): Likewise.
9512         (__libc_realloc): Likewise.
9513         (__libc_memalign): Likewise.
9514         (__libc_valloc): Likewise.
9515         (__libc_pvalloc): Likewise.
9516         (__libc_calloc): Likewise.
9517         (__posix_memalign): Likewise.
9518         * malloc/morecore.c (__sbrk): Likewise.
9519         (__default_morecore): Likewise.
9521         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9523         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9524         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9525         __malloc_ptrdiff_t.
9527         * malloc/malloc.h (__malloc_size_t): Remove macro.
9528         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9529         __malloc_size_t.
9530         (old_memalign_hook): Likewise.
9531         (old_realloc_hook): Likewise.
9532         (struct hdr): Likewise.
9533         (flood): Likewise.
9534         (mallochook): Likewise.
9535         (memalignhook): Likewise.
9536         (reallochook): Likewise.
9537         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9538         (tr_old_realloc_hook): Likewise.
9539         (tr_old_memalign_hook): Likewise.
9540         (tr_mallochook): Likewise.
9541         (tr_reallochook): Likewise.
9542         (tr_memalignhook): Likewise.
9544 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9546         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9547         default_ldbl_pack and using as default implementation.
9548         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9549         implementation.
9550         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9551         redundant definition.
9552         (ldbl_insert_mantissa): Likewise.
9553         (ldbl_canonicalize): Likewise.
9554         (ldbl_nearbyint): Likewise.
9555         (ldbl_pack): Rename to ldbl_pack_ppc.
9556         (ldbl_unpack): Rename to ldbl_unpack_ppc.
9557         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9558         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9560 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9563         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9564         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9565         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9567         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9568         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9569         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9571 2013-03-07  Andreas Jaeger  <aj@suse.de>
9573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9574         bits/mman-linux.h.
9576 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9578         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9579         Include mpa.h and declare __MPEXP.
9580         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9581         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9582         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9583         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9584         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9585         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9586         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9588         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9589         (__slowpow): Use long double EXPL and LOGL functions to
9590         compute POW.
9591         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9592         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9593         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9594         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9595         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9596         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9599         intermediate variable to calculate exponent.
9600         (__sqr): Likewise.
9601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9602         Likewise.
9603         (__sqr): Likewise.
9605         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9606         [!NO__SQR]: Define __sqr.
9607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9608         and NO__SQR.  Remove all code except __mul and __sqr.  Include
9609         sysdeps/ieee754/dbl-64/mpa.c.
9610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9612         [BZ #12723]
9613         * posix/Makefile (tests): Add tst-pathconf.
9614         * posix/tst-pathconf.c: New test case.
9615         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9616         _PC_PIPE_BUF.
9617         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9619 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
9621         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9623 2013-03-06  Andreas Jaeger  <aj@suse.de>
9625         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9626         definition via __MAP_ANONYMOUS.
9628         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9629         it's not part of Linux headers.
9631         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9632         (MAP_HUGE_MASK): Define.
9634         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9635         Define.
9636         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9637         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9638         Define.
9639         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9640         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9641         Define.
9642         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9643         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9644         Define.
9645         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9647         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9648         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9649         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9650         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9651         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9652         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9654         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9655         Handle f2fs.
9657         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9658         Handle f2fs and efivarfs.
9660         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9661         f2fs.
9663         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9664         (EFIVARFS_MAGIC): Add.
9665         (F2FS_LINK_MAX): Add.
9667 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9669         * stdio-common/vfprintf.c: Replace __builtin_expect with
9670         __glibc_unlikely.
9672 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
9674         [BZ #13550]
9675         * sysdeps/generic/bp-sym.h: Remove file.
9676         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9677         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9678         <bp-sym.h> and <bp-asm.h>.
9679         (__longjmp): Don't use BP_SYM.
9680         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9681         and <bp-asm.h>.
9682         (memcpy): Don't use BP_SYM.
9683         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9684         <bp-sym.h> and <bp-asm.h>.
9685         (memcpy): Don't use BP_SYM.
9686         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9687         <bp-asm.h>.
9688         (memcpy): Don't use BP_SYM.
9689         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9690         <bp-asm.h>.
9691         (memset): Don't use BP_SYM.
9692         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9693         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9694         (__bzero): Don't use BP_SYM.
9695         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9696         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9697         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9698         <bp-sym.h> and <bp-asm.h>.
9699         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9700         pointers.
9701         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9702         <bp-sym.h> and <bp-asm.h>.
9703         (memcpy): Don't use BP_SYM.
9704         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9705         <bp-sym.h> and <bp-asm.h>.
9706         (memset): Don't use BP_SYM.
9707         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9708         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9709         (__bzero): Don't use BP_SYM.
9710         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9711         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9712         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9713         <bp-sym.h> and <bp-asm.h>.
9714         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9715         pointers.
9716         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9717         <bp-sym.h> and <bp-asm.h>.
9718         (memcpy): Don't use BP_SYM.
9719         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9720         <bp-sym.h> and <bp-asm.h>.
9721         (memset): Don't use BP_SYM.
9722         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9723         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9724         (__bzero): Don't use BP_SYM.
9725         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9726         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9727         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9728         <bp-sym.h> and <bp-asm.h>.
9729         (__memchr): Don't use BP_SYM.
9730         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9731         <bp-sym.h> and <bp-asm.h>.
9732         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9733         pointers.
9734         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9735         <bp-sym.h> and <bp-asm.h>.
9736         (memcpy): Don't use BP_SYM.
9737         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9738         <bp-sym.h> and <bp-asm.h>.
9739         (__mempcpy): Don't use BP_SYM.
9740         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9741         <bp-sym.h> and <bp-asm.h>.
9742         (__memrchr): Don't use BP_SYM.
9743         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9744         <bp-sym.h> and <bp-asm.h>.
9745         (memset): Don't use BP_SYM.
9746         (__bzero): Likewise.
9747         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9748         <bp-sym.h> and <bp-asm.h>.
9749         (__rawmemchr): Don't use BP_SYM.
9750         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9751         <bp-sym.h> and <bp-asm.h>.
9752         (__STRCMP): Don't use BP_SYM.
9753         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9754         <bp-sym.h> and <bp-asm.h>.
9755         (strchr): Don't use BP_SYM.
9756         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9757         <bp-sym.h> and <bp-asm.h>.
9758         (__strchrnul): Don't use BP_SYM.
9759         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9760         <bp-sym.h> and <bp-asm.h>.
9761         (strlen): Don't use BP_SYM.
9762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9763         <bp-sym.h> and <bp-asm.h>.
9764         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9765         pointers.
9766         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9767         <bp-sym.h> and <bp-asm.h>.
9768         (__strnlen): Don't use BP_SYM.
9769         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9770         <bp-sym.h> and <bp-asm.h>.
9771         (__GI__setjmp): Don't use BP_SYM.
9772         (_setjmp): Likewise.
9773         (__sigsetjmp): Likewise.
9774         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9775         (L(start_addresses)): Don't use BP_SYM.
9776         (_start): Likewise.
9777         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9778         <bp-asm.h>.
9779         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9780         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9781         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9782         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9783         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9784         <bp-asm.h>.
9785         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9786         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
9787         about bounded pointers.
9788         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9789         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9790         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9791         <bp-asm.h>.
9792         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9793         about bounded pointers.  Remove GKM FIXME comments.
9794         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9795         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9796         <bp-asm.h>.
9797         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9798         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
9799         Remove GKM FIXME comments.
9800         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9801         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9802         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9803         <bp-asm.h>.
9804         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9805         about bounded pointers.  Remove GKM FIXME comment.
9806         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9807         and <bp-asm.h>.
9808         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9809         pointers.
9810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9811         <bp-sym.h> and <bp-asm.h>.
9812         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9814         <bp-sym.h> and <bp-asm.h>.
9815         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9816         comment.
9818 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9820         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9821         call free(NULL).
9823 2013-03-05  David S. Miller  <davem@davemloft.net>
9825         * po/es.po: Update from translation team.
9827 2013-03-05  Andreas Jaeger  <aj@suse.de>
9829         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9830         <bits/mman-linux.h>.
9831         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9832         is fine.
9833         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9834         <bits/mman-linux.h> to end of file.
9835         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9836         is fine.
9837         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9838         <bits/mman-linux.h> to end of file.
9839         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9840         is fine.
9841         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9842         <bits/mman-linux.h> to end of file.
9844         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9845         (MCL_CURRENT, MCL_FUTURE): Define here.
9847 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9849         [BZ #15232]
9850         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9851         attribute_hidden.
9852         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9854 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9856         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9857         fourth parameter needed for rt_sigprocmask syscall.
9858         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9859         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9860         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9861         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9862         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9863         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9865 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
9867         [BZ #13550]
9868         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9869         comment about bounded pointers.
9870         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9871         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9873 2013-03-04  Andreas Jaeger  <aj@suse.de>
9875         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9876         common definitions.
9878         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9879         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9880         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9881         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9882         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9883         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9885 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9887         [BZ #15055]
9888         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9889         __ieee754_sqrl instead of __sqrl.
9891 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
9893         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9894         * sysdeps/powerpc/fpu_control.h: ... here.
9895         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9896         * sysdeps/powerpc/bits/fenvinline.h: ... here.
9897         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9898         * sysdeps/powerpc/bits/mathinline.h: ... here.
9900 2013-03-01  Roland McGrath  <roland@hack.frob.com>
9902         * elf/dl-hwcaps.c (_dl_important_hwcaps):
9903         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9904         to just [NEED_DL_SYSINFO_DSO].
9905         * elf/dl-support.c: Likewise.
9906         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9907         * elf/rtld.c (dl_main): Likewise.
9908         * elf/setup-vdso.h (setup_vdso): Likewise.
9909         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9910         * sysdeps/unix/sysv/linux/dl-sysdep.c
9911         (_dl_discover_osversion): Likewise.
9913 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
9915         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9916         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9918 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9920         * NEWS: Mention libm performance improvements and non-x86 PI
9921         futex support.
9923         * csu/libc-start.c (__pthread_initialize_minimal): Change
9924         function arguments.
9925         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9927 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
9929         [BZ #13550]
9930         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9931         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9932         <bp-sym.h> and <bp-asm.h>.
9933         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9934         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9935         and <bp-asm.h>.
9936         (memcpy): Don't use BP_SYM.
9937         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9938         <bp-asm.h>.
9939         (__mpn_add_n): Don't use BP_SYM.
9940         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9941         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9942         and <bp-asm.h>.
9943         (__mpn_addmul_1): Don't use BP_SYM.
9944         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9945         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9946         <bp-sym.h>.
9947         (_setjmp): Don't use BP_SYM.
9948         (__novmx_setjmp): Likewise.
9949         (__GI__setjmp): Likewise.
9950         (__vmx_setjmp): Likewise.
9951         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9952         <bp-sym.h>.
9953         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9954         (__bzero): Don't use BP_SYM.
9955         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9956         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9957         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9958         <bp-sym.h> and <bp-asm.h>.
9959         (memcpy): Don't use BP_SYM.
9960         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9961         <bp-sym.h> and <bp-asm.h>.
9962         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9963         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9964         <bp-sym.h> and <bp-asm.h>.
9965         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9966         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9967         <bp-asm.h>.
9968         (__mpn_lshift): Don't use BP_SYM.
9969         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9970         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9971         <bp-asm.h>.
9972         (memset): Don't use BP_SYM.
9973         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9974         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9975         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9976         <bp-asm.h>.
9977         (__mpn_mul_1): Don't use BP_SYM.
9978         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9979         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9980         <bp-sym.h> and <bp-asm.h>.
9981         (memcmp): Don't use BP_SYM.
9982         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9983         <bp-sym.h> and <bp-asm.h>.
9984         (memcpy): Don't use BP_SYM.
9985         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9986         <bp-sym.h> and <bp-asm.h>.
9987         (memset): Don't use BP_SYM.
9988         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9989         <bp-sym.h> and <bp-asm.h>.
9990         (strncmp): Don't use BP_SYM.
9991         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9992         <bp-sym.h> and <bp-asm.h>.
9993         (memcpy): Don't use BP_SYM.
9994         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9995         <bp-sym.h> and <bp-asm.h>.
9996         (memset): Don't use BP_SYM.
9997         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9998         <bp-sym.h> and <bp-asm.h>.
9999         (__memchr): Don't use BP_SYM.
10000         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10001         <bp-sym.h> and <bp-asm.h>.
10002         (memcmp): Don't use BP_SYM.
10003         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10004         <bp-sym.h> and <bp-asm.h>.
10005         (memcpy): Don't use BP_SYM.
10006         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10007         <bp-sym.h> and <bp-asm.h>.
10008         (__mempcpy): Don't use BP_SYM.
10009         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10010         <bp-sym.h> and <bp-asm.h>.
10011         (__memrchr): Don't use BP_SYM.
10012         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10013         <bp-sym.h> and <bp-asm.h>.
10014         (memset): Don't use BP_SYM.
10015         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10016         <bp-sym.h> and <bp-asm.h>.
10017         (__rawmemchr): Don't use BP_SYM.
10018         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10019         <bp-sym.h> and <bp-asm.h>.
10020         (__STRCMP): Don't use BP_SYM.
10021         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10022         <bp-sym.h> and <bp-asm.h>.
10023         (strchr): Don't use BP_SYM.
10024         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10025         <bp-sym.h> and <bp-asm.h>.
10026         (__strchrnul): Don't use BP_SYM.
10027         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10028         <bp-sym.h> and <bp-asm.h>.
10029         (strlen): Don't use BP_SYM.
10030         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10031         <bp-sym.h> and <bp-asm.h>.
10032         (strncmp): Don't use BP_SYM.
10033         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10034         <bp-sym.h> and <bp-asm.h>.
10035         (__strnlen): Don't use BP_SYM.
10036         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10037         <bp-asm.h>.
10038         (__mpn_rshift): Don't use BP_SYM.
10039         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10040         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10041         <bp-sym.h> and <bp-asm.h>.
10042         (__sigsetjmp): Don't use BP_SYM.
10043         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10044         (L(start_addresses)): Don't use BP_SYM.
10045         (_start): Likewise.
10046         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10047         <bp-asm.h>.
10048         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10049         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10050         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10051         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10052         <bp-asm.h>.
10053         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10054         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10055         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10056         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10057         <bp-asm.h>.
10058         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10059         comments.
10060         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10061         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10062         <bp-asm.h>.
10063         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
10064         FIXME comments.
10065         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10066         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10067         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10068         <bp-asm.h>.
10069         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10070         comment.
10071         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10072         and <bp-asm.h>.
10073         (strncmp): Don't use BP_SYM,
10074         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10075         <bp-asm.h>.
10076         (__mpn_sub_n): Don't use BP_SYM.
10077         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10078         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10079         and <bp-asm.h>.
10080         (__mpn_submul_1): Don't use BP_SYM.
10081         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10083         <bp-sym.h> and <bp-asm.h>.
10084         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10086         <bp-sym.h> and <bp-asm.h>.
10087         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10088         comment.
10090 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10093         Use ZK to minimize writes to Z.
10094         (sub_magnitudes): Simplify code a bit.
10095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10096         Use ZK to minimize writes to Z.
10097         (sub_magnitudes): Simplify code a bit.
10099 2013-02-27  Roland McGrath  <roland@hack.frob.com>
10101         * csu/gmon-start.c: Add special exception to license text.
10103 2013-02-27  Richard Henderson  <rth@redhat.com>
10105         * scripts/config.guess: Update from config.git.
10106         * scripts/config.sub: Likewise.
10108 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10110         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10112         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10114         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10116         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10118         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10120 2013-02-26  Roland McGrath  <roland@hack.frob.com>
10122         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10123         [$(build-shared = yes].
10125 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10127         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10128         (__mul): Reduce iterations for calculating mantissa.
10130         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10131         MPTWO.
10132         (__mpranred): Likewise.
10134         [BZ #15160]
10135         * malloc/memusagestat.c (main): Draw graphs for heap and stack
10136         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10138 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
10140         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10141         Define __attribute__.
10143 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10145         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10146         unused.
10147         * posix/regex_internal.h (__attribute): Remove.
10148         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10149         (re_string_context_at): Likewise.
10150         (bitset_not): Use __attribute__ and mark function as possibly
10151         unused.
10152         (bitset_merge): Likewise.
10153         (bitset_mask): Likewise.
10154         (re_string_char_size_at): Likewise.
10155         (re_string_wchar_at): Likewise.
10156         (re_string_elem_size_at): Likewise.
10158 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10160         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10161         code.
10162         (cc32): Likewise.
10164         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10165         (__acr): Likewise.
10166         (__cpy): Likewise.
10167         (norm): Likewise.
10168         (denorm): Likewise.
10169         (__dbl_mp): Likewise.
10170         (add_magnitudes): Likewise.
10171         (sub_magnitudes): Likewise.
10172         (__mul): Likewise.
10173         (__inv): Likewise.
10175         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10176         style.
10178         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10179         style.
10181         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10182         code.
10184         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10185         up changes with default code.
10186         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10187         Likewise.
10189 2013-02-24  Allan McRae  <allan@archlinux.org>
10191         * manual/socket.texi (The Internet Namespace): Order menu items
10192         to match that in the file.
10194         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10195         node listing of the info page menu.
10197 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
10199         [BZ #13550]
10200         * sysdeps/i386/bp-asm.h: Remove file.
10201         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10202         (PARMS): Do not use macros from bp-asm.h.
10203         (S1): Likewise.
10204         (S2): Likewise.
10205         (SIZE): Likewise.
10206         (__mpn_add_n): Do not use BP_SYM
10207         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10208         "bp-asm.h".
10209         (PARMS): Do not use macros from bp-asm.h.
10210         (S1): Likewise.
10211         (SIZE): Likewise.
10212         (__mpn_addmul_1): Do not use BP_SYM
10213         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10214         "bp-asm.h".
10215         (PARMS): Do not use macros from bp-asm.h.
10216         (SIGMSK): Likewise.
10217         (_setjmp): Likewise.  Do not use BP_SYM.
10218         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10219         "bp-asm.h".
10220         (PARMS): Do not use macros from bp-asm.h.
10221         (SIGMSK): Likewise.
10222         (setjmp): Likewise.  Do not use BP_SYM.
10223         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10224         "bp-asm.h".
10225         (PARMS): Do not use macros from bp-asm.h.
10226         (__frexp): Do not use BP_SYM.
10227         (frexp): Likewise.
10228         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10229         "bp-asm.h".
10230         (PARMS): Do not use macros from bp-asm.h.
10231         (__frexpf): Do not use BP_SYM.
10232         (frexpf): Likewise.
10233         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10234         "bp-asm.h".
10235         (PARMS): Do not use macros from bp-asm.h.
10236         (__frexpl): Do not use BP_SYM.
10237         (frexpl): Likewise.
10238         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10239         "bp-asm.h".
10240         (PARMS): Do not use macros from bp-asm.h.
10241         (__remquo): Do not use BP_SYM.
10242         (remquo): Likewise.
10243         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10244         "bp-asm.h".
10245         (PARMS): Do not use macros from bp-asm.h.
10246         (__remquof): Do not use BP_SYM.
10247         (remquof): Likewise.
10248         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10249         "bp-asm.h".
10250         (PARMS): Do not use macros from bp-asm.h.
10251         (__remquol): Do not use BP_SYM.
10252         (remquol): Likewise.
10253         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10254         "bp-asm.h".
10255         (PARMS): Do not use macros from bp-asm.h.
10256         (DEST): Likewise.
10257         (SRC): Likewise.
10258         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
10259         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10260         "bp-asm.h".
10261         (PARMS): Do not use macros from bp-asm.h.
10262         (strlen): Do not use BP_SYM.
10263         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10264         "bp-asm.h".
10265         (PARMS): Do not use macros from bp-asm.h.
10266         (S1): Likewise.
10267         (S2): Likewise.
10268         (SIZE): Likewise.
10269         (__mpn_add_n): Do not use BP_SYM.
10270         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10271         "bp-asm.h".
10272         (PARMS): Do not use macros from bp-asm.h.
10273         (S1): Likewise.
10274         (SIZE): Likewise.
10275         (__mpn_addmul_1): Do not use BP_SYM.
10276         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10277         weak_alias.
10278         (bzero): Likewise.
10279         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10280         "bp-asm.h".
10281         (PARMS): Do not use macros from bp-asm.h.
10282         (S): Likewise.
10283         (SIZE): Likewise.
10284         (__mpn_lshift): Do not use BP_SYM.
10285         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10286         "bp-asm.h".
10287         (PARMS): Do not use macros from bp-asm.h.
10288         (DEST): Likewise.
10289         (SRC): Likewise.
10290         (LEN): Likewise.
10291         (memcpy): Likewise.  Do not use BP_SYM.
10292         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10293         libc_hidden_def and weak_alias.
10294         (mempcpy): Do not use BP_SYM in weak_alias.
10295         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10296         "bp-asm.h".
10297         (PARMS): Do not use macros from bp-asm.h.
10298         (DEST): Likewise.
10299         (LEN): Likewise.
10300         [!BZERO_P] (CHR): Likewise.
10301         (memset): Likewise.  Do not use BP_SYM.
10302         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10303         "bp-asm.h".
10304         (PARMS): Do not use macros from bp-asm.h.
10305         (S1): Likewise.
10306         (SIZE): Likewise.
10307         (__mpn_mul_1): Do not use BP_SYM.
10308         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10309         "bp-asm.h".
10310         (PARMS): Do not use macros from bp-asm.h.
10311         (S): Likewise.
10312         (SIZE): Likewise.
10313         (__mpn_rshift): Do not use BP_SYM.
10314         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10315         "bp-asm.h".
10316         (PARMS): Do not use macros from bp-asm.h.
10317         (STR): Likewise.
10318         (CHR): Likewise.
10319         (strchr): Likewise.  Do not use BP_SYM.
10320         (index): Do not use BP_SYM in weak_alias.
10321         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10322         "bp-asm.h".
10323         (PARMS): Do not use macros from bp-asm.h.
10324         (DEST): Likewise.
10325         (SRC): Likewise.
10326         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
10327         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10328         "bp-asm.h".
10329         (PARMS): Do not use macros from bp-asm.h.
10330         (strlen): Do not use BP_SYM.
10331         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10332         "bp-asm.h".
10333         (PARMS): Do not use macros from bp-asm.h.
10334         (S1): Likewise.
10335         (S2): Likewise.
10336         (SIZE): Likewise.
10337         (__mpn_sub_n): Do not use BP_SYM.
10338         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10339         "bp-asm.h".
10340         (PARMS): Do not use macros from bp-asm.h.
10341         (S1): Likewise.
10342         (SIZE): Likewise.
10343         (__mpn_submul_1): Do not use BP_SYM.
10344         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10345         "bp-asm.h".
10346         (PARMS): Do not use macros from bp-asm.h.
10347         (S1): Likewise.
10348         (S2): Likewise.
10349         (SIZE): Likewise.
10350         (__mpn_add_n): Do not use BP_SYM.
10351         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10352         weak_alias.
10353         (bzero): Likewise.
10354         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10355         "bp-asm.h".
10356         (PARMS): Do not use macros from bp-asm.h.
10357         (BLK2): Likewise.
10358         (LEN): Likewise.
10359         (memcmp): Do not use BP_SYM.
10360         (bcmp): Do not use BP_SYM in weak_alias.
10361         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10362         "bp-asm.h".
10363         (PARMS): Do not use macros from bp-asm.h.
10364         (DEST): Likewise.
10365         (SRC): Likewise.
10366         (LEN): Likewise.
10367         (memcpy): Likewise.  Do not use BP_SYM.
10368         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10369         "bp-asm.h".
10370         (PARMS): Do not use macros from bp-asm.h.
10371         (DEST): Likewise.
10372         (SRC): Likewise.
10373         (LEN): Likewise.
10374         (memmove): Likewise.  Do not use BP_SYM.
10375         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10376         "bp-asm.h".
10377         (PARMS): Do not use macros from bp-asm.h.
10378         (DEST): Likewise.
10379         (SRC): Likewise.
10380         (LEN): Likewise.
10381         (__mempcpy): Likewise.  Do not use BP_SYM.
10382         (mempcpy): Do not use BP_SYM in weak_alias.
10383         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10384         "bp-asm.h".
10385         (PARMS): Do not use macros from bp-asm.h.
10386         (DEST): Likewise.
10387         (LEN): Likewise.
10388         [!BZERO_P] (CHR): Likewise.
10389         (memset): Likewise.  Do not use BP_SYM.
10390         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10391         "bp-asm.h".
10392         (PARMS): Do not use macros from bp-asm.h.
10393         (STR2): Likewise.
10394         (strcmp): Do not use BP_SYM.
10395         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10396         "bp-asm.h".
10397         (PARMS): Do not use macros from bp-asm.h.
10398         (STR): Likewise.
10399         (DELIM): Likewise.
10400         [USE_AS_STRTOK_R] (SAVE): Likewise.
10401         (FUNCTION): Likewise.  Do not use BP_SYM.
10402         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10403         aliases.
10404         (strtok_r): Likewise.
10405         (__GI___strtok_r): Likewise.
10406         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10407         (PARMS): Do not use macros from bp-asm.h.
10408         (S): Likewise.
10409         (SIZE): Likewise.
10410         (__mpn_lshift): Do not use BP_SYM.
10411         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10412         (PARMS): Do not use macros from bp-asm.h.
10413         (STR): Likewise.
10414         (CHR): Likewise.
10415         (__memchr): Do not use BP_SYM.
10416         (memchr): Do not use BP_SYM in weak_alias.
10417         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10418         (PARMS): Do not use macros from bp-asm.h.
10419         (BLK2): Likewise.
10420         (LEN): Likewise.
10421         (memcmp): Do not use BP_SYM.
10422         (bcmp): Do not use BP_SYM in weak_alias.
10423         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10424         (PARMS): Do not use macros from bp-asm.h.
10425         (S1): Likewise.
10426         (SIZE): Likewise.
10427         (__mpn_mul_1): Do not use BP_SYM.
10428         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10429         "bp-asm.h".
10430         (PARMS): Do not use macros from bp-asm.h.
10431         (STR): Likewise.
10432         (CHR): Likewise.
10433         (__rawmemchr): Do not use BP_SYM.
10434         (rawmemchr): Do not use BP_SYM in weak_alias.
10435         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10436         (PARMS): Do not use macros from bp-asm.h.
10437         (S): Likewise.
10438         (SIZE): Likewise.
10439         (__mpn_rshift): Do not use BP_SYM.
10440         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10441         (PARMS): Do not use macros from bp-asm.h.
10442         (SIGMSK): Likewise.
10443         (__sigsetjmp): Likewise.  Do not use BP_SYM.
10444         * sysdeps/i386/start.S: Do not include "bp-sym.h".
10445         (_start): Do not use BP_SYM.
10446         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10447         (PARMS): Do not use macros from bp-asm.h.
10448         (DEST): Likewise.
10449         (SRC): Likewise.
10450         (__stpcpy): Likewise.  Do not use BP_SYM.
10451         (stpcpy): Do not use BP_SYM in weak_alias.
10452         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10453         "bp-asm.h".
10454         (PARMS): Do not use macros from bp-asm.h.
10455         (DEST): Likewise.
10456         (SRC): Likewise.
10457         (LEN): Likewise.
10458         (__stpncpy): Likewise.  Do not use BP_SYM.
10459         (stpncpy): Do not use BP_SYM in weak_alias.
10460         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10461         (PARMS): Do not use macros from bp-asm.h.
10462         (STR): Likewise.
10463         (CHR): Likewise.
10464         (strchr): Likewise.  Do not use BP_SYM.
10465         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10466         "bp-asm.h".
10467         (PARMS): Do not use macros from bp-asm.h.
10468         (STR): Likewise.
10469         (CHR): Likewise.
10470         (__strchrnul): Likewise.  Do not use BP_SYM.
10471         (strchrnul): Do not use BP_SYM in weak_alias.
10472         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10473         "bp-asm.h".
10474         (PARMS): Do not use macros from bp-asm.h.
10475         (STOP): Likewise.
10476         (strcspn): Do not use BP_SYM.
10477         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10478         "bp-asm.h".
10479         (PARMS): Do not use macros from bp-asm.h.
10480         (STR): Likewise.
10481         (STOP): Likewise.
10482         (strpbrk): Likewise.  Do not use BP_SYM.
10483         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10484         "bp-asm.h".
10485         (PARMS): Do not use macros from bp-asm.h.
10486         (STR): Likewise.
10487         (CHR): Likewise.
10488         (strrchr): Likewise.  Do not use BP_SYM.
10489         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10490         (PARMS): Do not use macros from bp-asm.h.
10491         (SKIP): Likewise.
10492         (strspn): Do not use BP_SYM.
10493         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10494         (PARMS): Do not use macros from bp-asm.h.
10495         (STR): Likewise.
10496         (DELIM): Likewise.
10497         (SAVE): Likewise.
10498         (FUNCTION): Likewise.  Do not use BP_SYM.
10499         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10500         aliases.
10501         (strtok_r): Likewise.
10502         (__GI___strtok_r): Likewise.
10503         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10504         (PARMS): Do not use macros from bp-asm.h.
10505         (S1): Likewise.
10506         (S2): Likewise.
10507         (SIZE): Likewise.
10508         (__mpn_sub_n): Do not use BP_SYM.
10509         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10510         "bp-asm.h".
10511         (PARMS): Do not use macros from bp-asm.h.
10512         (S1): Likewise.
10513         (SIZE): Likewise.
10514         (__mpn_submul_1): Do not use BP_SYM.
10515         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10516         <bp-sym.h>.
10517         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10518         and <bp-asm.h>.
10519         (PARMS): Do not use macros from bp-asm.h.
10520         (FLAGS): Likewise.
10521         (PTID): Likewise.
10522         (TLS): Likewise.
10523         (CTID): Likewise.
10524         (__clone): Do not use BP_SYM.
10525         (clone): Do not use BP_SYM in weak_alias.
10526         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10527         and <bp-asm.h>.
10528         (PARMS): Do not use macros from bp-asm.h.
10529         (LEN): Likewise.
10530         (__mmap64): Do not use BP_SYM.
10531         (mmap64): Do not use BP_SYM in weak_alias.
10532         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10533         <bp-sym.h> and <bp-asm.h>.
10534         (PARMS): Do not use macros from bp-asm.h.
10535         (__posix_fadvise64_l64): Do not use BP_SYM.
10536         * sysdeps/unix/sysv/linux/i386/semtimedop.S
10537         (PARMS): Do not use macros from bp-asm.h.
10538         (NSOPS): Likewise.
10539         (semtimedop): Do not use BP_SYM.
10540         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10541         and <bp-asm.h>.
10543 2013-02-21  Allan McRae  <allan@archlinux.org>
10545         * manual/message.texi (Charset conversion in gettext):
10546         Move @end statement to beginning of line.
10548 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10551         static.
10552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10553         Likewise.
10555         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10556         (denorm): Likewise.
10557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10560 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10562         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10563         tail-call to the resolved function if pltexit isn't needed.
10565 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10567         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10568         or Y being zero as being unlikely.
10569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10570         Likewise.
10572 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
10574         * manual/nss.texi (System Databases and Name Service Switch):
10575         Remove frobnicate @pxref.
10577 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10579         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10580         __attribute__ ((unused)) to __attribute__ ((__unused__)).
10582 2013-02-20  Petr Machata  <pmachata@redhat.com>
10584         * elf/elf.h (R_ARM_TARGET1): New macro.
10585         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10586         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10587         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10588         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10589         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10590         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10591         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10592         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10593         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10594         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10595         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10596         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10597         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10598         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10599         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10600         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10601         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10602         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10603         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10604         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10605         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10606         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10607         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10608         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10609         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10610         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10611         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10612         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10613         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10614         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10615         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10616         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10617         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10618         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10619         (R_ARM_THM_GOT_BREL12): Likewise.
10620         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10621         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10622         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10623         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10624         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10625         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10626         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10627         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10628         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10630 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10632         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10633         __attribute_used__ to __attribute__ ((unused)).
10635 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10637         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10638         powerpc mpa.c.
10639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10640         comment formatting.
10641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10643 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
10645         [BZ #13550]
10646         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10647         Remove macro.
10648         (ENTER): Remove both macro definitions.
10649         (LEAVE): Likewise.
10650         (CHECK_BOUNDS_LOW): Likewise.
10651         (CHECK_BOUNDS_HIGH): Likewise.
10652         (CHECK_BOUNDS_BOTH): Likewise.
10653         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10654         (RETURN_BOUNDED_POINTER): Likewise.
10655         (RETURN_NULL_BOUNDED_POINTER): Likewise.
10656         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10657         (POP_ERRNO_LOCATION_RETURN): Likewise.
10658         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10659         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10660         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10661         macros.
10662         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10663         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10664         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10665         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10666         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10667         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10668         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10669         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10670         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10671         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10672         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10673         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10674         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10675         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10676         removed macros.
10677         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10678         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10679         macros.
10680         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10681         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10682         * sysdeps/i386/i586/memset.S (memset): Likewise.
10683         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10684         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10685         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10686         macros.
10687         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10688         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10689         Change uses of L(2) to L(out).
10690         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10691         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10692         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10693         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10694         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10695         removed macros.
10696         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10697         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10698         macros.
10699         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10700         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10701         (RETURN): Do not use macro LEAVE.
10702         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10703         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10704         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10705         * sysdeps/i386/i686/memset.S (memset): Likewise.
10706         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10707         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10708         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10709         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10710         Likewise.
10711         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10712         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
10713         L(1_2) and L(1_3) into L(1).
10714         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10715         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10716         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10717         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10718         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10719         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10720         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10721         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10722         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10723         macros.
10724         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10725         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10726         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10727         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10728         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10729         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10730         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10731         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10732         * sysdeps/i386/strcspn.S (strcspn): Likewise.
10733         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10734         * sysdeps/i386/strrchr.S (strrchr): Likewise.
10735         * sysdeps/i386/strspn.S (strspn): Likewise.
10736         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10737         conditional code.
10738         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10739         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10740         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10741         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
10742         L(1_3) into L(1_1).
10743         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10744         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10745         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10746         macros.
10747         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10749 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
10751         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10752         macro.
10754 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10756         * math/atest-exp.c (exp_mpn): Remove ROUND.
10757         * math/atest-exp2.c (exp_mpn): Likewise.
10758         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10760         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10761         * stdlib/tst-tls-atexit-lib.c: Likewise.
10762         * stdlib/tst-tls-atexit.c: Likewise.
10764 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10766         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10767         and __attribute_alloc_size__.
10769 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10771         * include/programs/xmalloc.h: Change __attribute_alloc_size to
10772         __attribute_alloc_size__.
10773         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10774         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10776 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10778         * include/programs/xmalloc.h: New file.
10779         * catgets/gencat.c: Include it.
10780         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10781         * elf/pldd.c: Likewise.
10782         * iconv/iconv_charmap.c: Likewise.
10783         * iconv/iconvconfig.c: Likewise.
10784         * iconv/strtab.c: Likewise.
10785         * locale/programs/locale.c: Likewise.
10786         * locale/programs/localedef.h: Likewise.
10787         * locale/programs/simple-hash.c: Likewise.
10788         * nscd/nscd.h: Likewise.
10789         * nss/makedb.c: Likewise.
10790         * sysdeps/generic/ldconfig.h: Likewise.
10792 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10794         * Versions.def: Add GLIBC_2.18.
10795         * include/link.h (struct link_map): New member l_tls_dtor_count.
10796         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10797         (__call_tls_dtors): Likewise.
10798         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10799         __cxa_thread_atexit_impl.
10800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10801         Likewise.
10802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10803         Likewise.
10804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10805         Likewise.
10806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10807         Likewise.
10808         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10810         Likewise.
10811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10812         Likewise.
10813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10815         Likewise.
10816         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10817         (tests): Add test case tst-tls-atexit.
10818         (modules-names): Add shared library for tst-tls-atexit.
10819         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10820         (GLIBC_PRIVATE): Add __call_tls_dtors.
10821         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10822         for libstdc++.
10823         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10824         * stdlib/tst-tls-atexit.c: New test case.
10825         * stdlib/tst-tls-atexit-lib.c: New test case.
10827         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10829         * elf/Versions (ld): Add _dl_find_dso_for_object.
10830         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10831         * elf/dl-open.c (_dl_find_dso_for_object): New function.
10832         (dl_open_worker): Use _dl_find_dso_for_object.
10833         * elf/dl-sym.c (do_sym): Likewise.
10834         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10836 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10838         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10839         Syntactic changes only.
10840         (_dl_runtime_profile): Do a tail-call to the resolved function.
10842 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
10844         [BZ #13550]
10845         * sysdeps/x86_64/bp-asm.h: Remove file.
10846         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10847         <bp-sym.h> and <bp-asm.h>.
10848         (__clone): Do not use BP_SYM.
10849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10850         <bp-sym.h> and <bp-asm.h>.
10851         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10852         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10853         "bp-asm.h".
10854         (_setjmp): Do not use BP_SYM.
10855         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10856         "bp-asm.h".
10857         (setjmp): Do not use BP_SYM.
10858         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10859         libc_hidden_def.
10860         (mempcpy): Do not use BP_SYM in weak_alias.
10861         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10862         "bp-asm.h".
10863         (strchr): Do not use BP_SYM.
10864         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10865         "bp-asm.h".
10866         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10867         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10868         (_start): Do not use BP_SYM.
10869         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10870         "bp-asm.h".
10871         (strcat): Do not use BP_SYM.
10872         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10873         "bp-asm.h".
10874         (STRCMP): Do not use BP_SYM.
10875         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10876         "bp-asm.h".
10877         (STRCPY): Do not use BP_SYM.
10878         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10879         "bp-asm.h".
10880         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10881         "bp-asm.h".
10882         (FUNCTION): Do not use BP_SYM.
10883         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10884         weak_alias.
10885         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10887 2013-02-17  Andreas Jaeger  <aj@suse.de>
10889         * time/Versions: Sort entries.
10890         * string/Versions: Likewise.
10891         * resolv/Versions: Likewise.
10892         * posix/Versions: Likewise.
10893         * iconv/Versions: Likewise.
10894         * elf/Versions: Likewise.
10895         * wcsmbs/Versions: Likewise.
10897 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10899         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10900         loop termination condition.
10902         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10903         variable to calculate EZ.
10904         (__sqr): Likewise.
10906         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10907         the lower precision input.
10909 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
10911         [BZ #13550]
10912         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10913         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10914         (run-via-rtld-prefix): Do not handle %-bp tests.
10915         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10916         (all-object-suffixes): Remove .ob.
10917         (bppfx): Remove variable.
10918         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10919         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10920         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10921         [$(build-bounded) = yes] (libtype.ob): Likewise.
10922         * Makerules (elide-routines.ob): Remove variable.
10923         (do-tests-clean): Do not handle *-bp.out.
10924         (common-mostlyclean): Do not handle *-bp and *-bp.out.
10925         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10926         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10927         (tests): Do not include $(tests-bp.out).
10928         (xtests): Do not include $(xtests-bp.out).
10929         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10930         [$(build-bounded) = yes] ($(addprefix
10931         $(objpfx),$(binaries-bounded))): Remove rule.
10932         ($(objpfx)%-bp.out): Remove rule.
10933         * config.make.in (build-bounded): Remove variable.
10934         * crypt/Makefile [$(build-bounded) = yes]
10935         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10936         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10937         append to variable.
10938         [$(build-bounded) = yes] (install-lib): Likewise.
10939         [$(build-bounded) = yes] (generated): Likewise.
10940         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10941         Remove rule.
10942         * intl/Makefile [$(build-bounded) = yes]
10943         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10944         * math/Makefile [$(build-bounded) = yes]
10945         ($(tests:%=$(objpfx)%-bp): Likewise.
10946         * misc/Makefile [$(build-bounded) = yes]
10947         ($(objpfx)tst-tsearch-bp): Likewise.
10948         * nptl/Makeconfig (bounded-thread-library): Remove variable.
10949         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10950         Remove dependency.
10951         * string/Makefile (o-objects.ob): Remove variable.
10952         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10953         (CFLAGS-.ob): Remove variable.
10954         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10955         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10956         both definitions of variable.
10957         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10958         (ASFLAGS-.ob): Remove variable.
10960 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
10962         [BZ #13550]
10963         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10964         Remove __BOUNDED_POINTERS__ from condition.
10965         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10966         * string/bits/string2.h [!__NO_STRING_INLINES &&
10967         !__BOUNDED_POINTERS__]: Likewise.
10968         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10969         Likewise.
10970         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10971         Remove conditional code.
10972         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10973         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10974         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10975         condition.
10977         [BZ #13550]
10978         * csu/libc-start.c: Do not include <bp-sym.h>.
10979         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10980         * elf/dl-open.c: Do not include <bp-sym.h>.
10981         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10982         * math/fegetenv.c: Do not include <bp-sym.h>.
10983         (fegetenv): Do not use BP_SYM in versioned symbols.
10984         * nptl/sysdeps/pthread/bits/libc-lockP.h
10985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10986         <bp-sym.h>.
10987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10988         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10990         (__pthread_mutex_destroy): Likewise.
10991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10992         (__pthread_mutex_lock): Likewise.
10993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10994         (__pthread_mutex_trylock): Likewise.
10995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10996         (__pthread_mutex_unlock): Likewise.
10997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10998         (__pthread_mutexattr_init): Likewise.
10999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11000         (__pthread_mutexattr_destroy): Likewise.
11001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11002         (__pthread_mutexattr_settype): Likewise.
11003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11004         (__pthread_rwlock_init): Likewise.
11005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11006         (__pthread_rwlock_destroy): Likewise.
11007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11008         (__pthread_rwlock_rdlock): Likewise.
11009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11010         (__pthread_rwlock_tryrdlock): Likewise.
11011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11012         (__pthread_rwlock_wrlock): Likewise.
11013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11014         (__pthread_rwlock_trywrlock): Likewise.
11015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11016         (__pthread_rwlock_unlock): Likewise.
11017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11018         (__pthread_key_create): Likewise.
11019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11020         (__pthread_setspecific): Likewise.
11021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11022         (__pthread_getspecific): Likewise.
11023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11024         Likewise.
11025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11026         (_pthread_cleanup_push_defer): Likewise.
11027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11028         (_pthread_cleanup_pop_restore): Likewise.
11029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11030         (pthread_setcancelstate): Likewise.
11031         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11032         <bp-sym.h>.
11033         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11034         (memchr): Do not use BP_SYM in weak_alias.
11035         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11036         (fegetenv): Do not use BP_SYM in versioned symbols.
11037         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11038         (fesetenv): Do not use BP_SYM in versioned symbols.
11039         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11040         (feupdateenv): Do not use BP_SYM in versioned symbols.
11041         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11042         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11043         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11044         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11045         (open64): Do not use BP_SYM in weak_alias.
11046         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11047         (fegetenv): Do not use BP_SYM in versioned symbols.
11048         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11049         (fesetenv): Do not use BP_SYM in versioned symbols.
11050         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11051         (feupdateenv): Do not use BP_SYM in versioned symbols.
11052         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11053         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11054         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11055         (feraiseexcept): Do not use BP_SYM in versioned symbols.
11056         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11057         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11058         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11059         <bp-sym.h>.
11060         (__libc_start_main): Do not use BP_SYM.
11062 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11065         redundant return line.
11066         (norm): Likewise.
11067         (denorm): Likewise.
11068         (dbl_mp): Likewise.
11069         (sub_magnitudes): Likewise.
11070         (__add): Likewise.
11071         (__sub): Likewise.
11072         (__mul): Likewise.
11073         (__inv): Likewise.
11074         (__dvd): Likewise.
11075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11076         (norm): Likewise.
11077         (denorm): Likewise.
11078         (dbl_mp): Likewise.
11079         (sub_magnitudes): Likewise.
11080         (__add): Likewise.
11081         (__sub): Likewise.
11082         (__mul): Likewise.
11083         (__inv): Likewise.
11084         (__dvd): Likewise.
11086         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11087         instead of __mul.
11088         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11089         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11090         (cc32): Likewise.
11092         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11093         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11094         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11095         of __mul for squares.
11096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11097         function
11098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11099         Likewise.
11100         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11101         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11103 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
11105         [BZ #13550]
11106         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11107         code.
11108         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11109         prototype or function definition.  Rename ubp_* variables and
11110         parameters.  Remove argv definitions conditional on
11111         [__BOUNDED_POINTERS__].
11112         * debug/backtrace.c (__backtrace): Do not use __unbounded.
11113         * elf/dl-runtime.c (_dl_fixup): Likewise.
11114         * include/set-hooks.h (RUN_HOOK): Likewise.
11115         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11116         definition.
11117         * string/strcpy.c (strcpy): Do not use __unbounded.
11118         * sysdeps/generic/frame.h (struct layout): Likewise.
11119         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11120         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11121         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11122         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11123         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11124         (__backtrace): Likewise.
11125         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11126         use __ptrvalue.
11127         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11128         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11129         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11130         Likewise.
11131         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11132         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11133         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11134         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11135         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11136         Do not use __unbounded.
11137         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11138         Rename __unboundedrlimits parameter to rlimits in prototype.
11139         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11140         Do not use __unbounded.
11141         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11142         not use __ptrvalue.
11143         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11144         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11145         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11146         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11147         __ptrvalue or __unbounded.
11148         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11149         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11150         use __unbounded.
11151         (__new_msgctl): Do not use __ptrvalue.
11152         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11153         __unbounded.
11154         (__libc_msgrcv): Do not use __ptrvalue.
11155         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11156         startup_info): Do not use __unbounded.
11157         (__libc_start_main): Likewise.  Rename ubp_* variables and
11158         parameters.  Remove argv definitions conditional on
11159         [__BOUNDED_POINTERS__].
11160         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11161         __ptrvalue.
11162         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11163         use __unbounded.
11164         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11165         or __ptrvalue.
11166         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11167         use __unbounded.
11168         (__new_shmctl): Do not use __ptrvalue.
11169         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11170         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11171         Likewise.
11172         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11173         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11174         (__libc_sigaction): Likewise.
11175         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11176         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11177         Likewise.
11178         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11180 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
11182         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11184         * string/mempcpy.c: Implement by calling memcpy.
11186 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11190         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11191         evaluation.
11193         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11194         values in the mantissa.
11196         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11197         minimize writes to Z.
11198         (sub_magnitudes): Simplify code a bit.
11200 2013-02-12  Roland McGrath  <roland@hack.frob.com>
11202         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11203         from the message.  The linker prefixes all warnings with that already.
11205 2013-02-12  Andreas Schwab  <schwab@suse.de>
11207         [BZ #15078]
11208         * posix/regexec.c (extend_buffers): Add parameter min_len.
11209         (check_matching): Pass minimum needed length.
11210         (clean_state_log_if_needed): Likewise.
11211         (get_subexp): Likewise.
11212         * posix/Makefile (tests): Add bug-regex34.
11213         (bug-regex34-ENV): Define.
11214         * posix/bug-regex34.c: New file.
11216         [BZ #11561]
11217         * posix/regcomp.c (parse_bracket_exp): When looking up collating
11218         elements compare against the byte sequence of it, not its name.
11219         * posix/Makefile (tests): Add bug-regex35.
11220         (bug-regex35-ENV): Define.
11221         * posix/bug-regex35.c: New file.
11223 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11225         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
11226         comment.
11227         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11228         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11229         (CHECK_EOL): Add undef.
11231 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
11233         * bits/stdlib-bsearch.h: New file.
11234         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11235         * stdlib/stdlib.h: Likewise.
11237 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11239         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11240         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11241         declaration.
11242         * manual/search.texi (Array Search Function): Add missing const in
11243         lfind prototype.
11244         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11245         declaration to use rlim_t.
11246         (Basic Scheduling Functions): Remove erroneous const from
11247         sched_getparam prototype.  Remove erroneous * from
11248         sched_get_priority_max and sched_get_priority_min prototypes.
11249         (Resource Usage): Fix summary @comment on vtimes to refer to
11250         sys/vtimes.h rather than vtimes.h.
11251         Add missing *s in vtimes prototype.
11252         (Limits on Resources): Fix ulimit prototype to return long int.
11253         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11254         prototypes to use long int rather than double.
11255         (BSD Random): Fix initstate and setstate to use char *, not void *.
11256         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11257         prototype to make second argument 'struct aiocb64 *const[]'.
11258         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11259         (Status of AIO Operations): Remove erroneous const in aio_return and
11260         aio_return64 prototypes.
11261         (Synchronizing I/O): Fix sync prototype to return void.
11262         * manual/startup.texi (Suboptions): Remove an erroneous const in
11263         getsubopt prototype.
11264         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11265         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11266         use size_t rather than int.
11267         (Scanning All Users): Likewise for getpwent_r.
11268         (Setting Groups): Add missing const to setgroups prototype.
11269         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11270         * manual/socket.texi (Host Names): Fix gethostbyaddr and
11271         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11272         'const void *' rather than 'const char *'.
11273         (Host Address Functions): Likewise for inet_ntop.
11274         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11275         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11276         ssize_t for return value.
11277         (Sending Data): Likewise for send, sendto, sendmsg.
11278         (Socket Option Functions): Add a missing const in setsockopt prototype.
11279         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11280         use wchar_t for the argument.
11281         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11282         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11283         take no arguments.
11284         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11285         double/float/long double for second argument.
11286         Fix return types of significand, significandf, significandl.
11287         * manual/filesys.texi (Setting Permissions): Use mode_t for second
11288         argument in fchmod prototype.
11289         (File Owner): Use uid_t and gid_t in fchown prototype.
11290         (File Times): Add const to utimes, futimes, and lutimes prototypes.
11291         (Making Special Files): Use mode_t and dev_t in mknod prototype.
11292         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11293         use 'const struct dirent **' as argument types to CMP function pointer
11294         argument.
11295         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11296         (File Times): Fix summary magic @comment for struct utimbuf and utime
11297         to refer to utime.h, not time.h.
11298         * manual/string.texi (Argz Functions): Add missing const in
11299         argz_extract and argz_next prototypes.
11300         (Finding Tokens in a String): Likewise for basename.
11301         (String/Array Comparison): Fix typo in wcscasecmp prototype.
11302         (Copying and Concatenation): Fix typo in wmemmove prototype.
11303         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11304         (Signal Stack): Remove erroneous const in sigstack prototype.
11305         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11306         prototype.
11307         (Simple Calendar Time): Likewise for stime.
11308         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11309         prototype.
11310         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11311         say sys/sysctl.h instead.
11312         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11313         and vsyslog prototypes.
11315 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11317         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11318         Remove.
11320 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11322         * misc/sys/mman.h: Fix typo in mremap comment.
11324 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11326         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11327         the '\0' terminator.
11329 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11331         [BZ #13550]
11332         * debug/segfault.c: Don't include <bp-checks.h>.
11333         * sysdeps/generic/bp-checks.h: Remove file.
11334         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11335         (__GETDENTS): Don't use CHECK_N.
11336         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11337         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11338         (__getgroups): Don't use CHECK_N.
11339         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11340         (setgroups): Don't use CHECK_N.
11341         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11342         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11343         (__libc_msgrcv): Don't use CHECK_N.
11344         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11345         (__libc_msgsnd): Don't use CHECK_N.
11346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11347         <bp-checks.h>.
11348         (__libc_pread): Don't use CHECK_N.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11350         include <bp-checks.h>.
11351         (__libc_pread64): Don't use CHECK_N.
11352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11353         include <bp-checks.h>.
11354         (__libc_pwrite): Don't use CHECK_N.
11355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11356         include <bp-checks.h>.
11357         (__libc_pwrite64): Don't use CHECK_N.
11358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11359         <bp-checks.h>.
11360         (__libc_pread): Don't use CHECK_N.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11362         include <bp-checks.h>.
11363         (__libc_pread64): Don't use CHECK_N.
11364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11365         include <bp-checks.h>.
11366         (__libc_pwrite): Don't use CHECK_N.
11367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11368         include <bp-checks.h>.
11369         (__libc_pwrite64): Don't use CHECK_N.
11370         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11371         (do_pread): Don't use CHECK_N.
11372         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11373         (do_pread64): Don't use CHECK_N.
11374         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11375         (do_pwrite): Don't use CHECK_N.
11376         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11377         (do_pwrite64): Don't use CHECK_N.
11378         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11379         (__libc_readv): Don't use CHECK_N.
11380         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11381         (semop): Don't use CHECK_N.
11382         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11383         <bp-checks.h>.
11384         (semtimedop): Don't use CHECK_N.
11385         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11386         (__libc_pread): Don't use CHECK_N.
11387         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11388         <bp-checks.h>.
11389         (__libc_pread64): Don't use CHECK_N.
11390         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11391         <bp-checks.h>.
11392         (__libc_pwrite): Don't use CHECK_N.
11393         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11394         <bp-checks.h>.
11395         (__libc_pwrite64): Don't use CHECK_N.
11396         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11397         <bp-checks.h>.
11398         (__libc_msgrcv): Don't use CHECK_N.
11399         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11400         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
11401         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11402         (__libc_writev): Don't use CHECK_N.
11404 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11406         * string/strcpy.c: Removed unused variable.
11408         * Makeconfig (+sysdep-includes): Define with := rather than =.
11409         Use an existing include/ subdir of each sysdeps dir before it.
11411 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11413         * nscd/connection.c (register_traced_file): Comment function.
11414         [HAVE_INOTIFY] (union __inev): Define.
11415         [HAVE_INOTIFY] (inotify_check_files): New function.
11416         [HAVE_INOTIFY] (clear_db_cache): Likewise.
11417         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11418         clear_db_cache.
11419         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11421 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11423         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11424         loaded if not already and that a failure is permanent.
11426 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11428         [BZ #15006]
11429         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11430         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11432 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11434         [BZ #13550]
11435         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11436         (CHECK_1_NULL_OK): Likewise.
11437         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11438         (__fxstat): Do not use CHECK_1.
11439         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11440         <bp-checks.h>.
11441         (___fxstat64): Do not use CHECK_1.
11442         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11443         <bp-checks.h>.
11444         (__fxstatat): Do not use CHECK_1.
11445         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11446         <bp-checks.h>.
11447         (__fxstatat64): Do not use CHECK_1.
11448         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11449         <bp-checks.h>.
11450         (__fxstat): Do not use CHECK_1.
11451         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11452         <bp-checks.h>.
11453         (__fxstatat): Do not use CHECK_1.
11454         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11455         <bp-checks.h>.
11456         (__getresgid): Do not use CHECK_1.
11457         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11458         <bp-checks.h>.
11459         (__getresuid): Do not use CHECK_1.
11460         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11461         <bp-checks.h>.
11462         (__lxstat): Do not use CHECK_1.
11463         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11464         <bp-checks.h>.
11465         (__old_msgctl): Do not use CHECK_1.
11466         (__new_msgctl): Likewise.
11467         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11468         <bp-checks.h>.
11469         (__new_setrlimit): Do not use CHECK_1.
11470         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11471         <bp-checks.h>.
11472         (__old_shmctl): Do not use CHECK_1.
11473         (__new_shmctl): Likewise.
11474         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11475         <bp-checks.h>.
11476         (__xstat): Do not use CHECK_1.
11477         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11478         (__lxstat): Do not use CHECK_1.
11479         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11480         <bp-checks.h>.
11481         (___lxstat64): Do not use CHECK_1.
11482         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11483         (__old_msgctl): Do not use CHECK_1.
11484         (__new_msgctl): Likewise.
11485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11486         <bp-checks.h>.
11487         (__gettimeofday): Do not use CHECK_1.
11488         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11489         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11490         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11491         <bp-checks.h>.
11492         (__gettimeofday): Do not use CHECK_1.
11493         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11494         (__old_shmctl): Do not use CHECK_1_NULL_OK.
11495         (__new_shmctl): Do not use CHECK_1.
11496         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11497         <bp-checks.h>.
11498         (do_sigtimedwait): Do not use CHECK_1.
11499         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11500         <bp-checks.h>.
11501         (do_sigwaitinfo): Do not use CHECK_1.
11502         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11503         <bp-checks.h>.
11504         (msgctl): Do not use CHECK_1.
11505         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11506         <bp-checks.h>.
11507         (shmctl): Do not use CHECK_1.
11508         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11509         (ustat): Do not use CHECK_1.
11510         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11511         <bp-checks.h>.
11512         (__fxstat): Do not use CHECK_1.
11513         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11514         <bp-checks.h>.
11515         (__fxstatat): Do not use CHECK_1.
11516         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11517         <bp-checks.h>.
11518         (__lxstat): Do not use CHECK_1.
11519         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11520         <bp-checks.h>.
11521         (__xstat): Do not use CHECK_1.
11522         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11523         (__xstat): Do not use CHECK_1.
11524         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11525         (___xstat64): Do not use CHECK_1.
11527         [BZ #13550]
11528         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11529         definitions.
11530         (CHECK_BOUNDS_HIGH): Likewise.
11531         * string/strcpy.c: Do not include <bp-checks.h>.
11532         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11534 2013-02-07  Roland McGrath  <roland@hack.frob.com>
11536         * nscd/nscd-client.h (__nscd_drop_map_ref):
11537         Add __attribute__ ((unused)).
11538         * nis/nss-nisplus.h (niserr2nss): Likewise.
11540         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11541         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11543         * csu/libc-tls.c (init_static_tls, init_slotinfo):
11544         Remove inline keyword.
11545         * include/rounding-mode.h (round_away): Likewise.
11546         * libio/wfileops.c (adjust_wide_data): Likewise.
11547         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11548         (__m128i_strloadu_tolower): Likewise.
11549         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11550         (__m128i_strloadu_tolower): Likewise.
11551         * time/mktime.c (ydhms_diff): Likewise.
11552         * locale/elem-hash.h (elem_hash): Likewise.
11553         * locale/setlocale.c (setdata): Likewise.
11554         * posix/regex_internal.h (re_string_char_size_at): Likewise.
11555         (re_string_wchar_at): Likewise.
11556         (bitset_not, bitset_merge, bitset_mask): Likewise.
11557         [!(__GNUC__ > 3)] (inline): Remove macro.
11558         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11559         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11560         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11561         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11562         * string/memcmp.c (memcmp_bytes): Likewise.
11563         * locale/programs/locarchive.c (compute_hashval): Likewise.
11564         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11565         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11566         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11567         * nss/getent.c (print_rpc, print_protocols): Likewise.
11568         (print_passwd, print_group, print_aliases): Likewise.
11569         * nis/nss-nisplus.h (niserr2nss): Likewise.
11570         * nscd/connections.c (restart_p): Likewise.
11571         Change return type to bool.
11573 2013-02-05  Roland McGrath  <roland@hack.frob.com>
11575         * Makeconfig (all-Depend-files): Add existing
11576         $(sorted-subdirs:=/Depend) files.
11577         (all-subdirs): Remove nss.
11578         * sysdeps/unix/inet/Subdirs: Add it here instead.
11579         * hesiod/Depend: New file.
11581         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11582         instead of calling alloca.
11584         * io/lseek.c (__lseek): Rename to __libc_lseek.
11585         Define __lseek as an alias.
11587         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11589 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
11591         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11592         else clause and remove check for non-standard endianness.
11594 2013-02-04  David S. Miller  <davem@davemloft.net>
11596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11598 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
11600         [BZ #13550]
11601         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11602         (__ubp_memchr): Remove prototype.
11603         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11604         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11605         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11606         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11607         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11608         Remove alias.
11609         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11610         (__ubp_memchr): Likewise.
11611         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11612         (__ubp_memchr): Likewise.
11613         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11614         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11615         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11616         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11617         CHECK_STRING.
11618         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11619         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11620         (__getcwd): Do not use CHECK_STRING.
11621         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11622         <bp-checks.h>.
11623         (__real_chown): Do not use CHECK_STRING.
11624         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11625         <bp-checks.h>.
11626         (fchownat): Do not use CHECK_STRING.
11627         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11628         CHECK_STRING.
11629         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11630         <bp-checks.h>.
11631         (__lchown): Do not use CHECK_STRING.
11632         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11633         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11634         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11635         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11637         include <bp-checks.h>.
11638         (truncate64): Do not use CHECK_STRING.
11639         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11640         <bp-checks.h>.
11641         (__real_chown): Do not use CHECK_STRING.
11642         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11643         <bp-checks.h>.
11644         (__lchown): Do not use CHECK_STRING.
11645         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11646         <bp-checks.h>.
11647         (__chown): Do not use CHECK_STRING.
11648         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11649         <bp-checks.h>.
11650         (truncate64): Do not use CHECK_STRING.
11651         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11652         Likewise.
11653         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11654         (__xmknod): Do not use CHECK_STRING.
11655         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11656         <bp-checks.h>.
11657         (__xmknodat): Do not use CHECK_STRING.
11658         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11659         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11661 2013-02-04  Andreas Schwab  <schwab@suse.de>
11663         [BZ #14142]
11664         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11665         * include/netdb.h: Likewise for h_errno.
11666         * elf/tst-stackguard1.c: Include <tls.h>.
11668 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11670         * elf/link.h (struct link_map): Extend the l_addr comment.
11671         * include/link.h (struct link_map): Likewise.
11673 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
11675         [BZ #13550]
11676         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11677         (BOUNDED_1): Remove macro.
11678         * debug/backtrace.c: Don't include <bp-checks.h>.
11679         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11680         (__backtrace): Likewise.
11681         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11682         <bp-checks.h>.
11683         (__backtrace): Don't use BOUNDED_1.
11684         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11685         <bp-checks.h>.
11686         (__backtrace): Don't use BOUNDED_1.
11687         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11688         (__backtrace): Don't use BOUNDED_1.
11689         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11690         (shmat): Don't use BOUNDED_N.
11692 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
11694         [BZ #13550]
11695         * sysdeps/generic/bp-start.h: Remove file.
11696         * csu/libc-start.c: Don't include <bp-start.h>.
11697         (LIBC_START_MAIN): Set up __environ directly instead of using
11698         INIT_ARGV_and_ENVIRON.
11699         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11700         <bp-start.h>.
11702         [BZ #13550]
11703         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11704         definitions.
11705         (CHECK_FCNTL): Likewise.
11706         (CHECK_N_PAGES): Likewise.
11708         [BZ #13550]
11709         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11710         definitions.
11711         (CHECK_SIGSET_NULL_OK): Likewise.
11712         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11713         <bp-checks.h>.
11714         (sigpending): Don't use CHECK_SIGSET.
11715         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11716         <bp-checks.h>.
11717         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11718         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11719         <bp-checks.h>.
11720         (do_sigsuspend): Don't use CHECK_SIGSET.
11721         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11722         use CHECK_SIGSET.
11723         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11724         (do_sigwait): Don't use CHECK_SIGSET.
11725         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11726         use CHECK_SIGSET.
11727         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11728         include <bp-checks.h>.
11729         (sigpending): Don't use CHECK_SIGSET.
11730         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11731         include <bp-checks.h>.
11732         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11733         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11734         <bp-checks.h>.
11735         (sigpending): Don't use CHECK_SIGSET.
11736         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11737         <bp-checks.h>.
11738         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11740         [BZ #13550]
11741         * sysdeps/generic/bp-semctl.h: Remove file.
11742         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11743         <bp-checks.h> and <bp-semctl.h>.
11744         (__old_semctl): Don't use CHECK_SEMCTL.
11745         (__new_semctl): Likewise.
11746         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11747         and <bp-semctl.h>.
11748         (__old_semctl): Don't use CHECK_SEMCTL.
11749         (__new_semctl): Likewise.
11750         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11751         <bp-checks.h> and <bp-semctl.h>.
11752         (__old_semctl): Don't use CHECK_SEMCTL.
11753         (__new_semctl): Likewise.
11754         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11755         <bp-checks.h> and <bp-semctl.h>.
11756         (semctl): Don't use CHECK_SEMCTL.
11758         [BZ #13550]
11759         * Makerules (elide-bp-thunks): Remove variable.
11760         (elide-routines.oS): Don't use $(elide-bp-thunks).
11761         (elide-routines.os): Likewise.
11762         (elide-routines.o): Likewise.
11763         (elide-routines.op): Likewise.
11764         (elide-routines.og): Likewise.
11765         (objects): Don't use $(bp-thunks).
11766         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11767         include.
11768         (common-generated): Do not add s-proto-bp.d.
11769         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11770         (int): Likewise.
11771         (typ): Likewise.
11772         Do not generate makefile rules for bounded-pointer thunks.
11773         * sysdeps/generic/bp-thunks.h: Remove file.
11774         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11775         * sysdeps/unix/s-proto-bp.S: Likewise.
11777         [BZ #15062]
11778         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11779         parts of result separately when argument is not close to line from
11780         -i to i and one part of argument is small.
11781         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11782         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11783         * math/libm-test.inc (cacos_test): Add more tests.
11784         (casin_test): Likewise.
11785         (casinh_test): Likewise.
11786         * sysdeps/i386/fpu/libm-test-ulps: Update.
11787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11789 2013-01-31  David S. Miller  <davem@davemloft.net>
11791         * po/de.po: Update from translation team.
11793 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
11795         * time/tzfile.c: Include stdint.h for SIZE_MAX.
11797 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
11799         * configure.in (_AC_PROG_CC_C89): New definition.
11800         * configure: Regenerate.
11802         * configure.in (AC_PROG_CPP): New definition.
11803         * configure: Regenerate.
11805 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11807         * debug/tst-backtrace.h: New file.
11808         * debug/tst-backtrace2.c: Include tst-backtrace.h.
11809         (ret): Remove variable.
11810         (x): Likewise.
11811         (FAIL): Remove macro.
11812         (NO_INLINE): Likewise.
11813         (fn1): Use match function instead of strstr.
11814         * debug/tst-backtrace3.c: Include tst-backtrace.h.
11815         (ret): Remove variable.
11816         (x): Likewise.
11817         (FAIL): Remove macro.
11818         (NO_INLINE): Likewise.
11819         (fn): Use match function instead of strstr.
11820         * debug/tst-backtrace4.c: Include tst-backtrace.h.
11821         (ret): Remove variable.
11822         (x): Likewise.
11823         (FAIL): Remove macro.
11824         (NO_INLINE): Likewise.
11825         (handle_signal): Use match function instead of strstr.
11826         * debug/tst-backtrace5.c: Include tst-backtrace.h.
11827         (ret): Remove variable.
11828         (x): Likewise.
11829         (FAIL): Remove macro.
11830         (NO_INLINE): Likewise.
11831         (handle_signal): Use match function instead of strstr.
11833 2013-01-23  Roland McGrath  <roland@hack.frob.com>
11835         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11837 2013-01-23  David S. Miller  <davem@davemloft.net>
11839         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11840         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11841         argument of CAS if possible.
11842         * sysdeps/sparc/sparc64/bits/atomic.h
11843         (__arch_compare_and_exchange_val_32_acq): Likewise.
11844         (__arch_compare_and_exchange_val_64_acq): Likewise.
11846 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
11848         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11849         * sysdeps/posix/ulimit.c: ... this.
11850         Include <limits.h>.
11851         * sysdeps/unix/bsd/ulimit.c: Remove file.
11853 2013-01-23  Adam Conrad  <adconrad@0c3.net>
11855         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11856         (LDFLAGS-tst-array5): Likewise.
11858 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11860         [BZ #15036]
11861         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11862         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11863         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11864         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11866 2013-01-21  David S. Miller  <davem@davemloft.net>
11868         * sysdeps/sparc/backtrace.c: New file.
11869         * sysdeps/sparc/sparc32/backtrace.h: New file.
11870         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11871         * sysdeps/sparc/sparc64/backtrace.h: New file.
11872         * sysdeps/sparc/sparc64/backtrace.c: Delete.
11873         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11874         -funwind-tables.
11876 2013-01-21  Andreas Schwab  <schwab@suse.de>
11878         [BZ #15020]
11879         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11880         closed its stdout.
11882 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
11884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11885         "mpa2.h".
11886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11888 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
11889             Mark Mitchell  <mark@codesourcery.com>
11890             Tom de Vries  <tom@codesourcery.com>
11891             Paul Pluzhnikov  <ppluzhnikov@google.com>
11893         * debug/tst-backtrace2.c: New file.
11894         * debug/tst-backtrace3.c: Likewise.
11895         * debug/tst-backtrace4.c: Likewise.
11896         * debug/tst-backtrace5.c: Likewise.
11897         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11898         (CFLAGS-tst-backtrace3.c): Likewise.
11899         (CFLAGS-tst-backtrace4.c): Likewise.
11900         (CFLAGS-tst-backtrace5.c): Likewise.
11901         (LDFLAGS-tst-backtrace2): Likewise.
11902         (LDFLAGS-tst-backtrace3): Likewise.
11903         (LDFLAGS-tst-backtrace4): Likewise.
11904         (LDFLAGS-tst-backtrace5): Likewise.
11905         (tests): Add new tests tst-backtrace2, tst-backtrace3,
11906         tst-backtrace4 and tst-backtrace5.
11908 2013-01-18  Anton Blanchard  <anton@samba.org>
11909             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11911         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11912         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11913         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11914         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11916         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11917         "+r" and remove output regs list as redundant.  Add explicit inline
11918         asm to specify register of return val to work around compiler codegen
11919         bug.  Remove (int) cast on return value.  Add return type parameter to
11920         use in macro so that this macro does not truncate return value for
11921         64-bit values.
11922         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11923         pass to INTERNAL_VSYSCALL_NCS.
11924         (INLINE_VSYSCALL): Add 'long int' as return type to
11925         INTERNAL_VSYSCALL_NCS macro invocation.
11926         (INTERNAL_VSYSCALL): Add 'long int' as return type to
11927         INTERNAL_VSYSCALL_NCS macro invocation.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11930 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11932         [BZ #14496]
11933         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11934         Fix application of SIMD FP exception mask.
11936         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11937         mp_no from a power of two.
11938         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11939         __mpexp_twomm1.  Use __pow_mp.
11941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11942         multiplication.
11944 2013-01-17  David S. Miller  <davem@davemloft.net>
11946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11948 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11950         [BZ #15023]
11951         * include/complex.h: Condition contents on [!_COMPLEX_H].
11952         (__kernel_casinhf): New prototype.
11953         (__kernel_casinh): Likewise.
11954         (__kernel_casinhl): Likewise.
11955         * math/Makefile (libm_calls): Add k_casinh.
11956         * math/k_casinh.c: New file.
11957         * math/k_casinhf.c: Likewise.
11958         * math/k_casinhl.c: Likewise.
11959         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11960         finite nonzero arguments.
11961         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11962         finite nonzero arguments.
11963         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11964         finite nonzero arguments.
11965         * math/s_casinh.c: Do not include <float.h>.
11966         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11967         * math/s_casinhf.c: Do not include <float.h>.
11968         (__casinhf): Move code for finite nonzero arguments to
11969         k_casinhf.c.
11970         * math/s_casinhl.c: Do not include <float.h>.
11971         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11972         redefine.
11973         (__casinhl): Move code for finite nonzero arguments to
11974         k_casinhl.c.
11975         * math/libm-test.inc (cacos_test): Add more tests.
11976         * sysdeps/i386/fpu/libm-test-ulps: Update.
11977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11979 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
11981         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11982         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11983         [!HAVE_MREMAP]: Remove [defined linux] case.
11984         * malloc/arena.c: Do not include <malloc-sysdep.h>.
11986 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11988         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11990 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
11992         * elf/elf.h (R_386_SIZE32): New relocation.
11993         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11994         R_386_SIZE32.
11995         (elf_machine_rela): Likewise.
11996         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11997         R_X86_64_SIZE64 and R_X86_64_SIZE32.
11999 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12001         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12002         (FP_FAST_FMA): Do not define.
12003         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12004         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12005         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12006         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12007         !_SOFT_FLOAT]: Likewise.
12008         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12009         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12010         value.
12011         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12012         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12013         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12014         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12015         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12016         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12017         file.
12019 2013-01-16  Andreas Schwab  <schwab@suse.de>
12021         [BZ #14327]
12022         * include/stdlib.h (__mktemp): Add declaration.
12023         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12024         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12026 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12028         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12029         definitions.
12030         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12031         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12032         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12033         definitions here.
12034         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12035         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12036         definitions.
12037         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12038         and ONE.
12039         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12040         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12041         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12042         definitions.
12043         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12044         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12045         definitions.
12046         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12048         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12050 2013-01-15  David S. Miller  <davem@davemloft.net>
12052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12053         trunc{,f} to libm-sysdep_routes.
12054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12056         file.
12057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12059         file.
12060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12061         file.
12062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12064         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12065         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12066         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12067         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12068         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12069         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12072         nearbyint{,f} to libm-sysdep_routes.
12073         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12075         New file.
12076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12077         file.
12078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12079         New file.
12080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12081         file.
12082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12084         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12085         file.
12086         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12087         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12088         file.
12089         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12090         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12091         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12093         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12094         libc_feholdexcept and libc_fesetenv.
12096 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
12098         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12100 2013-01-14  David S. Miller  <davem@davemloft.net>
12102         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12103         (SPARC_ASM_VIS2_IFUNC): Likewise.
12104         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12106         use of 'siam' instruction.
12107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12108         Likewise.
12109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12110         Likewise.
12111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12112         Likewise.
12113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12118         file.
12119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12120         file.
12121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12122         file.
12123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12124         file.
12125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12130         new VIS2 routines.
12131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12134         Likewise.
12135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12137         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12140         routines to libm-sysdep_routines.
12141         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12144         fdim/fdimf to libm-sysdep_routines.
12145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12146         file.
12147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12149         file.
12150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12153         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12154         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12155         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12156         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12158 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12160         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12161         to optimize copies.
12163         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12168         local variable MPTWO.
12169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12170         Likewise.
12172 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12174         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12175         GLOB_NOESCAPE.
12177 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12179         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12181 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12183         * manual/pattern.texi (glob_t): Document gl_flags.
12184         (glob64_t): Likewise.
12186 2013-01-11  David S. Miller  <davem@davemloft.net>
12188         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12189         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12190         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
12191         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12192         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12193         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12194         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12195         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12196         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12197         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12198         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12199         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12200         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12202         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12203         sparc V9 rather than using V8 code.
12204         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12205         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12207         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12208         Move to...
12209         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12210         Here.
12212 2013-01-11  Roland McGrath  <roland@hack.frob.com>
12214         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12215         not in the main loop.
12216         * configure: Regenerated.
12218 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
12220         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12221         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12222         to just #else.
12223         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
12224         [!__GLIBC_HAVE_LONG_LONG] case.
12225         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12226         condition to just #else.
12227         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12228         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12229         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12230         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12231         unconditional.
12232         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12233         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12234         #elif condition to just #else.
12235         * sysdeps/unix/sysv/linux/sys/sysmacros.h
12236         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12237         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12238         #elif condition to just #else.
12240 2013-01-11  Steve Ellcey  <sellcey@mips.com>
12242         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12243         (EF_MIPS_ARCH_64): Fix value.
12244         (EF_MIPS_ARCH_32R2): New.
12245         (EF_MIPS_ARCH_64R2): New.
12247 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
12249         * Makeconfig (+link-pie-before-libc): New.
12250         (+link-pie-after-libc): Likewise.
12251         (+link-pie-tests): Likewise.
12252         (+link-pie): Rewritten.
12253         (link-before-libc): Remove $(config-LDFLAGS).
12254         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12255         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12256         (config-LDFLAGS): Renamed to ...
12257         (rtld-LDFLAGS): This.
12258         (rtld-tests-LDFLAGS): New macro.
12259         (link-libc-rpath-link): Likewise.
12260         (link-libc-tests-rpath-link): Likewise.
12261         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12262         (link-libc): Prepand $(link-libc-rpath-link).
12263         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12264         (test-program-prefix): New macro.
12265         (test-via-rtld-prefix): Likewise.
12266         (test-program-cmd): Likewise.
12267         (host-test-program-cmd): Likewise.
12268         * Makefile ($(common-objpfx)testrun.sh): Replace
12269         $(run-program-prefix) with $(test-program-prefix).
12270         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12271         $(rtld-LDFLAGS).
12272         ($(common-objpfx)shlib.lds): Likewise.
12273         (build-module-helper): Likewise.
12274         ($(common-objpfx)format.lds): Likewise.
12275         * Rules (binaries-pie-tests): New.
12276         (binaries-pie-notests): Likewise.
12277         (binaries-pie): Rewritten.
12278         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12279         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12280         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12281         (make-test-out): Replace $(host-built-program-cmd) with
12282         $(host-test-program-cmd).
12283         * config.make.in (build-hardcoded-path-in-tests): New variable.
12284         * configure.in (--enable-hardcoded-path-in-tests): New configure
12285         option.
12286         (hardcoded_path_in_tests): New AC_SUBST.
12287         * configure: Regenerated.
12288         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12289         $(built-program-cmd) with $(test-program-cmd).
12290         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12291         (test_program_cmd): This.
12292         * elf/Makefile ($(objpfx)order.out): Run test with
12293         $(test-program-prefix).
12294         ($(objpfx)order2.out): Likewise.
12295         ($(objpfx)tst-initorder.out): Likewise.
12296         ($(objpfx)tst-initorder2.out): Likewise.
12297         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12298         $(test-program-cmd).
12299         ($(objpfx)tst-array1-static.out): Likewise.
12300         ($(objpfx)tst-array2.out): Likewise.
12301         ($(objpfx)tst-array3.out): Likewise.
12302         ($(objpfx)tst-array4.out): Likewise.
12303         ($(objpfx)tst-array5.out): Likewise.
12304         ($(objpfx)tst-array5-static.out): Likewise.
12305         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12306         $(test-program-cmd).
12307         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12308         $(run-program-prefix) with $(test-program-prefix).
12309         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12310         (test_program_prefix): This.
12311         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12312         $(run-program-prefix) with $(test-program-prefix).
12313         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12314         (test_program_prefix): This.
12315         * iconvdata/tst-tables.sh: Likewise.
12316         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12317         $(run-program-prefix) with $(test-program-prefix).
12318         ($(objpfx)tst-translit.out): Likewise.
12319         ($(objpfx)tst-gettext2.out): Likewise.
12320         ($(objpfx)tst-gettext4.out): Likewise.
12321         ($(objpfx)tst-gettext6.out): Likewise.
12322         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12323         (test_program_prefix): This.
12324         * intl/tst-gettext2.sh: Likewise.
12325         * intl/tst-gettext4.sh  Likewise.
12326         * intl/tst-gettext6.sh: Likewise.
12327         * intl/tst-translit.sh: Likewise.
12328         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12329         with $(test-program-cmd).
12330         * libio/Makefile ($(objpfx)test-freopen.out): Replace
12331         $(run-program-prefix) with $(test-program-prefix).
12332         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12333         (test_program_prefix): This.
12334         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12335         $(run-program-prefix) with $(test-program-prefix).
12336         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12337         (test_program_prefix): This.
12338         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12339         * posix/Makefile ($(objpfx)globtest.out): Replace
12340         $(run-via-rtld-prefix) and $(test-wrapper) with
12341         $(test-program-prefix) and $(test-via-rtld-prefix).
12342         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12343         $(test-program-prefix).
12344         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12345         $(host-test-program-cmd).
12346         (tst-spawn-ARGS): Likewise.
12347         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12348         $(test-program-prefix).
12349         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12350         (test_via_rtld_prefix): This.
12351         (test_wrapper): Renamed to ...
12352         (test_program_prefix): This.
12353         (run_program_prefix): Replaced by test_program_prefix.
12354         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12355         (test_program_prefix): This.
12356         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12357         with $(host-test-program-cmd).
12358         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12359         $(run-program-prefix) with $(test-program-prefix).
12360         ($(objpfx)tst-printf.out): Likewise.
12361         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12362         $(test-program-cmd).
12363         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12364         (test_program_prefix): This.
12365         * stdio-common/tst-unbputc.sh: Likewise.
12366         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12367         $(run-program-prefix) with $(test-program-prefix).
12368         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12369         (test_program_prefix): This.
12370         * string/Makefile ($(objpfx)tst-svc.out):  Replace
12371         $(built-program-cmd) with $(test-program-cmd).
12373 2013-01-11  Andreas Jaeger  <aj@suse.de>
12375         [BZ #15003]
12376         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12377         value. Sync with Linux 3.7.
12379 2013-01-10  David S. Miller  <davem@davemloft.net>
12381         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12382         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12383         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12385 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12387         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12388         never set.
12389         * configure: Regenerated.
12391 2013-01-10  David S. Miller  <davem@davemloft.net>
12393         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12394         sparc V9 rather than using V8 code.
12395         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12396         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12398 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12400         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12401         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12402         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12403         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12404         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12405         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12406         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12407         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12408         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12409         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12410         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12411         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12412         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12413         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12414         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12415         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12416         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12417         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12418         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12419         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12420         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12421         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12422         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12423         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12424         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12425         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12426         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12428 2013-01-10  David S. Miller  <davem@davemloft.net>
12430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12432 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12434         * posix/Makefile (tests-static): New variable.
12435         (tests): Add $(tests-static).
12436         (tst-exec-static-ARGS): New variable.
12437         (tst-spawn-static-ARGS): Likewise.
12438         * posix/tst-exec-static.c: New file.
12439         * posix/tst-spawn-static.c: Likewise.
12440         * posix/tst-exec.c: Support run directly.
12441         * posix/tst-spawn.c: Likewise.
12443 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
12445         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12446         long.
12447         * math/bits/mathcalls.h (llrint): Likewise.
12448         (llround): Likewise.
12449         * stdlib/stdlib.h (struct drand48_data): Likewise.
12450         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12451         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12452         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12453         Likewise.
12454         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12455         Likewise.
12456         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12457         (elf_greg_t): Likewise.
12458         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12459         (__jmp_buf): Likewise.
12460         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12461         definitions.
12462         (llrint): Likewise, for all definitions.
12463         (llrintl): Likewise.
12465         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12466         Remove [__GNUC__] condition.
12467         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12468         condition to just [__USE_ISOC99].
12469         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12471 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12473         [BZ #14200]
12474         * sysdeps/unix/sysv/linux/x86/bits/environments.h
12475         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12476         defined.
12477         (_POSIX_V6_ILP32_OFF32): Likewise.
12478         (_XBS5_ILP32_OFF32): Likewise.
12479         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12480         (__ILP32_OFFBIG_LDFLAGS): Likewise.
12482 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12484         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12486         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12487         doubles __mpexp_twomm1.  Adjust usage.
12488         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12489         Remove.
12491 2013-01-10  Andreas Schwab  <schwab@suse.de>
12493         [BZ #14964]
12494         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12495         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12497 2013-01-09  David S. Miller  <davem@davemloft.net>
12499         [BZ #15003]
12500         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12501         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12502         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12503         TCP_FASTOPEN): Define.
12504         (tcp_repair_opt): New structure.
12505         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12506         enum values.
12507         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12508         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12509         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12510         (tcp_cookie_transactions): New structure.
12512 2013-01-09  Anton Blanchard  <anton@samba.org>
12514         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12515         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12516         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12517         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12519 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
12521         * include/features.h (__USE_ANSI): Remove.
12523 2013-01-09  Roland McGrath  <roland@hack.frob.com>
12525         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12527         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12529 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12531         * sysdeps/s390/fpu/libm-test-ulps: Update.
12533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12535         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12536         (__acr): Likewise.
12537         (__cpy): Likewise.
12538         (norm): Likewise.
12539         (denorm): Likewise.
12540         (__mp_dbl): Likewise.
12541         (__dbl_mp): Likewise.
12542         (add_magnitudes): Likewise.
12543         (sub_magnitudes): Likewise.
12544         (__add): Likewise.
12545         (__sub): Likewise.
12546         (__mul): Likewise.
12547         (__inv): Likewise.
12548         (__dvd): Likewise.
12549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12550         (__acr): Likewise.
12551         (__cpy): Likewise.
12552         (norm): Likewise.
12553         (denorm): Likewise.
12554         (__mp_dbl): Likewise.
12555         (__dbl_mp): Likewise.
12556         (add_magnitudes): Likewise.
12557         (sub_magnitudes): Likewise.
12558         (__add): Likewise.
12559         (__sub): Likewise.
12560         (__mul): Likewise.
12561         (__inv): Likewise.
12562         (__dvd): Likewise.
12563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12564         (__acr): Likewise.
12565         (__cpy): Likewise.
12566         (norm): Likewise.
12567         (denorm): Likewise.
12568         (__mp_dbl): Likewise.
12569         (__dbl_mp): Likewise.
12570         (add_magnitudes): Likewise.
12571         (sub_magnitudes): Likewise.
12572         (__add): Likewise.
12573         (__sub): Likewise.
12574         (__mul): Likewise.
12575         (__inv): Likewise.
12576         (__dvd): Likewise.
12578 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
12580         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12581         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12582         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12583         2 && __USE_EXTERN_INLINES]: Likewise.
12585 2013-01-08  Andreas Jaeger  <aj@suse.de>
12587         [BZ# 14985]
12588         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12589         Remove.
12590         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12591         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12593 2013-01-07  Anton Blanchard  <anton@samba.org>
12595         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12596         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12597         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12598         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12599         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12600         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12601         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12602         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12604         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12605         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12606         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12607         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12608         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12609         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12610         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12611         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12612         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12613         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12614         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12615         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12616         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12617         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12618         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12619         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12620         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12621         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12622         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12623         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12624         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12625         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12627         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12628         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12629         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12630         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12633         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12634         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12635         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12636         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12637         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12639 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
12641         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12642         (__MALLOC_PMT): Likewise.
12643         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12644         [__GNUC__], only on [_LIBC].
12645         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12646         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12647         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12648         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12649         forward declaration.
12650         (realloc_hook_ini): Likewise.
12651         (memalign_hook_ini): Likewise.
12652         (__libc_memalign): Do not use __MALLOC_PMT in variable
12653         declaration.
12654         (__libc_valloc): Likewise.
12655         (__libc_pvalloc): Likewise.
12656         (__libc_calloc): Likewise.
12657         (__posix_memalign): Likewise.
12659         [BZ #14996]
12660         * math/s_casinh.c: Include <float.h>.
12661         (__casinh): Do not do computation with squaring and square root
12662         for large arguments.
12663         * math/s_casinhf.c: Include <float.h>.
12664         (__casinhf): Do not do computation with squaring and square root
12665         for large arguments.
12666         * math/s_casinhl.c: Include <float.h>.
12667         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12668         (__casinhl): Do not do computation with squaring and square root
12669         for large arguments.
12670         * math/libm-test.inc (casin_test): Add more tests.
12671         (casinh_test): Likewise.
12672         * sysdeps/i386/fpu/libm-test-ulps: Update.
12673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12675 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
12677         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12678         (__x86_64_raw_data_cache_size): Likewise.
12679         (__x86_64_data_cache_size_half): Likewise.
12680         (__x86_64_raw_data_cache_size_half): Likewise.
12681         (__x86_64_shared_cache_size): Likewise.
12682         (__x86_64_raw_shared_cache_size): Likewise.
12683         (__x86_64_shared_cache_size_half): Likewise.
12684         (__x86_64_raw_shared_cache_size_half): Likewise.
12685         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12686         to ...
12687         (__x86_data_cache_size): This.
12688         (__x86_64_raw_data_cache_size): Renamed to ...
12689         (__x86_raw_data_cache_size): This.
12690         (__x86_64_data_cache_size_half): Renamed to ...
12691         (__x86_data_cache_size_half): This.
12692         (__x86_64_raw_data_cache_size_half): Renamed to ...
12693         (__x86_raw_data_cache_size_half): This.
12694         (__x86_64_shared_cache_size): Renamed to ...
12695         (__x86_shared_cache_size): This.
12696         (__x86_64_raw_shared_cache_size): Renamed to ...
12697         (__x86_raw_shared_cache_size): This.
12698         (__x86_64_shared_cache_size_half): Renamed to ...
12699         (__x86_shared_cache_size_half): This.
12700         (__x86_64_raw_shared_cache_size_half): Renamed to ...
12701         (__x86_raw_shared_cache_size_half): This.
12702         * sysdeps/x86_64/memcpy.S: Updated.
12703         * sysdeps/x86_64/memset.S: Likewise.
12704         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12705         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12706         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12708 2013-01-04  David S. Miller  <davem@davemloft.net>
12710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12712 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
12714         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12715         1 to avoid redefinition warning.
12716         (__USE_GNU): Don't define.
12717         (init_signaling_nan): Protoize.
12719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12721 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12723         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12725         (__cpymn): Likewise.
12726         (norm): Remove commented code.
12727         (denorm): Likewise.
12728         (__mp_dbl): Likewise.
12729         (__inv): Likewise.
12730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12731         (__cpymn): Likewise.
12732         (norm): Remove commented code.
12733         (denorm): Likewise.
12734         (__mp_dbl): Likewise.
12735         (__inv): Likewise.
12737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12738         mp_no value for 1.0 and 2.0.
12739         (norm): Use RADIXI instead of radixi.d.
12740         (denorm): Likewise.
12741         (__mul): Use 0.0 instead of zero.d.
12742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12743         mp_no value for 1.0 and 2.0.
12744         (norm): Use RADIXI instead of radixi.d.
12745         (denorm): Likewise.
12746         (__mul): Use 0.0 instead of zero.d.
12748 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
12750         [BZ #14994]
12751         * math/s_casinh.c (__casinh): Reduce finite argument to first
12752         quadrant then set signs of results at the end.
12753         * math/s_casinhf.c (__casinhf): Likewise.
12754         * math/s_casinhl.c (__casinhl): Likewise.
12755         * math/libm-test.inc (casin_test): Add more tests.
12756         (casinh_test): Likewise.
12757         * sysdeps/i386/fpu/libm-test-ulps: Update.
12758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12760 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12762         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12764         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12766         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12767         declarations.
12768         (denorm): Likewise.
12769         (__mp_dbl): Likewise.
12770         (__inv): Likewise.
12772         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12773         and adjust the header comment.
12775         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12776         variable name from declaration.
12778 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
12780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12781         Initialize COMMON_CPUID_INDEX_7 element.
12782         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12783         (CPUID_RTM): Likewise.
12784         (HAS_RTM): Likewise.
12785         (COMMON_CPUID_INDEX_7): New enum.
12787 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
12789         [BZ #14981]
12790         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12791         size is zero, record memory as freed.
12793 2013-01-03  Andreas Jaeger  <aj@suse.de>
12795         * po/ia.po: Add new Interlingua translation.
12797 2012-01-03  Allan McRae  <allan@archlinux.org>
12799         * locale/programs/localedef.c: Fix description of '--posix' flag.
12801 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
12803         * NEWS: Update dates in second copyright notice.
12804         * README: Update copyright dates in example.
12805         * manual/libc.texinfo: Update copyright dates.
12806         * scripts/test-installation.pl: Update copyright date in --version
12807         output.
12809         * hurd/ctty-input.c: Fix copyright notice formatting.
12810         * hurd/ctty-output.c: Likewise.
12811         * hurd/dtable.c: Likewise.
12812         * hurd/hurd-raise.c: Likewise.
12813         * hurd/hurdprio.c: Likewise.
12814         * hurd/msgportdemux.c: Likewise.
12815         * misc/sys/file.h: Likewise.
12816         * misc/sys/ioctl.h: Likewise.
12817         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12818         * sysdeps/mach/hurd/chdir.c: Likewise.
12819         * sysdeps/mach/hurd/fchdir.c: Likewise.
12820         * sysdeps/mach/hurd/rename.c: Likewise.
12821         * sysdeps/mach/hurd/rmdir.c: Likewise.
12822         * sysdeps/mach/hurd/seekdir.c: Likewise.
12823         * sysdeps/mach/hurd/setsid.c: Likewise.
12824         * sysdeps/posix/wait3.c: Likewise.
12826         * All files with FSF copyright notices: Update copyright dates
12827         using scripts/update-copyrights.
12828         * intl/plural.c: Regenerated.
12829         * locale/programs/charmap-kw.h: Likewise.
12830         * locale/programs/locfile-kw.h: Likewise.
12832 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12834         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12835         four values.
12837         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12838         calculation loop and add branch prediction.
12840         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12841         check access beyond bounds of m1np.
12843         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12844         MPTWO.
12845         (__inv): Remove local variable MPTWO to use the global
12846         constant.
12847         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12848         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12849         variable MPTWO.
12850         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12851         MP3HALFS static const.
12853 2013-01-01  David S. Miller  <davem@davemloft.net>
12855         * po/ca.po: Update from translation team.
12857 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
12859         * scripts/update-copyrights: New file.
12860         * Makeconfig: Reformat copyright notice.
12861         * ctype/ctype.h: Likewise.
12862         * debug/swprintf_chk.c: Likewise.
12863         * elf/dl-cache.c: Likewise.
12864         * elf/dl-debug.c: Likewise.
12865         * elf/dl-object.c: Likewise.
12866         * grp/initgroups.c: Likewise.
12867         * hurd/Makefile: Likewise.
12868         * hurd/hurd/signal.h: Likewise.
12869         * hurd/hurdfault.c: Likewise.
12870         * hurd/hurdioctl.c: Likewise.
12871         * hurd/hurdlookup.c: Likewise.
12872         * hurd/intr-msg.c: Likewise.
12873         * iconv/gconv_open.c: Likewise.
12874         * libio/swprintf.c: Likewise.
12875         * locale/lc-ctype.c: Likewise.
12876         * locale/nl_langinfo.c: Likewise.
12877         * mach/Machrules: Likewise.
12878         * mach/Makefile: Likewise.
12879         * malloc/obstack.h: Likewise.
12880         * manual/Makefile: Likewise.
12881         * manual/tsort.awk: Likewise.
12882         * misc/bits/stab.def: Likewise.
12883         * nis/nis_print_group_entry.c: Likewise.
12884         * nis/nis_table.c: Likewise.
12885         * nis/nss_compat/compat-pwd.c: Likewise.
12886         * nis/nss_compat/compat-spwd.c: Likewise.
12887         * po/Makefile: Likewise.
12888         * posix/fnmatch.c: Likewise.
12889         * posix/regex.h: Likewise.
12890         * resolv/Makefile: Likewise.
12891         * resolv/nss_dns/dns-network.c: Likewise.
12892         * resolv/res_hconf.c: Likewise.
12893         * scripts/gen-sorted.awk: Likewise.
12894         * soft-fp/soft-fp.h: Likewise.
12895         * stdio-common/printf.h: Likewise.
12896         * stdlib/monetary.h: Likewise.
12897         * stdlib/random.c: Likewise.
12898         * stdlib/random_r.c: Likewise.
12899         * sysdeps/generic/Makefile: Likewise.
12900         * sysdeps/gnu/Makefile: Likewise.
12901         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12902         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12903         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12904         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12905         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12906         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12907         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12908         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12909         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12910         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12911         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12912         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12913         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12914         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12915         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12916         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12917         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12918         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12919         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12920         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12921         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12922         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12923         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12924         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12925         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12926         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12927         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12928         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12929         * sysdeps/mach/hurd/errnos.awk: Likewise.
12930         * sysdeps/mach/hurd/fork.c: Likewise.
12931         * sysdeps/mach/hurd/getcwd.c: Likewise.
12932         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12933         * sysdeps/mach/hurd/mmap.c: Likewise.
12934         * sysdeps/mach/hurd/utimes.c: Likewise.
12935         * sysdeps/mach/hurd/xmknod.c: Likewise.
12936         * sysdeps/posix/profil.c: Likewise.
12937         * sysdeps/posix/readdir_r.c: Likewise.
12938         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12939         * sysdeps/powerpc/bits/setjmp.h: Likewise.
12940         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12941         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12943         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12944         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12945         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12947         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12948         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12949         * sysdeps/pthread/lio_listio.c: Likewise.
12950         * sysdeps/sparc/dl-procinfo.h: Likewise.
12951         * sysdeps/unix/i386/sysdep.S: Likewise.
12952         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12953         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12954         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12955         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12957         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12958         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12959         * sysdeps/unix/sysv/linux/speed.c: Likewise.
12960         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12961         * sysdeps/wordsize-32/divdi3.c: Likewise.
12962         * time/sys/time.h: Likewise.
12963         * wcsmbs/Makefile: Likewise.
12965 2013-01-01  David S. Miller  <davem@davemloft.net>
12967         * po/fr.po: Update from translation team.
12969         * catgets/gencat.c: Update copyright year.
12970         * csu/version.c: Likewise.
12971         * debug/catchsegv.sh: Likewise.
12972         * debug/pcprofiledump.c: Likewise.
12973         * debug/xtrace.sh: Likewise.
12974         * elf/ldconfig.c: Likewise.
12975         * elf/ldd.bash.in: Likewise.
12976         * elf/pldd.c: Likewise.
12977         * elf/sotruss.ksh: Likewise.
12978         * elf/sprof.c: Likewise.
12979         * iconv/iconv_prog.c: Likewise.
12980         * iconv/iconvconfig.c: Likewise.
12981         * locale/programs/locale.c: Likewise.
12982         * locale/programs/localedef.c: Likewise.
12983         * login/programs/pt_chown.c: Likewise.
12984         * malloc/memusage.sh: Likewise.
12985         * malloc/memusagestat.c: Likewise.
12986         * malloc/mtrace.pl: Likewise.
12987         * nscd/nscd.c: Likewise.
12988         * nss/getent.c: Likewise.
12989         * nss/makedb.c: Likewise.
12990         * posix/getconf.c: Likewise.
12992 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12994         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12995         numbers.
12997 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
12999         * math/bits/mathcalls.h (modf): Use __nonnull.
13001 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13003         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13004         (split): Use macro CN instead of the bare value.
13005         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13006         could be used.
13007         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13008         instead of the bare value.
13009         (power1): Likewise.
13011 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13013         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13014         __ATAN_TWOM.
13015         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13017         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13018         their values.
13019         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13020         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13021         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13022         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13024 2012-12-28  Andreas Jaeger  <aj@suse.de>
13026         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
13027         values are from Linux 3.7.
13029         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13030         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
13032 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13034         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13035         TRUE case.
13037         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13038         (norm): Likewise.
13039         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13040         variables with preprocessor constants.
13041         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13042         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13043         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13045 2012-12-27  Bruno Haible  <bruno@clisp.org>
13047         [BZ #14317]
13048         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13049         only if needed.
13051 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13054         and use variable directly.
13055         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13057         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13058         MPONE.
13059         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13061         variable MPONE.
13062         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13063         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13064         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13065         include directive.  Remove local variable MPONE.
13066         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13067         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13068         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13070 2012-12-25  David S. Miller  <davem@davemloft.net>
13072         * version.h (RELEASE): Set to "development".
13073         (VERSION): Set to "2.17.90".
13074         * NEWS: Add 2.18 section.
13076 2012-12-21  David S. Miller  <davem@davemloft.net>
13078         * po/hr.po: Update from translation team.
13080 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13082         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13084 2012-12-19  Steve Ellcey  <sellcey@mips.com>
13086         * NEWS:  Mention new memcpy for MIPS.
13088 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13090         * manual/contrib.texi (Contributors): Spelling correction.
13092 2012-12-15  David S. Miller  <davem@davemloft.net>
13094         * po/ru.po: Update from translation team.
13096 2012-12-13  David S. Miller  <davem@davemloft.net>
13098         * NEWS: Mention IFUNC testsuite enhancements.
13100         * po/pl.po: Update from translation team.
13101         * po/bg.po: Likewise.
13103         * manual/contrib.texi (Contributors): Update entries for Hongjiu
13104         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
13106 2012-12-11  David S. Miller  <davem@davemloft.net>
13108         * po/sv.po: Update from translation team.
13110         * po/vi.po: Update from translation team.
13112         * po/cs.po: Update from translation team.
13114         * po/de.po: Update from translation team.
13115         * po/eo.po: Likewise.
13116         * po/nl.po: Likewise.
13118 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13120         [BZ #14246]
13121         * manual/argp.texi (Argp Helper Functions): Move node to follow
13122         Argp Parsing State.
13124         [BZ #14872]
13125         * manual/conf.texi (Limits on File System Capacity): Mention if
13126         terminating null is included in the max size.
13128 2012-12-10  Andreas Jaeger  <aj@suse.de>
13130         * po/cs.po: Update from translation team.
13132 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13134         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13135         void pointer and cast to uintptr_t.
13136         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13137         path.
13138         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13139         * sysdeps/s390/s390-64/memset.S: Likewise.
13141 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
13143         [BZ #14833]
13144         * menual/message.texi (Message Translation): Fix typos.
13145         (Helper programs for gettext): Likewise.
13147 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
13149         [BZ #14898]
13150         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13151         Change to -1.
13153 2012-12-07  David S. Miller  <davem@davemloft.net>
13155         * po/libc.pot: Update.
13157 2012-12-07  Richard Henderson  <rth@redhat.com>
13159         [BZ #10114]
13160         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13161         normal/normal case to before the switch.
13162         (_FP_DIV): Likewise.
13164 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
13165             Mike Frysinger  <vapier@gentoo.org>
13167         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13168         check for __NR_fadvise64_64.
13170 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
13172         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13173         0, not just to plain "0" as a statement.
13174         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13175         with cw.
13177 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
13179         * NEWS: Use sourceware.org in Bugzilla URL.
13181 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13184         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13186         * stdio-common/tst-put-error.c (do_test): Add newline to the
13187         padded test to ensure flush.
13189 2012-12-05  Jeff Law  <law@redhat.com>
13191         * sunrpc/etc.rpc (fedfs_admin): Add entry.
13193 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
13195         * README: Don't refer to ports add-on as distributed separately.
13196         Mention AArch64 in list of systems supported in the ports add-on.
13198         * LICENSES: Add more non-FSF copyright and license notices.
13200         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13201         ((unused)).
13203         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13205         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13206         10000 as width of padded output.
13208 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13210         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13212         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13213         variable LX with __attribute__ ((unused)).
13214         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13215         Likewise.
13216         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13217         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13219         with __attribute__ ((unused)).
13221 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
13223         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13225 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13227         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13228         (CFLAGS-nldbl-acos.c): New variable.
13229         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13230         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13231         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13232         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13233         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13234         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13235         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13236         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13237         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13238         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13239         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13240         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13241         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13242         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13243         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13244         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13245         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13246         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13247         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13248         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13249         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13250         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13251         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13252         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13253         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13254         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13255         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13256         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13257         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13258         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13259         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13260         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13261         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13262         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13263         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13264         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13265         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13266         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13267         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13268         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13269         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13270         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13271         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13272         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13273         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13274         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13275         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13276         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13277         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13278         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13279         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13280         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13281         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13282         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13283         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13284         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13285         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13286         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13287         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13288         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13289         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13290         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13291         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13292         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13293         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13294         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13295         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13296         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13297         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13298         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13299         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13300         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13301         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13302         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13303         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13304         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13305         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13306         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13307         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13308         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13309         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13310         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13311         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13312         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13313         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13314         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13315         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13316         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13317         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13318         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13319         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13320         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13321         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13322         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13323         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13324         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13325         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13328         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13330         [BZ #14914]
13331         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13332         whole low double instead of just low 47 bits when splitting values
13333         into two parts.
13335 2012-12-03  Allan McRae  <allan@archlinux.org>
13337         * manual/stdio.texi (Predefined Printf Handlers): Remove
13338         @hsep and @vsep usage.
13340 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
13342         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13343         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13345 2012-12-03  Jeff Law  <law@redhat.com>
13347         * time/sys/time.h (settimeofday): Do not mark TV argument
13348         as __nonnull.
13350 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
13352         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13353         when currently writing and seek to current position when not.
13354         * libio/Makefile (tests): Remove bug-fclose1.
13355         * libio/bug-fclose1.c: Delete.
13357 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
13359         * manual/arith.texi (feenableexcept): Fix typo.
13360         (fedisableexcept): Likewise.
13362 2012-11-30  Roland McGrath  <roland@hack.frob.com>
13364         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13365         second, differently-typed declaration, rather than a cast.
13367 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13369         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13370         * include/rpc/svc.h: ... here.
13372 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
13374         [BZ #13013]
13375         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13376         depending n and resplen2 to catch cases where answer
13377         equals answerp2.
13379 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
13381         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13382         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13384 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
13386         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13388 2012-11-29  Roland McGrath  <roland@hack.frob.com>
13390         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13392 2012-11-28  Jeff Law  <law@redhat.com>
13394         [BZ #13761]
13395         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13396         dataset_temporary.  Track alloca usage into alloca_used.
13397         If dataset is large allocate and release it via malloc/free.
13399 2012-06-04  Florian Weimer  <fweimer@redhat.com>
13401         [BZ #14197]
13402         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13404 2012-11-28  David S. Miller  <davem@davemloft.net>
13406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13408 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13410         [BZ #14803]
13411         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13412         of pi/2 rounded to nearest to 64 bits.
13413         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13414         nearest to 64 bits.
13415         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13416         bits.
13418 2012-11-28  Jeff Law <law@redhat.com>
13419             Martin Osvald <mosvald@redhat.com>
13421         [BZ #14889]
13422         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13423         * sunrpc/svc.c: Include time.h.
13424         (__svc_accept_failed): New function.
13425         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13426         any reason other than EINTR, call __svc_accept_failed.
13427         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13428         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13430 2012-11-28  Andreas Schwab  <schwab@suse.de>
13432         * scripts/abilist.awk: Also handle indirect functions in .opd
13433         section.
13435 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13437         [BZ #13881]
13438         * sysdeps/x86/fpu/powl_helper.c: New file.
13439         * sysdeps/x86/fpu/Makefile: Likewise.
13440         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13441         (p3): New object.
13442         (__ieee754_powl): Use __powl_helper for finite arguments except
13443         integer exponents below 8.
13444         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13445         (p3): New object.
13446         (__ieee754_powl): Use __powl_helper for finite arguments except
13447         integer exponents below 8.
13448         * math/libm-test.inc (pow_test): Add more tests and enable some
13449         previously disabled tests.
13450         * sysdeps/i386/fpu/libm-test-ulps: Update.
13451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13453 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13454             Carlos O'Donell  <carlos_odonell@mentor.com>
13456         * nss/makedb.c (is_prime): Assert that input is odd and greater
13457         than 4.  Note that fact in a comment too.
13458         (next_prime): Add 4 to input.
13460 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13462         [BZ #11741]
13463         * libio/Makefile (tests): Add test case tst-fwrite-error.
13464         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13465         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13466         * libio/tst-fwrite-error.c: New test case.
13468 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
13470         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13471         before casting to void *.
13472         * include/libc-internal.h (__pointer_type): New macro.
13473         (__integer_if_pointer_type_sub): Likewise.
13474         (__integer_if_pointer_type): Likewise.
13475         (cast_to_integer): Likewise.
13476         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13477         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13478         before casting to atomic64_t.
13479         (atomic_exchange_acq): Likewise.
13480         (__arch_exchange_and_add_body): Likewise.
13481         (__arch_add_body): Likewise.
13482         (atomic_add_negative): Likewise.
13483         (atomic_add_zero): Likewise.
13485 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
13487         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13488         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13489         (add_fdes): Likewise.
13490         (linear_search_fdes): Likewise.
13491         (binary_search_unencoded_fdes): Likewise.
13493 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
13495         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13497 2012-11-24  Adam Conrad  <adconrad@0c3.net>
13499         * configure.in: Autodetect C++ header directories.
13500         * configure: Regenerated.
13502 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
13504         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13506 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
13508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13510 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
13512         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13513         LDBL_MANT_DIG == 106]: Disable some tests.
13514         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13515         Likewise.
13516         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13517         Likewise.
13519         [BZ #14871]
13520         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13521         input for small inputs.  Return +/- pi/2 for large inputs.
13522         * math/libm-test.inc (atan_test): Add more tests.
13524         * sysdeps/generic/unwind-dw2-fde-glibc.c
13525         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13526         __attribute__ ((unused)).
13528         [BZ #14645]
13529         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13530         x * y if x and y are nonzero and z is zero.
13532         [BZ #14811]
13533         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13534         nonzero exponents with absolute value below 0x1p-117 to +/-
13535         0x1p-117.
13537         [BZ #14869]
13538         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13539         up arguments below 2**-450, not just those below 2**-500.
13540         * math/libm-test.inc (hypot_test): Add another test.
13542         [BZ #14868]
13543         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13544         Return a+b for ratio over 2**120, not 2**60.
13545         * math/libm-test.inc (hypot_test): Add another test.
13547         * math/libm-test.inc (clog_test): Use
13548         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13549         (clog10_test): Likewise.
13551         [BZ #6778]
13552         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13554 2012-11-22  Andreas Schwab  <schwab@suse.de>
13556         * sysdeps/i386/fpu/libm-test-ulps: Update.
13558 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
13560         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13561         printf output with newline.
13563 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
13565         [BZ #14865]
13566         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13567         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13568         -z nodlopen, -z initfirst and -z execstack support.
13569         * configure: Regenerated.
13571         * elf/elf.h (DF_1_NODIRECT): New macro.
13572         (DF_1_IGNMULDEF): Likewise.
13573         (DF_1_NOKSYMS): Likewise.
13574         (DF_1_NOHDR): Likewise.
13575         (DF_1_EDITED): Likewise.
13576         (DF_1_NORELOC): Likewise.
13577         (DF_1_SYMINTPOSE): Likewise.
13578         (DF_1_GLOBAUDIT): Likewise.
13579         (DF_1_SINGLETON): Likewise.
13580         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13581         DT_1_SUPPORTED_MASK bits.
13582         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13584 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
13586         * sysdeps/unix/make-syscalls.sh: Document prefixes.
13588 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
13590         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13591         macro.
13593         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13594         (sendmmsg): Move declarations...
13595         * socket/sys/socket.h: ... here.
13596         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13597         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13598         include it from...
13599         * socket/recvmmsg.c: ... this new file.
13600         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13601         (sendmmsg): Rename to __sendmmsg, create weak alias and make
13602         definition of __sendmmsg hidden.
13603         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13604         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13605         Move ENOSYS stub into and include it from...
13606         * socket/sendmmsg.c: ... this new file.
13607         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13608         (sysdep_routines): Move recvmmsg and sendmmsg...
13609         * socket/Makefile (routines): ... here.
13610         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13611         (GLIBC_PRIVATE): Add __sendmmsg.
13612         * include/sys/socket.h (__sendmmsg): Add declarations.
13613         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13614         sendmmsg.
13616 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
13618         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13619         variable I1 with __attribute__ ((unused)).
13620         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13622 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13624         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13625         DUMMY variables with __attribute__ ((unused)).
13627         * bits/byteswap.h: Include <bits/types.h>.
13628         (__bswap_64): Use __uint64_t instead of unsigned long long int.
13630 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13632         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13633         string_t.  Do not manually set errno.
13634         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13635         length with __strnlen.  Make sure to both set errno and return it on
13636         failure.
13638 2012-11-19  David S. Miller  <davem@davemloft.net>
13640         With help from Joseph Myers.
13641         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13642         very large arguments properly.
13643         * math/libm-test.inc (atan_test): New tests.
13644         (atan2_test): New tests.
13645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13648 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13650         [BZ #14856]
13651         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13652         Define to 3.
13654         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13655         [POSIX] (EADDRNOTAVAIL): Likewise.
13656         [POSIX] (EAFNOSUPPORT): Likewise.
13657         [POSIX] (EALREADY): Likewise.
13658         [POSIX] (ECONNABORTED): Likewise.
13659         [POSIX] (ECONNREFUSED): Likewise.
13660         [POSIX] (ECONNRESET): Likewise.
13661         [POSIX] (EDESTADDRREQ): Likewise.
13662         [POSIX] (EDQUOT): Likewise.
13663         [POSIX] (EHOSTUNREACH): Likewise.
13664         [POSIX] (EIDRM): Likewise.
13665         [POSIX] (EISCONN): Likewise.
13666         [POSIX] (ELOOP): Likewise.
13667         [POSIX] (EMULTIHOP): Likewise.
13668         [POSIX] (ENETDOWN): Likewise.
13669         [POSIX] (ENETUNREACH): Likewise.
13670         [POSIX] (ENOBUFS): Likewise.
13671         [POSIX] (ENODATA): Likewise.
13672         [POSIX] (ENOLINK): Likewise.
13673         [POSIX] (ENOMSG): Likewise.
13674         [POSIX] (ENOPROTOOPT): Likewise.
13675         [POSIX] (ENOSR): Likewise.
13676         [POSIX] (ENOSTR): Likewise.
13677         [POSIX] (ENOTCONN): Likewise.
13678         [POSIX] (ENOTSOCK): Likewise.
13679         [POSIX] (EOPNOTSUPP): Likewise.
13680         [POSIX] (EOVERFLOW): Likewise.
13681         [POSIX] (EPROTO): Likewise.
13682         [POSIX] (EPROTONOSUPPORT): Likewise.
13683         [POSIX] (EPROTOTYPE): Likewise.
13684         [POSIX] (ESTALE): Likewise.
13685         [POSIX] (ETIME): Likewise.
13686         [POSIX] (ETXTBSY): Likewise.
13687         [POSIX] (EWOULDBLOCK): Likewise.
13688         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13689         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13690         [POSIX] (SEEK_CUR): Likewise.
13691         [POSIX] (SEEK_END): Likewise.
13692         [POSIX || UNIX98] (mode_t): Do not require.
13693         [POSIX] (off_t): Likewise.
13694         [POSIX] (pid_t): Likewise.
13695         [POSIX] (sys/stat.h): Do not allow header.
13696         [POSIX] (unistd.h): Likewise.
13697         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13698         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13699         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13700         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13701         require.
13702         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13703         sigevent): Specify elements.
13704         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13705         entry.
13706         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13707         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13709         * conform/data/cpio.h-data [POSIX]: Disable whole file.
13710         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13711         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13712         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13713         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13714         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13715         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13716         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13717         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13718         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13719         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13720         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13721         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13722         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13723         Likewise.
13724         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13725         Likewise.
13726         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13727         Likewise.
13728         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13729         Likewise.
13730         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13731         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13732         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13733         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13734         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13735         Specify lower bound on value.
13736         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13737         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13738         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13739         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13740         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13741         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13742         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13743         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13744         value.
13745         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13746         as optional.
13747         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13748         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13749         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13750         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13751         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13752         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13753         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13754         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13755         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13756         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13757         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13758         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13759         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13760         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13761         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13762         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13763         entry.
13764         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13765         optional.
13766         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13767         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13768         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13769         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13770         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13771         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13772         Likewise.
13773         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13774         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13775         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13776         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13777         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
13778         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13779         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13780         as optional.
13781         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13782         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13783         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13784         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13785         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13786         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13787         specify as optional.
13788         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13789         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13790         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13791         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13792         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13793         [XPG3] (NL_LANGMAX): Likewise.
13794         [POSIX || XPG3] (NL_MSGMAX): Likewise.
13795         [POSIX || XPG3] (NL_NMAX): Likewise.
13796         [POSIX || XPG3] (NL_SETMAX): Likewise.
13797         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13798         [XPG3] (NZERO): Likewise.
13799         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13800         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13801         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13802         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13803         (REG_ERANGE): Expect.
13804         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13805         optional-constant.
13806         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13807         Use (void) in prototype.
13808         [POSIX] (*_t): Allow.
13809         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13810         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13811         (WRDE_BADVAL): Expect.
13813         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13814         expect.
13815         [XPG3 || XPG4] (O_RSYNC): Likewise.
13816         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13817         Likewise.
13818         [XPG3 || XPG4] (pthread_sigmask): Likewise.
13819         [XPG3 || XPG4] (sigqueue): Likewise.
13820         [XPG3 || XPG4] (sigtimedwait): Likewise.
13821         [XPG3 || XPG4] (sigwaitinfo): Likewise.
13822         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13823         [XPG3 || XPG4] (vsnprintf): Likewise.
13824         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13825         Likewise.
13826         [XPG3 || XPG4] (blksize_t): Likewise.
13827         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13828         Likewise.
13829         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13830         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13831         [XPG3 || XPG4] (struct itimerspec): Likewise.
13832         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13833         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13834         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13835         [XPG3 || XPG4] (clockid_t): Likewise.
13836         [XPG3 || XPG4] (timer_t): Likewise.
13837         [XPG3 || XPG4] (clock_getres): Likewise.
13838         [XPG3 || XPG4] (clock_gettime): Likewise.
13839         [XPG3 || XPG4] (clock_settime): Likewise.
13840         [XPG3 || XPG4] (nanosleep): Likewise.
13841         [XPG3 || XPG4] (timer_create): Likewise.
13842         [XPG3 || XPG4] (timer_delete): Likewise.
13843         [XPG3 || XPG4] (timer_gettime): Likewise.
13844         [XPG3 || XPG4] (timer_getoverrun): Likewise.
13845         [XPG3 || XPG4] (timer_settime): Likewise.
13846         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13847         [XPG3 || XPG4] (getlogin_r): Likewise.
13848         [XPG3 || XPG4] (pread): Likewise.
13849         [XPG3 || XPG4] (pthread_atfork): Likewise.
13850         [XPG3 || XPG4] (pwrite): Likewise.
13852         [BZ #14835]
13853         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13854         <bits/siginfo.h>.
13856 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13858         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13859         finalizing MALLSTREAM.
13861         * sysdeps/mach/hurd/syncfs.c: New file.
13863 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13865         [BZ #14719]
13866         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13867         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13868         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13869         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13870         (_nss_dns_gethostbyname4_r): Likewise.
13871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13872         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13874 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
13876         [BZ #13763]
13877         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13879 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
13881         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13882         * elf/cache.c (print_entry): Print ",AArch64" for
13883         FLAG_AARCH64_LIB64
13885         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13886         * elf/cache.c (print_entry): Print ",hard-float" for
13887         FLAG_ARM_LIBHF.
13889 2012-11-18  David S. Miller  <davem@davemloft.net>
13891         With help from Joseph Myers.
13892         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13893         cutoff to 2**-13.
13894         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13895         cutoff to 2**-25.
13896         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13897         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13898         small.
13899         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13900         * math/libm-test.inc (y0_test): New tests.
13901         (y1_test): New tests.
13902         * sysdeps/i386/fpu/libm-test-ulps: Update.
13903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13906 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
13908         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13909         64-bit targets.
13910         * configure: Regenerated.
13912 2012-11-17  David S. Miller  <davem@davemloft.net>
13914         [BZ #14811]
13915         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13916         nonzero exponents with absolute value below 0x1p-128 to +/-
13917         0x1p-128.
13919 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
13921         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13923         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13925         * posix/getconf-speclist.c: New file.
13926         * posix/posix-envs.def: Likewise.
13927         * posix/confstr.c (START_ENV_GROUP): New macro.
13928         (END_ENV_GROUP): Likewise.
13929         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13930         (KNOWN_PRESENT_ENV_STRING): Likewise.
13931         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13932         (UNKNOWN_ENVIRONMENT): Likewise.
13933         (confstr): Include posix-envs.def instead of handling
13934         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13935         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13936         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13937         (END_ENV_GROUP): Likewise.
13938         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13939         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13940         (UNKNOWN_ENVIRONMENT): Likewise.
13941         (__sysconf): Include posix-envs.def instead of handling associated
13942         cases directly here.
13943         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13944         preprocessing getconf-speclist.c rather than running getconf or
13945         generating empty file.
13947 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
13949         * scripts/check-local-headers.sh: Ignore 'mach' headers.
13951 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
13953         [BZ #14672]
13954         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13956 2012-11-16  David S. Miller  <davem@davemloft.net>
13958         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13959         smaller than LDBL_EPSILON/2.0L, just return xm1.
13961 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
13963         * elf/tst-array1.c (init): Set constructor priority to 1000.
13964         (fini): Set destructor priority to 1000.
13965         * elf/tst-array2dep.c: Likewise.
13967 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13969         [BZ #11741]
13970         * libio/fileops.c (_IO_new_file_write): Correctly return error.
13971         (_IO_new_file_xsputn): Also return EOF if none of the input
13972         data was written when overflow failed.
13973         * libio/iopadn.c (_IO_padn): Likewise.
13974         * libio/iowpadn.c (_IO_wpadn): Likewise.
13975         * stdio-common/tst-put-error.c: Add copyright notice.
13976         (do_test): Add case for printing padded string.
13977         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13978         _IO_padn returned error.
13979         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13980         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13981         return EOF.
13983 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13985         * libio/libioP.h: Add comment note that the references to C++
13986         bits are now obsolete.
13988 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13990         * math/libm-test.inc (check_complex): Use asprintf.
13992 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
13994         * debug/pcprofiledump.c (print_version): Update copyright year.
13995         * malloc/memusagestat.c (print_version): Likewise.
13997 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13999         [BZ #14831]
14000         * elf/Makefile (tests): Add tst-audit8.
14001         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14002         ($(objpfx)tst-audit8.out): New target.
14003         (tst-audit8-ENV): New variable.
14004         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14005         audit if l_reloc_result is NULL.
14006         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14007         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14008         * elf/tst-audit8.c: New file.
14010 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14012         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14013         * misc/Makefile (CFLAGS-select.c): Define.
14014         * posix/Makefile (CFLAGS-pause.c): Define.
14016 2012-11-13  David S. Miller  <davem@davemloft.net>
14018         * crypt/Makefile: Move test targets after toplevel Rules
14019         inclusion.  Grab any necessary sysdep routines when linking.
14020         * crypt/md5.c (md5_process_block): Remove define, we will always
14021         name it __md5_process_block.
14022         (md5_finish_ctx): Update md5_process_block call.
14023         (md5_stream): Likewise.
14024         (md5_process_bytes): Likewise.
14025         (md5_process_block): Rename to __md5_process_block and move to ...
14026         * crypt/md5-block.c: ... here.
14027         * crypt/sha256.c (sha256_process_block): Move to ...
14028         * crypt/sha256-block.c: ... here.
14029         * crypt/sha512.c (sha512_process_block): Move to ...
14030         * crypt/sha512-block.c: ... here.
14031         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14032         path.
14033         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14034         * sysdeps/sparc/sparc64/multiarch/Makefile
14035         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14036         crypt subdir.
14037         (localedef-aux): Add md5 crypto assembler when in locale subdir.
14038         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14039         multiarch changes.
14040         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14041         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14042         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14043         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14044         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14045         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14046         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14047         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14048         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14049         file.
14050         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14051         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14052         file.
14053         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14055 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
14057         * timezone/tzselect.ksh: Update from tzcode git revision
14058         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14059         * timezone/zdump.c: Likewise.
14060         * timezone/zic.c: Likewise.
14061         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14062         in TZVERSION setting, not $(PKGVERSION).
14063         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
14064         REPORT_BUGS_TO settings.
14066         [BZ #14838]
14067         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14068         macro.
14070 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14072         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14073         detection to immediately after _FP_ROUND().
14074         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14075         bits are 0.
14077 2012-11-11  David S. Miller  <davem@davemloft.net>
14079         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14080         inttypes.h
14081         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14082         __close rather than their public counterparts.
14084 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
14086         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14087         file.
14088         [UNIX98] (sem_timedwait): Do not expect.
14089         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14090         [XPG4 || UNIX98] (sockatmark): Do not expect.
14091         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14092         (clock_getcpuclockid): Do not expect.
14093         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14094         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14095         Do not expect.
14096         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14097         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14098         [UNIX98] (vwscanf): Likewise.
14099         [UNIX98] (vswscanf): Likewise.
14101 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
14103         * timezone/version.h: Remove file.
14104         * timezone/README: Do not refer to version.h.
14105         * timezone/Makefile ($(objpfx)zic.o): New dependency on
14106         $(objpfx)version.h.
14107         ($(objpfx)zdump.o): Likewise.
14108         ($(objpfx)version.h): New target.
14110         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14111         2012i.
14112         * timezone/README: Don't mention modification to tzselect.ksh.
14113         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14114         work on unmodified tzselect.ksh.  Substitute version numbers in
14115         tzselect.ksh.
14117         * Makefile (format-me): Remove.
14118         (INSTALL): Adjust indentation.  Use commands directly instead of
14119         using $(format-me).
14121         * aclocal.m4 (ACX_PKGVERSION): New macro.
14122         (ACX_BUGURL): Likewise.
14123         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14124         (PKGVERSION): New AC_DEFINE_UNQUOTED.
14125         (REPORT_BUGS_TO): Likewise.
14126         * configure: Regenerated.
14127         * config.h.in (PKGVERSION): New macro.
14128         (REPORT_BUGS_TO): Likewise.
14129         * config.make.in (PKGVERSION): New variable.
14130         (PKGVERSION_TEXI): Likewise.
14131         (REPORT_BUGS_TO): Likewise.
14132         (REPORT_BUGS_TEXI): Likewise.
14133         * Makefile (format-me): Use -I$(common-objpfx)manual.
14134         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14135         ($(common-objpfx)manual/%): New target.
14136         (manual/%): Remove target.
14137         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14138         (print_version): Use PKGVERSION.
14139         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14140         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14141         and REPORT_BUGS_TO.
14142         ($(objpfx)xtrace): Likewise.
14143         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14144         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14145         (print_version): Use PKGVERSION.
14146         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14147         (do_version): Use PKGVERSION.
14148         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14149         REPORT_BUGS_TO.
14150         (common-ldd-rewrite): Likewise.
14151         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14152         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14153         (print_version): Use PKGVERSION.
14154         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14155         * elf/pldd.c (argp_program_bug_address): Remove variable.
14156         (more_help): New function.
14157         (argp): Use more_help.
14158         (print_version): Use PKGVERSION.
14159         * elf/sln.c (main): Use PKGVERSION.
14160         (usage): Use REPORT_BUGS_TO.
14161         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14162         (top level): Use PKGVERSION.
14163         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14164         (print_version): Use PKGVERSION.
14165         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14166         (print_version): Use PKGVERSION.
14167         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14168         (print_version): Use PKGVERSION.
14169         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14170         (print_version): Use PKGVERSION.
14171         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14172         (print_version): Use PKGVERSION.
14173         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14174         (print_version): Use PKGVERSION.
14175         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14176         and BUGURL.
14177         ($(objpfx)memusage): Likewise.
14178         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14179         (do_version): Use PKGVERSION.
14180         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14181         (print_version): Use PKGVERSION.
14182         * malloc/mtrace.pl ($PACKAGE): Remove variable.
14183         ($PKGVERSION): New variable.
14184         ($REPORT_BUGS_TO): Likewise.
14185         (usage): Use $REPORT_BUGS_TO.
14186         (top level): Use $PKGVERSION.
14187         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14188         ($(objpfx)pkgvers.texi): New rule.
14189         ($(objpfx)stamp-pkgvers): Likewise.
14190         * manual/install.texi: Include pkgvers.texi.
14191         (--with-pkgversion): Document new configure option.
14192         (--with-bugurl): Likewise.
14193         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14194         than necessarily for this particular distribution.  Use
14195         REPORT_BUGS_TO for where to report bugs.
14196         * INSTALL: Regenerated.
14197         * manual/libc.texinfo: Include pkgvers.texi.
14198         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14199         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14200         (print_version): Use PKGVERSION.
14201         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14202         (print_version): Use PKGVERSION.
14203         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14204         (print_version): Use PKGVERSION.
14205         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14206         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14207         macro.
14208         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14209         (print_version): Use PKGVERSION.
14210         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14211         (print_version): Use PKGVERSION.
14212         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14213         and PKGVERSION.
14215         * timezone/checktab.awk: Update from tzcode 2012i.
14216         * timezone/ialloc.c: Likewise.
14217         * timezone/private.h: Likewise.
14218         * timezone/scheck.c: Likewise.
14219         * timezone/tzfile.h: Likewise.
14220         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14221         (TZVERSION): Hardcode tzcode version number.
14222         * timezone/zdump.c: Update from tzcode 2012i.
14223         * timezone/zic.c: Likewise.
14224         * timezone/version.h: New file.
14225         * timezone/README: Describe version.h.  Update upstream location.
14227         [BZ #14824]
14228         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14229         (mktemp): Enable declaration.
14230         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14232         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14234         Likewise.
14235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14236         Likewise.
14237         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14238         Likewise.
14239         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14240         Likewise.
14241         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14242         Likewise.
14243         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14244         Likewise.
14246         [BZ #14821]
14247         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14248         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
14249         for copies of such integer values.
14250         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14251         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14253 2012-11-09  Andreas Jaeger  <aj@suse.de>
14255         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14256         definitions and declarations that are provided by
14257         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14259 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14261         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14262         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14263         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14264         definition.
14266 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14268         * elf/elf.h: Update comment before AArch64 relocations.
14270 2012-11-07  David S. Miller  <davem@davemloft.net>
14272         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14273         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14274         (__start_context): Declare.
14275         (__makecontext_ret): Delete.
14276         (__makecontext): Hook up __start_context instead of
14277         __makecontext_ret.
14278         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14279         (sysdep_routines): Add __start_context when in stdlib.
14281 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14283         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14284         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14285         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
14286         hardcoded "nm".
14287         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
14288         (READELF): New variable.  Use it instead of hardcoded "readelf".
14290 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14292         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14293         * sysdeps/x86/Makefile: Here.
14294         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14295         * sysdeps/x86/tst-xmmymm.sh: This.
14297 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14299         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14300         expectations.
14301         [UNIX98] (pthread_barrier_t): Do not expect.
14302         [UNIX98] (pthread_barrierattr_t): Likewise.
14303         [UNIX98] (pthread_spinlock_t): Likewise.
14304         [UNIX98] (pthread_barrier_destroy): Likewise.
14305         [UNIX98] (pthread_barrier_init): Likewise.
14306         [UNIX98] (pthread_barrier_wait): Likewise.
14307         [UNIX98] (pthread_barrierattr_destroy): Likewise.
14308         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14309         [UNIX98] (pthread_barrierattr_init): Likewise.
14310         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14311         [UNIX98] (pthread_getcpuclockid): Likewise.
14312         [UNIX98] (pthread_mutex_timedlock): Likewise.
14313         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14314         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14315         [UNIX98] (pthread_sigmask): Likewise.
14316         [UNIX98] (pthread_spin_destroy): Likewise.
14317         [UNIX98] (pthread_spin_init): Likewise.
14318         [UNIX98] (pthread_spin_lock): Likewise.
14319         [UNIX98] (pthread_spin_trylock): Likewise.
14320         [UNIX98] (pthread_spin_unlock): Likewise.
14321         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14322         Do not expect.
14323         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14324         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14325         [XPG3 || XPG4] (pthread_cond_t): Likewise.
14326         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14327         [XPG3 || XPG4] (pthread_key_t): Likewise.
14328         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14329         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14330         [XPG3 || XPG4] (pthread_once_t): Likewise.
14331         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14332         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14333         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14334         [XPG3 || XPG4] (pthread_t): Likewise.
14336         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14337         not expect.
14338         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14340         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14341         Change function return type to int.
14343         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14344         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14345         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14346         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14347         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14348         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14349         [!POSIX] (posix_madvise): Likewise.
14350         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14351         && !UNIX98].
14352         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14353         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14354         (mode_t): Likewise.
14355         (posix_mem_offset): Likewise.
14356         (posix_typed_mem_get_info): Likewise.
14357         (posix_typed_mem_open): Likewise.
14359         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14360         Change condition to [XOPEN2K8].
14362         * conform/conformtest.pl: Preprocess allow-header data with -x c
14363         instead of from stdin.
14364         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14365         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14366         [C99-based standards] (cerfc): Likewise.
14367         [C99-based standards] (cexp2): Likewise.
14368         [C99-based standards] (cexpm1): Likewise.
14369         [C99-based standards] (clog10): Likewise.
14370         [C99-based standards] (clog1p): Likewise.
14371         [C99-based standards] (clog2): Likewise.
14372         [C99-based standards] (clgamma): Likewise.
14373         [C99-based standards] (ctgamma): Likewise.
14374         [C99-based standards] (cerff): Likewise.
14375         [C99-based standards] (cerfcf): Likewise.
14376         [C99-based standards] (cexp2f): Likewise.
14377         [C99-based standards] (cexpm1f): Likewise.
14378         [C99-based standards] (clog10f): Likewise.
14379         [C99-based standards] (clog1pf): Likewise.
14380         [C99-based standards] (clog2f): Likewise.
14381         [C99-based standards] (clgammaf): Likewise.
14382         [C99-based standards] (ctgammaf): Likewise.
14383         [C99-based standards] (cerfl): Likewise.
14384         [C99-based standards] (cerfcl): Likewise.
14385         [C99-based standards] (cexp2l): Likewise.
14386         [C99-based standards] (cexpm1l): Likewise.
14387         [C99-based standards] (clog10l): Likewise.
14388         [C99-based standards] (clog1pl): Likewise.
14389         [C99-based standards] (clog2l): Likewise.
14390         [C99-based standards] (clgammal): Likewise.
14391         [C99-based standards] (ctgammal): Likewise.
14392         * conform/data/inttypes.h-data [C99-based standards]: Include
14393         stdint.h-data.  Remove all expectations for stdint.h contents.
14394         [C99-based standards] (PRI*): Do not allow.
14395         [C99-based standards] (SCN*): Likewise.
14396         [C99-based standards] (*_t): Likewise.
14397         [C99-based-standards] (PRId8): Expect macro.
14398         [C99-based-standards] (PRIi8): Likewise.
14399         [C99-based-standards] (PRIo8): Likewise.
14400         [C99-based-standards] (PRIu8): Likewise.
14401         [C99-based-standards] (PRIx8): Likewise.
14402         [C99-based-standards] (PRIX8): Likewise.
14403         [C99-based-standards] (SCNd8): Likewise.
14404         [C99-based-standards] (SCNi8): Likewise.
14405         [C99-based-standards] (SCNo8): Likewise.
14406         [C99-based-standards] (SCNu8): Likewise.
14407         [C99-based-standards] (SCNx8): Likewise.
14408         [C99-based-standards] (PRIdLEAST8): Likewise.
14409         [C99-based-standards] (PRIiLEAST8): Likewise.
14410         [C99-based-standards] (PRIoLEAST8): Likewise.
14411         [C99-based-standards] (PRIuLEAST8): Likewise.
14412         [C99-based-standards] (PRIxLEAST8): Likewise.
14413         [C99-based-standards] (PRIXLEAST8): Likewise.
14414         [C99-based-standards] (SCNdLEAST8): Likewise.
14415         [C99-based-standards] (SCNiLEAST8): Likewise.
14416         [C99-based-standards] (SCNoLEAST8): Likewise.
14417         [C99-based-standards] (SCNuLEAST8): Likewise.
14418         [C99-based-standards] (SCNxLEAST8): Likewise.
14419         [C99-based-standards] (PRIdFAST8): Likewise.
14420         [C99-based-standards] (PRIiFAST8): Likewise.
14421         [C99-based-standards] (PRIoFAST8): Likewise.
14422         [C99-based-standards] (PRIuFAST8): Likewise.
14423         [C99-based-standards] (PRIxFAST8): Likewise.
14424         [C99-based-standards] (PRIXFAST8): Likewise.
14425         [C99-based-standards] (SCNdFAST8): Likewise.
14426         [C99-based-standards] (SCNiFAST8): Likewise.
14427         [C99-based-standards] (SCNoFAST8): Likewise.
14428         [C99-based-standards] (SCNuFAST8): Likewise.
14429         [C99-based-standards] (SCNxFAST8): Likewise.
14430         [C99-based-standards] (PRId16): Likewise.
14431         [C99-based-standards] (PRIi16): Likewise.
14432         [C99-based-standards] (PRIo16): Likewise.
14433         [C99-based-standards] (PRIu16): Likewise.
14434         [C99-based-standards] (PRIx16): Likewise.
14435         [C99-based-standards] (PRIX16): Likewise.
14436         [C99-based-standards] (SCNd16): Likewise.
14437         [C99-based-standards] (SCNi16): Likewise.
14438         [C99-based-standards] (SCNo16): Likewise.
14439         [C99-based-standards] (SCNu16): Likewise.
14440         [C99-based-standards] (SCNx16): Likewise.
14441         [C99-based-standards] (PRIdLEAST16): Likewise.
14442         [C99-based-standards] (PRIiLEAST16): Likewise.
14443         [C99-based-standards] (PRIoLEAST16): Likewise.
14444         [C99-based-standards] (PRIuLEAST16): Likewise.
14445         [C99-based-standards] (PRIxLEAST16): Likewise.
14446         [C99-based-standards] (PRIXLEAST16): Likewise.
14447         [C99-based-standards] (SCNdLEAST16): Likewise.
14448         [C99-based-standards] (SCNiLEAST16): Likewise.
14449         [C99-based-standards] (SCNoLEAST16): Likewise.
14450         [C99-based-standards] (SCNuLEAST16): Likewise.
14451         [C99-based-standards] (SCNxLEAST16): Likewise.
14452         [C99-based-standards] (PRIdFAST16): Likewise.
14453         [C99-based-standards] (PRIiFAST16): Likewise.
14454         [C99-based-standards] (PRIoFAST16): Likewise.
14455         [C99-based-standards] (PRIuFAST16): Likewise.
14456         [C99-based-standards] (PRIxFAST16): Likewise.
14457         [C99-based-standards] (PRIXFAST16): Likewise.
14458         [C99-based-standards] (SCNdFAST16): Likewise.
14459         [C99-based-standards] (SCNiFAST16): Likewise.
14460         [C99-based-standards] (SCNoFAST16): Likewise.
14461         [C99-based-standards] (SCNuFAST16): Likewise.
14462         [C99-based-standards] (SCNxFAST16): Likewise.
14463         [C99-based-standards] (PRId32): Likewise.
14464         [C99-based-standards] (PRIi32): Likewise.
14465         [C99-based-standards] (PRIo32): Likewise.
14466         [C99-based-standards] (PRIu32): Likewise.
14467         [C99-based-standards] (PRIx32): Likewise.
14468         [C99-based-standards] (PRIX32): Likewise.
14469         [C99-based-standards] (SCNd32): Likewise.
14470         [C99-based-standards] (SCNi32): Likewise.
14471         [C99-based-standards] (SCNo32): Likewise.
14472         [C99-based-standards] (SCNu32): Likewise.
14473         [C99-based-standards] (SCNx32): Likewise.
14474         [C99-based-standards] (PRIdLEAST32): Likewise.
14475         [C99-based-standards] (PRIiLEAST32): Likewise.
14476         [C99-based-standards] (PRIoLEAST32): Likewise.
14477         [C99-based-standards] (PRIuLEAST32): Likewise.
14478         [C99-based-standards] (PRIxLEAST32): Likewise.
14479         [C99-based-standards] (PRIXLEAST32): Likewise.
14480         [C99-based-standards] (SCNdLEAST32): Likewise.
14481         [C99-based-standards] (SCNiLEAST32): Likewise.
14482         [C99-based-standards] (SCNoLEAST32): Likewise.
14483         [C99-based-standards] (SCNuLEAST32): Likewise.
14484         [C99-based-standards] (SCNxLEAST32): Likewise.
14485         [C99-based-standards] (PRIdFAST32): Likewise.
14486         [C99-based-standards] (PRIiFAST32): Likewise.
14487         [C99-based-standards] (PRIoFAST32): Likewise.
14488         [C99-based-standards] (PRIuFAST32): Likewise.
14489         [C99-based-standards] (PRIxFAST32): Likewise.
14490         [C99-based-standards] (PRIXFAST32): Likewise.
14491         [C99-based-standards] (SCNdFAST32): Likewise.
14492         [C99-based-standards] (SCNiFAST32): Likewise.
14493         [C99-based-standards] (SCNoFAST32): Likewise.
14494         [C99-based-standards] (SCNuFAST32): Likewise.
14495         [C99-based-standards] (SCNxFAST32): Likewise.
14496         [C99-based-standards] (PRId64): Likewise.
14497         [C99-based-standards] (PRIi64): Likewise.
14498         [C99-based-standards] (PRIo64): Likewise.
14499         [C99-based-standards] (PRIu64): Likewise.
14500         [C99-based-standards] (PRIx64): Likewise.
14501         [C99-based-standards] (PRIX64): Likewise.
14502         [C99-based-standards] (SCNd64): Likewise.
14503         [C99-based-standards] (SCNi64): Likewise.
14504         [C99-based-standards] (SCNo64): Likewise.
14505         [C99-based-standards] (SCNu64): Likewise.
14506         [C99-based-standards] (SCNx64): Likewise.
14507         [C99-based-standards] (PRIdLEAST64): Likewise.
14508         [C99-based-standards] (PRIiLEAST64): Likewise.
14509         [C99-based-standards] (PRIoLEAST64): Likewise.
14510         [C99-based-standards] (PRIuLEAST64): Likewise.
14511         [C99-based-standards] (PRIxLEAST64): Likewise.
14512         [C99-based-standards] (PRIXLEAST64): Likewise.
14513         [C99-based-standards] (SCNdLEAST64): Likewise.
14514         [C99-based-standards] (SCNiLEAST64): Likewise.
14515         [C99-based-standards] (SCNoLEAST64): Likewise.
14516         [C99-based-standards] (SCNuLEAST64): Likewise.
14517         [C99-based-standards] (SCNxLEAST64): Likewise.
14518         [C99-based-standards] (PRIdFAST64): Likewise.
14519         [C99-based-standards] (PRIiFAST64): Likewise.
14520         [C99-based-standards] (PRIoFAST64): Likewise.
14521         [C99-based-standards] (PRIuFAST64): Likewise.
14522         [C99-based-standards] (PRIxFAST64): Likewise.
14523         [C99-based-standards] (PRIXFAST64): Likewise.
14524         [C99-based-standards] (SCNdFAST64): Likewise.
14525         [C99-based-standards] (SCNiFAST64): Likewise.
14526         [C99-based-standards] (SCNoFAST64): Likewise.
14527         [C99-based-standards] (SCNuFAST64): Likewise.
14528         [C99-based-standards] (SCNxFAST64): Likewise.
14529         [C99-based-standards] (PRIdMAX): Likewise.
14530         [C99-based-standards] (PRIiMAX): Likewise.
14531         [C99-based-standards] (PRIoMAX): Likewise.
14532         [C99-based-standards] (PRIuMAX): Likewise.
14533         [C99-based-standards] (PRIxMAX): Likewise.
14534         [C99-based-standards] (PRIXMAX): Likewise.
14535         [C99-based-standards] (SCNdMAX): Likewise.
14536         [C99-based-standards] (SCNiMAX): Likewise.
14537         [C99-based-standards] (SCNoMAX): Likewise.
14538         [C99-based-standards] (SCNuMAX): Likewise.
14539         [C99-based-standards] (SCNxMAX): Likewise.
14540         [C99-based-standards] (PRIdPTR): Likewise.
14541         [C99-based-standards] (PRIiPTR): Likewise.
14542         [C99-based-standards] (PRIoPTR): Likewise.
14543         [C99-based-standards] (PRIuPTR): Likewise.
14544         [C99-based-standards] (PRIxPTR): Likewise.
14545         [C99-based-standards] (PRIXPTR): Likewise.
14546         [C99-based-standards] (SCNdPTR): Likewise.
14547         [C99-based-standards] (SCNiPTR): Likewise.
14548         [C99-based-standards] (SCNoPTR): Likewise.
14549         [C99-based-standards] (SCNuPTR): Likewise.
14550         [C99-based-standards] (SCNxPTR): Likewise.
14551         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14552         allow.
14553         * conform/data/stdint.h-data: Update comments to clarify
14554         requirements.
14555         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
14556         type.
14557         [C99-based standards] (INT8_MAX): Likewise.
14558         [C99-based standards] (INT16_MIN): Likewise.
14559         [C99-based standards] (INT16_MAX): Likewise.
14560         [C99-based standards] (INT32_MIN): Likewise.
14561         [C99-based standards] (INT32_MAX): Likewise.
14562         [C99-based standards] (INT64_MIN): Likewise.
14563         [C99-based standards] (INT64_MAX): Likewise.
14564         [C99-based standards] (UINT8_MAX): Likewise.
14565         [C99-based standards] (UINT16_MAX): Likewise.
14566         [C99-based standards] (UINT32_MAX): Likewise.
14567         [C99-based standards] (UINT64_MAX): Likewise.
14568         [C99-based standards] (INT_LEAST8_MIN): Likewise.
14569         [C99-based standards] (INT_LEAST8_MAX): Likewise.
14570         [C99-based standards] (INT_LEAST16_MIN): Likewise.
14571         [C99-based standards] (INT_LEAST16_MAX): Likewise.
14572         [C99-based standards] (INT_LEAST32_MIN): Likewise.
14573         [C99-based standards] (INT_LEAST32_MAX): Likewise.
14574         [C99-based standards] (INT_LEAST64_MIN): Likewise.
14575         [C99-based standards] (INT_LEAST64_MAX): Likewise.
14576         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14577         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14578         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14579         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14580         [C99-based standards] (INT_FAST8_MIN): Likewise.
14581         [C99-based standards] (INT_FAST8_MAX): Likewise.
14582         [C99-based standards] (INT_FAST16_MIN): Likewise.
14583         [C99-based standards] (INT_FAST16_MAX): Likewise.
14584         [C99-based standards] (INT_FAST32_MIN): Likewise.
14585         [C99-based standards] (INT_FAST32_MAX): Likewise.
14586         [C99-based standards] (INT_FAST64_MIN): Likewise.
14587         [C99-based standards] (INT_FAST64_MAX): Likewise.
14588         [C99-based standards] (UINT_FAST8_MAX): Likewise.
14589         [C99-based standards] (UINT_FAST16_MAX): Likewise.
14590         [C99-based standards] (UINT_FAST32_MAX): Likewise.
14591         [C99-based standards] (UINT_FAST64_MAX): Likewise.
14592         [C99-based standards] (INTPTR_MIN): Likewise.
14593         [C99-based standards] (INTPTR_MAX): Likewise.
14594         [C99-based standards] (UINTPTR_MAX): Likewise.
14595         [C99-based standards] (INTMAX_MIN): Likewise.
14596         [C99-based standards] (INTMAX_MAX): Likewise.
14597         [C99-based standards] (UINTMAX_MAX): Likewise.
14598         [C99-based standards] (PTRDIFF_MIN): Likewise.
14599         [C99-based standards] (PTRDIFF_MAX): Likewise.
14600         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14601         [C99-based standards] (SIZE_MAX): Likewise.
14602         [C99-based standards] (WCHAR_MAX): Likewise.
14603         [C99-based standards] (WINT_MAX): Likewise.
14604         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
14605         constraint on value.
14606         [C99-based standards] (WCHAR_MIN): Likewise.
14607         [C99-based standards] (WINT_MIN): Likewise.
14608         [C99-based standards] (*_t): Allow.
14609         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14610         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14611         Include math.h-data and complex.h-data.  Remove all expectations
14612         of math.h and complex.h contents.
14613         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14614         at end of line.
14615         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14616         (struct tm): Expect tag.
14617         [C99-based-standards] (wcstof): Expect function.
14618         [C99-based-standards] (wcstold): Likewise.
14619         [C99-based-standards] (wcstoll): Likewise.
14620         [C99-based-standards] (wcstoull): Likewise.
14621         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14622         macro-int-constant.  Specify type.
14623         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
14624         constraint on value.
14625         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14626         Specify type.
14627         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14628         Specify value.
14629         [ISO C standards]: Do not allow headers.
14630         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14631         wcs[abcdefghijklmnopqrstuvwxyz]*.
14632         [ISO C standards] (*_t): Do not allow.
14633         * conform/data/wctype.h-data [C99-based standards] (iswblank):
14634         Expect function.
14635         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14636         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14637         Specify type.
14638         [ISO C standards]: Do not allow headers.
14639         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14640         is[abcdefghijklmnopqrstuvwxyz]*.
14641         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14642         to[abcdefghijklmnopqrstuvwxyz]*.
14643         [ISO C standards] (*_t): Do not allow.
14644         * conform/data/stdalign.h-data: New file.
14645         * conform/data/stdbool.h-data: Likewise.
14646         * conform/data/stdnoreturn.h-data: Likewise.
14648 2012-11-07  Roland McGrath  <roland@hack.frob.com>
14650         [BZ #14815]
14651         * manual/filesys.texi (Directory Entries): Typo fix.
14652         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14654 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14656         * elf/elf.h (EM_AARCH64): New macro.
14657         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14658         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14659         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14660         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14661         (R_AARCH64_TLSDESC): Likewise.
14662         (NT_ARM_TLS): Likewise.
14663         (NT_ARM_HW_BREAK): Likewise.
14664         (NT_ARM_HW_WATCH): Likewise.
14666 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14668         [BZ #14811]
14669         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14670         (__ieee754_powl): Saturate nonzero exponents with absolute value
14671         below 0x1p-79 to +/- 0x1p-79.
14672         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14673         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14674         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14675         nonzero exponents with absolute value below 0x1p-32 to +/-
14676         0x1p-32.
14677         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14678         (__ieee754_powl): Saturate nonzero exponents with absolute value
14679         below 0x1p-79 to +/- 0x1p-79.
14680         * math/libm-test.inc (pow_test): Add more tests.
14682 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14684         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14685         _dl_s390_cap_flags with kernel. Increase string length.
14686         (_dl_s390_platforms): Add z196 and zEC12.
14688 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14690         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14691         Change XOPEN21K to XOPEN2K.
14693 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
14695         * string/memmove.c: Use memcpy when possible.
14697 2012-11-06  Andreas Jaeger  <aj@suse.de>
14699         * po/eo.po: Update from translation team.
14701 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
14703         [BZ #14793]
14704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14705         exponent and small x and y exponents, scale x or y up.  Increase
14706         by 2 the exponent used in scaling up.
14707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14709         * math/libm-test.inc (fma_test): Add more tests.
14710         (fma_test_towardzero): Likewise.
14711         (fma_test_downward): Likewise.
14712         (fma_test_upward): Likewise.
14714 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
14716         [BZ #14805]
14717         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14718         fenv_t *.
14720         [BZ #14801]
14721         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14722         namespace for names of struct fields.
14723         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14724         fenv_t fields.
14725         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14726         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14728 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14730         [BZ #3665]
14731         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14733 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14735         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14736         PTR_DEMANGLE.
14738         [BZ #5246]
14739         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14740         PTR_DEMANGLE.
14742 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
14744         [BZ #14797]
14745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14746         definitely overflow as x * y not x * y + z.
14747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14749         * math/libm-test.inc (fma_test): Add more tests.
14750         (fma_test_towardzero): Likewise.
14751         (fma_test_downward): Likewise.
14752         (fma_test_upward): Likewise.
14754 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14756         [BZ #157]
14758         * include/stub-tag.h: Remove file.
14759         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14760         '#include' of it.
14761         * manual/maint.texi (Porting): Don't reference it.
14762         * Makerules ($(objpfx)stubs): Likewise.
14763         * dirent/closedir.c: Don't include <stub-tag.h>.
14764         * dirent/dirfd.c: Likewise.
14765         * dirent/fdopendir.c: Likewise.
14766         * dirent/getdents.c: Likewise.
14767         * dirent/getdents64.c: Likewise.
14768         * dirent/opendir.c: Likewise.
14769         * dirent/readdir.c: Likewise.
14770         * dirent/readdir64.c: Likewise.
14771         * dirent/readdir64_r.c: Likewise.
14772         * dirent/readdir_r.c: Likewise.
14773         * dirent/rewinddir.c: Likewise.
14774         * dirent/seekdir.c: Likewise.
14775         * dirent/telldir.c: Likewise.
14776         * gmon/profil.c: Likewise.
14777         * grp/setgroups.c: Likewise.
14778         * inet/if_index.c: Likewise.
14779         * io/access.c: Likewise.
14780         * io/chdir.c: Likewise.
14781         * io/chmod.c: Likewise.
14782         * io/chown.c: Likewise.
14783         * io/close.c: Likewise.
14784         * io/dup.c: Likewise.
14785         * io/dup2.c: Likewise.
14786         * io/dup3.c: Likewise.
14787         * io/euidaccess.c: Likewise.
14788         * io/faccessat.c: Likewise.
14789         * io/fchdir.c: Likewise.
14790         * io/fchmod.c: Likewise.
14791         * io/fchmodat.c: Likewise.
14792         * io/fchown.c: Likewise.
14793         * io/fchownat.c: Likewise.
14794         * io/fcntl.c: Likewise.
14795         * io/flock.c: Likewise.
14796         * io/fstatfs.c: Likewise.
14797         * io/fstatfs64.c: Likewise.
14798         * io/fstatvfs.c: Likewise.
14799         * io/fstatvfs64.c: Likewise.
14800         * io/futimens.c: Likewise.
14801         * io/fxstat.c: Likewise.
14802         * io/fxstat64.c: Likewise.
14803         * io/fxstatat.c: Likewise.
14804         * io/fxstatat64.c: Likewise.
14805         * io/getcwd.c: Likewise.
14806         * io/isatty.c: Likewise.
14807         * io/lchmod.c: Likewise.
14808         * io/lchown.c: Likewise.
14809         * io/link.c: Likewise.
14810         * io/linkat.c: Likewise.
14811         * io/lseek.c: Likewise.
14812         * io/lseek64.c: Likewise.
14813         * io/lxstat64.c: Likewise.
14814         * io/mkdir.c: Likewise.
14815         * io/mkdirat.c: Likewise.
14816         * io/mkfifo.c: Likewise.
14817         * io/mkfifoat.c: Likewise.
14818         * io/open.c: Likewise.
14819         * io/open64.c: Likewise.
14820         * io/openat.c: Likewise.
14821         * io/openat64.c: Likewise.
14822         * io/pipe.c: Likewise.
14823         * io/pipe2.c: Likewise.
14824         * io/poll.c: Likewise.
14825         * io/posix_fadvise.c: Likewise.
14826         * io/posix_fadvise64.c: Likewise.
14827         * io/posix_fallocate.c: Likewise.
14828         * io/posix_fallocate64.c: Likewise.
14829         * io/read.c: Likewise.
14830         * io/readlink.c: Likewise.
14831         * io/readlinkat.c: Likewise.
14832         * io/rmdir.c: Likewise.
14833         * io/sendfile.c: Likewise.
14834         * io/sendfile64.c: Likewise.
14835         * io/statfs.c: Likewise.
14836         * io/statfs64.c: Likewise.
14837         * io/statvfs.c: Likewise.
14838         * io/statvfs64.c: Likewise.
14839         * io/symlink.c: Likewise.
14840         * io/symlinkat.c: Likewise.
14841         * io/ttyname.c: Likewise.
14842         * io/ttyname_r.c: Likewise.
14843         * io/umask.c: Likewise.
14844         * io/unlink.c: Likewise.
14845         * io/unlinkat.c: Likewise.
14846         * io/utime.c: Likewise.
14847         * io/utimensat.c: Likewise.
14848         * io/write.c: Likewise.
14849         * io/xmknod.c: Likewise.
14850         * io/xmknodat.c: Likewise.
14851         * io/xstat.c: Likewise.
14852         * io/xstat64.c: Likewise.
14853         * login/getpt.c: Likewise.
14854         * login/grantpt.c: Likewise.
14855         * login/unlockpt.c: Likewise.
14856         * math/e_acoshl.c: Likewise.
14857         * math/e_acosl.c: Likewise.
14858         * math/e_asinl.c: Likewise.
14859         * math/e_atan2l.c: Likewise.
14860         * math/e_atanhl.c: Likewise.
14861         * math/e_coshl.c: Likewise.
14862         * math/e_expl.c: Likewise.
14863         * math/e_fmodl.c: Likewise.
14864         * math/e_gammal_r.c: Likewise.
14865         * math/e_hypotl.c: Likewise.
14866         * math/e_j0l.c: Likewise.
14867         * math/e_j1l.c: Likewise.
14868         * math/e_jnl.c: Likewise.
14869         * math/e_lgammal_r.c: Likewise.
14870         * math/e_log10l.c: Likewise.
14871         * math/e_log2l.c: Likewise.
14872         * math/e_logl.c: Likewise.
14873         * math/e_powl.c: Likewise.
14874         * math/e_rem_pio2l.c: Likewise.
14875         * math/e_sinhl.c: Likewise.
14876         * math/e_sqrtl.c: Likewise.
14877         * math/fclrexcpt.c: Likewise.
14878         * math/fedisblxcpt.c: Likewise.
14879         * math/feenablxcpt.c: Likewise.
14880         * math/fegetenv.c: Likewise.
14881         * math/fegetexcept.c: Likewise.
14882         * math/fegetround.c: Likewise.
14883         * math/feholdexcpt.c: Likewise.
14884         * math/fesetenv.c: Likewise.
14885         * math/fesetround.c: Likewise.
14886         * math/feupdateenv.c: Likewise.
14887         * math/fgetexcptflg.c: Likewise.
14888         * math/fraiseexcpt.c: Likewise.
14889         * math/fsetexcptflg.c: Likewise.
14890         * math/ftestexcept.c: Likewise.
14891         * math/k_cosl.c: Likewise.
14892         * math/k_rem_pio2l.c: Likewise.
14893         * math/k_sinl.c: Likewise.
14894         * math/k_tanl.c: Likewise.
14895         * math/s_asinhl.c: Likewise.
14896         * math/s_atanl.c: Likewise.
14897         * math/s_cbrtl.c: Likewise.
14898         * math/s_erfl.c: Likewise.
14899         * math/s_expm1l.c: Likewise.
14900         * math/s_log1pl.c: Likewise.
14901         * math/s_tanhl.c: Likewise.
14902         * misc/acct.c: Likewise.
14903         * misc/brk.c: Likewise.
14904         * misc/chflags.c: Likewise.
14905         * misc/chroot.c: Likewise.
14906         * misc/fchflags.c: Likewise.
14907         * misc/fgetxattr.c: Likewise.
14908         * misc/flistxattr.c: Likewise.
14909         * misc/fremovexattr.c: Likewise.
14910         * misc/fsetxattr.c: Likewise.
14911         * misc/fsync.c: Likewise.
14912         * misc/ftruncate.c: Likewise.
14913         * misc/futimes.c: Likewise.
14914         * misc/futimesat.c: Likewise.
14915         * misc/getdomain.c: Likewise.
14916         * misc/getdtsz.c: Likewise.
14917         * misc/gethostid.c: Likewise.
14918         * misc/gethostname.c: Likewise.
14919         * misc/getloadavg.c: Likewise.
14920         * misc/getpagesize.c: Likewise.
14921         * misc/getsysstats.c: Likewise.
14922         * misc/getxattr.c: Likewise.
14923         * misc/gtty.c: Likewise.
14924         * misc/ioctl.c: Likewise.
14925         * misc/lgetxattr.c: Likewise.
14926         * misc/listxattr.c: Likewise.
14927         * misc/llistxattr.c: Likewise.
14928         * misc/lremovexattr.c: Likewise.
14929         * misc/lsetxattr.c: Likewise.
14930         * misc/lutimes.c: Likewise.
14931         * misc/madvise.c: Likewise.
14932         * misc/mincore.c: Likewise.
14933         * misc/mlock.c: Likewise.
14934         * misc/mlockall.c: Likewise.
14935         * misc/mmap.c: Likewise.
14936         * misc/mprotect.c: Likewise.
14937         * misc/msync.c: Likewise.
14938         * misc/munlock.c: Likewise.
14939         * misc/munlockall.c: Likewise.
14940         * misc/munmap.c: Likewise.
14941         * misc/preadv.c: Likewise.
14942         * misc/preadv64.c: Likewise.
14943         * misc/ptrace.c: Likewise.
14944         * misc/pwritev.c: Likewise.
14945         * misc/pwritev64.c: Likewise.
14946         * misc/readv.c: Likewise.
14947         * misc/reboot.c: Likewise.
14948         * misc/remap_file_pages.c: Likewise.
14949         * misc/removexattr.c: Likewise.
14950         * misc/revoke.c: Likewise.
14951         * misc/select.c: Likewise.
14952         * misc/setdomain.c: Likewise.
14953         * misc/setegid.c: Likewise.
14954         * misc/seteuid.c: Likewise.
14955         * misc/sethostid.c: Likewise.
14956         * misc/sethostname.c: Likewise.
14957         * misc/setregid.c: Likewise.
14958         * misc/setreuid.c: Likewise.
14959         * misc/setxattr.c: Likewise.
14960         * misc/sstk.c: Likewise.
14961         * misc/stty.c: Likewise.
14962         * misc/swapoff.c: Likewise.
14963         * misc/swapon.c: Likewise.
14964         * misc/sync.c: Likewise.
14965         * misc/syncfs.c: Likewise.
14966         * misc/syscall.c: Likewise.
14967         * misc/truncate.c: Likewise.
14968         * misc/ualarm.c: Likewise.
14969         * misc/usleep.c: Likewise.
14970         * misc/ustat.c: Likewise.
14971         * misc/utimes.c: Likewise.
14972         * misc/vhangup.c: Likewise.
14973         * misc/writev.c: Likewise.
14974         * posix/_exit.c: Likewise.
14975         * posix/alarm.c: Likewise.
14976         * posix/execve.c: Likewise.
14977         * posix/fexecve.c: Likewise.
14978         * posix/fork.c: Likewise.
14979         * posix/fpathconf.c: Likewise.
14980         * posix/getaddrinfo.c: Likewise.
14981         * posix/getegid.c: Likewise.
14982         * posix/geteuid.c: Likewise.
14983         * posix/getgid.c: Likewise.
14984         * posix/getgroups.c: Likewise.
14985         * posix/getlogin.c: Likewise.
14986         * posix/getlogin_r.c: Likewise.
14987         * posix/getpgid.c: Likewise.
14988         * posix/getpid.c: Likewise.
14989         * posix/getppid.c: Likewise.
14990         * posix/getresgid.c: Likewise.
14991         * posix/getresuid.c: Likewise.
14992         * posix/getsid.c: Likewise.
14993         * posix/getuid.c: Likewise.
14994         * posix/glob64.c: Likewise.
14995         * posix/nanosleep.c: Likewise.
14996         * posix/pathconf.c: Likewise.
14997         * posix/pause.c: Likewise.
14998         * posix/posix_madvise.c: Likewise.
14999         * posix/pread.c: Likewise.
15000         * posix/pread64.c: Likewise.
15001         * posix/pwrite.c: Likewise.
15002         * posix/pwrite64.c: Likewise.
15003         * posix/sched_getaffinity.c: Likewise.
15004         * posix/sched_getp.c: Likewise.
15005         * posix/sched_gets.c: Likewise.
15006         * posix/sched_primax.c: Likewise.
15007         * posix/sched_primin.c: Likewise.
15008         * posix/sched_rr_gi.c: Likewise.
15009         * posix/sched_setaffinity.c: Likewise.
15010         * posix/sched_setp.c: Likewise.
15011         * posix/sched_sets.c: Likewise.
15012         * posix/sched_yield.c: Likewise.
15013         * posix/setgid.c: Likewise.
15014         * posix/setlogin.c: Likewise.
15015         * posix/setpgid.c: Likewise.
15016         * posix/setresgid.c: Likewise.
15017         * posix/setresuid.c: Likewise.
15018         * posix/setsid.c: Likewise.
15019         * posix/setuid.c: Likewise.
15020         * posix/sleep.c: Likewise.
15021         * posix/spawni.c: Likewise.
15022         * posix/sysconf.c: Likewise.
15023         * posix/times.c: Likewise.
15024         * posix/wait.c: Likewise.
15025         * posix/wait3.c: Likewise.
15026         * posix/wait4.c: Likewise.
15027         * posix/waitpid.c: Likewise.
15028         * resolv/gai_sigqueue.c: Likewise.
15029         * resource/getpriority.c: Likewise.
15030         * resource/getrlimit.c: Likewise.
15031         * resource/getrusage.c: Likewise.
15032         * resource/nice.c: Likewise.
15033         * resource/setpriority.c: Likewise.
15034         * resource/setrlimit.c: Likewise.
15035         * resource/ulimit.c: Likewise.
15036         * rt/aio_cancel.c: Likewise.
15037         * rt/aio_fsync.c: Likewise.
15038         * rt/aio_read.c: Likewise.
15039         * rt/aio_sigqueue.c: Likewise.
15040         * rt/aio_suspend.c: Likewise.
15041         * rt/aio_write.c: Likewise.
15042         * rt/clock_getres.c: Likewise.
15043         * rt/clock_gettime.c: Likewise.
15044         * rt/clock_nanosleep.c: Likewise.
15045         * rt/clock_settime.c: Likewise.
15046         * rt/lio_listio.c: Likewise.
15047         * rt/mq_close.c: Likewise.
15048         * rt/mq_getattr.c: Likewise.
15049         * rt/mq_notify.c: Likewise.
15050         * rt/mq_open.c: Likewise.
15051         * rt/mq_receive.c: Likewise.
15052         * rt/mq_send.c: Likewise.
15053         * rt/mq_setattr.c: Likewise.
15054         * rt/mq_timedreceive.c: Likewise.
15055         * rt/mq_timedsend.c: Likewise.
15056         * rt/mq_unlink.c: Likewise.
15057         * rt/shm_open.c: Likewise.
15058         * rt/shm_unlink.c: Likewise.
15059         * rt/timer_create.c: Likewise.
15060         * rt/timer_delete.c: Likewise.
15061         * rt/timer_getoverr.c: Likewise.
15062         * rt/timer_gettime.c: Likewise.
15063         * rt/timer_settime.c: Likewise.
15064         * setjmp/__longjmp.c: Likewise.
15065         * setjmp/setjmp.c: Likewise.
15066         * signal/kill.c: Likewise.
15067         * signal/killpg.c: Likewise.
15068         * signal/raise.c: Likewise.
15069         * signal/sigaction.c: Likewise.
15070         * signal/sigaltstack.c: Likewise.
15071         * signal/sigblock.c: Likewise.
15072         * signal/sigignore.c: Likewise.
15073         * signal/sigintr.c: Likewise.
15074         * signal/signal.c: Likewise.
15075         * signal/sigpause.c: Likewise.
15076         * signal/sigpending.c: Likewise.
15077         * signal/sigqueue.c: Likewise.
15078         * signal/sigreturn.c: Likewise.
15079         * signal/sigset.c: Likewise.
15080         * signal/sigsetmask.c: Likewise.
15081         * signal/sigstack.c: Likewise.
15082         * signal/sigsuspend.c: Likewise.
15083         * signal/sigtimedwait.c: Likewise.
15084         * signal/sigvec.c: Likewise.
15085         * signal/sigwait.c: Likewise.
15086         * signal/sigwaitinfo.c: Likewise.
15087         * signal/sysv_signal.c: Likewise.
15088         * socket/accept.c: Likewise.
15089         * socket/accept4.c: Likewise.
15090         * socket/bind.c: Likewise.
15091         * socket/connect.c: Likewise.
15092         * socket/getpeername.c: Likewise.
15093         * socket/getsockname.c: Likewise.
15094         * socket/getsockopt.c: Likewise.
15095         * socket/isfdtype.c: Likewise.
15096         * socket/listen.c: Likewise.
15097         * socket/recv.c: Likewise.
15098         * socket/recvfrom.c: Likewise.
15099         * socket/recvmsg.c: Likewise.
15100         * socket/send.c: Likewise.
15101         * socket/sendmsg.c: Likewise.
15102         * socket/sendto.c: Likewise.
15103         * socket/setsockopt.c: Likewise.
15104         * socket/shutdown.c: Likewise.
15105         * socket/sockatmark.c: Likewise.
15106         * socket/socket.c: Likewise.
15107         * socket/socketpair.c: Likewise.
15108         * stdio-common/ctermid.c: Likewise.
15109         * stdio-common/cuserid.c: Likewise.
15110         * stdio-common/remove.c: Likewise.
15111         * stdio-common/rename.c: Likewise.
15112         * stdio-common/renameat.c: Likewise.
15113         * stdio-common/tempname.c: Likewise.
15114         * stdlib/getcontext.c: Likewise.
15115         * stdlib/makecontext.c: Likewise.
15116         * stdlib/setcontext.c: Likewise.
15117         * stdlib/swapcontext.c: Likewise.
15118         * stdlib/system.c: Likewise.
15119         * streams/fattach.c: Likewise.
15120         * streams/fdetach.c: Likewise.
15121         * streams/getmsg.c: Likewise.
15122         * streams/getpmsg.c: Likewise.
15123         * streams/putmsg.c: Likewise.
15124         * streams/putpmsg.c: Likewise.
15125         * sysdeps/unix/bsd/getpt.c: Likewise.
15126         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15127         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15128         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15130         Likewise.
15131         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15132         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15133         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15134         * sysvipc/msgctl.c: Likewise.
15135         * sysvipc/msgget.c: Likewise.
15136         * sysvipc/msgrcv.c: Likewise.
15137         * sysvipc/msgsnd.c: Likewise.
15138         * sysvipc/semctl.c: Likewise.
15139         * sysvipc/semget.c: Likewise.
15140         * sysvipc/semop.c: Likewise.
15141         * sysvipc/semtimedop.c: Likewise.
15142         * sysvipc/shmat.c: Likewise.
15143         * sysvipc/shmctl.c: Likewise.
15144         * sysvipc/shmdt.c: Likewise.
15145         * sysvipc/shmget.c: Likewise.
15146         * termios/tcdrain.c: Likewise.
15147         * termios/tcflow.c: Likewise.
15148         * termios/tcflush.c: Likewise.
15149         * termios/tcgetattr.c: Likewise.
15150         * termios/tcgetpgrp.c: Likewise.
15151         * termios/tcsendbrk.c: Likewise.
15152         * termios/tcsetattr.c: Likewise.
15153         * termios/tcsetpgrp.c: Likewise.
15154         * time/adjtime.c: Likewise.
15155         * time/clock.c: Likewise.
15156         * time/getitimer.c: Likewise.
15157         * time/gettimeofday.c: Likewise.
15158         * time/setitimer.c: Likewise.
15159         * time/settimeofday.c: Likewise.
15160         * time/stime.c: Likewise.
15161         * time/time.c: Likewise.
15163 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
15165         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15166         /usr/old/bin.
15168         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15169         instead of spaces.
15170         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15172 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
15174         [BZ #14796]
15175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15176         FE_TONEAREST before applying Dekker multiplication and Knuth
15177         addition.  Clear inexact exceptions and check for exact zero
15178         results afterwards.
15179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15180         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15181         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15182         * math/libm-test.inc (fma_test): Add more tests.
15183         (fma_test_towardzero): Likewise.
15184         (fma_test_downward): Likewise.
15185         (fma_test_upward): Likewise.
15186         * sysdeps/generic/math_private.h (default_libc_fesetround): New
15187         function.
15188         (libc_fesetround): New macro.
15189         (libc_fesetroundf): Likewise.
15190         (libc_fesetroundl): Likewise.
15191         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15192         function.
15193         (libc_fesetround_387): Likewise.
15194         (libc_fesetroundf): New macro.
15195         (libc_fesetround): Likewise.
15196         (libc_fesetroundl): Likewise.
15197         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15198         function.
15199         (libc_fesetroundf): New macro.
15200         (libc_fesetround): Likewise.
15201         (libc_fesetroundl): Likewise.
15202         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15203         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15204         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15205         libm_hidden_ver.
15206         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15207         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15208         libm_hidden_def.
15209         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15210         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15211         libm_hidden_ver.
15212         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15213         libm_hidden_def.
15215         [BZ #3439]
15216         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15217         integer constant usable in #if and use that to give value to enum
15218         constant.
15219         (FE_DIVBYZERO): Likewise.
15220         (FE_UNDERFLOW): Likewise.
15221         (FE_OVERFLOW): Likewise.
15222         (FE_INVALID): Likewise.
15223         (FE_INVALID_SNAN): Likewise.
15224         (FE_INVALID_ISI): Likewise.
15225         (FE_INVALID_IDI): Likewise.
15226         (FE_INVALID_ZDZ): Likewise.
15227         (FE_INVALID_IMZ): Likewise.
15228         (FE_INVALID_COMPARE): Likewise.
15229         (FE_INVALID_SOFTWARE): Likewise.
15230         (FE_INVALID_SQRT): Likewise.
15231         (FE_INVALID_INTEGER_CONVERSION): Likewise.
15232         (FE_TONEAREST): Likewise.
15233         (FE_TOWARDZERO): Likewise.
15234         (FE_UPWARD): Likewise.
15235         (FE_DOWNWARD): Likewise.
15236         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15237         (FE_DIVBYZERO): Likewise.
15238         (FE_OVERFLOW): Likewise.
15239         (FE_UNDERFLOW): Likewise.
15240         (FE_INEXACT): Likewise.
15241         (FE_TONEAREST): Likewise.
15242         (FE_DOWNWARD): Likewise.
15243         (FE_UPWARD): Likewise.
15244         (FE_TOWARDZERO): Likewise.
15245         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15246         (FE_UNDERFLOW): Likewise.
15247         (FE_OVERFLOW): Likewise.
15248         (FE_DIVBYZERO): Likewise.
15249         (FE_INVALID): Likewise.
15250         (FE_TONEAREST): Likewise.
15251         (FE_TOWARDZERO): Likewise.
15252         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15253         (FE_OVERFLOW): Likewise.
15254         (FE_UNDERFLOW): Likewise.
15255         (FE_DIVBYZERO): Likewise.
15256         (FE_INEXACT): Likewise.
15257         (FE_TONEAREST): Likewise.
15258         (FE_TOWARDZERO): Likewise.
15259         (FE_UPWARD): Likewise.
15260         (FE_DOWNWARD): Likewise.
15261         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15262         (FE_DIVBYZERO): Likewise.
15263         (FE_OVERFLOW): Likewise.
15264         (FE_UNDERFLOW): Likewise.
15265         (FE_INEXACT): Likewise.
15266         (FE_TONEAREST): Likewise.
15267         (FE_DOWNWARD): Likewise.
15268         (FE_UPWARD): Likewise.
15269         (FE_TOWARDZERO): Likewise.
15271 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
15273         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15275 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
15277         * scripts/cross-test-ssh.sh (command): Use newlines to separate
15278         commands.  Quote $PWD.
15279         (blacklist_exports): Don't use remove_newlines.  Replace "declare
15280         -x" by "export".
15281         (remove_newlines): Remove.
15283 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
15285         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15286         * stdlib/stdlib.h (atof): Moved to ...
15287         * include/bits/stdlib-float.h: Here.  New file.
15288         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15289         * stdlib/bits/stdlib-float.h: New file.
15290         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15291         -mno-sse -mno-mmx.
15292         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15293         <xmmintrin.h>.
15295 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15297         * conform/conformtest.pl (@headers): Add fenv.h.
15298         * conform/data/fenv.h-data: New file.
15299         * include/fenv.h [_ISOMAC]: Disable all contents of file except
15300         include of <math/fenv.h>.
15302         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15303         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15304         && !UNIX98].  Enables tests for XOPEN2K8.
15305         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15306         POSIX2008]: Likewise.
15308         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15309         (struct rusage): Do not expect type or its members.
15311         [BZ #3439]
15312         * math/math.h (FP_NAN): Define macro to integer constant usable in
15313         #if and use that to give value to enum constant.
15314         (FP_INFINITE): Likewise.
15315         (FP_ZERO): Likewise.
15316         (FP_SUBNORMAL): Likewise.
15317         (FP_NORMAL): Likewise.
15319 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
15321         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15322         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15323         arguments.
15325 2012-11-02  Roland McGrath  <roland@hack.frob.com>
15327         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15328         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15329         autoconf-time if not.
15330         * configure.in: Remove AC_PREREQ.
15332 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15334         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15335         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15336         of the internal implementation.
15338 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15340         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15341         except include of <misc/sys/syslog.h>.
15343 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15346         function returns with a NULL context exit with zero.
15348 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15350         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15352 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
15354         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15355         (run_program_cmd): This.
15356         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15357         (tst_langinfo): New variable.  Use it.
15359 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
15361         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15362         floating point opcodes.
15364 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15366         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15367         variable.
15369         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15371         * sysdeps/mach/hurd/powerpc: Remove directory.
15372         * sysdeps/mach/powerpc: Likewise.
15374 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15376         * scripts/check-local-headers.sh: Ignore c++ headers.
15378 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15380         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15381         __libc_cleanup_region_start argument.
15383 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
15385         [BZ #14784]
15386         [BZ #14785]
15387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15388         x * y using scaling, not as x * y + z.
15389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15390         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15391         * math/libm-test.inc (fma_test): Add more tests.
15392         (fma_test_towardzero): Likewise.
15393         (fma_test_downward): Likewise.
15394         (fma_test_upward): Likewise.
15396 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15398         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15400 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15402         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15403         New variable.
15405 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
15407         * rt/tst-shm.c (worker): Correct checking for mmap failure.
15409 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15412         Fix sort order.
15413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15414         Likewise.
15416 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15419         Fix the order of the list for glibc 2.17.
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15421         Likewise.
15423 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15427 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15429         [BZ #14610]
15430         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15431         for low part of x being zero before using __atanl (y).
15432         * math/libm-test.inc (atan2_test): Add another test.
15434         * manual/install.texi (Configuring and compiling): Document
15435         general use of test-wrapper and test-wrapper-env.
15436         * INSTALL: Regenerated.
15438         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15439         (__fma): Do not extract and scale down low bits on after-rounding
15440         systems when result rounded to normal precision would have normal
15441         exponent.
15442         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15443         (__fmal): Do not extract and scale down low bits on after-rounding
15444         systems when result rounded to normal precision would have normal
15445         exponent.
15446         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15447         (__fmal): Do not extract and scale down low bits on after-rounding
15448         systems when result rounded to normal precision would have normal
15449         exponent.
15450         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15451         macro.
15452         (fma_test): Add more tests.
15453         (fma_test_towardzero): Likewise.
15454         (fma_test_downward): Likewise.
15455         (fma_test_upward): Likewise.
15457 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
15459         * sysdeps/i386/tininess.h: Renamed to ...
15460         * sysdeps/x86/tininess.h: This.
15461         * sysdeps/x86_64/tininess.h: Removed.
15463 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
15465         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15466         input.  Use $(build-program-cmd).
15467         ($(objpfx)tst-array1-static.out): Likewise.
15468         ($(objpfx)tst-array2.out): Likewise.
15469         ($(objpfx)tst-array3.out): Likewise.
15470         ($(objpfx)tst-array4.out): Likewise.
15471         ($(objpfx)tst-array5.out): Likewise.
15472         ($(objpfx)tst-array5-static.out): Likewise.
15474 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
15476         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15477         if defined.
15479         * nss/nsswitch.h (nss_interface_function): Provide new
15480         macro for use with NSS functions.
15481         * grp/initgroups.c: Use new macro.
15482         * nss/getXXbyYY.c: Likewise.
15483         * nss/getXXbyYY_r.c: Likewise.
15484         * nss/getXXent.c: Likewise.
15485         * nss/getXXent_r.c: Likewise.
15486         * sysdeps/posix/getaddrinfo.c: Likewise.
15488 2012-10-30  Andreas Jaeger  <aj@suse.de>
15490         * po/ru.po: Update Russion translation from translation project.
15492 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
15494         [BZ #14152]
15495         [BZ #14783]
15496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15497         result and shift together with sticky bit instead of replicating
15498         round-to-nearest rounding.
15499         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15501         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
15502         missing underflow exceptions.
15503         (fma_test_towardzero): Add more tests.
15504         (fma_test_downward): Likewise.
15505         (fma_test_upward): Likewise.
15507         [BZ #14047]
15508         * sysdeps/generic/tininess.h: New file.
15509         * sysdeps/i386/tininess.h: Likewise.
15510         * sysdeps/sh/tininess.h: Likewise.
15511         * sysdeps/x86_64/tininess.h: Likewise.
15512         * stdlib/tst-strtod-underflow.c: Likewise.
15513         * stdlib/tst-tininess.c: Likewise.
15514         * stdlib/strtod_l.c: Include <tininess.h>.
15515         (round_and_return): Do not set errno for exact underflow cases.
15516         Force an underflow exception when setting errno for underflow.
15517         Determine underflow based on rounding to normal precision if
15518         TININESS_AFTER_ROUNDING.
15519         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15520         ERANGE for exact underflow cases.
15521         * stdlib/Makefile (tests): Add tst-tininess and
15522         tst-strtod-underflow.
15523         ($(objpfx)tst-tininess): Use $(link-libm).
15524         ($(objpfx)tst-strtod-underflow): Likewise.
15526 2012-10-30  Andreas Jaeger  <aj@suse.de>
15528         [BZ#14767]
15529         * elf/Makefile (tests): Remove conditional for have-initfini-array
15530         since this is now always required and the variable does not exist
15531         anymore.
15532         (tests-static): Likewise.
15533         (modules-names): Likewise.
15535         * po/eo.po: Add Esperanto translation from translation project.
15537         * elf/tst-array1.c (fini_array): Make writeable so that it can be
15538         merged with constructor/destructor.
15539         (init_array): Likewise.
15540         * elf/tst-array2dep.c (fini_array): Likewise.
15541         (init_array): Likewise.
15543 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
15545         * manual/message.texi: Delete @cartouche tags.
15547 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
15549         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15550         EOPNOTSUPP.
15551         * sysdeps/mach/hurd/fsync.c: Likewise.
15553         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15554         [_POSIX_REALTIME_SIGNALS]: Change condition to
15555         [_POSIX_REALTIME_SIGNALS > 0].
15557 2012-10-27  Andreas Jaeger  <aj@suse.de>
15559         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15560         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15561         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15562         [__WORDSIZE != 64]: Likewise.
15564 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
15566         *  iconvdata/tst-table.sh: Remove ${SHELL}.
15567         *  iconvdata/tst-tables.sh: Likewise.
15569 2012-10-25  David S. Miller  <davem@davemloft.net>
15571         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15572         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15573         of strtoull.
15575         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15576         ifunc-impl-list.c
15577         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15578         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15579         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15580         file.
15582 2012-10-25  Roland McGrath  <roland@hack.frob.com>
15584         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15585         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15586         __getdirentries.
15588 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
15589             Jim Blandy  <jimb@codesourcery.com>
15591         * scripts/cross-test-ssh.sh: New file.
15592         * manual/install.texi (Configuring and compiling): Document use of
15593         cross-test-ssh.sh.
15594         * INSTALL: Regenerated.
15596 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
15598         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15599         EOPNOTSUPP.
15601 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
15603         * Makeconfig (run-program-prefix): Fix comment.
15605 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15606             Jim Blandy  <jimb@codesourcery.com>
15608         * Makeconfig (test-wrapper): New variable,
15609         (test-wrapper-env): Likewise.
15610         [$(cross-compiling) = yes && $(test-wrapper) != ""]
15611         (run-built-tests): Define to yes.
15612         (run-program-prefix): Use $(test-wrapper).
15613         (built-program-cmd): Likewise.
15614         * Rules (make-test-out): Use $(test-wrapper-env) and
15615         $(host-built-program-cmd).
15616         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15617         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15618         tst-pathopt.sh.
15619         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15620         $(test-wrapper-env) to tst-rtld-load-self.sh.
15621         ($(objpfx)order2.out): Use $(test-wrapper).
15622         ($(objpfx)tst-initorder.out): Likewise.
15623         ($(objpfx)tst-initorder2.out): Likewise.
15624         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15625         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15626         (test_wrapper_env): New variable.  Use it to run ld.so.
15627         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15628         Use it to run ld.so.
15629         (test_wrapper_env): Likewise.
15630         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15631         $(test-wrapper) to run-iconv-test.sh.
15632         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15633         (ICONV): Use $test_wrapper.
15634         * posix/Makefile ($(objpfx)globtest.out): Pass
15635         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15636         globtest.sh, not $(run-program-prefix).
15637         * posix/globtest.sh (run_via_rtld_prefix): New variable.
15638         (test_wrapper): Likewise.
15639         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
15640         set together with run_via_rtld_prefix.
15641         (run_program_prefix): Define in terms of test_wrapper and
15642         run_via_rtld_prefix.
15644 2012-10-24  Roland McGrath  <roland@hack.frob.com>
15646         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15647         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15648         Targets removed.
15650         [BZ #14743]
15651         * include/time.h: Remove librt_hidden_proto (clock_gettime).
15652         Declare __clock_getres, __clock_gettime, __clock_settime,
15653         __clock_nanosleep, and __clock_getcpuclockid.
15654         * rt/clock_gettime.c: Define __clock_gettime as an alias.
15655         Remove librt_hidden_def (clock_gettime).
15656         * sysdeps/unix/clock_gettime.c: Likewise.
15657         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15658         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15659         * rt/clock_getres.c: Define __clock_getres as an alias.
15660         * sysdeps/posix/clock_getres.c: Likewise.
15661         * rt/clock_settime.c: Define __clock_settime as an alias.
15662         * sysdeps/unix/clock_settime.c: Likewise.
15663         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15664         * sysdeps/unix/clock_nanosleep.c: Likewise.
15665         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15666         * rt/clock-compat.c: New file.
15667         * rt/Makefile (librt-routines): Add clock-compat and move
15668         $(clock-routines) to ...
15669         (routines): ... here, new variable.
15670         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15671         Don't add get_clockfreq here.
15672         * rt/Versions (libc: GLIBC_2.17): New version set.
15673         Add clock_* symbols here.
15674         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
15675         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15676         (GLIBC_2.17): Add clock_* symbols.
15677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15679         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15681         Likewise.
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15683         Likewise.
15684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15688         * NEWS: Mention the move.
15690         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15691         Use __open, __read, __close rather than their public counterparts.
15692         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15693         (__get_clockfreq_via_cpuinfo): Likewise.
15694         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15695         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15697         * config.h.in (HAVE_IFUNC): New #undef.
15698         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15699         was successful.
15700         * configure: Regenerated.
15702 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15704         * configure.in: Move READELF check to start of file.
15705         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15706         libc_cv_asm_gnu_indirect_function in the process.
15707         * configure: Regenerated.
15709 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15711         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15712         send the output to /dev/null.
15713         (libc_cv_cc_with_libunwind): Likewise.
15714         (libc_cv_as_noexecstack): Likewise.
15715         * configure: Regenerate.
15717 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15719         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15721         * posix/globtest.sh (TMPDIR): Do not set.
15722         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15723         (testout): Likewise.
15725 2012-10-24  Andreas Jaeger  <aj@suse.de>
15727         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15728         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15729         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15730         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15731         posix_fadvise64, posix_fallocate64.
15733         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15734         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15735         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15736         Likewise.
15737         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15738         Likewise.
15739         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15742         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15743         <bits/fcntl-linux.h>.
15744         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15746         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15747         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15748         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15749         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15750         [__WORDSIZE != 64]: Likewise.
15752 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15754         * Makeconfig (run-built-tests): New variable.
15755         * Rules [$(cross-compiling) = yes]: Change condition to
15756         [$(run-built-tests) = no].
15757         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15758         to [$(run-built-tests) = yes].
15759         * elf/Makefile [$(cross-compiling) = no]: Likewise
15760         * grp/Makefile [$(cross-compiling) = no]: Likewise.
15761         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15762         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15763         * intl/Makefile [$(cross-compiling) = no]: Likewise.
15764         * io/Makefile [$(cross-compiling) = no]: Likewise.
15765         * libio/Makefile [$(cross-compiling) = no]: Likewise.
15766         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15767         * misc/Makefile [$(cross-compiling) = no]: Likewise.
15768         * posix/Makefile [$(cross-compiling) = no]: Likewise.
15769         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15770         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15771         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15772         * string/Makefile [$(cross-compiling) = no]: Likewise.
15774         * posix/Makefile ($(objpfx)globtest.out): Pass
15775         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15776         $(rtld-installed-name).
15777         * posix/globtest.sh (elf_objpfx): Remove variable.
15778         (rtld_installed_name): Likewise.
15779         (library_path): Likewise.
15780         (run_program_prefix): New variable.  Use for running globtest
15781         binary.
15783 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
15784             Joseph Myers  <joseph@codesourcery.com>
15786         * Makeconfig (host-built-program-cmd): New variable.
15787         * elf/Makefile (tst-stackguard1-ARGS): Use
15788         $(host-built-program-cmd).
15789         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15790         (tst-spawn-ARGS): Likewise.
15791         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15793 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15794             Jim Blandy  <jimb@codesourcery.com>
15796         * Makeconfig (run-via-rtld-prefix): New variable.
15797         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15798         (built-program-cmd): Likewise.
15800 2012-10-22  Andreas Jaeger  <aj@suse.de>
15802         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15803         __O_RSYNC if it exists, otherwise to O_SYNC.
15805 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
15806             Joseph Myers  <joseph@codesourcery.com>
15808         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15809         /dev/null.
15810         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15811         from /dev/null
15812         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15813         /dev/null.
15815 2012-10-22  Andreas Jaeger  <aj@suse.de>
15817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15818         Define always.
15819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15822         bits/fcntl-linux.h.
15824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15825         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15827         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15828         to __O_LARGEFILE.
15829         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15830         to __O_LARGEFILE.
15832 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
15833             Joseph Myers  <joseph@codesourcery.com>
15835         * config.make.in (NM): New variable.
15837 2012-10-21  Andreas Jaeger  <aj@suse.de>
15839         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15840         definitions and declarations that are provided by
15841         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15843 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15845         [BZ #14683]
15846         * elf/Makefile (tests-static): Add tst-leaks1-static.
15847         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15848         ($(objpfx)tst-leaks1-static): New rule.
15849         ($(objpfx)tst-leaks1-static-mem): Likewise.
15850         (tst-leaks1-static-ENV): New macro.
15851         * elf/dl-open.c (dl_open_worker): Check the main application
15852         only if SHARED is defined.
15853         * elf/tst-leaks1-static.c: New file.
15855 2012-10-20  Andreas Jaeger  <aj@suse.de>
15857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15858         generic values for Linux.
15859         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15860         and declarations that are provided by <bits/fcntl-linux.h> and
15861         include <bits/fcntl-linux.h>.
15862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15865 2012-10-20  Roland McGrath  <roland@hack.frob.com>
15867         * io/fcntl.h: Move include of <bits/types.h> to the top and
15868         include it unconditionally.
15870 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15872         * wcsmbs/Makefile (tests-ifunc): New variable.
15873         (tests): Add $(tests-ifunc).
15874         * wcsmbs/test-wcschr-ifunc.c: New file.
15875         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15876         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15877         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15878         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15879         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15881         * string/Makefile (tests-ifunc): New variable.
15882         (tests): Add $(tests-ifunc).
15883         * string/test-memccpy.c (TEST_NAME): New macro.
15884         * string/test-memchr.c (TEST_NAME): Likewise.
15885         * string/test-memcmp.c (TEST_NAME): Likewise.
15886         * string/test-memcpy.c (TEST_NAME): Likewise.
15887         * string/test-memmem.c (TEST_NAME): Likewise.
15888         * string/test-memmove.c (TEST_NAME): Likewise.
15889         * string/test-memset.c (TEST_NAME): Likewise.
15890         * string/test-rawmemchr.c (TEST_NAME): Likewise.
15891         * string/test-stpcpy.c (TEST_NAME): Likewise.
15892         * string/test-stpncpy.c (TEST_NAME): Likewise.
15893         * string/test-strcasecmp.c (TEST_NAME): Likewise.
15894         * string/test-strcasestr.c (TEST_NAME): Likewise.
15895         * string/test-strcat.c (TEST_NAME): Likewise.
15896         * string/test-strchr.c (TEST_NAME): Likewise.
15897         * string/test-strcmp.c(TEST_NAME): Likewise.
15898         * string/test-strcpy.c (TEST_NAME): Likewise.
15899         * string/test-strcspn.c (TEST_NAME): Likewise.
15900         * string/test-strlen.c (TEST_NAME): Likewise.
15901         * string/test-strncasecmp.c (TEST_NAME): Likewise.
15902         * string/test-strncmp.c (TEST_NAME): Likewise.
15903         * string/test-strncpy.c (TEST_NAME): Likewise.
15904         * string/test-strnlen.c (TEST_NAME): Likewise.
15905         * string/test-strpbrk.c (TEST_NAME): Likewise.
15906         * string/test-strrchr.c (TEST_NAME): Likewise.
15907         * string/test-strspn.c (TEST_NAME): Likewise.
15908         * string/test-strstr.c (TEST_NAME): Likewise.
15909         * string/test-bcopy-ifunc.c: New file.
15910         * string/test-bzero-ifunc.c: Likewise.
15911         * string/test-memccpy-ifunc.c: Likewise.
15912         * string/test-memchr-ifunc.c: Likewise.
15913         * string/test-memcmp-ifunc.c: Likewise.
15914         * string/test-memcpy-ifunc.c: Likewise.
15915         * string/test-memmem-ifunc.c: Likewise.
15916         * string/test-memmove-ifunc.c: Likewise.
15917         * string/test-mempcpy-ifunc.c: Likewise.
15918         * string/test-memset-ifunc.c: Likewise.
15919         * string/test-rawmemchr-ifunc.c: Likewise.
15920         * string/test-stpcpy-ifunc.c: Likewise.
15921         * string/test-stpncpy-ifunc.c: Likewise.
15922         * string/test-strcasecmp-ifunc.c: Likewise.
15923         * string/test-strcasestr-ifunc.c: Likewise.
15924         * string/test-strcat-ifunc.c: Likewise.
15925         * string/test-strchr-ifunc.c: Likewise.
15926         * string/test-strchrnul-ifunc.c: Likewise.
15927         * string/test-strcmp-ifunc.c: Likewise.
15928         * string/test-strcpy-ifunc.c: Likewise.
15929         * string/test-strcspn-ifunc.c: Likewise.
15930         * string/test-strlen-ifunc.c: Likewise.
15931         * string/test-strncasecmp-ifunc.c: Likewise.
15932         * string/test-strncat-ifunc.c: Likewise.
15933         * string/test-strncmp-ifunc.c: Likewise.
15934         * string/test-strncpy-ifunc.c: Likewise.
15935         * string/test-strnlen-ifunc.c: Likewise.
15936         * string/test-strpbrk-ifunc.c: Likewise.
15937         * string/test-strrchr-ifunc.c: Likewise.
15938         * string/test-strspn-ifunc.c: Likewise.
15939         * string/test-strstr-ifunc.c: Likewise.
15941         * debug/Makefile (tests-ifunc): New variable.
15942         (tests): Add $(tests-ifunc).
15943         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15944         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15945         * debug/test-stpcpy_chk-ifunc.c: New file.
15946         * debug/test-strcpy_chk-ifunc.c: Likewise.
15948 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15950         [BZ #13601]
15951         * elf/dl-load.c (open_verify): Retry read if the entire ELF
15952         header is not read in.
15954 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
15956         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
15957         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
15958         directly.  Pass built executable to script as
15959         $(built-program-cmd).
15960         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
15961         $testprogram without using LD_LIBRARY_PATH and $ldso.
15963         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15964         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15965         $(rtld-installed-name).
15966         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15967         (rtld_installed_name): Likewise.
15968         (library_path): Likewise.
15969         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
15970         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15971         $(run-program-prefix) to tst-tables.sh.
15972         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
15973         it to run tst-table-from and tst-table-to.
15974         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15975         Pass it to tst-table.sh.
15976         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15977         $(run-program-prefix) to tst-gettext.sh.
15978         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15979         tst-translit.sh.
15980         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15981         tst-gettext2.sh.
15982         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
15983         to run tst-gettext.
15984         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
15985         to run tst-gettext2.
15986         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
15987         to run tst-translit.
15988         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15989         $(run-program-prefix) to tst-mtrace.sh.
15990         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
15991         to run tst-mtrace.
15992         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15993         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15994         $(rtld-installed-name).
15995         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15996         (rtld_installed_name): Likewise.
15997         (run_program_prefix): New variable.  Use it to run wordexp-test.
15999         * Makeconfig (ARCH): Remove all definitions.
16000         (machine): Likewise.
16001         [ARCH]: Remove conditional code.
16002         [!objdir]: Give error.
16003         [!objdir] (objpfx): Remove.
16004         [!objdir] (common-objpfx): Likewise.
16005         [!objdir] (common-objdir): Likewise.
16006         * configure.in (config_makefile): Remove.  Hardcode Makefile in
16007         AC_CONFIG_FILES call.
16008         * configure: Regenerated.
16010         [BZ #13888]
16011         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16012         or TMPDIR.
16013         (testout): Likewise.
16015         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16016         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16017         $(rtld-installed-name).
16018         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16019         (rtld_installed_name): Likwise.
16020         (runit): Remove function.
16021         (run_getconf): New variable,  Use it for running getconf binary.
16023 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
16025         [BZ #14716]
16026         * string/test-memmem.c (check_result): New function.
16027         (do_one_test): Use it.
16028         (check1): New function.
16029         (test_main): Use it.
16031 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
16033         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16035 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
16037         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16038         (_G_LSEEK64): Likewise.
16039         (_G_MMAP64): Likewise.
16040         (_G_FSTAT64): Likewise.
16041         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16042         (_G_LSEEK64): Likewise.
16043         (_G_MMAP64): Likewise.
16044         (_G_FSTAT64): Likewise.
16045         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16046         unconditional.  Call __mmap64 directly.
16047         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16048         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
16049         __lseek64 directly.
16050         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16051         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
16052         __mmap64 directly.
16053         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16054         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16055         __lseek64 directly.
16056         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16057         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16058         __lseek64 directly.
16059         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16060         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
16061         __lseek64 directly.
16062         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16063         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
16064         __fxstat64 directly.
16065         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16066         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16067         unconditional.
16068         (freopen64) [!_G_OPEN64]: Remove conditional code.
16069         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16070         unconditional.
16071         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16072         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16073         unconditional.
16074         (ftello64) [!_G_LSEEK64]: Remove conditional code.
16075         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16076         unconditional.
16077         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16078         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16079         unconditional.
16080         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16081         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16082         unconditional.
16083         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16084         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16085         unconditional.
16086         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16087         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16088         unconditional.
16089         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16091 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16093         [BZ #12140]
16094         * manual/memory.texi (Malloc Tunable Parameters): Add note
16095         about free list pointers overwriting some perturb bytes.
16096         Wording suggested by Roland McGrath.
16098 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
16100         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16101         (lgamma_test): Likewise.
16102         (tgamma_test): Likewise.
16104 2012-10-16  Florian Weimer  <fweimer@redhat.com>
16106         [BZ #14700]
16107         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16108         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16110 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
16112         * NEWS: Mention BZ #14716.
16113         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16114         when removing AVAILABLE1_USES_J macro.
16116 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
16118         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16119         (__bswap_64): __uint64_t for unsigned 64-bit int.
16121 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
16123         * include/string.h (memmem): Declare libc hidden alias.
16124         * string/memmem.c (memmem): Define libc hidden alias.
16125         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16126         __read, __close instead of open, read, close.
16128 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
16130         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16131         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16132         global and hidden.
16133         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16134         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16135         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16136         Likewise.
16137         (__rawmemchr_sse2): Likewise.
16138         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16139         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16140         (__strchr_sse2): Likewise.
16141         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16142         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16143         (__strcasecmp_sse2): Likewise.
16144         (__strncasecmp_sse2): Likewise.
16145         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16146         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16147         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16148         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16149         (__strrchr_sse2): Likewise.
16150         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16151         ifunc-impl-list.c.
16152         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16153         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16154         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16155         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16156         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16157         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16158         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16159         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16160         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16161         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16162         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16163         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16164         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16165         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16166         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16167         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16168         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16169         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16170         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16171         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16172         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16173         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16174         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16175         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16176         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16177         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16178         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16179         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16180         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16181         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16183         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16184         global and hidden.
16185         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16186         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16187         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16188         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16189         Likewise.
16190         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16191         Likewise.
16192         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16193         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16194         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16195         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16196         ifunc-impl-list.c.
16197         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16198         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16199         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16200         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16201         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16202         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16203         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16204         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16205         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16206         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16207         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16208         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16209         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16210         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16211         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16212         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16213         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16214         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16215         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16216         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16217         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16218         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16219         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16220         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16221         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16222         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16223         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16224         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16225         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16226         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16227         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16228         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16229         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16230         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16231         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16232         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16233         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16234         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16235         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16236         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16237         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16239         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16240         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16241         * include/ifunc-impl-list.h: New file.
16242         * misc/ifunc-impl-list.c: Likewise.
16243         * misc/Makefile (routines): Add ifunc-impl-list.
16244         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16245         * string/test-string.h: Include <ifunc-impl-list.h>.
16246         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16247         impl_array): New variables.
16248         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16249         are defined.
16250         (test_init): Call __libc_ifunc_impl_list to initialize
16251         func_list if TEST_IFUNC and TEST_NAME are defined.
16253         * string/Makefile (strop-tests): Add bcopy and bzero.
16254         * string/test-bcopy.c: New file.
16255         * string/test-bzero.c: Likewise.
16256         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16257         defined.
16258         * string/test-memset.c: Support bzero test if TEST_BZERO is
16259         defined.
16260         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16261         __libc_memmove.
16262         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16263         __libc_memset.
16264         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16265         of memset.
16267 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
16269         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16270         * configure: Regenerated.
16272         * Makeconfig (+link-static-before-libc): Don't include
16273         $(link-static-libc).
16275         * libio/libio.h (_IO_pos_t): Remove.
16277 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16279         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
16280         McGrath.
16282 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16284         * crypt/crypt-entry.c: Include fips-private.h.
16285         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16286         * crypt/md5c-test.c (main): Tolerate disabled MD5.
16287         * sysdeps/unix/sysv/linux/fips-private.h: New file.
16288         * sysdeps/generic/fips-private.h: New file, dummy fallback.
16290 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16292         * crypt/crypt-private.h: Include stdbool.h.
16293         (_ufc_setup_salt_r): Return bool.
16294         * crypt/crypt-entry.c: Include errno.h.
16295         (__crypt_r): Return NULL with EINVAL for bad salt.
16296         * crypt/crypt_util.c (bad_for_salt): New.
16297         (_ufc_setup_salt_r): Check that salt is long enough and within
16298         the specified alphabet.
16299         * crypt/badsalttest.c: New file.
16300         * crypt/Makefile (tests): Add it.
16301         ($(objpfx)badsalttest): New.
16303 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
16305         * NEWS: Add entry for BZ #14602.
16307 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16309         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16310         type-generic.
16311         * math/libm-test.inc: Update comment listing what functions and
16312         macros are tested.
16313         (isgreater_test): New function.
16314         (isgreaterequal_test): Likewise.
16315         (isless_test): Likewise.
16316         (islessequal_test): Likewise.
16317         (islessgreater_test): Likewise.
16318         (isunordered_test): Likewise.
16319         (main): Call the new functions.
16321 2012-10-09  Roland McGrath  <roland@hack.frob.com>
16323         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16324         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16325         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16326         * sysdeps/i386/configure: Regenerated.
16327         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16328         * sysdeps/mach/configure: Regenerated.
16329         * sysdeps/mach/hurd/configure: Regenerated.
16330         * sysdeps/powerpc/configure: Regenerated.
16331         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16332         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16333         * sysdeps/s390/s390-32/configure: Regenerated.
16334         * sysdeps/s390/s390-64/configure: Regenerated.
16335         * sysdeps/sh/configure: Regenerated.
16336         * sysdeps/sparc/configure: Regenerated.
16337         * sysdeps/unix/sysv/linux/configure: Regenerated.
16338         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16339         * sysdeps/x86_64/configure: Regenerated.
16341         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16342         defined.  Don't check if MAP is NULL.
16344 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16346         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16347         (_G_stat64): Likewise.
16348         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16349         (_G_stat64): Likewise.
16350         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16351         instead of struct _G_stat64.
16352         * libio/fileops.c (mmap_remap_check): Likewise.
16353         (decide_maybe_mmap): Likewise.
16354         (_IO_new_file_seekoff): Likewise.
16355         (_IO_file_stat): Likewise.
16356         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16357         _G_off64_t.
16358         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16359         instead of struct _G_stat64.
16360         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16362 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
16364         [BZ #14602]
16365         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16366         Replace with ...
16367         (CHECK_EOL): New macro.
16368         (two_way_short_needle): Check beginning of haystack for EOL.  Use
16369         CHECK_EOL.
16370         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16371         Replace with CHECK_EOL.
16372         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16373         Replace with CHECK_EOL.
16375 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
16377         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16378         type-generic.
16379         * math/libm-test.inc: Update comment listing what functions and
16380         macros are tested.
16381         (finite_test): New function.
16382         (isinf_test): Likewise.
16383         (isnan_test): Likewise.
16384         (fpclassify_test): Test subnormal input.
16385         (isfinite_test): Likewise.
16386         (isnormal_test): Likewise.
16387         (main): Call the new functions.
16389 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
16391         [BZ #14660]
16392         * Makerules (%.dynsym): Force C locale when running
16393         $(OBJDUMP) --dynamic-syms.
16395 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
16397         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16398         <stdint.h>.
16400 2012-10-06  David S. Miller  <davem@davemloft.net>
16402         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16403         upper 32-bits of the length value in %o2 since we use branch-on-register
16404         tests which consider the entire 64-bit register.
16406 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
16408         * string/test-strstr.c (check2): Add a test for page boundary.
16410 2012-10-05  David S. Miller  <davem@davemloft.net>
16412         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16413         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16414         file.
16415         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16416         sysdep_routines.
16417         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16418         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16419         and bzero when HWCAP_SPARC_CRYPTO is present.
16421 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
16423         [BZ #14602]
16424         * string/test-strstr.c (check2): New function.
16425         (test_main): Call check2.
16427         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16428         and bug-strchr1.
16429         * string/bug-strcasestr1.c (do_test): Moved to ...
16430         * string/test-strcasestr.c (check1): Here.  New function.
16431         (do_one_test): Break out result checking code into ...
16432         (check_result): This.  New function.
16433         (do_one_test): Call check_result.
16434         (test_main): Call check1.
16435         * string/bug-strchr1.c (do_test): Moved to ...
16436         * string/test-strchr.c (check1): Here.  New function.
16437         (do_one_test): Break out result checking code into ...
16438         (check_result): This.  New function.
16439         (do_one_test): Call check_result.
16440         (test_main): Call check1.
16441         * string/bug-strstr1.c (main): Moved to ...
16442         * string/test-strstr.c (check1): Here.  New function.
16443         (do_one_test): Break out result checking code into ...
16444         (check_result): This.  New function.
16445         (do_one_test): Call check_result.
16446         (test_main): Call check1.
16447         * string/bug-strcasestr1.c: Removed.
16448         * string/bug-strchr1.c: Likewise.
16449         * string/bug-strstr1.c: Likewise.
16451         * elf/Makefile (dl-routines): Add hwcaps.
16452         * elf/dl-support.c (_dl_important_hwcaps): Removed.
16453         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16454         (_dl_important_hwcaps): Moved to ...
16455         * elf/dl-hwcaps.c: Here.  New file.
16456         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16458         [BZ #14557]
16459         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16460         if IS_IN_rtld isn't defined.
16462         * elf/dl-support.c (_dl_sysinfo_map): New.
16463         Include "get-dynamic-info.h" and "setup-vdso.h".
16464         (_dl_non_dynamic_init): Call setup_vdso.
16465         * elf/dynamic-link.h: Don't include <assert.h>.
16466         (elf_get_dynamic_info): Moved to ...
16467         * elf/get-dynamic-info.h: Here.  New file.
16468         * elf/dynamic-link.h: Include "get-dynamic-info.h".
16469         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16470         * elf/setup-vdso.h: Here.  New file.
16471         * elf/rtld.c: Include "setup-vdso.h".
16472         (dl_main): Call setup_vdso.
16474 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
16476         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16477         creal in comment listing functions tested.  List finite, isinf,
16478         isnan, isless, islessequal, isgreater, isgreaterequal,
16479         islessgreater, isunordered, lgamma_r and pow10 as functions and
16480         macros not tested.  Mention which functions not tested are aliases
16481         for other functions.  Fix typo.  Note that signs of NaNs are not
16482         tested.
16484         * scripts/config.guess: Update from config.git.
16485         * scripts/config.sub: Likewise.
16487 2012-10-04  Roland McGrath  <roland@hack.frob.com>
16489         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16490         * misc/madvise.c (madvise): Renamed to __madvise.
16491         Make madvise a weak alias.
16492         * include/sys/mman.h: Declare __madvise.
16493         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16494         * sysdeps/unix/syscalls.list
16495         (madvise): Make __madvise the strong name, and madvise a weak alias.
16496         * sysdeps/unix/sysv/linux/syscalls.list
16497         (madvise, mmap): Remove redundant entries.
16498         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16499         * malloc/malloc.c (mtrim): Likewise.
16500         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16502 2012-10-03  Roland McGrath  <roland@hack.frob.com>
16504         * sysdeps/mach/hurd/dl-cache.c: File removed.
16505         * config.h.in (USE_LDCONFIG): New #undef.
16506         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16507         * configure: Regenerated.
16508         * elf/Makefile (dl-routines): Add dl-cache only under
16509         [$(use-ldconfig) = yes].
16510         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16511         cache on [USE_LDCONFIG].
16512         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16513         [USE_LDCONFIG].
16514         * elf/rtld.c (dl_main): Likewise.
16516 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
16518         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16519         _SC_LEVEL4_CACHE_LINESIZE.
16521 2012-10-03  Roland McGrath  <roland@hack.frob.com>
16523         * sysdeps/unix/bsd/confstr.h: File removed.
16525 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
16527         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16528         sys/sdt-config.h.
16530 2012-10-02  Roland McGrath  <roland@hack.frob.com>
16532         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16533         Make 'mapoff' field ElfW(Off) rather than off_t.
16535 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
16537         * nscd/Makefile: Remove nscd-cflags and all its users.
16538         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16539         (CFLAGS-nonlib): Add compiler flags for nscd modules.
16541         [BZ #10631]
16542         * malloc.c (malloc_printerr): Clarify error message.
16544 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
16546         [BZ #14648]
16547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16548         Set bit_FMA_Usable if FMA is supported.
16549         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16550         macro.
16551         (bit_FMA4_Usable): Updated.
16552         (index_FMA_Usable): New macro.
16553         (CPUID_FMA): Likewise
16554         (HAS_FMA): Defined with bit_FMA_Usable.
16556 2012-10-01  Roland McGrath  <roland@hack.frob.com>
16558         * bits/types.h (__swblk_t): Type removed.
16559         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16560         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16562         (__SWBLK_T_TYPE): Likewise.
16563         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16564         (__SWBLK_T_TYPE): Likewise.
16565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16566         (__SWBLK_T_TYPE): Likewise.
16567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16568         (__SWBLK_T_TYPE): Likewise.
16570 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
16571             Honza Horak <hhorak@redhat.com>
16573         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16574         (xdr_mapname): Use YPMAXMAP as maxsize.
16575         (xdr_peername): Use YPMAXPEER as maxsize.
16576         (xdr_keydat): Use YPAXRECORD as maxsize.
16577         (xdr_valdat): Use YPMAXRECORD as maxsize.
16579 2012-10-01  Roland McGrath  <roland@hack.frob.com>
16581         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16583         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16584         * csu/init-first.c: ... here.
16585         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16586         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16587         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16588         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16589         * sysdeps/i386/init-first.c: File removed.
16590         * sysdeps/sh/init-first.c: File removed.
16592 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
16594         [BZ #14645]
16595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16596         if x * y might underflow to zero and z is zero.
16597         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16599         * math/libm-test.inc (min_subnorm_value): New variable.
16600         (fma_test): Add more tests.
16601         (fma_test_towardzero): Likewise.
16602         (fma_test_downward): Likewise
16603         (fma_test_upward): Likewise.
16604         (initialize): Set min_subnorm_value.
16606 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
16608         [BZ #14638]
16609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16610         0 + 0.
16611         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16612         mode for addition resulting in exact zero.
16613         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16615         exact 0 + 0.
16616         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16617         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16618         * math/libm-test.inc (fma_test): Add more tests.
16619         (fma_test_towardzero): New function.
16620         (fma_test_downward): Likewise.
16621         (fma_test_upward): Likewise.
16622         (main): Call the new functions.
16624 2012-09-28  David S. Miller  <davem@davemloft.net>
16626         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16628 2012-09-28  Roland McGrath  <roland@hack.frob.com>
16630         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16631         instead of SIGALRM.
16633         * sysdeps/gnu/_G_config.h: Moved to ...
16634         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16635         * sysdeps/mach/hurd/_G_config.h: Moved to ...
16636         * sysdeps/generic/_G_config.h: ... here.
16638         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
16640         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16642         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16643         Conditionalize target on [libnss_test1.so-version].
16645         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16647         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16648         (elfobjdir): Move out of conditionals.
16650         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16651         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16652         (__nss_lookup_function): Conditionalize label remove_from_tree on
16653         [!DO_STATIC_NSS || SHARED], matching its only use.
16655 2012-09-28  David S. Miller  <davem@davemloft.net>
16657         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16658         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16659         file.
16660         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16661         sysdep_routines.
16662         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16664         when HWCAP_SPARC_CRYPTO is present.
16666 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16668         * io/tst-mknodat.c: Create a FIFO instead of a socket.
16670 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16672         [BZ #6530]
16673         * stdio-common/vfprintf.c (process_string_arg): Revert
16674         2000-07-22 change.
16676 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
16678         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16679         for testcase.
16680         * stdio-common/tst-sprintf.c: Include <locale.h>
16681         (main): Test sprintf's handling of incomplete multibyte
16682         characters.
16684 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
16686         * elf/dl-runtime.c (VERSYMIDX): Removed.
16687         * elf/dl-version.c (VERSYMIDX): Likewise.
16688         * elf/do-rel.h (VERSYMIDX): Likewise.
16689         (VALIDX): Likewise.
16690         * elf/dynamic-link.h (VERSYMIDX): Likewise.
16691         * elf/rtld.c (VALIDX): Likewise.
16692         (ADDRIDX): Likewise.
16693         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16694         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16695         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16696         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16697         (VALIDX): Likewise.
16698         (ADDRIDX): Likewise.
16700 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16702         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16704 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
16706         [BZ #11438]
16707         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16708         to global scope.
16709         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16710         addresses are in the same scope as 192.0.2/24.
16711         * posix/gai.conf: Document new scope table defaults.
16713 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16715         [BZ #5298]
16716         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16717         for ftell.  Compute offsets from write pointers instead.
16718         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16720 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16722         [BZ #14543]
16723         * libio/Makefile (tests): New test case tst-fseek.
16724         * libio/tst-fseek.c: New test case to verify that fseek/ftell
16725         combination works in wide mode.
16726         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16727         state when the external buffer state changes.
16729 2012-09-27  David S. Miller  <davem@davemloft.net>
16731         [BZ #14376]
16732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16733         pass reloc->r_addend in as the 'high' argument to
16734         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16738 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16740         * rt/tst-aio2.c: Include <pthread.h>.
16741         * rt/tst-aio3.c: Likewise.
16743 2012-09-27  Steve Ellcey  <sellcey@mips.com>
16745         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16747 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
16749         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16750         contents on [SHARED].
16752 2012-09-26  Marek Polacek  <polacek@redhat.com>
16754         [BZ #14530]
16755         [BZ #13741]
16756         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16757         for C++ and GCC <4.3 as well as for non GCC compilers.
16759 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16763 2012-09-25  Roland McGrath  <roland@hack.frob.com>
16765         * Makefile.in (all, install): Declare with .PHONY.
16766         Reported by Michael Hope <michael.hope@linaro.org>.
16768 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16770         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16771         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16772         system header.
16773         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16774         Likewise.
16775         (sydep_routines): Add the new and the internal functions.
16776         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16777         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16779         (GLIBC_2.17): Add the new function.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16781         (GLIBC_2.17): Likewise.
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16783         (GLIBC_2.17): Likewise.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16785         (GLIBC_2.17): Likewise.
16786         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16788 2012-09-25  Alan Modra  <amodra@gmail.com>
16790         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16791         Add release barrier before setting once_control to say
16792         initialisation is done.  Add hints on lwarx.  Use macro in
16793         place of isync.
16794         (clear_once_control): Add release barrier.
16796 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16798         [BZ #13629]
16799         * math/s_clog.c (__clog): Handle more values close to |z| = 1
16800         specially.
16801         * math/s_clog10.c (__clog10): Likewise.
16802         * math/s_clog10f.c (__clog10f): Likewise.
16803         * math/s_clog10l.c (__clog10l): Likewise.
16804         * math/s_clogf.c (__clogf): Likewise.
16805         * math/s_clogl.c (__clogl): Likewise.
16806         * math/Makefile (libm-calls): Add x2y2m1.
16807         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16808         (__x2y2m1): Likewise.
16809         (__x2y2m1l): Likewise.
16810         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16811         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16812         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16813         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16814         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16815         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16816         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16817         * sysdeps/i386/fpu/libm-test-ulps: Update.
16818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16820         [BZ #14621]
16821         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16822         int as type of variable DEPTH.
16823         (glob): Use size_t instead of int as type of variables NEWCOUNT
16824         and OLD_PATHC.
16826 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16828         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16829         Add s_sincosf-sse2.
16830         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16831         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16832         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16833         macros for using routine as __sincosf_ia32.
16834         Use macro for function declaration and weak_alias.
16835         * sysdeps/i386/fpu/libm-test-ulps: Update.
16837         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16840         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16841         subnormal argument.
16842         * math/s_cexpf.c (__cexpf): Likewise.
16843         * math/s_csinf.c (__csinf): Likewise.
16844         * math/s_csinhf.c (__csinhf): Likewise.
16845         * math/s_ctanf.c (__ctanf): Likewise.
16846         * math/s_ctanhf.c (__ctanhf): Likewise.
16847         * math/s_ccosh.c (__ccoshf): Likewise.
16848         * math/s_cexp.c (__cexpl): Likewise.
16849         * math/s_csin.c (__csin): Likewise.
16850         * math/s_csinh.c (__csinh): Likewise.
16851         * math/s_ctan.c (__ctan): Likewise.
16852         * math/s_ctanh.c (ctanh): Likewise.
16853         * math/s_ccoshl.c (__ccoshl): Likewise.
16854         * math/s_cexpl.c (__cexpl): Likewise.
16855         * math/s_csinl.c (__csinl): Likewise.
16856         * math/s_csinhl.c (__csinhl): Likewise.
16857         * math/s_ctanl.c (__ctanl): Likewise.
16858         * math/s_ctanhl.c (__ctanhl): Likewise.
16860 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16862         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16863         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16864         (_IO_off_t): Define to __off_t, not _G_off_t.
16865         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16866         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16867         (_IO_wint_t): Define to wint_t, not _G_wint_t.
16868         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16869         type of __dummy and __dummy2 fields.
16870         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16871         (_G_ssize_t): Likewise.
16872         (_G_off_t): Likewise.
16873         (_G_pid_t): Likewise.
16874         (_G_uid_t): Likewise.
16875         (_G_wchar_t): Likewise.
16876         (_G_wint_t): Likewise.
16877         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16878         (_G_ssize_t): Likewise.
16879         (_G_off_t): Likewise.
16880         (_G_pid_t): Likewise.
16881         (_G_uid_t): Likewise.
16882         (_G_wchar_t): Likewise.
16883         (_G_wint_t): Likewise.
16884         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16885         (_G_ssize_t): Likewise.
16886         (_G_off_t): Likewise.
16887         (_G_pid_t): Likewise.
16888         (_G_uid_t): Likewise.
16889         (_G_wchar_t): Likewise.
16890         (_G_wint_t): Likewise.
16892 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16894         * malloc/arena.c: Include malloc-sysdep.h.
16895         (shrink_heap): Use check_may_shrink_heap to decide if madvise
16896         is sufficient to shrink the heap or an unmap is needed.
16897         * sysdeps/generic/malloc-sysdep.h: New file.  Define
16898         new function check_may_shrink_heap.
16899         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
16900         new function check_may_shrink_heap.
16902 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16904         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16905         comments.
16907 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
16909         * catgets/test-gencat.sh: Add "set -e".
16910         * elf/tst-pathopt.sh: Likewise.
16911         * grp/tst_fgetgrent.sh: Likewise.
16912         * iconvdata/run-iconv-test.sh: Likewise.
16913         * intl/tst-gettext.sh: Likewise.
16914         * intl/tst-gettext2.sh: Likewise.
16915         * intl/tst-gettext4.sh: Likewise.
16916         * intl/tst-gettext6.sh: Likewise.
16917         * intl/tst-translit.sh: Likewise.
16918         * io/ftwtest-sh: Likewise.
16919         * libio/test-freopen.sh: Likewise.
16920         * malloc/tst-mtrace.sh: Likewise.
16921         * posix/globtest.sh: Likewise.
16922         * posix/tst-getconf.sh: Likewise.
16923         * posix/wordexp-tst.sh: Likewise.
16924         * stdio-common/tst-printf.sh: Likewise.
16925         * stdio-common/tst-unbputc.sh: Likewise.
16926         * stdlib/tst-fmtmsg.sh: Likewise.
16927         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16928         * catgets/Makefile: Do not specify -e option when running
16929         testsuite shell scripts.
16930         * elf/Makefile: Likewise.
16931         * grp/Makefile: Likewise.
16932         * iconvdata/Makefile: Likewise.
16933         * intl/Makefile: Likewise.
16934         * io/Makefile: Likewise.
16935         * libio/Makefile: Likewise.
16936         * malloc/Makefile: Likewise.
16937         * posix/Makefile: Likewise.
16938         * stdio-common/Makefile: Likewise.
16939         * stdlib/Makefile: Likewise.
16940         * sysdeps/x86_64/Makefile: Likewise.
16942         * io/ftwtest-sh: Add copyright header.
16943         * posix/globtest.sh: Likewise.
16944         * posix/tst-getconf.sh: Likewise.
16945         * posix/wordexp-tst.sh: Likewise.
16946         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16948 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
16950         [BZ #13679]
16951         * Makeconfig (+link): Defined as $(+link-static) if
16952         $(build-shared) isn't yes.
16953         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16954         isn't yes.
16955         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16957         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16959         [BZ #14562]
16960         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16961         new chunk size with MALLOC_ALIGN_MASK.
16963 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
16965         [BZ #5044]
16966         * stdio-common/printf_fphex.c: Include <stdbool.h> and
16967         <rounding-mode.h>.
16968         (__printf_fphex): Determine rounding using get_rounding_mode and
16969         round_away.
16970         * stdio-common/tst-printf-round.c (struct hex_test): New
16971         structure.
16972         (hex_tests): New variable.
16973         (test_hex_in_one_mode): New function.
16974         (do_test): Also run tests for hex float output.
16976 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
16978         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16979         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16980         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16981         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16982         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16983         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16984         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16985         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16987 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
16989         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16990         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16991         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16992         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16994 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
16996         [BZ #14579]
16997         * elf/rtld.c (dl_main): Limit the check for self loading to normal
16998         mode only.
16999         * elf/tst-rtld-load-self.sh: New test.
17000         * elf/Makefile: Run it.
17002 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
17004         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17005         (tst-writev-ENV): Remove.
17006         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17008 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
17010         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17012 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
17014         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17015         unconditional.
17016         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17017         Likewise.
17018         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17019         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17020         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17021         Likewise.
17023 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
17025         [BZ #14587]
17026         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17027         * config.make.in (have-cpp-asm-debuginfo): Removed.
17028         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17029         * configure: Regenerated.
17031 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
17033         [BZ #5044]
17034         * stdio-common/printf_fp.c: Include <stdbool.h> and
17035         <rounding-mode.h>.
17036         (___printf_fp): Determine rounding using get_rounding_mode and
17037         round_away.
17038         * stdio-common/tst-printf-round.c: New file.
17039         * stdio-common/Makefile (tests): Add tst-printf-round.
17040         (link-libm): New variable.
17041         ($(objpfx)tst-printf-round): Depend in $(link-libm).
17043 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
17045         [BZ #14576]
17046         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17047         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17048         Likewise.
17049         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17050         Likewise.
17052 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
17054         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17055         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17056         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17057         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17059 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
17061         [BZ #14518]
17062         * include/rounding-mode.h: New file.
17063         * sysdeps/generic/get-rounding-mode.h: Likewise.
17064         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17065         * stdlib/strtod_l.c: Include <rounding-mode.h>.
17066         (MAX_VALUE): New macro.
17067         (MIN_VALUE): Likewise.
17068         (overflow_value): New function.
17069         (underflow_value): Likewise.
17070         (round_and_return): Use overflow_value and underflow_value to
17071         determine return values in overflow and underflow cases.  Use
17072         round_away to determine rounding depending on rounding mode.
17073         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17074         determine return values in overflow and underflow cases.
17075         * stdlib/tst-strtod-round.c: Include <fenv.h>.
17076         (struct test_results): New structure.
17077         (struct test): Use struct test_results to store expected results
17078         for all rounding modes.
17079         (TEST): Include expected results for all rounding modes.
17080         (test_in_one_mode): New function.
17081         (do_test): Use test_in_one_mode to compute and check results.
17082         Check results for all rounding modes.
17083         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17084         $(link-libm).
17086 2012-12-09  Allan McRae  <allan@archlinux.org>
17088         * sysdeps/i386/fpu/libm-test-ulps: Update
17090 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
17092         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17093         (_G_int32_t): Likewise.
17094         (_G_uint16_t): Likewise.
17095         (_G_uint32_t): Likewise.
17096         (_G_HAVE_BOOL): Likewise.
17097         (_G_HAVE_ATEXIT): Likewise.
17098         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17099         (_G_HAVE_IO_FILE_OPEN): Likewise.
17100         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17101         (_G_int32_t): Likewise.
17102         (_G_uint16_t): Likewise.
17103         (_G_uint32_t): Likewise.
17104         (_G_HAVE_BOOL): Likewise.
17105         (_G_HAVE_ATEXIT): Likewise.
17106         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17107         (_G_HAVE_IO_FILE_OPEN): Likewise.
17108         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17109         (_G_int32_t): Likewise.
17110         (_G_uint16_t): Likewise.
17111         (_G_uint32_t): Likewise.
17112         (_G_HAVE_BOOL): Likewise.
17113         (_G_HAVE_ATEXIT): Likewise.
17114         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17115         (_G_HAVE_IO_FILE_OPEN): Likewise.
17117 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
17119         * csu/libc-tls.c: Update copyright years.
17121 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
17123         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17124         [!_G_USING_THUNKS]: Remove conditional code.
17125         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17126         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17128         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17129         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17130         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17131         (_G_VTABLE_LABEL_PREFIX): Likewise.
17132         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17133         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17134         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17135         (_G_VTABLE_LABEL_PREFIX): Likewise.
17136         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17137         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17138         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17139         (_G_VTABLE_LABEL_PREFIX): Likewise.
17140         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17142 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
17144         * libio/Makefile: Include ../Makeconfig before tests.
17145         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17146         only if $(build-shared) is yes.
17148         * iconv/gconv_db.c: Update copyright years.
17150 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17152         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17153         unwind info if defined PIC. Fix special cases description.
17154         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17156         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17157         DP_HI_MASK entry.
17158         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17160 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
17162         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17164         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17165         is NULL.
17167         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17168         (LDLIBS-tst-chk4): This.
17169         (LDFLAGS-tst-chk5): Renamed to ...
17170         (LDLIBS-tst-chk5): This.
17171         (LDFLAGS-tst-chk6): Renamed to ...
17172         (LDLIBS-tst-chk6): This.
17173         (LDFLAGS-tst-lfschk4): Renamed to ...
17174         (LDLIBS-tst-lfschk4): This.
17175         (LDFLAGS-tst-lfschk5): Renamed to ...
17176         (LDLIBS-tst-lfschk5): This.
17177         (LDFLAGS-tst-lfschk6): Renamed to ...
17178         (LDLIBS-tst-lfschk6): This.
17180         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17181         on $(common-objpfx)soversions.mk.
17183 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
17185         [BZ #10014]
17186         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17187         example host name.
17189 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17191         * malloc/arena.c (arena_get_retry): New function that gets
17192         another arena for the caller to try its request on.
17193         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17194         current arena cannot fulfill the request.
17195         (__libc_memalign): Likewise.
17196         (__libc_memalign): Likewise.
17197         (__libc_pvalloc): Likewise.
17198         (__libc_calloc): Likewise.
17200 2012-09-05  John Tobey  <john.tobey@gmail.com>
17202         [BZ #13542]
17203         * manual/arith.texi (Operations on Complex): Fix description
17204         of carg branch cut.
17206 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17208         [BZ #10014]
17209         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17210         host name.
17212         [BZ #10038]
17213         * manual/memory.texi (Memory): Make order of menu items match
17214         order of sections.
17216 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17218         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17219         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
17220         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17222 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17224         * csu/libc-tls.c (static_dtv): Renamed to ...
17225         (_dl_static_dtv): This.  Make it global.
17226         (_dl_initial_dtv): Removed.
17227         (__libc_setup_tls): Updated.
17228         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17229         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17230         DL_INITIAL_DTV.
17232 2012-09-06  Petr Machata  <pmachata@redhat.com>
17234         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17235         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17236         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17237         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17239 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17241         [BZ #14545]
17242         * csu/libc-tls.c (_dl_initial_dtv): New variable.
17243         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17244         freeing dtv[-1].
17246 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17248         [BZ #14544]
17249         * Makeconfig (link-static-before-libc): Replace $(+prector)
17250         with $(+prectorT).
17251         (link-static-after-libc): Replace $(+postctor) with
17252         $(+postctorT).
17253         (link-bounded): Replace $(+prector)/$(+postctor) with
17254         $(+prectorT)/$(+postctorT).
17255         (+prectorT): New macro.
17256         (+postctorT): Likewise.
17258 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17260         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17261         (round_str): Handle values above the maximum for IBM long double
17262         as inexact.
17263         * stdlib/tst-strtod-round.c (tests): Regenerated.
17265 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17267         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17268         assembler flag.
17269         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17270         zarch_nohighgprs around the zarch optimized routines.
17271         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17272         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17273         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17274         for zarch.
17276 2012-09-05  David S. Miller  <davem@davemloft.net>
17278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17280         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17281         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17282         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17283         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17284         entries.
17286 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17288         * malloc/arena.c: Fold copyright years.
17289         * malloc/mcheck.c, malloc/memusage.c: Likewise.
17291 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17293         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17295 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17297         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
17299 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17301         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17302         change internal state upon failure.
17304 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17306         * malloc/mcheck.c (mcheck_check_all): Fix typo.
17307         * malloc/memusage.c (mmap): Likewise.
17308         (mmap64, mremap): Likewise.  Adjust name in comment.
17310 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17312         * libio/fileops.c: Fix typos in comments.
17313         * libio/oldfileops.c: Likewise.
17314         * libio/wfileops.c: Likewise.
17316 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17318         [BZ #1349]
17319         * malloc/Makefile (tests): Add tst-malloc-usable test case.
17320         (tst-malloc-usable-ENV): Set environment for test case.
17321         * malloc/hooks.c (malloc_check_get_size): New function to get
17322         requested size.
17323         * malloc/malloc.c (musable): Use malloc_check_get_size.
17324         * malloc/tst-malloc-usable.c: New test case.
17326 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17328         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17330 2012-09-05  Allan McRae  <allan@archlinux.org>
17332         [BZ #13966]
17333         * configure.in (CXX_SYSINCLUDES): Use compiler output to
17334         determine header location.
17335         * configure: Regenerated.
17337 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17339         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17340         float format.
17341         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17342         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17343         format.
17344         (test): Regenerate.
17346 2012-09-04  David S. Miller  <davem@davemloft.net>
17348         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17349         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17350         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17352 2012-09-04  Florian Weimer  <fweimer@redhat.com>
17354         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17355         failures.
17357         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17359 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
17361         [BZ #9914]
17362         * libio/iogetdelim.c: Include <limits.h>.
17363         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17364         + len + 1 would overflow.
17366 2012-09-03  Andreas Jaeger  <aj@suse.de>
17368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17369         * sysdeps/i386/fpu/libm-test-ulps: Update.
17371 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17373         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17374         Add s_sinf-sse2, s_conf-sse2.
17376         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17377         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17378         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17379         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17381         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17382         for using routine as __sinf_ia32.
17383         Use macro for function declaration and weak_alias.
17384         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17385         for using routine as __cosf_ia32.
17386         Use macro for function declaration and weak_alias.
17388         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17389         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17391         * sysdeps/x86_64/fpu/s_sinf.S: New file.
17392         * sysdeps/x86_64/fpu/s_cosf.S: New file.
17393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17395         * math/libm-test.inc (cos_test): Add more test cases.
17396         (sin_test): Likewise.
17397         (sincos_test): Likewise.
17399 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17401         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17402         (IFUNC_RESOLVE): Make pointers to the specialized implementations
17403         hidden.
17404         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17406 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
17408         [BZ #14538]
17409         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17410         first element of the GOT.
17411         (elf_machine_load_address): Return the difference between
17412         the runtime address of _DYNAMIC and elf_machine_dynamic ().
17414 2012-09-01  Allan McRae  <allan@archlinux.org>
17416         [BZ #13412]
17417         * configure.in (AWK): Require gawk version 3.0 or later.
17418         * configure: Regenerated.
17420 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
17422         * sysdeps/unix/sysv/linux/kernel-features.h
17423         (__ASSUME_POSIX_CPU_TIMERS): Remove.
17424         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17425         [__NR_clock_getres]: Make code unconditional.
17426         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17427         (clock_getcpuclockid): Remove code left unreachable by removal of
17428         conditionals.
17429         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17430         code unconditional.
17431         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17432         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17433         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17434         Make code unconditional.
17435         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17436         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17437         * sysdeps/unix/sysv/linux/clock_settime.c
17438         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17439         conditional code.
17440         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17441         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17443 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
17445         [BZ #14476]
17446         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17447         scripts/test-installation.pl.
17449         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17450         and $ld_so_version if it is set.
17452 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17454         [BZ #14516]
17455         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17456         failure if reading from procfs failed.
17457         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17459 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
17461         * sysdeps/unix/sysv/linux/kernel-features.h
17462         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17463         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17464         Remove conditional code.
17465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17466         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17467         Remove conditional code.
17468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17469         * sysdeps/unix/sysv/linux/i386/fxstat.c
17470         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17472         * sysdeps/unix/sysv/linux/i386/fxstatat.c
17473         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17474         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17475         * sysdeps/unix/sysv/linux/i386/lxstat.c
17476         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17477         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17478         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17479         Remove conditional code.
17480         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17481         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17482         Remove conditional code.
17483         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17484         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17485         <kernel-features.h>.
17486         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17487         Remove.
17488         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17489         Remove conditional code.
17490         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17491         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17492         Remove conditional.
17494 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
17496         [BZ #5400]
17497         * NEWS: Add fixed bug number.
17499 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
17501         [BZ #14519]
17502         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17503         underflowing exponent in case of negative sign.
17504         * stdlib/tst-strtod-round-data: Add more tests.
17505         * stdlib/tst-strtod-round.c (tests): Regenerated.
17507         [BZ #3479]
17508         * stdlib/strtod_l.c (NDIG): Remove.
17509         (HEXNDIG): Likewise.
17510         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17511         smallest representable value.
17512         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17513         lie within an exact representation of 1/2 ulp of the result.
17514         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17515         unconditionally.
17516         (TENS_P9_IDX): Define unconditionally.
17517         (TENS_P9_SIZE): Likewise.
17518         (TENS_P10_IDX): Likewise.
17519         (TENS_P10_SIZE): Likewise.
17520         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17521         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17522         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17523         entries for 10^2^13 and 10^2^14.
17524         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17525         (TENS_P13_IDX): Define.
17526         (TENS_P13_SIZE): Likewise.
17527         (TENS_P14_IDX): Likewise.
17528         (TENS_P14_SIZE): Likewise.
17529         (_fpioconst_pow10): Change array size to
17530         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
17531         unconditional.
17532         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17533         1024]: Add entries for 10^2^13 and 10^2^14.
17534         [LAST_POW10 > _LAST_POW10]: Remove #error.
17535         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17536         (_fpioconst_pow10): Change array size to
17537         FPIOCONST_POW10_ARRAY_SIZE.
17538         * stdlib/gen-fpioconst.c: New file.
17539         * stdlib/gen-tst-strtod-round.c: Likewise.
17540         * stdlib/tst-strtod-round-data: Likewise.
17541         * stdlib/tst-strtod-round.c: Likewise.
17542         * stdlib/Makefile (tests): Add tst-strtod-round.
17544         [BZ #14459]
17545         * stdlib/strtod_l.c: Include <stdint.h>.
17546         (NDEBUG): Do not define.
17547         (round_and_return): Change EXPONENT parameter to type intmax_t.
17548         Rearrange calculations to avoid internal overflow possibilities.
17549         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17550         Rearrange calculations to avoid internal overflow possibilities.
17551         Assert that number fits inside MPNSIZE limbs.
17552         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17553         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
17554         calculations and add assertions to avoid internal overflow
17555         possibilities.  Add casts to avoid signed/unsigned operations.
17556         * stdlib/tst-strtod-overflow.c: New file.
17557         * stdlib/Makefile (tests): Add tst-strtod-overflow.
17559 2012-08-25  Marek Polacek  <polacek@redhat.com>
17561         * time/time.h: Fix some typos in comments.
17563 2012-08-23  Roland McGrath  <roland@hack.frob.com>
17565         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17566         * posix/tst-rfc3484-2.c: Likewise.
17567         * posix/tst-rfc3484-3.c: Likewise.
17569 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
17571         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17572         (EF_ARM_ABI_FLOAT_HARD): Likewise.
17574 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
17576         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17577         #include of fxstatat64.c.
17579 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17581         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17582         * shadow/getspent_r.c: Likewise.
17583         * shadow/getspnam.c: Likewise.
17584         * shadow/getspnam_r.c: Likewise.
17585         * gshadow/getsgent.c: Likewise.
17586         * gshadow/getsgent_r.c: Likewise.
17587         * gshadow/getsgnam.c: Likewise.
17588         * gshadow/getsgnam_r.c: Likewise.
17589         * inet/getnetbyad.c: Likewise.
17590         * inet/getnetbyad_r.c: Likewise.
17591         * inet/getnetbynm.c: Likewise.
17592         * inet/getnetbynm_r.c: Likewise.
17593         * inet/getnetent.c: Likewise.
17594         * inet/getnetent_r.c: Likewise.
17595         * inet/getproto.c: Likewise.
17596         * inet/getproto_r.c: Likewise.
17597         * inet/getprtent.c: Likewise.
17598         * inet/getprtent_r.c: Likewise.
17599         * inet/getprtname.c: Likewise.
17600         * inet/getprtname_r.c: Likewise.
17601         * inet/getrpcbyname.c: Likewise.
17602         * inet/getrpcbyname_r.c: Likewise.
17603         * inet/getrpcbynumber.c: Likewise.
17604         * inet/getrpcbynumber_r.c: Likewise.
17605         * inet/getrpcent.c: Likewise.
17606         * inet/getrpcent_r.c: Likewise.
17607         * inet/getaliasent.c: Likewise.
17608         * inet/getaliasent_r.c: Likewise.
17609         * inet/getaliasname.c: Likewise.
17610         * inet/getaliasname_r.c: Likewise.
17611         * nscd/getgrgid_r.c: Likewise.
17612         * nscd/getgrnam_r.c: Likewise.
17613         * nscd/gethstbyad_r.c: Likewise.
17614         * nscd/gethstbynm3_r.c: Likewise.
17615         * nscd/getpwnam_r.c: Likewise.
17616         * nscd/getpwuid_r.c: Likewise.
17617         * nscd/getsrvbynm_r.c: Likewise.
17618         * nscd/getsrvbypt_r.c: Likewise.
17619         * nscd/gai.c: Likewise.
17621         * configure.in (build_nscd): New substituted variable, set
17622         by --disable-build-nscd and defaults to $use_nscd.
17623         * configure: Regenerated.
17624         * config.make.in (build-nscd): New substituted variable.
17625         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17626         Change conditional to require [$(build-nscd) = yes] as well.
17627         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17629         [BZ# 13696]
17630         * configure.in (use_nscd): New substituted variable, set by
17631         --disable-nscd.  If enabled, define USE_NSCD.
17632         * configure: Regenerated.
17633         * config.h.in: Add USE_NSCD.
17634         * config.make.in (use-nscd): New substituted variable.
17635         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17636         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17637         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17638         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17639         (CFLAGS-getgrnam_r.c): Likewise.
17640         (CFLAGS-initgroups.c): Likewise.
17641         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17642         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17643         Variables removed.
17644         * inet/getnetgrent_r.c
17645         (nscd_setnetgrent): New function, broken out of ...
17646         (setnetgrent): ... here.  Call it.
17647         (innetgr): Conditionalize nscd bits on [USE_NSCD].
17648         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17649         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17650         * nscd/Makefile (routines, aux): Move definitions after include of
17651         Makeconfig.  Conditionalize on [$(use-nscd) != no].
17652         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17653         Conditionalize on [USE_NSCD].
17654         (is_nscd, nscd_init_cb): Likewise.
17655         (nss_load_library): Conditionalize init callback on [USE_NSCD].
17656         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17657         * nss/nss_db/db-init.c: Likewise.
17658         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17659         [USE_NSCD].
17660         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17661         (make_request): Use it.
17662         (cache_valid_p): New function.
17663         (__check_pf): Use it.
17664         * NEWS: Add item for --disable-nscd.
17666 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
17668         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17669         to support sed >= 4.2.1-20-ga9bf076.
17670         * configure: Regenerated.
17672 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17674         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17675         Conditionalize whole body on [IREL].
17677 2012-08-22  Jeff Law <law@redhat.com>
17679         [BZ #14505]
17680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17681         if the family is PF_UNSPEC.
17683 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
17685         * Makerules (lib-version): Rename from V.
17686         (install-lib-nosubdir): Change V to lib-version.
17688 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
17690         [BZ #14252]
17691         * powerpc32/power6/wcschr.c: New file.
17692         * powerpc32/power6/wcscpy.c: New file.
17693         * powerpc32/power6/wcsrchr.c: New file.
17694         * powerpc64/power6/wcschr.c: New file.
17695         * powerpc64/power6/wcscpy.c: New file.
17696         * powerpc64/power6/wcsrchr.c: New file.
17698 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17700         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17701         (two_way_short_needle): Use it.
17702         * string/strstr.c (AVAILABLE1_USES_J): Define.
17703         * string/strcasestr.c: Likewise.
17705         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17706         array references.
17707         * string/strcasestr.c (TOLOWER): Make side-effect safe.
17709         [BZ #11607]
17710         * NEWS: Add an entry.
17711         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17712         define their defaults.
17713         (two_way_short_needle): Detect end-of-string on-the-fly.
17714         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17715         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17716         * string/bug-strcasestr1.c: New test.
17717         * string/Makefile: Run it.
17719 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17721         [BZ #11607]
17722         * string/str-two-way.h (two_way_short_needle): Optimize matching of
17723         the first character.
17725 2012-08-21  Roland McGrath  <roland@hack.frob.com>
17727         * csu/elf-init.c (__libc_csu_irel): Function removed.
17728         * csu/libc-start.c (apply_irel): New function.
17729         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17731 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
17733         * sysdeps/unix/sysv/linux/kernel-features.h
17734         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17735         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17736         <kernel-features.h>.
17737         [__NR_fadvise64_64]: Make code unconditional.
17738         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17739         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17740         !__NR_fadvise64_64)]: Likewise.
17741         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17742         !__NR_fadvise64_64))]: Likewise.
17743         [__NR_fadvise64]: Make code unconditional.
17744         [!__NR_fadvise64]: Remove conditional code.
17745         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17746         <kernel-features.h>.
17747         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17748         unconditional.
17749         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17750         conditional code.
17751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17752         not include <kernel-features.h>.
17753         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17754         unconditional.
17755         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17756         conditional code.
17757         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17758         include <kernel-features.h>.
17759         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17760         unconditional.
17761         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17762         conditional code.
17764 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17766         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17767         slight instruction rearrangements per scrollpipe analysis.
17768         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17770 2012-08-20  Roland McGrath  <roland@hack.frob.com>
17772         * manual/syslog.texi (syslog; vsyslog, closelog):
17773         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17774         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17776         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17777         DSOCAPS to match condition on defining it.
17779 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
17781         * sysdeps/unix/sysv/linux/kernel-features.h
17782         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17784         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17785         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17787         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17788         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17790         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17791         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17793         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17794         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17796         * sysdeps/unix/sysv/linux/kernel-features.h
17797         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17798         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17799         unconditional.
17800         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17801         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17802         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17803         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17804         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17805         Make code unconditional.
17806         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17807         (__mmap64) [!__NR_mmap2]: Likewise.
17808         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17809         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17810         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17811         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17812         [__NR_mmap2]: Make code unconditional.
17813         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17814         (__mmap64) [!__NR_mmap2]: Likewise.
17816 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17818         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17820 2012-08-18  Andreas Jaeger  <aj@suse.de>
17822         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17824 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17826         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17827         * include/unistd.h (__have_sock_cloexec): Likewise.
17828         (__have_pipe2): Likewise.
17829         (__have_dup3): Likewise.
17831 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17833         [BZ #9685]
17834         * include/unistd.h (__have_pipe2): Change define into an extern int.
17835         (__have_dup3): Likewise.
17836         * socket/have_sock_cloexec.c: Include fcntl.h.
17837         (__have_pipe2): New variable.
17838         (__have_dup3): Likewise.
17840 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
17842         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17844 2012-08-17  Marek Polacek  <polacek@redhat.com>
17846         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17847         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17849 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17851         * configure.in: Add AC_SUBST for sysheaders.
17852         * configure: Regenerated.
17853         * config.make.in (sysheaders): New substituted variable.
17855         * sysdeps/unix/mkfifo.c: Moved ...
17856         * sysdeps/posix/mkfifo.c: ... here.
17857         * sysdeps/unix/mkfifoat.c: Moved ...
17858         * sysdeps/posix/mkfifoat.c: ... here.
17860         * sysdeps/unix/utime.c: Moved ...
17861         * sysdeps/posix/utime.c: ... here.
17863         * sysdeps/unix/time.c: Moved ...
17864         * sysdeps/posix/time.c: ... here.
17865         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17866         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17868         * sysdeps/unix/nice.c: Moved ...
17869         * sysdeps/posix/nice.c: ... here.
17871         * sysdeps/unix/alarm.c: Moved ...
17872         * sysdeps/posix/alarm.c: ... here.
17874         * intl/Makefile ($(codeset_mo)): Depend on the input file.
17876 2012-08-17  Jeff Law <law@redhat.com>
17878         * intl/Makefile (codeset_mo): New variable.
17879         ($(codeset_mo)): New target.
17880         (tst-codeset.out): Depend on that.  Remove explicit rule.
17881         (tst-gettext3.out, tst-gettext5.out): Likewise.
17882         (LOCPATH-ENV, tst-codeset-ENV): New variables.
17883         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17884         * intl/tst-codeset.sh: Remove.
17885         * intl/tst-gettext3.sh: Likewise.
17886         * intl/tst-gettext5.sh: Likewise.
17888 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17890         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
17891         * sysdeps/unix/syscalls.list: ... here.
17893         * sysdeps/posix/getaddrinfo.c
17894         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17895         (gaiconf_init, gaiconf_reload): Use them.
17896         [!_STATBUF_ST_NSEC]
17897         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17898         Define using time_t rather than struct timespec.
17900         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17901         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17902         Macros removed.
17903         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17904         [!NO_THREADS].
17905         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17906         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17907         Likewise.
17909         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17910         __libc_cleanup_push argument.
17912         * bits/param.h: New file.
17913         * misc/sys/param.h: New file.
17914         * include/sys/param.h: New file.
17915         * misc/Makefile (headers): Add bits/param.h.
17916         * sysdeps/generic/sys/param.h: File removed.
17917         * sysdeps/unix/sysv/linux/bits/param.h: New file.
17918         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17919         * sysdeps/mach/hurd/bits/param.h: New file.
17920         * sysdeps/mach/hurd/sys/param.h: File removed.
17922         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17923         last change.
17925         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17926         [_IO_MTSAFE_IO].
17927         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17928         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17929         New macros.
17931         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17932         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17933         rather than -D_IO_MTSAFE_IO conditionally.
17934         * stdio-common/Makefile (CPPFLAGS): Likewise.
17935         * wcsmbs/Makefile (CPPFLAGS): Likewise.
17936         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17937         Use $(libio-mtsafe).
17938         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17939         of -D_IO_MTSAFE_IO.
17940         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17941         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17942         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17943         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17944         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17945         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17946         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17947         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17948         (CFLAGS-fread_u_chk.c): Likewise.
17949         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17950         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17951         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17952         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17953         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17954         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17955         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17956         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17957         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17959         * libio/Makefile: Test [$(libc-reentrant) = yes]
17960         instead of [$(filter %REENTRANT, $(defines)) nonempty].
17962         * Makeconfig
17963         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17964         * sysdeps/pthread/configure: File removed.
17965         * sysdeps/pthread/Makeconfig: New file.
17966         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17967         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17969 2012-08-16  Gary Benson  <gbenson@redhat.com>
17971         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17972         unmapping the first object in a namespace.
17974 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17976         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17977         (__internal_setnetgrent): ... this.  Add internal_function to
17978         definition.  Add libc_hidden_def.
17979         (setnetgrent): Update caller.
17980         (internal_endnetgrent): Renamed to ...
17981         (__internal_endnetgrent): ... this.  Add internal_function to
17982         definition.  Add libc_hidden_def.
17983         (endnetgrent): Update caller.
17984         (internal_getnetgrent_r): Renamed to ...
17985         (__internal_getnetgrent_r): ... this.  Add internal_function to
17986         definition.  Add libc_hidden_def.
17987         (__getnetgrent_r): Update caller.
17988         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
17990 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17992         * stdlib/longlong.h: Update from GCC.
17994 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17996         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17997         on _QL, which is set by umul_ppmm but never used.
17998         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17999         variables, which are set by GMP macros but never used.
18000         * stdio-common/_itowa.c (_itowa): Likewise.
18001         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18002         * stdlib/mod_1.c (mpn_mod_1): Likewise.
18004 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
18006         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18007         struct La_sh_regs is not constant.
18008         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18009         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18010         and struct La_sparc64_regs are not constant.
18012 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18014         * sysdeps/unix/sysv/linux/kernel-features.h
18015         (__ASSUME_POSIX_TIMERS): Remove.
18016         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18017         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18018         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18019         Make code unconditional.
18020         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18021         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18022         Make code unconditional.
18023         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18024         * sysdeps/unix/sysv/linux/clock_nanosleep.c
18025         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18026         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18027         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18028         Make code unconditional.
18029         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18030         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18031         (__libc_missing_posix_timers): Remove.
18033 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18035         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18036         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18038         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18040         * elf/dl-sym.c: Include <stdlib.h>.
18042         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18043         constants, which avoids warnings in 32-bit builds.
18045         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18046         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18048         * misc/lseek.c: File moved to ...
18049         * io/lseek.c: ... here.
18051         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18053         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18054         shifting LEN more than 31 bits at once.
18056 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18058         [BZ #14195]
18059         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18060         segmentation fault for a case of two empty input strings.
18061         * string/test-strncasecmp.c (check1): Renamed to...
18062         (bz12205): ...this.
18063         (bz14195): Add new testcase for two empty input strings and N > 0.
18064         (test_main): Call new testcase, adapt for renamed function.
18066 2012-08-15  Andreas Jaeger  <aj@suse.de>
18068         [BZ #14090]
18069         * crypt/md5test2.c: New test, based on test supplied by Serge
18070         Belyshev <belyshev@depni.sinp.msu.ru>.
18071         * crypt/Makefile (xtests): Add md5test-giant..
18072         * crypt/Makefile ($(objpfx)md5test-giant): Add.
18074 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
18076         [BZ #14090]
18077         * crypt/md5.c (md5_process_block): Don't assume the buffer
18078         length is less than 2**32.
18079         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18080         length is less than 2**64.
18082 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18084         * string/str-two-way.h: Include <sys/param.h>.
18085         (MAX): Macro removed.
18087         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18088         Move #define and #undef of memmove to just before and after
18089         including <string.h>.
18091         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18092         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18093         and after including <string.h>.  Move declarations of
18094         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18095         to before #include "string/memmove.c".
18097         * include/dirent.h: Declare __getdirentries.
18099         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18100         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18102 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
18104         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18105         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18106         * sysdeps/i386/configure: Regenerated.
18107         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18108         STABS_CURRENT_FILE, and STABS_FUN.
18109         (END): Remove call to STABS_FUN_END.
18110         (STABS_CURRENT_FILE1): Delete.
18111         (STABS_CURRENT_FILE): Likewise.
18112         (STABS_FUN): Likewise.
18113         (STABS_FUN_END): Likewise.
18114         (STABS_FUN2): Likewise.
18115         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18116         * sysdeps/x86_64/configure: Regenerated.
18118 2012-08-14  Roland McGrath  <roland@hack.frob.com>
18120         * elf/dl-open.c: Include <atomic.h>.
18121         * elf/dl-lookup.c: Likewise.
18123 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
18125         * sysdeps/unix/sysv/linux/kernel-features.h
18126         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18127         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18128         unconditionally.
18129         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18130         unconditionally.
18131         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18132         condition on __ASSUME_CLONE_THREAD_FLAGS.
18134 2012-08-14  Andreas Jaeger  <aj@suse.de>
18136         * sysdeps/i386/fpu/libm-test-ulps: Update.
18138 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
18140         * include/atomic.h (atomic_exchange_and_add): Split into ...
18141         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18142         New atomic macros.
18144 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
18146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18148 2012-08-13  Jeff Law <law@redhat.com>
18150         * manual/stdio.texi (snprintf): Clarify handling of the trailing
18151         null byte in the output string.
18153 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
18155         * sysdeps/unix/sysv/linux/kernel-features.h
18156         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18157         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18158         (__ASSUME_ARG_MAX_STACK_BASED): Define.
18159         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18160         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18161         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
18162         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18164 2012-08-09  Jeff Law <law@redhat.com>
18166         [BZ #13939]
18167         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18168         When avoid_arena is set, don't retry in the that arena.  Pick the
18169         next one, whatever it might be.
18170         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18171         (arena_lock): Pass in new parameter to arena_get2.
18172         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18173         arena_get2.
18174         (__libc_malloc): Unify retrying after main arena failure with
18175         __libc_memalign version.
18176         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18178 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18180         [BZ #14166]
18181         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18182         to __redirect_strstr.
18183         (__strstr_sse42): Use typeof __redirect_strstr.
18184         (__strstr_ia32): Likewise.
18185         (__libc_strstr): New prototype.
18186         (strstr): Renamed to ...
18187         (__libc_strstr): This.
18188         (strstr): New strong alias of __libc_strstr.
18189         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18190         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18191         __redirect_time.
18192         Include <time.h>.
18193         (__libc_time): New prototype.
18194         (time_ifunc): Replace time with __libc_time.
18195         (time): New strong alias and hidden definition of __libc_time.
18196         (__GI_time): Remove strong alias.
18197         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18198         Include <stddef.h>.
18199         (memmove): Redefined to __redirect_memmove.
18200         (__memmove_sse2): Use typeof __redirect_memmove.
18201         (__memmove_ssse3): Likewise.
18202         (__memmove_ssse3_back): Likewise.
18203         (__libc_memmove): New prototype.
18204         (memmove): Renamed to ...
18205         (__libc_memmove): This.
18206         (memmove): New strong alias of __libc_memmove.
18208 2012-08-08  Mark Salter  <msalter@redhat.com>
18210         * elf/elf.h
18211         (R_MN10300_TLS_GD): Define.
18212         (R_MN10300_TLS_LD): Likewise.
18213         (R_MN10300_TLS_LDO): Likewise.
18214         (R_MN10300_TLS_GOTIE): Likewise.
18215         (R_MN10300_TLS_IE): Likewise.
18216         (R_MN10300_TLS_LE): Likewise.
18217         (R_MN10300_TLS_DTPMOD): Likewise.
18218         (R_MN10300_TLS_DTPOFF): Likewise.
18219         (R_MN10300_TLS_TPOFF): Likewise.
18220         (R_MN10300_SYM_DIFF): Likewise.
18221         (R_MN10300_ALIGN): Likewise.
18222         (R_MN10300_NUM): Update.
18224 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
18226         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18227         Remove.
18229 2012-08-08  Roland McGrath  <roland@hack.frob.com>
18231         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18233         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18234         sysdeps/unix -> sysdeps/posix move.
18235         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18237 2012-08-07      Allan McRae     <allan@archlinux.org>
18239         [BZ #14303]
18240         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18241         (SUNOS_CPP): Likewise.
18242         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18243         not found.
18244         (open_input): Call CPP using execvp.
18246 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18248         * sysdeps/unix/sysv/linux/kernel-features.h
18249         (__ASSUME_PROT_GROWSUPDOWN): Remove.
18250         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18251         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18252         (__ASSUME_WAITID_SYSCALL): Likewise.
18253         * sysdeps/unix/sysv/linux/dl-execstack.c
18254         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18255         code unconditional.
18256         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18257         conditional code.
18258         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18259         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18260         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18261         code.
18262         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18263         unconditional.
18264         [__ASSUME_WAITID_SYSCALL]: Likewise.
18265         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18267 2012-08-07  Roland McGrath  <roland@hack.frob.com>
18269         * sysdeps/unix/closedir.c: Renamed to ...
18270         * sysdeps/posix/closedir.c: ... here.
18271         * sysdeps/unix/dirfd.c: Renamed to ...
18272         * sysdeps/posix/dirfd.c: ... here.
18273         * sysdeps/unix/dirstream.h: Renamed to ...
18274         * sysdeps/posix/dirstream.h: ... here.
18275         * sysdeps/unix/fdopendir.c: Renamed to ...
18276         * sysdeps/posix/fdopendir.c: ... here.
18277         * sysdeps/unix/opendir.c: Renamed to ...
18278         * sysdeps/posix/opendir.c: ... here.
18279         * sysdeps/unix/readdir.c: Renamed to ...
18280         * sysdeps/posix/readdir.c: ... here.
18281         * sysdeps/unix/readdir_r.c: Renamed to ...
18282         * sysdeps/posix/readdir_r.c: ... here.
18283         * sysdeps/unix/rewinddir.c: Renamed to ...
18284         * sysdeps/posix/rewinddir.c: ... here.
18285         * sysdeps/unix/seekdir.c: Renamed to ...
18286         * sysdeps/posix/seekdir.c: ... here.
18287         * sysdeps/unix/telldir.c: Renamed to ...
18288         * sysdeps/posix/telldir.c: ... here.
18289         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18290         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18291         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18292         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18294         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18295         * bits/fcntl.h: ... here.
18297         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18298         not 0.
18299         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18300         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18301         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18302         (struct flock): Move l_start, l_len to the beginning.
18303         Use __pid_t for l_pid.
18304         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18305         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18306         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18307         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18308         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18309         [__USE_LARGEFILE64] (struct flock64): New type.
18310         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18312         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18313         * bits/dirent.h: ... here.
18315         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18316         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18318 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18321         Change from 2.6.0 to 2.6.16.
18322         * sysdeps/unix/sysv/linux/configure: Regenerated.
18323         * sysdeps/unix/sysv/linux/kernel-features.h
18324         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18325         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18326         version.
18327         (__ASSUME_UTIMES): Likewise.
18328         (__ASSUME_CLONE_STOPPED): Remove.
18329         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18330         architectures, not kernel version.
18331         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18332         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18333         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18334         (__ASSUME_WAITID_SYSCALL): Likewise.
18335         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18336         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18337         * README: State 2.6.16 as minimum Linux kernel version.  Do not
18338         refer to older versions.
18340 2012-08-06  Roland McGrath  <roland@hack.frob.com>
18342         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18343         Define alphasort64 as an alias.
18344         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18345         Define versionsort64 as an alias.
18346         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18347         Define scandir64 as an alias.
18348         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18349         Define scandirat64 as an alias.
18350         * dirent/alphasort64.c (alphasort64):
18351         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18352         * dirent/versionsort64.c: Likewise.
18353         * dirent/scandir64.c: Likewise.
18354         * dirent/scandirat64.c: Likewise.
18355         * sysdeps/wordsize-64/alphasort.c: File removed.
18356         * sysdeps/wordsize-64/alphasort64.c: File removed.
18357         * sysdeps/wordsize-64/scandir.c: File removed.
18358         * sysdeps/wordsize-64/scandir64.c: File removed.
18359         * sysdeps/wordsize-64/scandirat.c: File removed.
18360         * sysdeps/wordsize-64/scandirat64.c: File removed.
18361         * sysdeps/wordsize-64/versionsort.c: File removed.
18362         * sysdeps/wordsize-64/versionsort64.c: File removed.
18363         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18364         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18365         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18366         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18367         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18368         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18369         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18370         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18372         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18373         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18374         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18376         [defined __arch64__ || defined __sparcv9]
18377         (__INO_T_MATCHES_INO64_T): New macro.
18378         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18379         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18380         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18381         * sysdeps/unix/sysv/linux/bits/dirent.h
18382         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18383         (_DIRENT_MATCHES_DIRENT64): New macro.
18385         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18386         Define lockf64 as an alias.
18387         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18388         Define fseeko64 as an alias.
18389         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18390         Define ftello64 as an alias.
18391         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18392         Define _IO_fgetpos64 and fgetpos64 as aliases.
18393         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18394         Define _IO_fsetpos64 and fsetpos64 as aliases.
18395         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18396         Conditionalize body on this.
18397         * libio/fseeko64.c: Likewise.
18398         * libio/ftello64.c: Likewise.
18399         * libio/iofgetpos64.c: Likewise.
18400         * libio/iofsetpos64.c: Likewise.
18401         * sysdeps/wordsize-64/lockf.c: File removed.
18402         * sysdeps/wordsize-64/lockf64.c: File removed.
18403         * sysdeps/wordsize-64/fseeko.c: File removed.
18404         * sysdeps/wordsize-64/fseeko64.c: File removed.
18405         * sysdeps/wordsize-64/ftello.c: File removed.
18406         * sysdeps/wordsize-64/ftello64.c: File removed.
18407         * sysdeps/wordsize-64/iofgetpos.c: File removed.
18408         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18409         * sysdeps/wordsize-64/iofsetpos.c: File removed.
18410         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18411         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18412         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18413         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18414         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18415         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18416         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18417         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18418         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18419         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18420         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18422         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18423         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18424         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18425         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18426         [defined __arch64__ || defined __sparcv9]
18427         (__OFF_T_MATCHES_OFF64_T): New macro.
18428         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18429         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18430         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18431         (__OFF_T_MATCHES_OFF64_T): New macro.
18433 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
18435         * stdlib/secure-getenv.c (__secure_getenv): Replace
18436         GLIBC_2_16 with GLIBC_2_17.
18438 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
18440         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18441         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18443 2012-08-03  David S. Miller  <davem@davemloft.net>
18445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18447 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
18449         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18450         Remove.
18451         (__ASSUME_CORRECT_SI_PID): Likewise.
18452         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18453         (__ASSUME_TMPFS_NAME): Likewise.
18454         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18455         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18456         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18457         (HAVE_AUX_SECURE): Make definition unconditional.
18458         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18459         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18461 2012-08-03  Roland McGrath  <roland@hack.frob.com>
18463         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18464         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18465         * sysdeps/mach/hurd/eloop-threshold.h: New file.
18466         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18467         __eloop_threshold instead of SYMLOOP_MAX.
18469         * sysdeps/generic/eloop-threshold.h: New file.
18470         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18471         of MAXSYMLINKS.
18472         * elf/chroot_canon.c (chroot_canon): Likewise.
18474 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
18476         [BZ #13717]
18477         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18478         Change to 2.6.0 everywhere.
18479         * sysdeps/unix/sysv/linux/configure: Regenerated.
18480         * sysdeps/unix/sysv/linux/kernel-features.h
18481         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18482         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18483         kernel versions.
18484         (__ASSUME_POSIX_TIMERS): Define unconditionally.
18485         (__ASSUME_FUTEX_REQUEUE): Remove.
18486         (__ASSUME_STATFS64): Define unconditionally.
18487         (__ASSUME_AT_SECURE): Likewise.
18488         (__ASSUME_CORRECT_SI_PID): Likewise.
18489         (__ASSUME_TGKILL): Define without depending on kernel version for
18490         i386.
18491         (__ASSUME_UTIMES): Likewise.
18492         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18493         kernel version.
18494         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18495         (__ASSUME_TMPFS_NAME): Likewise.
18496         * README: Update reference to Linux kernel versions.
18498 2012-08-02  Marek Polacek  <polacek@redhat.com>
18500         [BZ# 14150]
18501         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
18502         libc_cv_asm_type_prefix with %.
18503         * configure: Regenerated.
18504         * include/libc-symbols.h: Remove comment about
18505         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18506         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18507         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18508         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18509         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18510         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18511         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18512         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18513         * elf/tst-unique2mod1.c: Likewise.
18514         * elf/tst-unique1mod2.c: Likewise.
18515         * elf/tst-unique1mod1.c: Likewise.
18516         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18517         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18518         Replace ASM_TYPE_DIRECTIVE with .type.
18519         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18520         * sysdeps/i386/sysdep.h: Likewise.
18521         * sysdeps/x86_64/sysdep.h: Likewise.
18522         * sysdeps/sh/sysdep.h: Likewise.
18523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18524         Do not define ASM_TYPE_DIRECTIVE.
18525         * sysdeps/powerpc/sysdep.h: Likewise.
18526         * sysdeps/powerpc/powerpc32/sysdep.h:
18527         Replace ASM_TYPE_DIRECTIVE with .type.
18528         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18529         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18530         * sysdeps/i386/fpu/e_powf.S: Likewise.
18531         * sysdeps/i386/fpu/e_expl.S: Likewise.
18532         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18533         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18534         * sysdeps/i386/fpu/e_pow.S: Likewise.
18535         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18536         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18537         * sysdeps/i386/fpu/s_expm1.S: Likewise.
18538         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18539         * sysdeps/i386/fpu/e_log2.S: Likewise.
18540         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18541         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18542         * sysdeps/i386/fpu/e_powl.S: Likewise.
18543         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18544         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18545         * sysdeps/i386/fpu/e_logl.S: Likewise.
18546         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18547         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18548         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18549         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18550         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18551         * sysdeps/i386/fpu/e_log.S: Likewise.
18552         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18553         * sysdeps/i386/fpu/e_logf.S: Likewise.
18554         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18555         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18556         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18557         * sysdeps/i386/fpu/e_log10.S: Likewise.
18558         * sysdeps/i386/fpu/s_frexp.S: Likewise.
18559         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18560         * sysdeps/i386/fpu/s_asinh.S: Likewise.
18561         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18562         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18563         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18564         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18565         * sysdeps/i386/i686/strtok.S: Likewise.
18566         * sysdeps/i386/i386-mcount.S: Likewise.
18567         * sysdeps/i386/strtok.S: Likewise.
18568         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18569         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18570         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18571         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18572         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18573         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18574         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18575         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18576         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18577         * sysdeps/x86_64/_mcount.S: Likewise.
18578         * sysdeps/x86_64/strtok.S: Likewise.
18579         * sysdeps/sh/_mcount.S: Likewise.
18581 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18583         * libio/iofopen.c: Include <fcntl.h>.
18584         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18585         (_IO_fopen64, fopen64): Define as aliases.
18586         * libio/iofopen64.c: Include <fcntl.h>.
18587         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18588         Conditionalize body on this.
18589         * sysdeps/wordsize-64/iofopen.c: File removed.
18590         * sysdeps/wordsize-64/iofopen64.c: File removed.
18592 2012-08-01  Marek Polacek  <polacek@redhat.com>
18594         * libc/Makeconfig: Use elf in place of binfmt-subdir.
18595         Use dlfcn directly instead of a variable.
18596         (binfmt-subdir): Do not define.
18597         (dlfcn): Likewise.
18599 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
18601         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18602         Remove all definitions.
18603         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18604         <kernel-features.h>.
18605         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18606         (miss_F_GETOWN_EX): Remove all definitions.
18607         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18608         macro definition.
18609         [!__ASSUME_FCNTL64]: Remove conditional code.
18610         [__ASSUME_FCNTL64]: Make code unconditional.
18611         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18612         <kernel-features.h>.
18613         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18614         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18615         (lockf64) [__NR_fcntl64]: Make code unconditional.
18616         (lockf64) [__ASSUME_FCNTL64]: Likewise.
18618         * sysdeps/unix/sysv/linux/kernel-features.h
18619         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18620         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18621         Make code unconditional.
18622         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18623         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18625         [__NR_vfork]: Make code unconditional.
18626         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18627         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18629         [__NR_vfork]: Make code unconditional.
18630         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18631         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18633 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18635         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18636         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18638         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18639         Define mkstemp64 as an alias.
18640         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18641         Define mkstemps64 as an alias.
18642         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18643         Define mkostemp64 as an alias.
18644         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18645         Define mkostemps64 as an alias.
18646         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18647         Conditionalize body on this.
18648         * misc/mkostemp64.c: Likewise.
18649         * misc/mkostemps64.c: Likewise.
18650         * misc/mkstemps64.c: Likewise.
18651         * sysdeps/wordsize-64/mkstemp64.c: File removed.
18652         * sysdeps/wordsize-64/mkostemp64.c: File removed.
18653         * sysdeps/wordsize-64/mkostemp.c: File removed.
18654         * sysdeps/wordsize-64/mkstemp.c: File removed.
18655         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18656         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18657         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18658         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18660         [BZ #14138]
18661         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18662         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18663         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18664         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18666         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18667         compat_symbol macros from <shlib-compat.h> rather than the underlying
18668         default_symbol_version and symbol_version macros, so that DEFAULT
18669         lines in shlib-versions are respected.
18670         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18672 2012-08-01  Florian Weimer  <fweimer@redhat.com>
18674         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18675         Declare with warn_unused_result.
18676         (setgid, setregid, setegid, setresgid): Likewise.
18677         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18678         Likewise.
18679         * WUR-REPORT: Remove set*id functions.
18681 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
18683         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18685 2012-07-31  Roland McGrath  <roland@hack.frob.com>
18687         [BZ #10191]
18688         * include/sys/socket.h (__libc_accept, __libc_accept4):
18689         Add attribute_hidden.
18690         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18692         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18693         use of PTR_MANGLE.
18694         * inet/getnetgrent_r.c (setup): Likewise.
18696         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18698 2012-07-31  David S. Miller  <davem@davemloft.net>
18700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18702 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
18704         [BZ #13629]
18705         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18706         value between 1.0 and 2.0 and smaller part has absolute value less
18707         than 1.0.
18708         * math/s_clog10.c (__clog10): Likewise.
18709         * math/s_clog10f.c (__clog10f): Likewise.
18710         * math/s_clog10l.c (__clog10l): Likewise.
18711         * math/s_clogf.c (__clogf): Likewise.
18712         * math/s_clogl.c (__clogl): Likewise.
18713         * math/libm-test.inc (clog_test): Add more tests.
18714         (clog10_test): Likewise.
18715         * sysdeps/i386/fpu/libm-test-ulps: Update.
18716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18718 2012-07-31  Florian Weimer  <fweimer@redhat.com>
18720         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18721         Exit with zero in case no suitable GID is found, and write a
18722         message to standard error.
18724 2012-07-30  Roland McGrath  <roland@hack.frob.com>
18726         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18727         rather than to 1.
18728         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18729         (MAXPATHLEN): Removed.
18730         (NOGROUP, NODEV): New macros.
18731         (setbit, clrbit, isset, isclr): New macros.
18732         (howmany, roundup, powerof2): New macros.
18733         (DEV_BSIZE): New macro.
18735         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18736         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18738         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18739         definition on [!__NO_LONG_DOUBLE_MATH].
18741         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18742         PTR_MANGLE and PTR_DEMANGLE.
18744         * socket/accept4.c (accept4): Rename to __libc_accept4.
18745         Define accept4 as a weak alias.
18747         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18748         on [_DIRENT_HAVE_D_TYPE].
18749         * io/ftw.c (ftw_dir): Likewise.
18751         * io/xmknod.c (__xmknod): Don't check PATH for being null.
18753         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18755         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18756         Use the BSD numbers rather than the arbitrary ones we had.
18757         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18758         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18759         (SIGXCPU, SIGXFSZ): New macros.
18760         (_NSIG): Now 32.
18762         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18763         initializer on [_LIBC_REENTRANT].
18765         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18766         definitions inside [_POSIX_MAPPED_FILES].
18768         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18770         * dirent/opendir.c: Include <fcntl.h>.
18772         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18773         (__libc_getspecific): Likewise.
18774         (__libc_key_create): Likewise.
18776         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18777         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18778         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18779         (tmpfile64): Define as alias.
18780         * sysdeps/wordsize-64/tmpfile.c: File removed.
18781         * sysdeps/wordsize-64/tmpfile64.c: File removed.
18782         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18783         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18785         * stdio-common/vfscanf.c: Include <stdbool.h>.
18786         * nss/makedb.c: Likewise.
18787         * stdio-common/_i18n_number.h: Likewise.
18788         * argp/argp-help.c: Likewise.
18789         * posix/wordexp.c: Likewise.
18790         * sysdeps/posix/spawni.c: Likewise.
18791         * nss/nss_files/files-initgroups.c: Likewise.
18792         * stdio-common/reg-modifier.c: Include <stdlib.h>.
18793         * nss/nss_files/files-initgroups.c: Likewise.
18794         * nss/nss_db/db-netgrp.c: Likewise.
18795         * nss/nss_db/db-initgroups.c: Likewise.
18796         * io/fchmodat.c: Include <sys/stat.h>.
18798         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18799         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18801         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18802         [HAVE_MMAP].
18804         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18805         Add multiple inclusion protection.
18807 2012-07-27  David S. Miller  <davem@davemloft.net>
18809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18811 2012-07-27  Gary Benson  <gbenson@redhat.com>
18813         [BZ #14298]
18814         * elf/rtld.c: Include <stap-probe.h>.
18815         (dl_main): Added static probes "init_start" and "init_complete".
18816         * elf/dl-load.c: Include <stap-probe.h>.
18817         (lose): Take new parameter "nsid".
18818         Added static probe "map_failed".
18819         (_dl_map_object_from_fd): Pass namespace id to lose.
18820         Added static probe "map_start".
18821         (open_verify): Pass namespace id to lose.
18822         * elf/dl-open.c: Include <stap-probe.h>.
18823         (dl_open_worker) Added static probes "map_complete", "reloc_start"
18824         and "reloc_complete".
18825         * elf/dl-close.c: Include <stap-probe.h>.
18826         (_dl_close_worker): Added static probes "unmap_start" and
18827         "unmap_complete".
18828         * elf/rtld-debugger-interface.txt: New file documenting the above.
18830 2012-07-26  Roland McGrath  <roland@hack.frob.com>
18832         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18833         rather than a string variable.
18834         * sunrpc/rpc_main.c (h_output): Likewise.
18835         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18837 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
18839         * inet/check_native.c: New file.
18841 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
18843         [BZ #13629]
18844         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18845         if larger part has absolute value 1.0.
18846         * math/s_clog10.c (__clog10): Likewise.
18847         * math/s_clog10f.c (__clog10f): Likewise.
18848         * math/s_clog10l.c (__clog10l): Likewise.
18849         * math/s_clogf.c (__clogf): Likewise.
18850         * math/s_clogl.c (__clogl): Likewise.
18851         * math/libm-test.inc (clog_test): Add more tests.
18852         (clog10_test): Likewise.
18853         * sysdeps/i386/fpu/libm-test-ulps: Update.
18854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18857         (pltexit): Likewise.
18858         (La_regs): Likewise.
18859         (La_retval): Likewise.
18860         (int_retval): Likewise.
18861         Update #error for removed macros to refer only to definitions in
18862         tst-audit.h.
18863         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18864         macro.
18865         (pltexit): Likewise.
18866         (La_regs): Likewise.
18867         (La_retval): Likewise.
18868         (int_retval): Likewise.
18869         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18870         macro.
18871         (pltexit): Likewise.
18872         (La_regs): Likewise.
18873         (La_retval): Likewise.
18874         (int_retval): Likewise.
18875         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18876         macro.
18877         (pltexit): Likewise.
18878         (La_regs): Likewise.
18879         (La_retval): Likewise.
18880         (int_retval): Likewise.
18881         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18882         macro.
18883         (pltexit): Likewise.
18884         (La_regs): Likewise.
18885         (La_retval): Likewise.
18886         (int_retval): Likewise.
18887         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18888         macro.
18889         (pltexit): Likewise.
18890         (La_regs): Likewise.
18891         (La_retval): Likewise.
18892         (int_retval): Likewise.
18893         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18894         macro.
18895         (pltexit): Likewise.
18896         (La_regs): Likewise.
18897         (La_retval): Likewise.
18898         (int_retval): Likewise.
18899         * sysdeps/generic/tst-audit.h: Update comment to refer only to
18900         macro definitions in tst-audit.h.
18901         * sysdeps/i386/tst-audit.h: New file.
18902         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18903         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18904         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18905         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18906         * sysdeps/sh/tst-audit.h: Likewise.
18907         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18908         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18909         * sysdeps/x86_64/tst-audit.h: Likewise.
18911 2012-07-26  Andreas Jaeger  <aj@suse.de>
18913         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18914         ptrace.
18916         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18917         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18918         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18919         PTRACE_O_MASK.
18920         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18921         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18922         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18924         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18925         value.
18927         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18928         _sigsys.
18929         (si_call_addr, si_syscall, si_arch): Define new macro.
18930         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18931         _sigsys.
18932         (si_call_addr, si_syscall, si_arch): Define new marcro.
18933         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18934         _sigsys.
18935         (si_call_addr, si_syscall, si_arch): Define new macro.
18936         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18937         _sigsys.
18938         (si_call_addr, si_syscall, si_arch): Define new macro.
18940 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #13717]
18943         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18944         Change to 2.4.21 where previously 2.4.1.
18945         * sysdeps/unix/sysv/linux/configure: Regenerated.
18946         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18947         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18948         Linux kernel version.
18949         (__ASSUME_STD_AUXV): Remove.
18950         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18951         kernel version.
18952         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18953         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18954         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18955         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18956         (__ASSUME_NETLINK_SUPPORT): Likewise.
18957         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18958         (__no_netlink_support): Remove conditional definition.
18959         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18960         Remove.
18961         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18962         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18963         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18964         (if_nameindex_ioctl): Remove.
18965         (if_nameindex_netlink): Do not handle __no_netlink_support.
18966         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18967         code.
18968         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18969         Remove conditional code.
18970         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18971         code.
18972         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18973         unconditional.
18974         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18975         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18976         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18977         Remove.
18978         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18979         [!__ASSUME_STD_AUXV]: Remove conditional code.
18980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18981         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18982         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18984         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18985         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18986         code.
18987         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18989         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18990         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18991         conditional code.
18992         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18994         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18995         code.
18996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18997         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18998         conditional code.
18999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19000         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19001         code unconditional.
19002         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19003         conditional code.
19004         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19005         unconditional.
19006         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19007         conditional code.
19008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19009         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19010         unconditional.
19011         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19012         conditional code.
19013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19014         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19015         code unconditional.
19016         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19017         conditional code.
19018         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19019         unconditional.
19020         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19021         conditional code.
19022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19023         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19024         code unconditional.
19025         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19026         conditional code.
19027         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19028         unconditional.
19029         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19030         conditional code.
19032 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
19034         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19035         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19036         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19037         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19038         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19039         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19040         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19041         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19042         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19043         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19044         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19045         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19046         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19047         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19048         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19049         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19050         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19051         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19052         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19054         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19055         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19056         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19058 2012-07-25  Florian Weimer  <fweimer@redhat.com>
19060         * Versions.def: Add GLIBC_2.17.
19061         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19062         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19063         Introduce __libc_secure_getenv.
19064         * stdlib/Versions (2.17): Add secure_getenv
19065         (GLIBC_PRIVATE): Add __libc_secure_getenv.
19066         * stdlib/secure-getenv.c: Rename __secure_getenv to
19067         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
19068         symbol __secure_getenv for GLIBC_2.0.
19069         * stdlib/tst-secure-getenv.c: New.
19070         * stdlib/Makefile (tests): Add testcase.
19071         * manual/startup.texi (Environment Access): Document
19072         secure_getenv.
19073         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19074         __libc_secure_getenv.
19075         * inet/ruserpass.c (ruserpass): Likewise.
19076         * malloc/mtrace.c (mtrace): Likewise.
19077         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19078         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19079         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19080         * sysdeps/posix/tempname.c: Likewise.  Evaluate
19081         HAVE_SECURE_GETENV.
19082         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19083         __secure_getenv to __libc_secure_getenv.
19084         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19086         Likewise.
19087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19088         Likewise.
19089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19091         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19097 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19099         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19100         (struct La_i86_retval): Likewise.
19101         (struct La_x86_64_regs): Likewise.
19102         (struct La_x86_64_retval): Likewise.
19103         (struct La_x32_regs): Likewise.
19104         (struct La_x32_retval): Likewise.
19105         (struct La_ppc32_regs): Likewise.
19106         (struct La_ppc32_retval): Likewise.
19107         (struct La_ppc64_regs): Likewise.
19108         (struct La_ppc64_retval): Likewise.
19109         (struct La_sh_regs): Likewise.
19110         (struct La_sh_retval): Likewise.
19111         (struct La_s390_32_regs): Likewise.
19112         (struct La_s390_32_retval): Likewise.
19113         (struct La_s390_64_regs): Likewise.
19114         (struct La_s390_64_retval): Likewise.
19115         (struct La_sparc32_regs): Likewise.
19116         (struct La_sparc32_retval): Likewise.
19117         (struct La_sparc64_regs): Likewise.
19118         (struct La_sparc64_retval): Likewise.
19119         (struct audit_ifaces): Remove architecture-specific pltenter and
19120         pltexit members.
19121         * sysdeps/i386/ldsodefs.h: New file.
19122         * sysdeps/powerpc/ldsodefs.h: Likewise.
19123         * sysdeps/s390/ldsodefs.h: Likewise.
19124         * sysdeps/sh/ldsodefs.h: Likewise.
19125         * sysdeps/sparc/ldsodefs.h: Likewise.
19126         * sysdeps/x86_64/ldsodefs.h: Likewise.
19128 2012-07-25  Marek Polacek  <polacek@redhat.com>
19130         [BZ #6808]
19131         * math/libm-test.inc (yn_test): Add another test.
19132         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19133         to ERANGE when the result is +-Inf.
19134         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19135         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19136         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19137         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19139 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
19141         * conform/data/time.h-data (NULL): Use macro-constant.  Require
19142         equal to 0.
19143         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
19144         clock_t.
19145         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
19147 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
19149         * configure.in <sysdeps resolving>: Correct printing
19150         Implies_before.
19151         * configure: Regenerate.
19153 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
19155         * math/w_ilogb.c: Include <limits.h>.
19156         * math/w_ilogbl.c: Likewise.
19158 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19160         * manual/lang.texi (__va_copy): Document primarily as ISO C99
19161         va_copy.  Document allowing for unavailable va_copy only as
19162         pre-C99 compatibility.
19163         * manual/string.texi (Copying and Concatenation): Use va_copy
19164         instead of __va_copy in concat example.
19166 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
19168         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19169         (__sendto): Use create_address_port.  Initialize APORT and deallocate
19170         it if not null.
19172         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19173         with O_NOLINK passed to __file_name_lookup.
19175         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19176         with O_NOLINK passed to __file_name_lookup.
19178         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19179         negative N or less than NGIDS.
19181         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19182         type to string_t.  Set ERANGE as errno and return it if NAME is not big
19183         enough.  Use memcpy instead of strncpy.
19185 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19187         * elf/Makefile (check-data): Remove.
19188         (localplt.data): New vpath directive.
19189         ($(objpfx)check-localplt.out): Use localplt.data from vpath
19190         instead of $(check-data).
19191         * scripts/data/localplt-generic.data: Move to ...
19192         * sysdeps/generic/localplt.data: ... here.
19193         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19194         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19195         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19197         ... here.
19198         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19200         ... here.
19201         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19203         ... here.
19204         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19206         ... here.
19207         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19209         ... here.
19210         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19212         ... here.
19214 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19216         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19217         PPC32 and PPC64 files.
19218         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19219         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19221 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19223         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19224         __makecontext_ret to ...
19225         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19226         ... here and call exit if uc_link is NULL.  New file.
19227         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19228         __makecontext_ret.S.
19229         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19230         __makecontext_ret to ...
19231         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19232         ... here and call exit if uc_link is NULL.  New file.
19233         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19234         __makecontext_ret.S.
19236 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19238         * elf/elf.h (R_390_IRELATIVE): New definition.
19239         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19240         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
19241         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19242         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19243         (elf_machine_lazy_rel): Likewise.
19244         * sysdeps/s390/dl-irel.h: New file.
19245         * sysdeps/s390/s390-64/memcpy.S: New asm code.
19246         * sysdeps/s390/s390-64/memset.S: New asm code.
19247         * sysdeps/s390/s390-64/memcmp.S: New asm code.
19248         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19249         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19250         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19251         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19252         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19253         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19254         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19255         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19256         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19257         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19258         * sysdeps/s390/s390-32/memcpy.S: New asm code.
19259         * sysdeps/s390/s390-32/memset.S: New asm code.
19260         * sysdeps/s390/s390-32/memcmp.S: New asm code.
19262 2012-07-17  Marek Polacek  <polacek@redhat.com>
19264         [BZ #14349]
19265         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19266         * sysdeps/s390/s390-64/configure.in: Likewise.
19267         * sysdeps/sparc/configure.in: Likewise.
19268         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19269         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19270         * sysdeps/i386/configure.in: Likewise.
19271         * sysdeps/x86_64/configure.in: Likewise.
19272         * sysdeps/sh/configure.in: Likewise.
19273         * sysdeps/s390/s390-32/configure: Regenerated.
19274         * sysdeps/s390/s390-64/configure: Likewise.
19275         * sysdeps/x86_64/configure: Likewise.
19276         * sysdeps/sh/configure: Likewise.
19277         * sysdeps/powerpc/powerpc64/configure: Likewise.
19278         * sysdeps/powerpc/powerpc32/configure: Likewise.
19279         * sysdeps/sparc/configure: Likwise.
19280         * sysdeps/i386/configure: Likewise.
19282         * elf/dl-open.c: Comment fixes.
19284 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
19286         * Makefile [CXX] (check-data): Remove.
19287         [CXX] (c++-types.data): New vpath directive.
19288         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19289         vpath.  Do not allow for C++ type data being missing.
19290         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19291         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19292         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19293         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19294         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19295         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19296         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19298         ... here.
19299         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19301         ... here.
19302         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19304         ... here.
19305         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19307         ... here.
19308         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19310         ... here.
19311         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19313         ... here.
19314         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19316         ... here.
19317         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19320         * elf/tls-macros.h (TLS_LE): Move architecture-specific
19321         definitions to architecture-specific files.
19322         (TLS_IE): Likewise.
19323         (TLS_LD): Likewise.
19324         (TLS_GD): Likewise.
19325         * sysdeps/i386/tls-macros.h: New file.
19326         * sysdeps/powerpc/tls-macros.h: Likewise.
19327         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19328         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19329         * sysdeps/sh/tls-macros.h: Likewise.
19330         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19331         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19332         * sysdeps/x86_64/tls-macros.h: Likewise.
19334 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19336         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19337         zero value for regular exit case.
19339         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19340         (__start_context): Preserve zero value for regular exit case.
19342 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19343             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19345         * manual/setjmp.texi (setcontext): Clarify normal process
19346         termination when uc_link is the null pointer.
19347         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19348         exit call.
19350 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
19352         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19353         preprocessor.  Test for each exception mask separately.
19355 2012-07-16  Andreas Jaeger  <aj@suse.de>
19357         * po/ru.po: Update from translation team.
19359 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
19361         * conform/data/string.h-data (NULL): Use macro-constant.  Require
19362         equal to 0.
19363         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19364         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19365         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19366         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19367         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19369 2012-07-13  Andreas Jaeger  <aj@suse.de>
19371         * po/fr.po: Update from translation team.
19373 2012-07-12  Marek Polacek  <polacek@redhat.com>
19375         [BZ #14173]
19376         * math/libm-test.inc (yn_test): Add test for BZ #14173.
19377         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19378         loop condition.
19380 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
19382         [BZ #13717]
19383         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19384         Change to 2.4.1 where previously 2.4.0.
19385         * sysdeps/unix/sysv/linux/configure: Regenerated.
19386         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19387         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19388         version.
19389         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19390         (__ASSUME_AT_CLKTCK): Remove.
19391         (__ASSUME_AT_PAGESIZE): Likewise.
19392         (__ASSUME_AT_XID): Likewise.
19393         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19394         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19395         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19396         unconditionally.
19397         (HAVE_AUX_PAGESIZE): Likewise.
19398         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19399         [__ASSUME_AT_CLKTCK]: Make code unconditional.
19400         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19402 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
19404         [BZ #14307]
19405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19406         the temporary buffer used to invoke __gethostbyname2_r,
19407         __gethostbyaddr_r and gethostbyname4_r to make room for struct
19408         host_data / struct gaih_addrtuple.
19409         * resolv/nss_dns/dns-host.c (global scope): Move definition of
19410         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19411         header file nss/nsswitch.h.
19412         * nss/nsswitch.h (global scope): Add definition of implementation
19413         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19414         resolv/nss_dns/dns-host.c).
19416 2012-07-11  Andreas Jaeger  <aj@suse.de>
19418         * po/fr.po: Update from translation team.
19420         * po/sv.po: Update from translation team
19421         * po/fr.po: Another update from translation team.
19423 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19425         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19426         for subnormals or multiply small sinh result by itself.
19427         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19430 2012-07-11  David S. Miller  <davem@davemloft.net>
19432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19434 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
19436         [BZ #14347]
19437         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19438         (INTERNAL_MARK): Shift it here.
19440 2012-07-10  Marek Polacek  <polacek@redhat.com>
19442         [BZ #14151]
19443         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
19444         libc_cv_asm_global_directive with .globl.
19445         * configure: Regenerated.
19446         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19447         with .globl.
19448         * sysdeps/i386/configure: Regenerated.
19449         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19450         with .globl.
19451         * sysdeps/x86_64/configure: Regenerated.
19452         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19453         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19454         * elf/tst-unique2mod2.c: Likewise.
19455         * elf/tst-unique2mod1.c: Likewise.
19456         * elf/tst-unique1mod2.c: Likewise.
19457         * elf/tst-unique1mod1.c: Likewise.
19458         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19459         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19460         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19461         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19462         * sysdeps/mach/sysdep.h: Likewise.
19463         * sysdeps/i386/sysdep.h: Likewise.
19464         * sysdeps/i386/i386-mcount.S: Likewise.
19465         * sysdeps/x86_64/_mcount.S: Likewise.
19466         * sysdeps/x86_64/sysdep.h: Likewise.
19467         * sysdeps/sh/_mcount.S: Likewise.
19468         * sysdeps/sh/sysdep.h: Likewise.
19469         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19470         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19471         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19472         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19473         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19474         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19475         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19476         * locale/localeinfo.h: Likewise.
19477         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19478         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19480 2012-07-09  Roland McGrath  <roland@hack.frob.com>
19482         [BZ #14336]
19483         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19484         system".
19485         * manual/message.texi (The Uniforum approach): Likewise.
19486         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19487         (glibc iconv Implementation): Likewise.
19489 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
19491         [BZ #14337]
19492         * math/s_clog.c (__clog): Avoid scaling a value down where that
19493         could result in underflow.
19494         * math/s_clog10.c (__clog10): Likewise.
19495         * math/s_clog10f.c (__clog10f): Likewise.
19496         * math/s_clog10l.c (__clog10l): Likewise.
19497         * math/s_clogf.c (__clogf): Likewise.
19498         * math/s_clogl.c (__clogl): Likewise.
19499         * math/libm-test.inc (clog_test): Add more tests.
19500         (clog10_test): Likewise.
19501         * sysdeps/i386/fpu/libm-test-ulps: Update.
19502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19504 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
19506         [BZ #14283]
19507         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19508         by 7 not 8 to examine high bit of fractional part.
19510         [BZ #14042]
19511         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19512         for call to __mcount_internal.
19513         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19514         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19515         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19517 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
19519         [BZ #14154]
19520         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19521         approximation for values within 0x1p-13f of an odd multiple of
19522         pi/4.
19523         * math/libm-test.inc (tan_test): Do not allow spurious underflow
19524         exception.  Add more tests.
19525         * sysdeps/i386/fpu/libm-test-ulps: Update.
19527         [BZ #6778]
19528         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19529         inputs and return -1 for them.  Do not check for +Inf in case not
19530         reachable for +Inf.
19531         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19532         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19533         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19534         and return -1 for them.  Do not check for +Inf in case not
19535         reachable for +Inf.
19536         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19537         define.
19538         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19539         and return -1 for them.  Do not check for +Inf in case not
19540         reachable for +Inf.
19541         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
19542         spurious underflow.
19543         * sysdeps/i386/fpu/libm-test-ulps: Update.
19544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19546 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
19548         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19550 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
19552         [BZ #14157]
19553         [BZ #14331]
19554         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19555         could result in spurious underflow.  Scale down values above
19556         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19557         * math/s_csqrtf.c (__csqrtf): Likewise.
19558         * math/s_csqrtl.c (__csqrtl): Likewise.
19559         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
19560         spurious underflow.
19561         * sysdeps/i386/fpu/libm-test-ulps: Update.
19562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19564 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19566         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19567         xopen-msg.sed.
19568         * catgets/xopen-msg.awk: New file.
19569         * catgets/xopen-msg.sed: Removed.
19571         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19572         po2text.sed.
19573         * intl/po2test.awk: New file.
19574         * intl/po2test.sed: Removed.
19576 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
19578         [BZ #14328]
19579         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19580         or multiply small sinh result by itself.
19581         * math/s_ctanf.c (__ctanf): Likewise.
19582         * math/s_ctanh.c (__ctanh): Likewise.
19583         * math/s_ctanhf.c (__ctanhf): Likewise.
19584         * math/s_ctanhl.c (__ctanhl): Likewise.
19585         * math/s_ctanl.c (__ctanl): Likewise.
19586         * math/libm-test.inc (ctan_test_tonearest): New function.
19587         (ctan_test_towardzero): Likewise.
19588         (ctan_test_downward): Likewise.
19589         (ctan_test_upward): Likewise.
19590         (ctanh_test_tonearest): Likewise.
19591         (ctanh_test_towardzero): Likewise.
19592         (ctanh_test_downward): Likewise.
19593         (ctanh_test_upward): Likewise.
19594         (main): Call these new functions.
19595         * sysdeps/i386/fpu/libm-test-ulps: Update.
19596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19598 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
19600         * .gitignore: Delete /ports entry.
19602 2012-07-03  Andreas Jaeger  <aj@suse.de>
19604         * po/bg.po: Update from translation team.
19605         * po/cs.po: Likewise.
19606         * po/de.po: Likewise.
19607         * po/hr.po: Likewise.
19608         * po/nl.pl: Likewise.
19609         * po/pl.po: Likewise.
19610         * po/vi.po: Likewise.
19612 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
19614         * Makeconfig [!+link] (+link-before-libc): New variable.
19615         [!+link] (+link-after-libc): Likewise.
19616         [!+link] (+link-tests): Likewise.
19617         [!+link] (+link): Define in terms of $(+link-before-libc) and
19618         $(+link-after-libc).
19619         [!+link-static] (+link-static-before-libc): New variable.
19620         [!+link-static] (+link-static-after-libc): Likewise.
19621         [!+link-static] (+link-static-tests): Likewise.
19622         [!+link-static] (+link-static): Define in terms of
19623         $(+link-static-before-libc) and $(+link-static-after-libc).
19624         [build-shared] (link-libc-before-gnulib): New variable.
19625         [build-shared] (link-libc-tests): Likewise.
19626         [build-shared] (link-libc): Define in terms of
19627         $(link-libc-before-gnulib).
19628         [!build-shared] (link-libc-tests): New variable.
19629         (link-libc-static-tests): New variable.
19630         [!gnulib] (gnulib-arch): New variable.
19631         [!gnulib] (gnulib-tests): Likewise.
19632         [!gnulib] (static-gnulib-arch): Likewise.
19633         [!gnulib] (static-gnulib-tests): Likewise.
19634         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
19635         Define with "=" instead of ":=".
19636         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
19637         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
19638         * Rules (binaries-all-notests): New variable.
19639         (binaries-all-tests): Likewise.
19640         (binaries-static-notests): Likewise.
19641         (binaries-static-tests): Likewise.
19642         (binaries-all): Define using $(binaries-all-notests) and
19643         $(binaries-all-tests).
19644         (binaries-static): Define using $(binaries-static-notests) and
19645         $(binaries-static-tests).
19646         (binaries-shared-tests): New variable.
19647         (binaries-shared-notests): Likewise.
19648         (binaries-shared): Remove variable.
19649         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19650         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19651         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19652         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19653         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19654         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19655         * elf/Makefile (sln-modules): New variable.
19656         (extra-objs): Add $(sln-modules:=.o).
19657         (ldconfig-modules): Add static-stubs.
19658         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19659         * elf/static-stubs.c: New file.
19661         [BZ #14283]
19662         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19663         by 7 not 8 to examine high bit of fractional part.  Use volatile
19664         variables when splitting into final array of floats if
19665         __FLT_EVAL_METHOD__ != 0.
19666         * math/libm-test.inc (cos_test): Add another test.
19667         (sin_test): Likewise.
19668         * sysdeps/i386/fpu/libm-test-ulps: Update.
19670         [BZ #14273]
19671         * math/libm-test.inc (cosh_test): Add more tests.
19673         * version.h (RELEASE): Set to "development".
19674         (VERSION): Set to "2.16.90".
19676 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
19678         * NEWS: Update copyright. Remove last-updated date.
19679         Mention math library bug fixes and timezone data changes.
19680         * README: Mention GNU/Hurd, x32, and HPPA support status.
19682 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
19684         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19686 2012-06-27  Andreas Jaeger  <aj@suse.de>
19688         * manual/contrib.texi (Contributors): Add Samuel Thibault.
19690 2012-06-25  Andreas Jaeger  <aj@suse.de>
19692         * sysdeps/s390/fpu/libm-test-ulps: Update.
19694 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
19695             Thomas Schwinge  <thomas@codesourcery.com>
19697         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19698         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19700         fanotify_mark.
19702 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
19704         * sysdeps/mach/start.c: Remove file.
19705         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19706         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19707         * sysdeps/sh/init-first.c: Likewise.
19709         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19710         registers for frame unwinding purposes, add CFI directives.
19711         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19712         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19713         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19714         Likewise.
19716         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19717         __fortify_fail returning.
19718         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19720         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19721         sysdeps/sh/____longjmp_chk.S.
19722         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19723         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19724         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19725         (gen-as-const-headers): Append sigaltstack-offsets.sym.
19727         * sysdeps/sh/abort-instr.h: New file.
19728         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19729         process in case exit returns.
19731         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19732         initialize the GOT register before use.
19734         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19735         calculation of ARGC > 4.
19737         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19738         meaningful names to some local labels.
19740 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19741             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19743         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19744         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19745         (__arch_compare_and_exchange_val_16_acq): Likewise.
19746         (__arch_compare_and_exchange_val_32_acq): Likewise.
19747         (atomic_exchange_and_add): Fix gUSA sequence.
19748         (atomic_add): Likewise.
19749         (atomic_add_negative): Likewise.
19750         (atomic_add_zero): Likewise.
19751         (atomic_bit_test_set): Likewise.
19753 2012-06-22  Andreas Schwab  <schwab@redhat.com>
19755         [BZ #13579]
19756         * include/link.h (struct link_map): Add l_free_initfini.
19757         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19758         l_initfini.
19759         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19760         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19761         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19762         set.
19764 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
19766         * configure.in: Use AC_LANG_SOURCE.
19767         * configure: Regenerate.
19769 2012-06-22  Roland McGrath  <roland@hack.frob.com>
19771         * configure.in (libc_cv_localstatedir): New substituted variable.
19772         * configure: Regenerated.
19773         * config.make.in (localstatedir): New variable, substituted from
19774         libc_cv_localstatedir.
19775         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19776         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19777         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19778         * sysdeps/gnu/configure: Regenerated.
19780 2012-06-21  Jeff Law  <law@redhat.com>
19782         [BZ #14277]
19783         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19784         free.  Simplify list management for _LIBC case.
19786 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
19788         [BZ #14273]
19789         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19790         Clear sign bit of 64-bit integer value before comparing against
19791         overflow value.
19793         * sysdeps/mach/configure: Regenerated.
19795 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
19797         [BZ #14278]
19798         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19800 2012-06-21  Jeff Law  <law@redhat.com>
19802         [BZ #13882]
19803         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
19804         uint16_t for elements in the "seen" array to avoid char overflows.
19805         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19806         * elf/dl-open.c (dl_open_worker): Likewise.
19808 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
19810         * scripts/list-sources.sh: Scan PORTS for translations.
19811         * po/libc.pot: Regenerated.
19813 2012-06-21  Andreas Jaeger  <aj@suse.de>
19815         [BZ #12194]
19816         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19817         warning.
19818         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19819         * bits/byteswap-16.h (__bswap_16): Likewise.
19820         * bits/byteswap.h (__bswap_constant_16): Likewise.
19822 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
19824         [BZ #14117]
19825         * sysdeps/i386/fpu_control.h: Removed.
19826         * sysdeps/x86_64/fpu_control.h: Moved to ...
19827         * sysdeps/x86/fpu_control.h: Here.
19829         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19830         (_FPU_SETCW): Likewise.
19832 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
19834         [BZ #14117]
19835         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19836         * sysdeps/x86/fpu/bits/mathinline.h: This.
19837         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19839         [BZ #14050]
19840         [BZ #14117]
19841         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19842         functions if __x86_64__ is defined.
19844 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
19846         * string/endian.h: Add !__ASSEMBLER__ condition for including
19847         conversion interfaces.
19849 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
19851         [BZ #14241]
19852         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19853         of ABS(x) in calculating zero to negative powers other than odd
19854         integers.
19855         * math/libm-test.inc (pow_test): Add more tests.
19857 2012-06-15  Andreas Jaeger  <aj@suse.de>
19859         * manual/contrib.texi (Contributors): Update entry of Liubov
19860         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19861         Machado Filho.
19863 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
19865         * string/string.h: Add __wur to GNU version of strerror_r.
19867 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
19869         [BZ #14229]
19870         * string/Makefile (tests): Add tst-strtok_r.
19871         * string/tst-strtok_r.c: New file.
19872         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19873         RAX_LP/RDX_LP on SAVE_PTR.
19875 2012-06-14  Roland McGrath  <roland@hack.frob.com>
19877         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19879 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
19881         * libm_test.inc (csqrt_test): Allow more spurious underflow
19882         exceptions.
19883         (j0_test): Likewise.
19884         (j1_test): Likewise.
19885         (y0_test): Likewise.
19886         (y1_test): Likewise.
19888 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
19890         * po/Makefile (libc.pot): Use UTF-8 charset.
19892 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
19894         [BZ #14210]
19895         Suppress sign-conversion warning from FD_SET.
19896         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19897         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19898         not unsigned long int.
19899         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19901 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
19903         [BZ #14050]
19904         [BZ #14117]
19905         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19906         __extern_always_inline instead of __extern_inline.
19907         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19908         (__signbit): Likewise.
19909         (__signbitl): Support C++ namespace.
19910         (lrintf): New inline function.
19911         (lrint): Likewise.
19912         (llrintf): Likewise.
19913         (llrint): Likewise.
19914         (fmaxf): Likewise.
19915         (fmax): Likewise.
19916         (fminf): Likewise.
19917         (fmin): Likewise.
19918         (rint): Likewise.
19919         (rintf): Likewise.
19920         (ceil): Likewise.
19921         (ceilf): Likewise.
19922         (floor): Likewise.
19923         (floorf): Likewise.
19924         (nearbyint): Likewise.
19925         (nearbyintf): Likewise.
19927 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
19929         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19930         non-default versions.
19932 2012-06-11  Roland McGrath  <roland@hack.frob.com>
19934         [BZ #14218]
19935         * manual/argp.texi (Argp): Reword argp_parse description slightly.
19937 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
19939         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19940         (FE_UPWARD, FE_DOWNWARD): Don't define.
19941         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19942         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19944         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19945         reading it.
19946         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19947         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19949 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19951         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19952         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19953         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19954         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19956 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19958         [BZ #14117]
19959         * sysdeps/i386/fpu/bits/fenv.h: Removed.
19960         * sysdeps/i386/fpu/Implies: New file.
19961         * sysdeps/x86_64/fpu/Implies: Likewise.
19962         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19963         * sysdeps/x86/fpu/bits/fenv.h: This.
19965         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19966         __SSE_MATH__.
19968 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19970         [BZ #14134]
19971         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19972         character 0xffff that matches the last element of the
19973         conversion table.
19975 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19977         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19978         fmodl commit.
19980 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19982         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19983         values higher than 25.6283.
19985 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19987         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19988         subnormal exponent extraction and add some __builtin_expect.
19989         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19990         Fix for subnormal mantissa calculation.
19992 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
19994         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19995         cpu2 is -1 and errno is not ENOSYS.
19997 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
19999         [BZ #14117]
20000         * sysdeps/i386/i486/bits/string.h: Renamed to ...
20001         * sysdeps/x86/bits/string.h: This.
20002         * sysdeps/x86_64/bits/string.h: Removed.
20004         * sysdeps/i386/i486/bits/string.h: Define inline functions only
20005         if not compiling for x86-64, but compiling for >= i486.
20007         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20008         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20010         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20011         New macro from Linux kernel 3.4.0.
20012         (FP_XSTATE_MAGIC2): Likewise.
20013         (FP_XSTATE_MAGIC2_SIZE): Likewise.
20014         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20015         (struct _fpx_sw_bytes): New struct.
20016         (struct _xsave_hdr): Likewise.
20017         (struct _ymmh_state): Likewise.
20018         (struct _xstate): Likewise.
20020         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20021         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20022         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20023         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20024         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20025         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20027         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20028         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20029         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20030         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20031         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20032         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20034 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20036         [BZ #13743]
20037         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20038         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20039         (sysdep_headers): Include sys/platform/ppc.h.
20040         * sysdeps/powerpc/test-gettimebase.c: Test for
20041         __ppc_get_timebase() to catch future ISA opcode/insn changes.
20042         * manual/Makefile (appendices): Include platform.texi.
20043         * manual/contrib.texi (Contributors): Update @node pointers.
20044         * manual/maint.texi (Maintenance): Likewise.
20045         (Platform): New node.
20046         * manual/platform.texi: New file.  Document the new features.
20048 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20049             Jakub Jelinek  <jakub@redhat.com>
20051         [BZ #14188]
20052         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20053         where __builtin_expect is unavailable.
20055 2012-06-03  David S. Miller  <davem@davemloft.net>
20057         * stdlib/longlong.h: Updated from GCC.
20059 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
20061         [BZ #14042]
20062         * sysdeps/powerpc/powerpc32/mcount.c: New file.
20063         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20064         __mcount_internal.
20065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20066         (GLIBC_2.16): Likewise.
20068 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20070         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20072 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20075         (default-abi): New variable.
20076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20077         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20078         variable.
20079         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20080         Likewise.
20081         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20082         Likewise.
20083         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20084         Likewise.
20086         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20087         definition.  Document in comment.
20089 2012-06-01  David S. Miller  <davem@davemloft.net>
20091         * stdlib/longlong.h: Updated from GCC.
20093 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20095         [BZ #14117]
20096         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20097         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20098         sys/debugreg.h sys/io.h here.
20099         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20100         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20101         sys/io.h.
20102         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20103         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20104         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20105         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20106         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20107         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20109         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20110         Define only if __x86_64__ is defined.
20112 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20114         [BZ #14048]
20115         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20116         Use int64_t for variable i.
20117         * math/libm-test.inc (fmod_test): Add more tests.
20119         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20120         z computation is not scheduled after fetestexcept.
20121         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20122         Use math_force_eval instead of asm to ensure calculation scheduled
20123         before exception test.
20124         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20125         Ensure a1 + u.d computation is not scheduled after fetestexcept.
20127 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
20129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20130         computation is not scheduled after fetestexcept.
20132 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20134         [BZ #14117]
20135         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20136         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20138 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20140         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20141         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20143 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20145         [BZ #14117]
20146         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20147         <bits/wordsize.h>.
20148         (__WCHAR_MIN): Support __WORDSIZE == 64.
20149         (__WCHAR_MAX): Likewise.
20151         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20152         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20154         [BZ #14183]
20155         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20156         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20158         [BZ #14117]
20159         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20160         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20162         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20163         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20165         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20166         Defined to 1 if __x86_64__ isn't defined.
20167         (_STAT_VER_LINUX_OLD): New.
20168         (st_atime): Remove duplicate.
20169         (st_mtime): Likewise.
20170         (st_ctime): Likewise.
20172 2012-05-31  David S. Miller  <davem@davemloft.net>
20174         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20175         entries.
20177 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
20179         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20180         gen-libm-test.pl.
20182         [BZ #14132]
20183         * elf/dl-reloc.c: Include <_itoa.h>.
20184         (_dl_reloc_bad_type): Remove use of INTUSE.
20185         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20186         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20187         * stdio-common/psiginfo.c (psiginfo): Likewise.
20188         * stdio-common/psignal.c (psignal): Likewise.
20189         * string/strsignal.c (strsignal): Likewise.
20190         * include/signal.h (_sys_siglist): Declare hidden proto.
20191         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
20192         INTVARDEF with libc_hidden_data_def.
20193         * stdio-common/itoa-udigits.c: Likewise.
20194         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20195         (_itoa_lower_digits_internal): Remove declaration.
20196         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20197         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20198         (_sys_sigabbrev_internal): Remove aliases.
20199         (_sys_siglist): Define hidden alias.
20201 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
20203         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20204         bits/sysctl.h.
20206 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20208         [BZ #14117]
20209         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20210         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20212         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20213         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20214         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20215         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20216         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20217         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20219         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20220         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20221         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20223         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20224         with __addr.
20225         (insw): Likewise.
20226         (insl): Likewise.
20227         (outsb): Likewise.
20228         (outsw): Likewise.
20229         (outsl): Likewise.
20231         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20232         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20233         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20235         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20236         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20237         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20238         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20239         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20240         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20242         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20243         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20245         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20246         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20248         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20249         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20250         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20252         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20253         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20254         to ...
20255         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20257         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20258         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20259         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20261         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20262         for x86-64.
20263         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20265 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
20267         * math/math.h (M_El): Use two more decimal places.
20268         (M_LOG2El): Likewise.
20269         (M_LOG10El): Likewise.
20270         (M_LN2l): Likewise.
20271         (M_LN10l): Likewise.
20272         (M_PIl): Likewise.
20273         (M_PI_2l): Likewise.
20274         (M_PI_4l): Likewise.
20275         (M_1_PIl): Likewise.
20276         (M_2_PIl): Likewise.
20277         (M_2_SQRTPIl): Likewise.
20278         (M_SQRT2l): Likewise.
20279         (M_SQRT1_2l): Likewise.
20281 2012-05-31  David S. Miller  <davem@davemloft.net>
20283         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20284         values between float registers.
20285         * sysdeps/sparc/sparc64/memset.S: Likewise.
20286         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20288 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
20290         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20291         -D_FORTIFY_SOURCE=1.
20292         (CPPFLAGS-tst-longjmp_chk.c): Define.
20293         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20294         (CPPFLAGS-tst-longjmp_chk2.c): Define.
20295         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20296         CFLAGS-tst-wchar-h.c.
20298 2012-05-31  Marek Polacek  <polacek@redhat.com>
20300         [BZ #14132]
20301         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20302         __endmntent_internal): Remove declaration.
20303         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20304         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20305         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20307 2012-05-30  David S. Miller  <davem@davemloft.net>
20309         * sysdeps/sparc/sparc32/soft-fp/q_util.c
20310         (___Q_simulate_exceptions): Use real FP ops rather than writing
20311         into the %fsr.
20312         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20313         Likewise.
20315 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20317         [BZ #14117]
20318         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20319         * sysdeps/x86/bits/xtitypes.h: This.
20321         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20322         * sysdeps/x86/bits/wordsize.h: This.
20324         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20325         * sysdeps/x86/bits/huge_vall.h: This.
20327         * sysdeps/i386/bits/select.h: Removed.
20328         * sysdeps/x86_64/bits/select.h: Renamed to ...
20329         * sysdeps/x86/bits/select.h: This.
20331         * sysdeps/i386/bits/setjmp.h: Removed.
20332         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20333         * sysdeps/x86/bits/setjmp.h: This.
20335         * sysdeps/i386/bits/mathdef.h: Removed.
20336         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20337         * sysdeps/x86/bits/mathdef.h: This.
20339 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
20341         [BZ #14132]
20342         * include/sys/socket.h (__connect_internal)
20343         (__libc_sa_len_internal): Remove declaration.
20344         (__connect, __libc_sa_len): Declare hidden_proto.
20345         (SA_LEN): Remove use of INTUSE.
20346         * socket/connect.c: Add libc_hidden_def.
20347         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20348         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20349         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20350         alias.
20351         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20352         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20353         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20354         of adding _internal alias.
20356 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20358         [BZ #14117]
20359         * sysdeps/i386/bits/link.h: Removed.
20360         * sysdeps/i386/bits/linkmap.h: Likewise.
20361         * sysdeps/x86_64/bits/link.h: Renamed to ...
20362         * sysdeps/x86/bits/link.h: This.
20363         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20364         * sysdeps/x86/bits/linkmap.h: This.
20366         * sysdeps/i386/bits/endian.h: Removed.
20367         * sysdeps/x86_64/bits/endian.h: Renamed to ...
20368         * sysdeps/x86/bits/endian.h: This.
20370         * sysdeps/i386/bits/byteswap.h: Removed.
20371         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20372         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20373         * sysdeps/x86/bits/byteswap.h: This.
20374         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20375         * sysdeps/x86/bits/byteswap-16.h: This.
20376         * sysdeps/i386/Implies: Add x86.
20377         * sysdeps/x86_64/Implies: Likewise.
20379 2012-05-30  David S. Miller  <davem@davemloft.net>
20381         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20382         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20383         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20384         (FP_TRAPPING_EXCEPTIONS): Define.
20385         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20386         (FP_TRAPPING_EXCEPTIONS): Define.
20387         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20388         subnormals only when inexact has been signalled or underflow
20389         exceptions are enabled.
20390         (_FP_PACK_CANONICAL): Likewise.
20392 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20394         [BZ #14183]
20395         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20396         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20398 2012-05-30  Richard Henderson  <rth@twiddle.net>
20400         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20401         with #ifndef NOT_IN_libc.
20403         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
20404         marked to avoid plt entry.
20406 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20408         [BZ #14112]
20409         * Makeconfig (default-abi): New macro.
20410         (abi-includes): Likewise.
20411         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
20412         $(abi-$(default-abi)-lib-soname) for soname if defined.
20413         ($(common-objpfx)gnu/lib-names.stmp): Generate from
20414         abi-variants.
20415         * Makefile (installed-stubs): Likewise.
20416         * include/stubs-biarch.h: Removed.
20417         * scripts/lib-names.awk: Only handle one library at a time.
20418         * scripts/soversions.awk: Remove WORDSIZE support.
20419         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20420         entries.
20421         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20422         Removed.
20423         (syscall-list-default-condition): Likewise.
20424         (syscall-list-default-condition): Likewise.
20425         (syscall-list-includes): Likewise.
20426         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20427         syscall-list-* with abi-*.  Handle undefined abi-variants.
20428         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20429         * sysdeps/unix/sysv/linux/i386/Implies: New file.
20430         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20431         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20432         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20433         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20434         Removed.
20435         (syscall-list-32-options): Likewise.
20436         (syscall-list-32-condition): Likewise.
20437         (syscall-list-64-options): Likewise.
20438         (syscall-list-64-condition): Likewise.
20439         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20440         macro.
20441         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20442         Renamed to ...
20443         (abi-*): This.
20444         (abi-64-ld-soname): New macro.
20445         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20446         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20447         Renamed to ...
20448         (abi-*): This.
20449         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20450         * sysdeps/x86_64/x32/shlib-versions: Likewise.
20452 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
20454         * sysdeps/unix/sysv/linux/kernel-features.h
20455         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20456         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20457         include <kernel-features.h>.
20458         [!__NR_ftruncate64]: Remove conditional code.
20459         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20460         [__NR_ftruncate64]: Make code unconditional.
20461         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20462         * sysdeps/unix/sysv/linux/truncate64.c: Do not
20463         include <kernel-features.h>.
20464         [!__NR_ftruncate64]: Remove conditional code.
20465         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20466         [__NR_ftruncate64]: Make code unconditional.
20467         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20469         include <kernel-features.h>.
20470         [!__NR_ftruncate64]: Remove conditional code.
20471         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20472         [__NR_ftruncate64]: Make code unconditional.
20473         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20475         include <kernel-features.h>.
20476         [!__NR_ftruncate64]: Remove conditional code.
20477         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20478         [__NR_ftruncate64]: Make code unconditional.
20479         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20481         * configure.in (libc_cv_fpie): Weaken to a compile test using
20482         LIBC_TRY_CC_OPTION.
20483         * configure: Regenerated.
20485 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20491         Refreshed.
20492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20498         Refreshed.
20500 2012-05-27  David S. Miller  <davem@davemloft.net>
20502         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20503         (___Q_zero): New.
20504         (__Q_simulate_exceptions): Return void.  Change to simulate
20505         exceptions by writing into the %fsr.
20506         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20507         (__Qp_handle_exceptions): Likewise.
20508         (numbers): Delete.
20509         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20510         __Qp_handle_exceptions.
20511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20512         __Qp_handle_exceptions.
20513         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20514         as unused and give dummy FP_RND_NEAREST initializer.
20515         (FP_INHIBIT_RESULTS): Define.
20516         (___Q_simulate_exceptions): Update declaration.
20517         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20518         formatting.
20519         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20520         as unused and give dummy FP_RND_NEAREST initializer.
20521         (__Qp_handle_exceptions): Update declaration.
20522         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20523         formatting.
20525 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
20527         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20528         the temporary FPU control word.
20529         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20530         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20531         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20532         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20533         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20534         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20535         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20536         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20537         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20538         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20539         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20541 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20543         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20544         fields.
20546 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
20548         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20549         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20550         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20551         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20552         Likewise.
20553         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20554         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20555         Likewise.
20557 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
20559         * po/h.po: Update from translation team.
20561 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
20563         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20565         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20566         handling of denormals.
20567         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20568         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20569         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20570         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20572         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20573         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20574         Likewise.
20576 2012-05-26  Marek Polacek  <polacek@redhat.com>
20578         [BZ #14152]
20579         * math/libm-test.inc (fma_test): Don't always expect underflow
20580         exception.
20582 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20584         [BZ #12416]
20585         * elf/tst-execstack.c: Include stackinfo.h.
20586         (do_test): Adjust test case to ensure that pthread_getattr_np
20587         behaviour remains the same after marking stack executable.
20589 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
20591         * sysdeps/unix/sysv/linux/kernel-features.h
20592         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20593         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20594         kernel-features.h.
20595         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20596         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20597         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20598         kernel-features.h.
20599         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20600         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20602 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
20604         * configure.in: Define the default includes to being none.
20605         * configure: Regenerated.
20607 2012-05-25  Roland McGrath  <roland@hack.frob.com>
20609         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20610         * sysdeps/x86_64/setjmp.S: Likewise.
20611         * sysdeps/i386/bsd-setjmp.S: Likewise.
20612         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20613         * sysdeps/i386/setjmp.S: Likewise.
20614         * sysdeps/i386/__longjmp.S: Likewise.
20615         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20616         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20618         * include/stap-probe.h: New file.
20619         * configure.in: Handle --enable-systemtap.
20620         * configure: Regenerated.
20621         * config.h.in (USE_STAP_PROBE): New #undef.
20622         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20623         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20624         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20626 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
20628         [BZ #13717]
20629         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20630         to 2.4.0 where earlier.
20631         * sysdeps/unix/sysv/linux/configure: Regenerated.
20632         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20633         <kernel-features.h>.
20634         [__ASSUME_32BITUIDS]: Make code unconditional.
20635         [!__ASSUME_32BITUIDS]: Remove conditional code.
20636         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20637         <kernel-features.h>.
20638         [__ASSUME_32BITUIDS]: Make code unconditional.
20639         [!__ASSUME_32BITUIDS]: Remove conditional code.
20640         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20641         [__ASSUME_32BITUIDS]: Make code unconditional.
20642         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20643         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20644         <kernel-features.h>.
20645         [__ASSUME_32BITUIDS]: Make code unconditional.
20646         [!__ASSUME_32BITUIDS]: Remove conditional code.
20647         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20648         <kernel-features.h>.
20649         [__ASSUME_32BITUIDS]: Make code unconditional.
20650         [!__ASSUME_32BITUIDS]: Remove conditional code.
20651         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20652         <kernel-features.h>.
20653         [__ASSUME_32BITUIDS]: Make code unconditional.
20654         [!__ASSUME_32BITUIDS]: Remove conditional code.
20655         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20656         <kernel-features.h>.
20657         [__ASSUME_32BITUIDS]: Make code unconditional.
20658         [!__ASSUME_32BITUIDS]: Remove conditional code.
20659         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20660         <kernel-features.h>.
20661         [__ASSUME_32BITUIDS]: Make code unconditional.
20662         [!__ASSUME_32BITUIDS]: Remove conditional code.
20663         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20664         <kernel-features.h>.
20665         [__ASSUME_32BITUIDS]: Make code unconditional.
20666         [!__ASSUME_32BITUIDS]: Remove conditional code.
20667         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20668         <kernel-features.h>.
20669         [__ASSUME_32BITUIDS]: Make code unconditional.
20670         [!__ASSUME_32BITUIDS]: Remove conditional code.
20671         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20672         <kernel-features.h>.
20673         [__ASSUME_32BITUIDS]: Make code unconditional.
20674         [!__ASSUME_32BITUIDS]: Remove conditional code.
20675         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20676         <kernel-features.h>.
20677         [__ASSUME_32BITUIDS]: Make code unconditional.
20678         [!__ASSUME_32BITUIDS]: Remove conditional code.
20679         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20680         <kernel-features.h>.
20681         [__ASSUME_32BITUIDS]: Make code unconditional.
20682         [!__ASSUME_32BITUIDS]: Remove conditional code.
20683         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20684         <kernel-features.h>.
20685         [__NR_setresgid] (__setresgid): Do not declare.
20686         [__ASSUME_32BITUIDS]: Make code unconditional.
20687         [!__ASSUME_32BITUIDS]: Remove conditional code.
20688         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20689         <kernel-features.h>.
20690         [__NR_setresuid] (__setresuid): Do not declare.
20691         [__ASSUME_32BITUIDS]: Make code unconditional.
20692         [!__ASSUME_32BITUIDS]: Remove conditional code.
20693         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20694         <kernel-features.h>.
20695         [__ASSUME_32BITUIDS]: Make code unconditional.
20696         [!__ASSUME_32BITUIDS]: Remove conditional code.
20697         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20698         <kernel-features.h>.
20699         [__ASSUME_32BITUIDS]: Make code unconditional.
20700         [!__ASSUME_32BITUIDS]: Remove conditional code.
20701         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20702         <kernel-features.h>.
20703         [__ASSUME_32BITUIDS]: Make code unconditional.
20704         [!__ASSUME_32BITUIDS]: Remove conditional code.
20705         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20706         <kernel-features.h>.
20707         [__ASSUME_32BITUIDS]: Make code unconditional.
20708         [!__ASSUME_32BITUIDS]: Remove conditional code.
20709         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20710         <kernel-features.h>.
20711         [__ASSUME_32BITUIDS]: Make code unconditional.
20712         [!__ASSUME_32BITUIDS]: Remove conditional code.
20713         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20714         <kernel-features.h>.
20715         [__ASSUME_32BITUIDS]: Make code unconditional.
20716         [!__ASSUME_32BITUIDS]: Remove conditional code.
20717         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20718         <kernel-features.h>.
20719         [__ASSUME_32BITUIDS]: Make code unconditional.
20720         [!__ASSUME_32BITUIDS]: Remove conditional code.
20721         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20722         <kernel-features.h>.
20723         [__ASSUME_32BITUIDS]: Make code unconditional.
20724         [!__ASSUME_32BITUIDS]: Remove conditional code.
20725         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20726         <kernel-features.h>.
20727         [__ASSUME_32BITUIDS]: Make code unconditional.
20728         [!__ASSUME_32BITUIDS]: Remove conditional code.
20729         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20730         <kernel-features.h>.
20731         [__ASSUME_32BITUIDS]: Make code unconditional.
20732         [!__ASSUME_32BITUIDS]: Remove conditional code.
20733         * sysdeps/unix/sysv/linux/kernel-features.h
20734         (__ASSUME_SETRESUID_SYSCALL): Remove.
20735         (__ASSUME_SETRESGID_SYSCALL): Likewise.
20736         (__ASSUME_32BITUIDS): Likewise.
20737         (__ASSUME_LDT_WORKS): Likewise.
20738         (__ASSUME_O_DIRECTORY): Likewise.
20739         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20740         architecture but not kernel version.
20741         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20742         (__ASSUME_MMAP2_SYSCALL): Likewise.
20743         (__ASSUME_STAT64_SYSCALL): Likewise.
20744         (__ASSUME_IPC64): Likewise.
20745         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20746         <kernel-features.h>.
20747         [__ASSUME_32BITUIDS]: Make code unconditional.
20748         [!__ASSUME_32BITUIDS]: Remove conditional code.
20749         * sysdeps/unix/sysv/linux/opendir.c: Do not include
20750         <kernel-features.h>.
20751         [__ASSUME_O_DIRECTORY]: Make code unconditional.
20752         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20753         132096]: Remove conditional code.
20754         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20755         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20756         <kernel-features.h>.
20757         [__ASSUME_32BITUIDS]: Make code unconditional.
20758         [!__ASSUME_32BITUIDS]: Remove conditional code.
20759         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20760         <kernel-features.h>.
20761         [__ASSUME_32BITUIDS]: Make code unconditional.
20762         [!__ASSUME_32BITUIDS]: Remove conditional code.
20763         * sysdeps/unix/sysv/linux/setegid.c: Do not include
20764         <kernel-features.h>.
20765         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20766         unconditional.
20767         (__setresgid): Do not declare.
20768         [__ASSUME_32BITUIDS]: Make code unconditional.
20769         [!__ASSUME_32BITUIDS]: Remove conditional code.
20770         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20771         <kernel-features.h>.
20772         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20773         unconditional.
20774         (__setresuid): Do not declare.
20775         [__ASSUME_32BITUIDS]: Make code unconditional.
20776         [!__ASSUME_32BITUIDS]: Remove conditional code.
20777         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20778         <kernel-features.h>.
20779         [__ASSUME_32BITUIDS]: Make code unconditional.
20780         [!__ASSUME_32BITUIDS]: Remove conditional code.
20781         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20782         <kernel-features.h>.
20783         [__ASSUME_32BITUIDS]: Make code unconditional.
20784         [!__ASSUME_32BITUIDS]: Remove conditional code.
20786 2012-05-25  Richard Henderson  <rth@twiddle.net>
20788         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20789         dl_hwcap to ifunc resolver.
20790         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20791         elf_ifunc_invoke.
20792         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20793         dl_hwcap to ifunc resolver.
20794         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20796 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20798         [BZ #14153]
20799         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20800         for |x| <= 2**-26, not 2**-57.
20801         * math/libm-test.inc (acos_test): Do not allow spurious underflow
20802         exception.
20804 2012-05-24  Jeff Law  <law@redhat.com>
20806         * stdio-common/Makefile (tests): Add bug25.
20807         * stdio-common/bug25.c: New test.
20809 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20811         [BZ #13576]
20812         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20813         multiple of MALLOC_ALIGNMENT in size.
20814         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20816 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20818         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20819         Require >= 256.
20820         (FILENAME_MAX): Use macro-int-constant.
20821         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
20822         (_IOFBF): Use macro-int-constant.
20823         (_IOLBF): Likewise.
20824         (_IONBF): Likewise.
20825         (SEEK_CUR): Likewise.
20826         (SEEK_END): Likewise.
20827         (SEEK_SET): Likewise.
20828         (TMP_MAX): Likewise.
20829         (EOF): Use macro-int-constant.  Require < 0.
20830         (NULL): Use macro-constant.  Require == 0.
20831         (stdin): Require type to be FILE *.
20832         (stdout): Likewise.
20833         (stderr): Likewise.
20834         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20835         macro-int-constant.
20836         (EXIT_SUCCESS): Likewise.
20837         (NULL): Use macro-constant.  Require == 0.
20838         (RAND_MAX): Use macro-int-constant.
20839         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20840         [C99-based standards] (strtof): Require function.
20841         [C99-based standards] (strtold): Likewise.
20842         [C99-based standards] (strtoll): Likewise.
20843         [C99-based standards] (strtoull): Likewise.
20844         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20845         [ISO || ISO99 || ISO11] (limits.h): Likewise.
20846         [ISO || ISO99 || ISO11] (math.h): Likewise.
20847         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20848         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20851 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
20853         [BZ #14132]
20854         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20855         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20856         * intl/dgettext.c (DCGETTEXT): Likewise.
20857         * intl/gettext.c (DCGETTEXT): Likewise.
20858         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20859         * posix/regex_internal.h (gettext): Likewise.
20860         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20861         Remove declaration.
20862         * include/argz.h (__argz_count_internal)
20863         (__argz_stringify_internal): Remove declaration.
20864         (__argz_count, __argz_stringify): Declare hidden proto.
20865         * intl/dcgettext.c: Remove use of INTDEF.
20866         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20867         * string/argz-stringify.c: Likewise.
20868         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20869         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20870         Declare hidden proto.
20871         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20872         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20873         Declare hidden proto.
20874         * include/stdio.h (__asprintf_internal): Don't declare.
20875         (__asprintf): Don't define as macro.  Declare hidden proto.
20876         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20877         (__fsetlocking): Declare hidden proto.
20878         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20879         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20880         hidden proto.
20881         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20882         (_IO_setlinebuf): Remove use of INTUSE.
20883         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20884         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20885         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20886         Remove declaration.
20887         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20888         (_IO_do_flush): Remove use of INTUSE.
20889         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20890         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20891         (_IO_adjust_column, _IO_least_wmarker)
20892         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20893         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20894         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20895         (_IO_default_doallocate, _IO_wdefault_doallocate)
20896         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20897         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20898         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20899         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20900         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20901         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20902         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20903         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20904         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20905         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20906         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20907         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20908         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20909         proto.
20910         (_IO_flush_all_internal, _IO_adjust_column_internal)
20911         (_IO_default_uflow_internal, _IO_default_finish_internal)
20912         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20913         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20914         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20915         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20916         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20917         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20918         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20919         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20920         (_IO_file_close_internal, _IO_file_close_it_internal)
20921         (_IO_file_underflow_internal, _IO_file_overflow_internal)
20922         (_IO_file_init_internal, _IO_file_attach_internal)
20923         (_IO_file_fopen_internal, _IO_file_read_internal)
20924         (_IO_file_sync_internal, _IO_file_seek_internal)
20925         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20926         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20927         (_IO_str_underflow_internal, _IO_str_overflow_internal)
20928         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20929         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20930         (_IO_list_all_internal, _IO_link_in_internal)
20931         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20932         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20933         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20934         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20935         (_IO_do_write_internal, _IO_padn_internal)
20936         (_IO_getline_info_internal, _IO_getline_internal)
20937         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20938         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20939         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20940         (_IO_vfscanf_internal, _IO_vfprintf_internal)
20941         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20942         (_IO_init_internal, _IO_un_link_internal): Don't declare.
20943         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20944         with libc_hidden_ver, remove use of INTUSE.
20945         * libio/genops.c: Likewise.
20946         * libio/freopen.c: Likewise.
20947         * libio/freopen64.c: Likewise.
20948         * libio/iofclose.c: Likewise.
20949         * libio/iofdopen.c: Likewise.
20950         * libio/iofflush.c: Likewise.
20951         * libio/iofflush_u.c: Likewise.
20952         * libio/iofgets.c: Likewise.
20953         * libio/iofgets_u.c: Likewise.
20954         * libio/iofopen.c: Likewise.
20955         * libio/iofopncook.c: Likewise.
20956         * libio/iofread.c: Likewise.
20957         * libio/iofread_u.c: Likewise.
20958         * libio/ioftell.c: Likewise.
20959         * libio/iofwrite.c: Likewise.
20960         * libio/iogetline.c: Likewise.
20961         * libio/iogets.c: Likewise.
20962         * libio/iogetwline.c: Likewise.
20963         * libio/iopadn.c: Likewise.
20964         * libio/iopopen.c: Likewise.
20965         * libio/ioseekoff.c: Likewise.
20966         * libio/ioseekpos.c: Likewise.
20967         * libio/iosetbuffer.c: Likewise.
20968         * libio/iosetvbuf.c: Likewise.
20969         * libio/ioungetc.c: Likewise.
20970         * libio/ioungetwc.c: Likewise.
20971         * libio/iovdprintf.c: Likewise.
20972         * libio/iovsprintf.c: Likewise.
20973         * libio/iovsscanf.c: Likewise.
20974         * libio/memstream.c: Likewise.
20975         * libio/obprintf.c: Likewise.
20976         * libio/oldfileops.c: Likewise.
20977         * libio/oldiofclose.c: Likewise.
20978         * libio/oldiofdopen.c: Likewise.
20979         * libio/oldiofopen.c: Likewise.
20980         * libio/oldiopopen.c: Likewise.
20981         * libio/oldstdfiles.c: Likewise.
20982         * libio/putc.c: Likewise.
20983         * libio/setbuf.c: Likewise.
20984         * libio/setlinebuf.c: Likewise.
20985         * libio/stdfiles.c: Likewise.
20986         * libio/strops.c: Likewise.
20987         * libio/vasprintf.c: Likewise.
20988         * libio/vscanf.c: Likewise.
20989         * libio/vsnprintf.c: Likewise.
20990         * libio/vswprintf.c: Likewise.
20991         * libio/wfiledoalloc.c: Likewise.
20992         * libio/wfileops.c: Likewise.
20993         * libio/wgenops.c: Likewise.
20994         * libio/wmemstream.c: Likewise.
20995         * libio/wstrops.c: Likewise.
20996         * libio/__fpurge.c: Likewise.
20997         * libio/__fsetlocking.c: Likewise.
20998         * assert/assert.c: Likewise.
20999         * debug/fgets_chk.c: Likewise.
21000         * debug/fgets_u_chk.c: Likewise.
21001         * debug/fread_chk.c: Likewise.
21002         * debug/fread_u_chk.c: Likewise.
21003         * debug/gets_chk.c: Likewise.
21004         * debug/obprintf_chk.c: Likewise.
21005         * debug/vasprintf_chk.c: Likewise.
21006         * debug/vdprintf_chk.c: Likewise.
21007         * debug/vsnprintf_chk.c: Likewise.
21008         * debug/vsprintf_chk.c: Likewise.
21009         * malloc/mtrace.c: Likewise.
21010         * misc/error.c: Likewise.
21011         * misc/syslog.c: Likewise.
21012         * stdio-common/asprintf.c: Likewise.
21013         * stdio-common/fxprintf.c: Likewise.
21014         * stdio-common/getw.c: Likewise.
21015         * stdio-common/isoc99_fscanf.c: Likewise.
21016         * stdio-common/isoc99_scanf.c: Likewise.
21017         * stdio-common/isoc99_vfscanf.c: Likewise.
21018         * stdio-common/isoc99_vscanf.c: Likewise.
21019         * stdio-common/isoc99_vsscanf.c: Likewise.
21020         * stdio-common/printf-prs.c: Likewise.
21021         * stdio-common/printf_fp.c: Likewise.
21022         * stdio-common/printf_fphex.c: Likewise.
21023         * stdio-common/printf_size.c: Likewise.
21024         * stdio-common/putw.c: Likewise.
21025         * stdio-common/scanf.c: Likewise.
21026         * stdio-common/sprintf.c: Likewise.
21027         * stdio-common/tmpfile.c: Likewise.
21028         * stdio-common/vfprintf.c: Likewise.
21029         * stdio-common/vfscanf.c: Likewise.
21030         * stdlib/strfmon_l.c: Likewise.
21031         * sunrpc/openchild.c: Likewise.
21032         * sunrpc/xdr_stdio.c: Likewise.
21033         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21034         * sysdeps/mach/hurd/tmpfile.c: Likewise.
21036 2012-05-24  Roland McGrath  <roland@hack.frob.com>
21038         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21040         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21041         in the third column, to generate for the shared library an IFUNC
21042         that uses _dl_vdso_vsym.
21043         * Makerules (COMPILE.c, compile-stdin.c): New variables.
21044         * Makeconfig (object-suffixes-noshared): New variable.
21046         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21047         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21048         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21049         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21051         [BZ #14132]
21052         * include/sys/time.h (__gettimeofday): Remove macro.
21053         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21054         * time/gettimeofday.c (__gettimeofday): Remove #undef.
21055         Remove INTDEF.
21056         (__gettimeofday): Add libc_hidden_def.
21057         (gettimeofday): Add libc_hidden_weak.
21058         * sysdeps/mach/gettimeofday.c: Likewise.
21059         * sysdeps/posix/gettimeofday.c: Likewise.
21060         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21061         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21062         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21063         (__gettimeofday_internal): Remove strong_alias.
21064         (__gettimeofday): Add libc_hidden_def.
21065         (gettimeofday): Add libc_hidden_weak.
21066         * sysdeps/unix/syscalls.list (gettimeofday):
21067         Remove __gettimeofday_internal alias.
21069 2012-05-24  Daniel Jacobowitz  <drow@false.org>
21070             H.J. Lu  <hongjiu.lu@intel.com>
21072         [BZ #12495]
21073         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21074         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21075         (largebin_index_32_big): New.
21076         (largebin_index): Use it for 16-byte alignment.
21077         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
21078         correction with front_misalign.
21080 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21084         Likewise.
21085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21086         Likewise.
21087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21088         Likewise.
21089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21090         Likewise.
21091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21092         Likewise.
21093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21094         Likewise.
21095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21096         Likewise.
21097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21098         Likewise.
21099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21100         Likewise.
21101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21102         Likewise.
21103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21104         Likewise.
21105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21106         Likewise.
21108         * scripts/data/c++-types-x32-linux-gnu.data: New file.
21109         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21111 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21113         [BZ #10846]
21114         [BZ #14036]
21115         * math/libm-test.inc (exp_test): Add test from bug 14036.
21116         (pow_test): Add test from bug 10846.
21118         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21119         and other flags.
21120         (special_function): Do not include flags in test name.
21121         (parse_args): Likewise.
21122         * sysdeps/i386/fpu/libm-test-ulps: Update.
21123         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21124         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21125         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21128         * math/gen-libm-test.pl (%beautify): Add entries for underflow
21129         exceptions.
21130         * math/libm-test.inc ("Philosophy"): Update comment about
21131         exception testing.
21132         (UNDERFLOW_EXCEPTION): New macro.
21133         (UNDERFLOW_EXCEPTION_OK): Likewise.
21134         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21135         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21136         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21137         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21138         (INVALID_EXCEPTION_OK): Update value.
21139         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21140         (OVERFLOW_EXCEPTION_OK): Likewise.
21141         (IGNORE_ZERO_INF_SIGN): Likewise.
21142         (test_exceptions): Handle underflow exceptions.
21143         (acos_test): Update for underflow exception expectations.
21144         (cexp_test): Likewise.
21145         (clog_test): Likewise.
21146         (clog10_test): Likewise.
21147         (csqrt_test): Likewise.
21148         (ctan_test): Likewise.
21149         (ctanh_test): Likewise.
21150         (exp_test): Likewise.
21151         (exp10_test): Likewise.
21152         (exp2_test): Likewise.
21153         (expm1_test): Likewise.
21154         (fma_test): Likewise.
21155         (j0_test): Likewise.
21156         (jn_test): Likewise.
21157         (nexttoward_test): Likewise.
21158         (pow_test): Likewise.
21159         (scalbn_test): Likewise.
21160         (scalbln_test): Likewise.
21161         (tan_test): Likewise.
21162         (y1_test): Likewise.
21163         * sysdeps/i386/fpu/libm-test-ulps: Update.
21164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21166 2012-05-23  David S. Miller  <davem@davemloft.net>
21168         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21169         (__libc_sigaction): Remove unused local variables.
21171 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21173         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21175 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
21177         mktime: avoid signed integer overflow
21178         * time/mktime.c (__mktime_internal): Do not mishandle the case
21179         where diff == INT_MIN.
21181         mktime: simplify computation of average
21182         * time/mktime.c (ranged_convert): Use new time_t_avg function
21183         instead of rolling our own (probably-slower) code.
21185         mktime: do not assume signed right shift propagates sign bit
21186         * time/mktime.c (isdst_differ): New static function.
21187         (__mktime_internal): No need to normalize tm_isdst now.
21188         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21189         tm_isdst values.
21191         mktime: merge another wrapv change from gnulib
21192         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21193         from some compilers.
21195         mktime: remove incorrect attempt at unusual arithmetics
21196         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21197         The code didn't really work on such machines anyway.
21198         (TYPE_MINIMUM): Assume two's complement.
21199         (twos_complement_arithmetic): Verify that long_int and time_t
21200         are two's complement (or unsigned, in the latter case).
21202         mktime: check signed shifts on long_int and time_t, too
21203         * time/mktime.c (SHR): Check that shifts work as desired
21204         on the types long_int and time_t too, as SHR is used on
21205         such types.
21207         mktime: do not assume 'long' is wide enough
21208         * time/mktime.c (verify): Move decl up.
21209         (long_int): New type.
21210         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21211         to remove assumption in the code that 'long' is wide enough to
21212         store year values.  This assumption is not true on x32 and on
21213         some non-glibc platforms.
21215         mktime: merge wrapv change from gnulib
21216         * time/mktime.c (WRAPV): New macro.
21217         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21218         (guess_time_tm, __mktime_internal): Do not assume that signed
21219         integer overflow wraps around; modern compilers generate code
21220         where this assumption is no longer valid.
21222 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21224         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21225         Replace "jmp L(pseudo_end)" with "ret".
21226         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21227         Likewise.
21229 2012-05-23  Andreas Jaeger  <aj@suse.de>
21231         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21232         * sysdeps/unix/sysv/linux/poll.c: Remove file.
21234 2012-05-23  Andreas Jaeger  <aj@suse.de>
21235             Maximilian Attems  <max@stro.at>
21237         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21238         New macros.
21240 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21242         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21243         code so that pseudo_end is just ret and the stack pointer is
21244         correct also for static library in error case.
21246 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
21248         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21249         move to syscalls.list.
21250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21255         * manual/install.texi (Running make install): Do not mention Linux
21256         kernel version for which pt_chown is not needed.
21257         (Linux): Do not mention problems with nscd with 2.0 kernels.
21258         * INSTALL: Regenerated.
21260 2012-05-23  Andreas Jaeger  <aj@suse.de>
21262         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21263         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21264         macro.
21265         * sysdeps/unix/sysv/linux/s390/bits/mman.h
21266         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21267         * sysdeps/unix/sysv/linux/sh/bits/mman.h
21268         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21269         * sysdeps/unix/sysv/linux/i386/bits/mman.h
21270         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21271         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21272         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21273         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21274         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21275         * sysdeps/unix/sysv/linux/bits/in.h
21276         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21278 2012-05-22  Roland McGrath  <roland@hack.frob.com>
21280         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21281         (PREPARE_VERSION): Just use assert instead, it will be elided
21282         under [NDEBUG] anyway.
21284 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21286         * sysdeps/unix/sysv/linux/Makefile: Include
21287         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21288         (sysdep_routines): Remove sysctl.
21289         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21290         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21291         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21292         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21293         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21295 2012-05-22  Andreas Jaeger  <aj@suse.de>
21297         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21298         that pseudo_end is just ret and the stack pointer is correct also
21299         for static library in error case.
21301 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21303         [BZ #14122]
21304         * nss/nsswitch.c (defconfig_entries): New variable.
21305         (__nss_database_lookup): Don't leak defconfig entries.
21306         (nss_parse_service_list): Don't leak on error paths.
21307         (free_database_entries): New function.
21308         (free_defconfig): New function.
21309         (free_mem): Move common code to free_database_entries.
21311 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21313         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21314         Add arch_prctl.
21315         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21317         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21318         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21320         New macro.
21321         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21322         (INTERNAL_SYSCALL_TYPES): Likewise.
21323         (LOAD_ARGS_TYPES_[1-6]): Likewise.
21324         (LOAD_REGS_TYPES_[1-6]): Likewise.
21325         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21326         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21328 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21330         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21331         copysignl for GLIBC_2_0.
21332         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21333         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21334         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21335         logbl for GLIBC_2_0.
21336         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21337         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21339 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21342         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21344         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21345         Use "neg %eax".
21347         * time/mktime.c: Update copyright years.
21349 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21351         mktime: merge comment-quoting-style change from gnulib
21352         * time/mktime.c: Quote 'like this' in comments.
21353         The GNU coding standards suggest that we no longer quote `like this',
21354         as "`" and "'" are typically rendered asymmetrically nowadays.
21355         The typical gnulib style is to quote 'like this' when quoting
21356         code, and "like this" when quoting English.
21358         * time/mktime.c (compile-command): Add "-I.".
21360         mktime: merge mktime-internal.h change from gnulib
21361         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21363         mktime: merge time_r change from gnulib
21364         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21366         mktime: merge DEBUG change from gnulib
21367         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21368         case system <time.h> has a #define.
21370         mktime: merge <sys/types.h> change from gnulib
21371         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21372         since <time.t> is now guaranteed to define time_t.
21374         mktime: merge HAVE_CONFIG_H change from gnulib
21375         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21377 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21380         Use "neg %eax".
21382         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21383         __rlim_t cast.
21384         (struct rusage): Use anonymous union to pad each field to
21385         __syscall_slong_t.
21387 2012-05-21  David S. Miller  <davem@davemloft.net>
21389         * Makefules (o-iterator): Remove .s cases.
21390         (compile-command.s): Delete.
21391         (COMPILE.s): Delete.
21392         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21394 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
21396         * configure.in (libc_cv_predef_stack_protector): Only consider
21397         "foobar" and "__stack_chk_fail" lines in libc_undefs.
21398         * configure: Regenerated.
21400 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21403         New macro.  Use R*LP on int and pointer.
21404         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21405         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21406         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21407         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21409         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21410         [__WORDSIZE_TIME64_COMPAT32] instead of
21411         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21412         (struct utmp): Likewise.
21413         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21414         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21415         Renamed to ...
21416         (__WORDSIZE_TIME64_COMPAT32): This.
21417         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21418         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21419         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21420         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21421         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21422         (__WORDSIZE_TIME64_COMPAT32): New macro.
21424 2012-05-21  Andreas Jaeger  <aj@suse.de>
21426         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21427         only if [SHARED]. Add prototype for __wcschr_ia32.
21429 2012-05-21  Roland McGrath  <roland@hack.frob.com>
21431         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21432         of %rbp unmolested in the jmp_buf while mangling the low bits.
21433         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21434         unmolested high bits of %rbp while demangling the low bits.
21435         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21437 2012-05-21  Andreas Jaeger  <aj@suse.de>
21439         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21440         * sunrpc/svc_simple.c: Use it for registerrpc.
21441         * sunrpc/xcrypt.c: Use it for passwd2des.
21443         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21445 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21447         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21448         Don't define if [__SYSCALL_WORDSIZE != 32].
21449         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21450         New macro.
21452 2012-05-21  Bruno Haible  <bruno@clisp.org>
21453             Andreas Jaeger  <aj@suse.de>
21455         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21456         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21457         inptr and inend for must_buffer_ch.
21458         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21459         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21460         * stdio-common/Makefile (tests): Remove bug15.
21461         (bug15-ENV): Remove macro.
21462         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21463         anymore.
21465 2012-05-19  Andreas Jaeger  <aj@suse.de>
21466             Roland McGrath  <roland@hack.frob.com>
21468         * manual/contrib.texi: Completely rewritten. It contains now an
21469         alphabetical list of contributors and their contributions.
21471 2012-05-21  Richard Henderson  <rth@twiddle.net>
21473         * misc/getauxval.c (__getauxval): Use unsigned long int.
21474         * misc/sys/auxv.h: Include <sys/cdefs.h>.
21475         (getauxval): Use unsigned long int.
21477 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21479         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21481 2012-05-21  Roland McGrath  <roland@hack.frob.com>
21483         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21484         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21485         __alignof__ (long double).
21487 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21491 2012-05-20  Richard Henderson  <rth@twiddle.net>
21493         * misc/getauxval.c: New file.
21494         * misc/sys/auxv.h: New file.
21495         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21496         (routines): Add getauxval.
21497         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21498         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21499         * elf/dl-sysdep.c (_dl_auxv): Remove.
21500         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21501         * elf/dl-support.c (_dl_auxv): New variable.
21502         (_dl_aux_init): Initialize it.
21503         * manual/startup.texi (Auxiliary Vector): New node.
21504         * sysdeps/generic/bits/hwcap.h: New file.
21505         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21506         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
21507         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21508         * sysdeps/sparc/sysdep.h: ... here.  Include it.
21509         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21510         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21512         Update.
21513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21522 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21526 2012-05-19  David S. Miller  <davem@davemloft.net>
21528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21530 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
21532         [BZ #14123]
21533         * math/s_ccosh.c: Include <float.h>
21534         (__ccosh): Avoid internal overflow calculating sinh and cosh
21535         values before multiplying by sin and cos values.
21536         * math/s_ccoshf.c: Likewise.
21537         * math/s_ccoshl.c: Likewise.
21538         * math/s_csin.c: Likewise.
21539         * math/s_csinf.c: Likewise.
21540         * math/s_csinl.c: Likewise.
21541         * math/s_csinh.c: Likewise.
21542         * math/s_csinhf.c: Likewise.
21543         * math/s_csinhl.c: Likewise.
21544         * math/libm-test.inc (ccos_test): Add more tests.
21545         (ccosh_test): Likewise.
21546         (csin_test): Likewise.
21547         (csinh_test): Likewise.
21548         * sysdeps/i386/fpu/libm-test-ulps: Update.
21549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21551 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21553         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21554         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21556         * sysdeps/x86_64/x32/_itoa.h: Add comment.
21558 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
21560         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21561         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21562         * sysdeps/powerpc/soft-fp/Versions: Likewise.
21563         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21564         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21565         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21566         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21567         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21568         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21569         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21570         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21571         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21572         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21573         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21574         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21575         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21576         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21577         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21578         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21579         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21580         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21581         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21582         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21583         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21584         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21585         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21586         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21587         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21588         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21589         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21590         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21592 2012-05-18  Andreas Jaeger  <aj@suse.de>
21594         * csu/.gitignore: Delete.
21596 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21598         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21599         (timex): Use __syscall_slong_t.
21601 2012-05-18  Andreas Jaeger  <aj@suse.de>
21602             Carlos O'Donell  <carlos_odonell@mentor.com>
21604         * manual/install.texi (Configuring and compiling): Update
21605         description about files modified in the source directory.
21606         * INSTALL: Regenerated.
21608 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21610         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21611         value.  Use "or" to set return value to -1.
21612         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21613         negate return value.
21615 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21617         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21618         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21619         failure if the compiler has Graphite support disabled.
21620         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21621         Likewise.
21622         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21623         CFLAGS-memmove.c): Likewise.
21624         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21625         Likewise.
21627 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21629         * sysdeps/x86_64/x32/_itoa.h: New file.
21631         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21632         getdents system call only if kernel and user dirents have the
21633         same d_ino and d_off.
21635         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21636         LLONG_MAX != LONG_MAX.
21637         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21638         (_fitoa_word): Likewise.
21640         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21641         years.
21642         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21643         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21644         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21646         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21647         include <bits/wordsize.h>.  Check __x86_64__ instead of
21648         __WORDSIZE.
21649         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21650         if __x86_64__ is defined.  Use anonymous union on fpstate.
21652         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21653         anonymous union.
21655 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
21657         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21658         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21659         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21660         Refer to _rtld_local_ro instead of _rtld_global_ro.
21661         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21662         Likewise.
21663         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21664         Likewise.
21665         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21666         Likewise.
21667         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21668         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21669         of _rtld_global, and rtld_progname instead of _dl_argv[0].
21671         * sysdeps/powerpc/powerpc32/dl-machine.c
21672         (__elf_machine_runtime_setup) [PROF]: Don't reference
21673         _dl_prof_resolve.
21675 2012-05-18  Andreas Jaeger  <aj@suse.de>
21677         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21678         function only available for GCCs before 3.4 since GCC 3.4
21679         introduced a builtin.
21680         (lrint): Likewise.
21681         (llrintf): Likewise.
21682         (llrint): Likewise.
21683         (fmaxf): Likewise.
21684         (fmax): Likewise.
21685         (fminf): Likewise.
21686         (fmin): Likewise.
21687         (rint): Likewise.
21688         (rintf): Likewise.
21689         (nearbyint): Likewise.
21690         (nearbyintf): Likewise.
21691         (ceil): Likewise.
21692         (ceilf): Likewise.
21693         (floor): Likewise.
21694         (floorf): Likewise.
21696 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21698         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21699         on both fields and cast pointer to __syscall_ulong_t.
21701         * bits/types.h (__fsword_t): New type.
21702         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21703         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21704         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21705         (__FSWORD_T_TYPE): Likewise.
21706         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21707         (__FSWORD_T_TYPE): Likewise.
21708         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21709         (__FSWORD_T_TYPE): Likewise.
21710         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21711         (__FSWORD_T_TYPE): Likewise.
21712         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21713         __SWORD_TYPE with __fsword_t.
21714         (statfs64): Likewise.
21716 2012-05-17  David S. Miller  <davem@davemloft.net>
21718         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21720 2012-05-17  Andreas Jaeger  <aj@suse.de>
21722         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21723         warning.
21725 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21727         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21729 2012-05-17  Andreas Jaeger  <aj@suse.de>
21731         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21732         when it is used.
21734 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21736         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21738 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21740         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21741         * sysdeps/x86_64/tst-mallocalign1.c: New file.
21743 2012-05-17  Andreas Jaeger  <aj@suse.de>
21744             Carlos O'Donell  <carlos_odonell@mentor.com>
21746         [BZ #14059]
21747         * sysdeps/x86_64/multiarch/init-arch.h
21748         (bit_YMM_Usable): Rename to...
21749         (bit_AVX_Usable): ... this.
21750         (bit_FMA4_Usable): New macro.
21751         (bit_XMM_state): New macro.
21752         (bit_YMM_state): New macro.
21753         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21754         [__ASSEMBLER__] (index_AVX_Usable): ... this.
21755         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21756         (CPUID_OSXSAVE): New macro.
21757         (CPUID_AVX): New macro.
21758         (CPUID_FMA4): New macro.
21759         (index_YMM_Usable): Rename to...
21760         (index_AVX_Usable): ... this.
21761         (HAS_AVX): Use HAS_ARCH_FEATURE.
21762         (HAS_FMA4): Likewise.
21763         (HAS_YMM_USABLE): Remove.
21764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21765         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21766         are present.
21767         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21768         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21769         * sysdeps/x86_64/multiarch/Makefile: Likewise.
21770         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21771         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21773 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21775         * math/libm-test.c: Support platforms without multiple rounding modes.
21776         * math/bug-nextafter.c: Support platforms without FP exceptions.
21777         * math/bug-nexttoward.c: Likewise.
21778         * math/test-fenv.c: Likewise.
21779         * math/test-misc.c: Likewise.
21780         * stdlib/bug-getcontext.c: Likewise.
21782 2012-05-17  Andreas Jaeger  <aj@suse.de>
21784         * manual/examples/search.c (critter_cmp): Change signature to
21785         avoid warnings.
21786         * manual/string.texi (Collation Functions): Likewise.
21788 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21790         * bits/types.h: Fold copyright years.
21791         * bits/typesizes.h: Likewise.
21792         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21793         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21794         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21795         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21796         * time/time.h: Likewise.
21798 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
21800         [BZ #208]
21801         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21802         in instead of returning them.  Return void.
21803         (__libc_mallinfo): Accumulate over all arenas.
21804         (__malloc_stats): Adjust for change in int_mallinfo interface.
21806 2012-05-16  Roland McGrath  <roland@hack.frob.com>
21808         [BZ #10375]
21809         * configure.in (NM): Add AC_CHECK_TOOL for it.
21810         (libc_extra_cflags): New substituted variable.
21811         Check for -fstack-protector being used implicitly.
21812         * configure: Regenerated.
21813         * config.make.in (config-extra-cflags): New variable,
21814         gets @libc_extra_cflags@.
21815         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21817         [BZ #10375]
21818         * configure.in: Check for _FORTIFY_SOURCE being predefined.
21819         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21820         * configure: Regenerated.
21821         * config.make.in (CPPUNDEFS): New substituted variable.
21822         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21823         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21824         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21826 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21828         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21829         (mq_attr): Use __syscall_slong_t.
21831 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21833         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21834         Check __x86_64__ instead of __WORDSIZE.
21835         (_STAT_VER_LINUX): Likewise.
21836         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
21837         __syscall_ulong_t and __syscall_slong_t.
21838         (stat64): Likewise.
21840 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21842         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21844 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21846         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21848 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21850         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21851         __syscall_ulong_t.
21853         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21854         include <bits/wordsize.h>.  Check __x86_64__ instead of
21855         __WORDSIZE.
21856         (greg_t): Use "__extension__ long long int" if __x86_64__ is
21857         defined.
21858         (mcontext_t): Replace "unsigned long" with "unsigned long long".
21860         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21861         include <bits/wordsize.h>.  Check __x86_64__ instead of
21862         __WORDSIZE.
21863         (user_regs_struct): Use "__extension__ unsigned long long"
21864         instead of "unsigned long" if __x86_64__ is defined.
21865         (user): Likewise.  Pad after pointer field if __ILP32__ is
21866         defined.
21868 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
21870         * configure.in (makeinfo): Require version 4.5 or later.  Allow
21871         versions 5 to 9.
21872         * configure: Regenerated.
21873         * manual/install.texi (texinfo): Increase version requirement to
21874         4.5 or later.
21875         * INSTALL: Regenerated.
21877         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21879 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21881         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21883         * sysdeps/x86_64/x32/ffs.c: New file.
21885         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21886         __syscall_ulong_t.
21887         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21888         defined.  Use __syscall_ulong_t.
21889         (shminfo): Use __syscall_ulong_t.
21890         (shm_info): Likewise.
21892         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21893         __syscall_ulong_t.
21895         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21896         <bits/wordsize.h>.
21897         (msgqnum_t): Use __syscall_ulong_t.
21898         (msglen_t): Likewise.
21899         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
21900         __syscall_ulong_t.
21902         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21903         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21905         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21907         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21908         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21910         * sysvipc/sys/msg.h (msgbuf): Replace long int with
21911         __syscall_slong_t.
21913         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21914         include <bits/wordsize.h>.  Check __x86_64__ instead of
21915         __WORDSIZE.
21917         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21918         "unsigned long long int" if __x86_64__ is defined.
21919         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21921         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21922         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21923         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21925         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21926         <stdint.h>.
21927         (GET_PC): Cast to uintptr_t first.
21928         (GET_FRAME): Likewise.
21929         (GET_STACK): Likewise.
21931         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21932         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21933         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21934         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21935         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21936         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21937         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21938         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21939         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21940         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21941         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21942         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21943         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21944         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21945         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21946         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21947         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21948         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21949         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21950         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21951         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21952         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21953         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21954         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21955         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21956         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21957         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21958         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21959         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21961 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
21963         * Makerules (+depfiles): Also collect depfiles from .oS in
21964         $(extra-objs).
21965         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21966         .oS, $(libnldbl-routines)).
21968         * Makerules (native-compile-mkdep-flags): Define.
21969         * sunrpc/Makefile (extra-objs): Add $(addprefix
21970         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21971         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21972         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
21973         calling $(make-target-directory).
21975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21977         * bits/types.h (__snseconds_t): Removed.
21978         * time/time.h (struct timespec): Replace __snseconds_t with
21979         __syscall_slong_t.
21980         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21981         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21982         Likewise.
21983         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21984         (__SNSECONDS_T_TYPE): Likewise.
21985         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21986         (__SNSECONDS_T_TYPE): Likewise.
21987         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21988         (__SNSECONDS_T_TYPE): Likewise.
21990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21992         * sysdeps/mach/hurd/bits/typesizes.h
21993         (__SYSCALL_SLONG_TYPE): New macro.
21994         (__SYSCALL_ULONG_TYPE): Likewise.
21996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21998         * bits/types.h (__syscall_slong_t): New type.
21999         (__syscall_ulong_t): Likewise.
22001         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22002         (__SYSCALL_ULONG_TYPE): Likewise.
22003         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22004         (__SYSCALL_SLONG_TYPE): Likewise.
22005         (__SYSCALL_ULONG_TYPE): Likewise.
22006         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22007         (__SYSCALL_SLONG_TYPE): Likewise.
22008         (__SYSCALL_ULONG_TYPE): Likewise.
22009         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22010         (__SYSCALL_SLONG_TYPE): Likewise.
22011         (__SYSCALL_ULONG_TYPE): Likewise.
22013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22015         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22016         Add sigaltstack-offsets.sym.
22017         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22018         <sigaltstack-offsets.h>.
22019         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
22020         longjmp_msg pointer.
22021         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
22022         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22023         signal stack.
22024         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22026 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22028         * elf/stackguard-macros.h: Remove file.
22029         * sysdeps/generic/stackguard-macros.h: New file.
22030         * sysdeps/i386/stackguard-macros.h: Likewise.
22031         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22032         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22033         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22034         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22035         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22036         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22037         * sysdeps/x86_64/stackguard-macros.h: Likewise.
22038         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22039         <elf/stackguard-macros.h>.
22041         [BZ #14109]
22042         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22043         __aligned__ in attribute.
22044         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22045         (gregset_t): Likewise.
22047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22049         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22050         * sysdeps/x86_64/64/Implies-after: Here.  New file.
22051         * sysdeps/x86_64/x32/Implies-after: New file.
22053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22055         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22056         and access return value for _dl_profile_fixup.  Use R10_LP to
22057         load frame size.
22059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22061         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22065         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22066         * sysdeps/x86_64/x32/sysdep.h: New file.
22068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22070         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22071         * sysdeps/x86_64/setjmp.S: Likewise.
22073 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22075         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22076         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22077         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22078         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22079         remove unused global constant.
22081 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
22083         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22084         include of <not-cancel.h>.
22086 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22088         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22090 2012-05-15  Jeff Law  <law@redhat.com>
22091             Andreas Jaeger  <aj@suse.de>
22093         [BZ #13594]
22094         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22095         out from...
22096         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22097         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22098         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22099         code changing __hst_map_handle.map.
22101 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22103         * configure.in (sysnames): Look for Implies-before and Implies-after
22104         files.
22105         * configure: Regenerated.
22107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22109         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22110         8-byte data alignment with LP_SIZE alignment.
22112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22114         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22115         into R10_LP.
22117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22119         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22123         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22124         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22125         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22126         Likewise.
22127         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22131         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22132         (stackinfo_sub_sp): Likewise.
22134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22136         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22137         RAX_LP.
22139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22141         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22142         into R*_LP.
22144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22147         sizes into R*_LP.
22149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22151         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22155         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22156         into R11_LP and load __x86_64_shared_cache_size_half into
22157         R8_LP.
22159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22161         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22162         R8_LP.
22164 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22166         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22167         logb for POWER7.
22168         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22169         logbf for POWER7.
22170         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22171         logbl for POWER7.
22172         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22173         powerpc32/power7/fpu/s_logb.c via #include.
22174         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22175         powerpc32/power7/fpu/s_logbf.c via #include.
22176         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22177         powerpc32/power7/fpu/s_logbl.c via #include.
22179 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22181         * README.libm: Remove file.
22183 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22185         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22186         count for x32.  Use R*_LP and omit operand-size suffix.
22188 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22190         * shlib-versions: Move x86_64-.*-linux.* entries to ...
22191         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
22192         * sysdeps/x86_64/x32/shlib-versions: New file.
22194 2012-05-14  Roland McGrath  <roland@hack.frob.com>
22196         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22197         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22198         Use _dl_fatal_printf instead.
22200 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22202         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22203         set if not set by the user.  Do not allow for being unset.
22204         * sysdeps/unix/sysv/linux/configure: Regenerated.
22206 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22208         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22209         the `q' suffix from lea and replace .quad with ASM_ADDR.
22211 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22214         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
22215         instead of $17.
22216         (PTR_DEMANGLE): Likewise.
22218 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22220         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22221         (LP_OP): Likewise.
22222         (ASM_ADDR): Likewise.
22223         (RAX_LP): Likewise.
22224         (RBP_LP): Likewise.
22225         (RBX_LP): Likewise.
22226         (RCX_LP): Likewise.
22227         (RDI_LP): Likewise.
22228         (RSI_LP): Likewise.
22229         (RSP_LP): Likewise.
22230         (R8_LP): Likewise.
22231         (R9_LP): Likewise.
22232         (R10_LP): Likewise.
22233         (R10_LP): Likewise.
22234         (R11_LP): Likewise.
22235         (R12_LP): Likewise.
22236         (R13_LP): Likewise.
22237         (R14_LP): Likewise.
22238         (R15_LP): Likewise.
22240 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22242         * sysdeps/x86_64/x32/dl-machine.h: New file.
22244 2012-05-14  Andreas Jaeger  <aj@suse.de>
22246         * manual/Makefile (subdir): Remove export of subdir.
22247         (all): Remove target.
22248         (.PHONY): Remove all from list.
22249         (mkinstalldirs): Remove.
22250         (.PHONY): Remove installdirs from list.
22251         ($(inst_infodir)/libc.info): Use make-target-directory.
22252         (installdirs): Remove.
22253         (subdir_%): Remove.
22254         (glibc-targets): Remove.
22255         (lib): Remove.
22256         (stubs): Remove.
22257         ($(objpfx)stubs ../po/manual.pot): Remove.
22258         ($(objpfx)stamp%): Remove.
22259         (make-target-directory): Remove.
22260         (subdir_install): Remove.
22261         (routines): Remove.
22262         (aux): Remove.
22263         (sources): Remove.
22264         (objects): Remove.
22265         (headers): Remove.
22267         [BZ #13750]
22268         * manual/.gitignore: Remove, it's not needed anymore.
22269         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22270         all files in it.
22271         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22272         directory.
22273         (texis): Renamed to $(objpfx)texis.
22274         (texis-path): New, contains path to generated files.
22275         (chapters.%): Use texis-path for complete path, add extra argument
22276         libc-texinfo.sh.
22277         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22278         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22279         (summary,texi, stamp-summary): Use complete path of
22280         files. Generate files in build dir.
22281         (dir-add.texi): Build in build dir.
22282         (libm-err.texi,stamp-libm-err): Likewise.
22283         (version.texi, stamp-version): Likewise.
22284         (.%c.texi): Likewise.
22285         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22286         (mostlyclean): Remove target.
22287         (realclean): Remove target.
22288         (generated): Add new variable with contents from mostlyclean and
22289         realclean, remove entries duplicated in common-mostlyclean, add
22290         stamp-libm-err and stamp-version.
22291         (generated-dirs): Add libc directory.
22292         ($(inst_infodir)/libc.info): Install files from build dir.
22294         * manual/install.texi (Configuring and compiling): Adjust since
22295         the info files are not part of the tar ball anymore.
22297 2012-05-14  Andreas Jaeger  <aj@suse.de>
22299         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22300         variable.
22302 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22304         [BZ #13717]
22305         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22306         to 2.2.0 where earlier.
22307         * sysdeps/unix/sysv/linux/configure: Regenerated.
22308         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22309         Remove conditional code.
22310         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22311         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22312         Remove conditional code.
22313         [!__NR_lchown]: Likewise.
22314         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22315         [__NR_lchown]: Likewise.
22316         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22317         comment referencing __ASSUME_LCHOWN_SYSCALL.
22318         * sysdeps/unix/sysv/linux/i386/sigaction.c
22319         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22320         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22321         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22322         Remove conditional code.
22323         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22324         (__protocol_available): Remove #if 0 code.
22325         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22326         conditional code.
22327         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22328         * sysdeps/unix/sysv/linux/kernel-features.h
22329         (__ASSUME_GETCWD_SYSCALL): Don't define.
22330         (__ASSUME_REALTIME_SIGNALS): Likewise.
22331         (__ASSUME_PREAD_SYSCALL): Likewise.
22332         (__ASSUME_PWRITE_SYSCALL): Likewise.
22333         (__ASSUME_POLL_SYSCALL): Likewise.
22334         (__ASSUME_LCHOWN_SYSCALL): Likewise.
22335         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22336         non-SPARC.
22337         (__ASSUME_SIOCGIFNAME): Don't define.
22338         (__ASSUME_MSG_NOSIGNAL): Likewise.
22339         (__ASSUME_SENDFILE): Define unconditionally.
22340         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22341         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22342         conditional code.
22343         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22344         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22345         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22346         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22347         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22348         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22349         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22351         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22352         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22354         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22355         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22357         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22358         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22360         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22361         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22363         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22364         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22366         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22367         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22369         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22370         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22372         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22373         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22374         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22375         Remove conditional code.
22376         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22377         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22378         Remove conditional code.
22379         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22380         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22381         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22382         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22383         Remove conditional code.
22384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22385         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22386         Remove conditional code.
22387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22388         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22389         Remove conditional code.
22390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22391         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22392         Remove conditional code.
22393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22394         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22395         Remove conditional code.
22396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22397         * sysdeps/unix/sysv/linux/sh/pwrite64.c
22398         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22400         * sysdeps/unix/sysv/linux/sigaction.c
22401         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22402         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22403         * sysdeps/unix/sysv/linux/sigpending.c
22404         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22405         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22406         * sysdeps/unix/sysv/linux/sigprocmask.c
22407         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22408         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22409         * sysdeps/unix/sysv/linux/sigsuspend.c
22410         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22411         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22412         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22413         (__libc_missing_rt_sigs): Remove.
22414         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22415         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22416         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22417         Remove conditional code.
22418         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22419         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22420         return 1.
22421         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22422         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22423         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22424         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22426 2012-05-14  Andreas Jaeger  <aj@suse.de>
22428         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22429         it's not used in glibc.
22430         (__coshm1): Likewise.
22431         (__acosh1p): Likewise.
22432         (__sgn): Likewise.
22434         * manual/string.texi (Copying and Concatenation): Add missing
22435         variable in concat example.
22436         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22438 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22440         [BZ #14103]
22441         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22442         __builtin_clzl with __builtin_clzll.
22444 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22446         [BZ #14104]
22447         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22448         libc_freeres_ptr.
22450 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22452         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22453         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22454         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22455         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22457 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
22459         * NEWS: Update ia64 info.
22461 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
22463         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22464         used as bcopy.
22466 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
22468         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22469         * sysdeps/unix/syscalls.list (dup3): Likewise.
22470         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22471         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22473 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22475         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22476         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22478 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22480         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22481         thread pointer.
22482         (TLS_IE): Use mov/add instead of movq/addq to load thread
22483         pointer.
22484         (TLS_GD_PREFIX): New.
22485         (TLS_GD): Use it.
22487 2012-05-11  David S. Miller  <davem@davemloft.net>
22489         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22490         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22491         (_FPU_SETCW): Likewise.
22493 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22495         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22496         is 32-byte aligned.
22498 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
22500         [BZ #11837]
22501         * iconvdata/gb18030.c: Update tables.
22502         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
22503         characters specially.
22504         (BODY for TO_LOOP): Add encoding of missing ranges.
22506 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
22508         [BZ #13673]
22509         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22510         * sysdeps/mach/hurd/dup3.c: Likewise.
22511         * sysdeps/mach/hurd/readlinkat.c: Likewise.
22512         * sysdeps/powerpc/memmove.c:: Likewise.
22514 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22516         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22517         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22519 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22521         * elf/elf.h (R_X86_64_RELATIVE64): New.
22522         (R_X86_64_NUM): Updated.
22523         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22524         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
22525         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22526         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22527         tst-quad1pie tst-quad2pie
22528         (modules-names): Add tst-quadmod1 tst-quadmod2.
22529         ($(objpfx)tst-quad1): New dependency.
22530         ($(objpfx)tst-quad2): Likewise.
22531         ($(objpfx)tst-quad1pie): Likewise.
22532         ($(objpfx)tst-quad2pie): Likewise.
22533         * sysdeps/x86_64/tst-quad1.c: New file.
22534         * sysdeps/x86_64/tst-quad1pie.c: New file.
22535         * sysdeps/x86_64/tst-quad2.c: Likewise.
22536         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22537         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22538         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22539         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22540         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22542 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22544         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22545         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22546         * streams/stropts.h (t_scalar_t): Define type.
22548         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22549         (_PATH_PRESERVE): Set to "/var/lib".
22550         (_PATH_RWHODIR): Set to "/var/spool/rwho".
22552         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22553         instead of int.
22555         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22556         if __dir_mkfile succeeded.
22558         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22559         checking for _hurd_dtablesize.  Unlock it right after having
22560         finished _hurd_dtable allocation.
22562 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22564         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22565         * sysdeps/mach/hurd/configure: Regenerated.
22566         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22567         special-casing to...
22568         * sysdeps/gnu/configure.in: ... this new file.
22569         * sysdeps/unix/sysv/linux/configure: Regenerated.
22570         * sysdeps/gnu/configure: New generated file.
22572         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22573         for Linux: use nsec instead of usec, as well as:
22574         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22575         members of type struct timespec.
22576         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22577         New macros.
22578         (struct stat64): Likewise.
22579         (_STATBUF_ST_NSEC): New macro.
22580         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22582         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22583         __strtoul_internal rather than strtoul.
22585 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22587         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22588         and reject them.
22590 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22592         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22593         which preserves existing values.
22594         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22596 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22598         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22599         TIMEOUT values.  Return EINVAL for NFDS values either negative or
22600         greater than FD_SETSIZE.
22602 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22604         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22605         allocated, call __vm_protect to finish enabling the existing space, and
22606         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22607         allocate the remainder.
22609 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22611         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22612         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
22614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22616         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22617         sysdeps/mach/hurd/readlink.c.
22619         * posix/tst-sysconf.c (posix_options): Only use
22620         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22621         _POSIX_SYNCHRONIZED_IO when they are defined
22622         * sysdeps/mach/hurd/bits/posix_opt.h:
22623         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22624         (_XOPEN_REALTIME): Undefine macro.
22625         (_XOPEN_REALTIME_THREADS): Undefine macro.
22626         (_XOPEN_SHM): Undefine macro.
22627         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22628         macro to -1.
22629         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22630         macro to -1.
22631         (_POSIX_ASYNC_IO): Undefine macro.
22632         (_POSIX_PRIORITIZED_IO): Undefine macro.
22633         (_POSIX_SPIN_LOCKS): Define macro to -1.
22635         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22636         SA_NODEFER, SA_RESETHAND.
22637         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22638         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22639         F_DUPFD_CLOEXEC.
22641 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22643         * elf/Makefile (pldd-modules): Define unconditionally.
22645 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22647         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22651         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22652         Return ENOENT when name is empty.
22653         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22657         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22659         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22661 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22663         Fix mlock in all cases except non-readable pages.
22664         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22665         instead of VM_PROT_ALL as parameter to __vm_wire function.
22667         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22668         (__mkdir): When path is `/', just fail with EEXIST.
22669         * sysdeps/mach/hurd/mkdirat.c: Likewise.
22671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22673         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22674         <sys/uio.h> (for writev).
22675         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22676         and <sys/param.h> (for MIN).
22678 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22680         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22681         REQUESTED_TIME.  Properly set the remaining time and return EINTR
22682         if interrupted.
22684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22686         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22687         Depend on against $(link-rpcuserlibs).
22689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22691         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22692         (__libc_stack_end): Do not use attribute_relro.
22693         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22694         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22695         to libthread-provided value.
22696         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22697         attribute_relro.
22699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22701         [BZ #3748]
22702         * bits/libc-lock.h (__libc_once_get): New macro.
22703         * sysdeps/mach/bits/libc-lock.h: Likewise.
22704         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22705         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22706         instead of using implementation details.
22708         * libio/fileops.c: Unconditionally include <kernel-features.h>.
22709         * libio/freopen.c: Likewise.
22710         * libio/freopen64.c: Likewise.
22711         * misc/syslog.c: Likewise.
22712         * nscd/connections.c: Likewise.
22713         * nscd/netgroupcache.c: Likewise.
22714         * sysdeps/posix/getcwd.c: Likewise.
22716 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22718         * math/w_ilogbf.c: Add #include <limits.h>.
22720 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22722         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22723         path instead of returning without unlocking.
22725         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22726         immediate-write ioctls.
22727         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22731         * sysdeps/mach/hurd/i386/init-first.c (init): Use
22732         __builtin_frame_address instead of making assumptions about the
22733         location of the return address relative to DATA.  Force early load of
22734         the return address.
22735         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22736         __builtin_frame_address.
22738         dup3 for GNU Hurd.
22739         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22740         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
22741         implement dup3 and do some further code clean-ups.
22742         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22743         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22747         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22749         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22750         HURD_CRITICAL_END around holding _hurd_dtable_lock.
22751         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22752         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22753         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22754         d->port.lock.
22756         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22757         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
22758         when handler == SIG_ERR, not when handler != SIG_ERR.
22760 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22762         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22763         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22764         definitions.
22766         accept4 for GNU Hurd.
22767         * include/sys/socket.h (__libc_accept4): New prototype.
22768         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
22769         to implement __libc_accept4.
22770         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22771         __libc_accept4.
22772         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22774         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22775         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22776         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22777         signal-defines.sym.
22779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22781         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22783 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22785         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22786         assertion on O_CLOEXEC flag.
22787         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22788         * hurd/intern-fd.c: Likewise.
22789         * hurd/port2fd.c: Likewise.
22791 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22793         [BZ #3906]
22794         * bits/in.h (IPV6_PKTINFO): Define new macro.
22795         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22797 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22799         [BZ #13954]
22800         [BZ #13955]
22801         [BZ #13956]
22802         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22803         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22804         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22805         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22807         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22808         * math/libm-test.inc (logb_test) : Additional logb tests.
22810 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
22811             Andreas Jaeger  <aj@suse.de>
22813         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22814         * configure: Regenerated.
22815         * config.h.in (LINK_OBSOLETE_RPC): New macro.
22816         * config.make.in (link-obsolete-rpc): New substituted variable.
22817         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22818         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22819         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22820         (shared-only-routines): Don't set it under [link-obsolete-rpc],
22821         so that libc.a contains the symbols.
22822         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22823         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22824         * sunrpc/auth_none.c: Likewise.
22825         * sunrpc/auth_unix.c: Likewise.
22826         * sunrpc/authdes_prot.c: Likewise.
22827         * sunrpc/authuxprot.c: Likewise.
22828         * sunrpc/clnt_gen.c: Likewise.
22829         * sunrpc/clnt_perr.c: Likewise.
22830         * sunrpc/clnt_raw.c: Likewise.
22831         * sunrpc/clnt_simp.c: Likewise.
22832         * sunrpc/clnt_tcp.c: Likewise.
22833         * sunrpc/clnt_udp.c: Likewise.
22834         * sunrpc/clnt_unix.c: Likewise.
22835         * sunrpc/des_crypt.c: Likewise.
22836         * sunrpc/des_soft.c: Likewise.
22837         * sunrpc/get_myaddr.c: Likewise.
22838         * sunrpc/key_call.c: Likewise.
22839         * sunrpc/key_prot.c: Likewise.
22840         * sunrpc/netname.c: Likewise.
22841         * sunrpc/pm_getmaps.c: Likewise.
22842         * sunrpc/pm_getport.c: Likewise.
22843         * sunrpc/pmap_clnt.c: Likewise.
22844         * sunrpc/pmap_prot.c: Likewise.
22845         * sunrpc/pmap_prot2.c: Likewise.
22846         * sunrpc/pmap_rmt.c: Likewise.
22847         * sunrpc/publickey.c: Likewise.
22848         * sunrpc/rpc_cmsg.c: Likewise.
22849         * sunrpc/rpc_common.c: Likewise.
22850         * sunrpc/rpc_dtable.c: Likewise.
22851         * sunrpc/rpc_prot.c: Likewise.
22852         * sunrpc/rpc_thread.c: Likewise.
22853         * sunrpc/rtime.c: Likewise.
22854         * sunrpc/svc.c: Likewise.
22855         * sunrpc/svc_auth.c: Likewise.
22856         * sunrpc/svc_raw.c: Likewise.
22857         * sunrpc/svc_run.c: Likewise.
22858         * sunrpc/svc_tcp.c: Likewise.
22859         * sunrpc/svc_udp.c: Likewise.
22860         * sunrpc/svc_unix.c: Likewise.
22861         * sunrpc/svcauth_des.c: Likewise.
22862         * sunrpc/xcrypt.c: Likewise.
22863         * sunrpc/xdr.c: Likewise.
22864         * sunrpc/xdr_array.c: Likewise.
22865         * sunrpc/xdr_float.c: Likewise.
22866         * sunrpc/xdr_intXX_t.c: Likewise.
22867         * sunrpc/xdr_mem.c: Likewise.
22868         * sunrpc/xdr_rec.c: Likewise.
22869         * sunrpc/xdr_ref.c: Likewise.
22870         * sunrpc/xdr_sizeof.c: Likewise.
22871         * sunrpc/xdr_stdio.c: Likewise.
22873 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22875         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22876         change.  Update copyright years.
22878 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22880         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22882 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
22883             Joseph Myers  <joseph@codesourcery.com>
22884             Paul Pluzhnikov  <ppluzhnikov@google.com>
22886         [BZ #14012]
22887         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22888         requiring rpcgen.
22889         [cross-compiling] (extra-libs): Likewise.
22890         [cross-compiling] (extra-libs-others): Likewise.
22891         [cross-compiling] (librpcsvc-routines): Likewise.
22892         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22893         [cross-compiling] (omit-deps): Likewise.
22894         (sunrpc-CPPFLAGS): New variable.
22895         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22896         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22897         (cross-rpcgen-objs): New variable.
22898         (extra-objs): Append $(cross-rpcgen-objs).
22899         ($(cross-rpcgen-objs)): New rule.
22900         ($(objpfx)cross-rpcgen): Likewise.
22901         (rpcgen-cmd): Define to use $(built-program-file).  Expand
22902         comment.
22903         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22904         ($(objpfx)x%.stmp): Likewise.
22905         * sunrpc/proto.h [IS_IN_build] (_): Define.
22906         [IS_IN_build] (_libc_intl_domainname): Likewise.
22908 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22910         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22911         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22912         and R_X86_64_TPOFF64.
22914 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22916         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22917         sysdeps/unix/sysv/syscalls.list.
22918         (stime): Likewise.
22919         (utime): Likewise.
22920         * sysdeps/unix/sysv/syscalls.list: Remove file.
22922 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
22924         [BZ #3440]
22925         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22926         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22927         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22928         (__LC_IDENTIFICATION): Make these macros useful in #if
22929         expressions, as required by C99.
22931 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
22933         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22934         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
22935         after this.
22937 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
22939         * stdlib/longlong.h: Updated from GCC.
22941 2012-05-09  Andreas Jaeger  <aj@suse.de>
22943         * nscd/nscd.c (run_modes): Make named enum, reorder so that
22944         default is first entry.
22945         (run_mode): Set type.
22946         (main): Remove informal message about syslog.
22947         (options): Fix typo.
22949         [BZ #14053]
22950         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22951         to asm.
22952         (lrint): Likewise.
22953         (llrintf): Likewise.
22954         (llrint): Likewise.
22955         (rint): Likewise.
22956         (rintf): Likewise.
22957         (nearbyint): Likewise.
22958         (nearbyintf): Likewise.
22960 2012-05-09  Andreas Jaeger  <aj@suse.de>
22961             Pedro Alves  <palves@redhat.com>
22963         * nscd/nscd.c (run_mode): Use enum.
22964         (main): Cleanup coding style issue.
22966 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
22967             Andreas Jaeger  <aj@suse.de>
22969         * nscd/nscd.c (go_background): Replaced with...
22970         (run_mode): ... this.
22971         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22972         (options): Add -F --foreground.
22973         (main): Implement it.
22974         (parse_opt): Parse it.
22976 2012-05-09  Andreas Jaeger  <aj@suse.de>
22978         [BZ #14083]
22979         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22980         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22981         -Wconversion warning.
22982         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22983         Likewise.
22985 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
22987         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
22988         == 0.
22989         (LC_ALL): Use macro-int-constant.
22990         (LC_COLLATE): Likewise.
22991         (LC_CTYPE): Likewise.
22992         (LC_MESSAGES): Likewise.
22993         (LC_MONETARY): Likewise.
22994         (LC_NUMERIC): Likewise.
22995         (LC_TIME): Likewise.
22996         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22997         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22998         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22999         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23000         Specify type.
23001         [C99-based standards] (float_t): Expect type.
23002         [C99-based standards] (double_t): Expect type.
23003         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
23004         type.
23005         [C99-based standards] (HUGE_VALL): Likewise.
23006         [C99-based standards] (INFINITY): Likewise.
23007         [C99-based standards] (NAN): Likewise.
23008         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23009         [C99-based standards] (FP_NAN): Likewise.
23010         [C99-based standards] (FP_NORMAL): Likewise.
23011         [C99-based standards] (FP_SUBNORMAL): Likewise.
23012         [C99-based standards] (FP_ZERO): Likewise.
23013         [C99-based standards] (FP_FAST_FMA): Use
23014         optional-macro-int-constant.  Specify type.  Require == 1.
23015         [C99-based standards] (FP_FAST_FMAF): Likewise.
23016         [C99-based standards] (FP_FAST_FMAL): Likewise.
23017         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23018         [C99-based standards] (FP_ILOGBNAN): Likewise.
23019         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23020         Specify type.
23021         [C99-based standards] (MATH_ERREXCEPT): Likewise.
23022         [C99-based standards] (math_errhandling): Specify type.
23023         [ISO99 || ISO11] (signgam): Do not allow.
23024         [non-C99-based standards] (copysignf): Do not allow.
23025         [non-C99-based standards] (exp2f): Likewise.
23026         [non-C99-based standards] (log2f): Likewise.
23027         [non-C99-based standards] (modff): Allow.
23028         [non-C99-based standards] (erff): Do not allow.
23029         [non-C99-based standards] (erfcf): Likewise.
23030         [non-C99-based standards] (gammaf): Likewise.
23031         [non-C99-based standards] (hypotf): Likewise.
23032         [non-C99-based standards] (j0f): Likewise.
23033         [non-C99-based standards] (j1f): Likewise.
23034         [non-C99-based standards] (jnf): Likewise.
23035         [non-C99-based standards] (lgammaf): Likewise.
23036         [non-C99-based standards] (tgammaf): Likewise.
23037         [non-C99-based standards] (y0f): Likewise.
23038         [non-C99-based standards] (y1f): Likewise.
23039         [non-C99-based standards] (ynf): Likewise.
23040         [non-C99-based standards] (isnanf): Likewise.
23041         [non-C99-based standards] (acoshf): Likewise.
23042         [non-C99-based standards] (asinhf): Likewise.
23043         [non-C99-based standards] (atanhf): Likewise.
23044         [non-C99-based standards] (cbrtf): Likewise.
23045         [non-C99-based standards] (expm1f): Likewise.
23046         [non-C99-based standards] (ilogbf): Likewise.
23047         [non-C99-based standards] (log1pf): Likewise.
23048         [non-C99-based standards] (logbf): Likewise.
23049         [non-C99-based standards] (nextafterf): Likewise.
23050         [non-C99-based standards] (remainderf): Likewise.
23051         [non-C99-based standards] (rintf): Likewise.
23052         [non-C99-based standards] (scalbf): Likewise.
23053         [non-C99-based standards] (copysignl): Likewise.
23054         [non-C99-based standards] (exp2l): Likewise.
23055         [non-C99-based standards] (log2l): Likewise.
23056         [non-C99-based standards] (modfl): Allow.
23057         [non-C99-based standards] (erfl): Do not allow.
23058         [non-C99-based standards] (erfcl): Likewise.
23059         [non-C99-based standards] (gammal): Likewise.
23060         [non-C99-based standards] (hypotl): Likewise.
23061         [non-C99-based standards] (j0l): Likewise.
23062         [non-C99-based standards] (j1l): Likewise.
23063         [non-C99-based standards] (jnl): Likewise.
23064         [non-C99-based standards] (lgammal): Likewise.
23065         [non-C99-based standards] (tgammal): Likewise.
23066         [non-C99-based standards] (y0l): Likewise.
23067         [non-C99-based standards] (y1l): Likewise.
23068         [non-C99-based standards] (ynl): Likewise.
23069         [non-C99-based standards] (isnanl): Likewise.
23070         [non-C99-based standards] (acoshl): Likewise.
23071         [non-C99-based standards] (asinhl): Likewise.
23072         [non-C99-based standards] (atanhl): Likewise.
23073         [non-C99-based standards] (cbrtl): Likewise.
23074         [non-C99-based standards] (expm1l): Likewise.
23075         [non-C99-based standards] (ilogbl): Likewise.
23076         [non-C99-based standards] (log1pl): Likewise.
23077         [non-C99-based standards] (logbl): Likewise.
23078         [non-C99-based standards] (nextafterl): Likewise.
23079         [non-C99-based standards] (remainderl): Likewise.
23080         [non-C99-based standards] (rintl): Likewise.
23081         [non-C99-based standards] (scalbl): Likewise.
23082         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23083         [non-C99-based standards] (FP_*): Do not allow.
23084         [C99-based standards] (FP_*): Change to
23085         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23086         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23087         allow.
23088         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23089         (SIG_ERR): Likewise.
23090         [X/Open-based standards] (SIG_HOLD): Likewise.
23091         (SIG_IGN): Likewise.
23092         (SIGABRT): Use macro-int-constant.  Specify type.  Require
23093         positive value.
23094         (SIGFPE): Likewise.
23095         (SIGILL): Likewise.
23096         (SIGINT): Likewise.
23097         (SIGSEGV): Likewise.
23098         (SIGTER): Likewise.
23099         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23100         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23101         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23102         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23103         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23104         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23105         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23106         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23107         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23108         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23109         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23110         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23111         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23112         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23113         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23114         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23115         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23116         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23117         [X/Open-based standards] (SIGTRAP): Likewise.
23118         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23119         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23120         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23121         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23122         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23123         allow.
23125 2012-05-08  Ian Wienand  <ianw@vmware.com>
23127         [BZ #14080]
23128         * time/tzset.c (__tzset_parse_tz): Update default rules for
23129         daylight time changes in the Energy Policy Act of 2005.
23131 2012-05-09  Andreas Jaeger  <aj@suse.de>
23133         [BZ #13983]
23134         * elf/ldconfig.c (parse_conf): Change string to make clear that
23135         ldconfig only issued a warning if ld.so.conf does not exist.
23137 2012-05-08  David S. Miller  <davem@davemloft.net>
23139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23140         movxtod instead of popping the value on the stack.
23142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23144 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
23146         * config.h.in: Add HAVE_ARM_PCS_VFP.
23148 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
23150         [BZ #13979]
23151         * include/features.h: Warn if user requests __FORTIFY_SOURCE
23152         checking but the checks are disabled for any reason.
23154 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
23156         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23157         and ELF64_R_TYPE with ELFW(R_TYPE).
23159 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
23161         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23162         (ulimit): Likewise.
23164         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23165         (settimeofday): Likewise.
23167 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
23169         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
23170         a struct th_u2 inside the union, and move tu_block/tu_code into
23171         a new th_u3 union of tu_block/tu_code inside of that.  Move
23172         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
23173         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
23174         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23175         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23176         (th_stuff): Change to th_u1.tu_stuff.
23177         (th_data): Define.
23178         (th_msg): Change to th_u1.th_u2.tu_data.
23180 2012-05-07  David S. Miller  <davem@davemloft.net>
23182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23184         [BZ #14074]
23185         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23186         (SETUP_PIC_REG): Use it.
23187         (SETUP_PIC_REG_LEAF): Use it.
23189 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
23191         [BZ #13885]
23192         [BZ #13923]
23193         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23194         USE_AS_EXPM1L.
23195         (EXPL_FINITE): Likewise.
23196         (FLDLOG): Likewise.
23197         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23198         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23199         e_expl.S.
23200         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23201         USE_AS_EXPM1L.
23202         (EXPL_FINITE): Likewise.
23203         (FLDLOG): Likewise.
23204         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23205         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23206         e_expl.S.
23207         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
23208         test of -max_value argument for long double.
23209         * sysdeps/i386/fpu/libm-test-ulps: Update.
23210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23212 2012-05-06  David S. Miller  <davem@davemloft.net>
23214         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23215         quad soft-float symbols whose references which are compiler
23216         generated.
23217         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23219 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
23221         [BZ #13884]
23222         [BZ #13914]
23223         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23224         USE_AS_EXP10L.
23225         (EXPL_FINITE): Likewise.
23226         (FLDLOG): Likewise.
23227         (c0): Likewise.
23228         (c1): Likewise.
23229         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23230         Adjust comments for base varying.
23231         (__expl_finite): Change alias to EXPL_FINITE.
23232         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23233         e_expl.S.
23234         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23235         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23236         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23237         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23238         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23239         USE_AS_EXP10L.
23240         (EXPL_FINITE): Likewise.
23241         (FLDLOG): Likewise.
23242         (c0): Likewise.
23243         (c1): Likewise.
23244         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23245         Adjust comments for base varying.
23246         (__expl_finite): Change alias to EXPL_FINITE.
23247         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
23248         tests for bugs.
23249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23251         [BZ #14064]
23252         * math/libm-test.inc (check_float_internal): Correct ulp
23253         calculation for subnormal expected results.
23255 2012-05-06  Andreas Jaeger  <aj@suse.de>
23257         * Makeconfig (+math-flags): New, set to -frounding-math.
23258         (+cflags): Add +math-flags so that all of glibc gets compiled with
23259         it.
23261         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23263 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
23265         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23266         Disable one test.
23268         [BZ #13787]
23269         [BZ #13922]
23270         [BZ #14036]
23271         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23272         (__ieee754_expl): Allow for and saturate large arguments.
23273         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23274         (u_threshold): Likewise.
23275         (__exp): Call __ieee754_exp before checking for overflow and
23276         underflow.
23277         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23278         (u_threshold): Likewise.
23279         (__expf): Call __ieee754_expf before checking for overflow and
23280         underflow.
23281         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23282         (u_threshold): Likewise.
23283         (__expl): Call __ieee754_expl before checking for overflow and
23284         underflow.
23285         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23286         (__ieee754_expl): Allow for and saturate large arguments.
23287         * math/libm-test.inc (exp_test): Add another test.  Do not allow
23288         missing overflow exception on overflow.
23289         (expm1_test): Do not allow missing overflow exception on overflow.
23291         * sysdeps/i386/fpu/e_expl.c: Move to ...
23292         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
23293         rather than using inline asm.
23294         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23295         * sysdeps/x86_64/fpu/e_expl.S: Copy from
23296         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23298         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23299         (nice): Likewise.
23300         (poll): Likewise.
23301         (signal): Likewise.
23302         (time): Likewise.
23303         (times): Likewise.
23305 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23307         * sysdeps/unix/syscalls.list (adjtime): Add entry from
23308         sysdeps/unix/common/syscalls.list.
23309         (fchmod): Likewise.
23310         (fchown): Likewise.
23311         (ftruncate): Likewise.
23312         (getrusage): Likewise.
23313         (gettimeofday): Likewise.
23314         (setpgid): Likewise.
23315         (setregid): Likewise.
23316         (setreuid): Likewise.
23317         (sigaction): Likewise.
23318         (truncate): Likewise.
23319         (vhangup): Likewise.
23320         * sysdeps/unix/common/syscalls.list: Remove file.
23321         * sysdeps/unix/bsd/Implies: Don't include unix/common.
23322         * sysdeps/unix/sysv/linux/Implies: Likewise.
23324 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
23326         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23328         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23329         Moved to ...
23330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23331         Here.
23332         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23333         to ...
23334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23335         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23336         to ...
23337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23338         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23339         to ...
23340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23341         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23342         to ...
23343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23344         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23345         to ...
23346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23347         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23348         to ...
23349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23350         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23351         to ...
23352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23353         Here.
23354         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23355         to ...
23356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23357         Here.
23358         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23359         to ...
23360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23361         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23362         Moved to ...
23363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23364         Here.
23365         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23366         to ...
23367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23369 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23371         * sysdeps/unix/common/bits/dirent.h: Remove file.
23372         * sysdeps/unix/common/bits/fcntl.h: Likewise.
23374         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23375         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23376         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23377         * sysdeps/unix/bsd/isatty.c: Likewise.
23378         * sysdeps/unix/bsd/tcdrain.c: Likewise.
23379         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23380         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23382 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23384         [BZ #13563]
23385         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23386         long double comparison inaccuracies.
23387         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23390 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
23392         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23393         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23395 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23397         [BZ #14049]
23398         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23399         nonzero digits before rounding a hex value.
23400         * stdlib/tst-strtod.c (tests): Add another test.
23402 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23404         * sysdeps/s390/fpu/libm-test-ulps: Update.
23406 2012-05-03  Andreas Jaeger  <aj@suse.de>
23408         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23409         does not get optimized out.
23410         (malloc_opt_barrier): New.
23412 2012-05-03  Andreas Jaeger  <aj@suse.de>
23413             Roland McGrath  <roland@hack.frob.com>
23415         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23416         intermediate file deletion.
23417         (generated): Add .symlist files.
23419 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
23421         [BZ #13775]
23422         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23423         Redirect under this condition.
23424         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23425         [__USE_GNU] (__dprintf_chk): Not under this condition.
23426         [__USE_GNU] (__vdprintf_chk): Likewise.
23427         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23428         under this condition.
23429         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23430         [__USE_XOPEN2K8] (dprintf): Define under this condition.
23431         [__USE_XOPEN2K8] (vdprintf): Likewise.
23432         [__USE_GNU] (__dprintf_chk): Not under this condition.
23433         [__USE_GNU] (__vdprintf_chk): Likewise.
23434         [__USE_GNU] (dprintf): Likewise.
23435         [__USE_GNU] (vdprintf): Likewise.
23437 2012-05-03  Roland McGrath  <roland@hack.frob.com>
23439         * elf/Makefile (common-generated): Set this instead of generated for
23440         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
23441         $(all-built-dso)-derived lists.
23443 2012-05-03  Andreas Jaeger  <aj@suse.de>
23445         * sysdeps/i386/fpu/libm-test-ulps: Update.
23447         * FAQ: Removed.
23448         * FAQ.in: Likewise.
23449         * scripts/gen-FAQ.pl: Likewise.
23450         * manual/install.texi (Installation): Point to online location of
23451         FAQ.
23452         * Makefile (files-for-dist): Remove FAQ.
23453         (FAQ): Remove.
23455 2012-05-02  Allan McRae  <allan@archlinux.org>
23457         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23458         (LDFLAGS-reldepmod5.so): Likewise.
23459         (LDFLAGS-reldep6mod1.so): Likewise.
23460         (LDFLAGS-reldep6mod4.so): Likewise.
23461         (LDFLAGS-reldep8mod3.so): Likewise.
23462         (LDFLAGS-unload4mod1.so): Likewise.
23463         (LDFLAGS-unload4mod2.so): Likewise.
23464         (LDFLAGS-tst-initorder): Likewise.
23465         (LDFLAGS-tst-initordera2.so): Likewise.
23466         (LDFLAGS-tst-initordera3.so): Likewise.
23467         (LDFLAGS-tst-initordera4.so): Likewise.
23468         (LDFLAGS-tst-initorderb2.so): Likewise.
23469         (LDFLAGS-noload): Likewise.
23470         (LDFLAGS-next): Likewise.
23471         (LDFLAGS-order2mod1.so): Likewise.
23472         (LDFLAGS-order2mod2.so): Likewise.
23473         (LDFLAGS-tst-initorder2): Likewise.
23474         (LDFLAGS-tst-initorder2a.so): Likewise.
23475         (LDFLAGS-tst-initorder2b.so): Likewise.
23476         (LDFLAGS-tst-initorder2c.so): Likewise.
23477         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23479 2012-05-02  David S. Miller  <davem@davemloft.net>
23481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23483 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23485         [BZ #14055]
23486         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23488 2012-05-02  Andreas Jaeger  <aj@suse.de>
23490         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23491         since we manipulate rounding mode.
23492         (CPPFLAGS-test-idouble.c): Likewise.
23493         (CPPFLAGS-test-ifloat.c): Likewise.
23494         (CFLAGS-test-ldouble.c): Likewise.
23495         (CFLAGS-test-double.c): Likewise.
23496         (CFLAGS-test-float.c): Likewise.
23497         (CFLAGS-test-misc.c): Likewise.
23498         (CFLAGS-test-test-fenv.c): Likewise.
23500 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23502         [BZ #2550]
23503         [BZ #2570]
23504         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23505         comparisons to determine direction to adjust input.
23507 2012-05-01  Roland McGrath  <roland@hack.frob.com>
23509         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23510         output to the target.
23512         * scripts/localplt.awk: New file.
23513         * elf/Makefile ($(objpfx)check-localplt): Target removed.
23514         (check-localplt-CFLAGS): Variable removed.
23515         ($(all-built-dso:=.jmprel)): New static pattern rule.
23516         (generated): Add those targets.
23517         (localplt-built-dso): New variable.
23518         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23520         * elf/check-localplt.c: File removed.
23522         * scripts/check-execstack.awk: New file.
23523         * elf/Makefile ($(objpfx)check-execstack): Target removed.
23524         (check-execstack-CFLAGS): Variable removed.
23525         ($(objpfx)check-execstack.h): Target removed.
23526         ($(objpfx)execstack-default): New target.
23527         (generated): Add that instead of check-execstack.h.
23528         ($(all-built-dso:=.phdr)): New static pattern rule.
23529         (generated): Add those targets.
23530         * elf/check-execstack.c: File removed.
23532         * scripts/check-textrel.awk: New file.
23533         * elf/Makefile ($(objpfx)check-textrel): Target removed.
23534         (check-textrel-CFLAGS): Variable removed.
23535         (all-built-dso): Use := to define.o
23536         ($(all-built-dso:=.dyn)): New static pattern rule.
23537         (generated): Add those targets.
23538         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23539         * config.make.in (READELF): New substituted variable.
23540         * elf/check-textrel.c: File removed.
23542 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23544         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23545         allow.
23546         * conform/data/ctype.h-data [C99-based standards] (isblank):
23547         Expect function.
23548         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23549         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23550         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23551         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23552         Specify type.  Require positive value.
23553         (EILSEQ): Likewise.
23554         (ERANGE): Likewise.
23555         [ISO || POSIX] (EILSEQ): Do not expect.
23556         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23557         Specify type.  Require positive value.
23558         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23559         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23560         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23561         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23562         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23563         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23564         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23565         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23566         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23567         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23568         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23569         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23570         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23571         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23572         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23573         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23574         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23575         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23576         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23577         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23578         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23579         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23580         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23581         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23582         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23583         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23584         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23585         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23586         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23587         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23588         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23589         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23590         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23591         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23592         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23593         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23594         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23595         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23596         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23597         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23598         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23599         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23600         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23601         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23602         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23603         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23604         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23605         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23606         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23607         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23608         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23609         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23610         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23611         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23612         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23613         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23614         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23615         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23616         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23617         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23618         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23619         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23620         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23621         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23622         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23623         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23624         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23625         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23626         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23627         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23628         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23629         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23630         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23631         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23632         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23633         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23634         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23635         Require >= 2.
23636         (FLT_ROUNDS): Expect as macro, not constant.
23637         (FLT_MANT_DIG): Use macro-int-constant.
23638         (DBL_MANT_DIG): Likewise.
23639         (LDBL_MANT_DIG): Likewise.
23640         (FLT_DIG): Likewise.
23641         (DBL_DIG): Likewise.
23642         (LDBL_DIG): Likewise.
23643         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
23644         (DBL_MIN_EXP): Likewise.
23645         (LDBL_MIN_EXP): Likewise.
23646         (FLT_MAX_EXP): Use macro-int-constant.
23647         (DBL_MAX_EXP): Likewise.
23648         (LDBL_MAX_EXP): Likewise.
23649         (FLT_MAX_10_EXP): Likewise.
23650         (DBL_MAX_10_EXP): Likewise.
23651         (LDBL_MAX_10_EXP): Likewise.
23652         (FLT_MAX): Use macro-constant.
23653         (DBL_MAX): Likewise.
23654         (LDBL_MAX): Likewise.
23655         (FLT_EPSILON): Use macro-constant.  Give upper bound.
23656         (DBL_EPSILON): Likewise.
23657         (LDBL_EPSILON): Likewise.
23658         (FLT_MIN): Likewise.
23659         (DBL_MIN): Likewise.
23660         (LDBL_MIN): Likewise.
23661         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23662         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23663         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23664         [ISO11] (FLT_HAS_SUBNORM): Likewise.
23665         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23666         [ISO11] (DBL_DECIMAL_DIG): Likewise.
23667         [ISO11] (FLT_DECIMAL_DIG): Likewise.
23668         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23669         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23670         [ISO11] (FLT_TRUE_MIN): Likewise.
23671         [ISO11] (LDBL_TRUE_MIN): Likewise.
23672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23673         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23674         (SCHAR_MIN): Use macro-int-constant.  Specify type.
23675         (SCHAR_MAX): Likewise.
23676         (UCHAR_MAX): Likewise.
23677         (CHAR_MIN): Likewise.
23678         (CHAR_MAX): Likewise.
23679         (MB_LEN_MAX): Use macro-int-constant.
23680         (SHRT_MIN): Use macro-int-constant.  Specify type.
23681         (SHRT_MAX): Likewise.
23682         (USHRT_MAX): Likewise.
23683         (INT_MAX): Likewise.
23684         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
23685         bound negative.
23686         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23687         bound with "U".
23688         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23689         bound with "L".
23690         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
23691         bound negative.  Suffix upper bound with "L".
23692         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23693         bound with "UL".
23694         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23695         Specify type.
23696         [C99-based standards] (LLONG_MAX): Likewise.
23697         [C99-based standards] (ULLONG_MAX): Likewise.
23698         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
23699         == 0.
23700         [ISO11] (max_align_t): Require type.
23701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23703         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23704         from $CFLAGS, without defining away __attribute__ calls.
23705         (checknamespace): Use $CFLAGS_namespace.
23707         * conform/conformtest.pl (@keywords): Only include C99 keywords
23708         for standards based on C99 or C11.
23710         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23711         Disable tests.
23712         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23713         UNIX98]: Likewise.
23715         * conform/conformtest.pl: Handle "macro-int-constant" and test for
23716         usability of symbols in #if.
23718         * conform/conformtest.pl: If macro or constant types start
23719         "promoted:", expect the symbol to be of the following type
23720         promoted by the integer promotions.
23722         * conform/conformtest.pl: Parse all "constant" and "macro" lines
23723         in one place.  Also handle "macro-constant".
23725         * conform/conformtest.pl: Only accept expected macro values with
23726         "==".  Parse all "macro" lines in one place.
23727         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23729         * conform/conformtest.pl: Handle braced types on "constant" lines
23730         instead of handling "typed-constant".
23731         * conform/data/signal.h-data: Use "constant" instead of
23732         "typed-constant".
23734         * conform/conformtest.pl: Handle "optional-" at start of lines in
23735         one place rather than duplicating several cases.  Handle each
23736         format of "macro" line with initial "optional-".
23738         * conform/conformtest.pl: Only accept expected constant or
23739         optional-constant values with "==".  Parse all "constant" lines in
23740         one place.  Parse all "optional-constant" lines in one place.
23741         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23742         * conform/data/fmtmsg.h-data: Likewise.
23743         * conform/data/netinet/in.h-data: Likewise.
23744         * conform/data/tar.h-data: Likewise.
23745         * conform/data/limits.h-data: Use "==" form on "constant" and
23746         "optional-constant" lines.
23748         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23749         Use -std=c99 for XOPEN2K.
23750         (@knownproblems): Remove.
23751         (newtoken): Don't check %isknown.
23753         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23754         Do not expect macro.
23755         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23756         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23757         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23758         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23759         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23760         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23761         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23762         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23763         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23764         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23765         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23766         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23767         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23768         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23769         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23770         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23771         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23772         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23773         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23774         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23775         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23776         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23777         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23778         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23779         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23780         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23781         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23782         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23783         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23784         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23785         [XPG3] (acosh): Likewise.
23786         [XPG3] (asinh): Likewise.
23787         [XPG3] (atanh): Likewise.
23788         [XPG3] (cbrt): Likewise.
23789         [XPG3] (expm1): Likewise.
23790         [XPG3] (ilogb): Likewise.
23791         [XPG3] (log1p): Likewise.
23792         [XPG3] (logb): Likewise.
23793         [XPG3] (nextafter): Likewise.
23794         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23795         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23796         [XPG3] (remainder): Likewise.
23797         [XPG3] (rint): Likewise.
23798         [XPG3 || XPG4 || UNIX98] (round): Likewise.
23799         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23800         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23801         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23802         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23803         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23804         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23805         [UNIX98 || XOPEN2K] (scalb): Expect.
23806         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23807         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23808         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23809         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23810         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23811         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23812         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23813         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23814         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23815         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23816         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23817         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23818         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23819         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23820         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23821         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23822         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23823         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23824         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23825         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23826         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23827         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23828         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23829         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23830         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23831         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23832         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23833         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23834         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23835         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23836         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23837         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23838         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23839         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23840         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23841         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23842         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23843         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23844         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23845         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23846         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23847         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23848         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23849         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23850         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23851         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23852         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23853         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23854         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23855         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23856         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23857         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23858         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23859         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23860         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23861         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23862         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23863         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23864         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23865         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23866         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23867         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23868         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23869         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23870         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23871         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23872         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23873         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23874         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23875         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23876         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23877         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23878         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23879         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23880         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23881         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23882         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23883         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23884         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23885         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23886         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23887         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23888         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23889         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23890         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23891         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23892         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23893         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23894         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23895         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23896         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23897         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23898         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23899         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23900         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23901         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23902         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23903         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23904         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23905         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23906         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23907         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23908         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23909         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23910         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23911         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23912         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23913         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23914         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23915         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23916         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23917         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23918         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23919         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23920         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23921         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23922         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23923         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23924         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23925         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23926         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23927         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23928         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23929         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23930         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23931         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23932         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23933         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23934         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23935         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23936         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23937         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23938         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23939         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23940         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23941         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23942         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23944         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23945         _XOPEN_SOURCE_EXTENDED for XPG4.
23947         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23949         * Makeconfig (localtime): Remove variable.
23950         (inst_localtime-file): Likewise.
23952 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23955         Update.
23956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23957         Update.
23958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23959         Update.
23960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23961         Update.
23962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23963         Update.
23964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23965         Update.
23966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23967         Update.
23968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23969         Update.
23970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23971         Update.
23973 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23975         [BZ #2550]
23976         [BZ #2570]
23977         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23978         comparisons to determine direction to adjust input.
23979         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23980         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23981         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23982         Likewise.
23983         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23984         Likewise.
23985         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23986         Likewise.
23987         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23988         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23989         Likewise.
23990         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23991         Likewise.
23992         * math/libm-test.inc (nexttoward_test): Add more tests.
23994 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23996         [BZ #14040]
23997         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23998         in version GLIBC_2.1, not GLIBC_2.0.
23999         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24000         Likewise.
24002 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
24004         [BZ #13942]
24005         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24006         (1 - x) * (1 + x).
24007         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24008         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24009         * math/libm-test.inc (acos_test): Add more tests.
24010         (asin_test): Likewise.
24011         * sysdeps/i386/fpu/libm-test-ulps: Update.
24012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24014         [BZ #14034]
24015         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24016         of square root.
24017         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24018         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24019         * math/libm-test.inc (acos_test_tonearest): New function.
24020         (acos_test_towardzero): Likewise.
24021         (acos_test_downward): Likewise.
24022         (acos_test_upward): Likewise.
24023         (asin_test_tonearest): Likewise.
24024         (asin_test_towardzero): Likewise.
24025         (asin_test_downward): Likewise.
24026         (asin_test_upward): Likewise.
24027         (main): Call the new functions.
24028         * sysdeps/i386/fpu/libm-test-ulps: Update.
24029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24031         [BZ #13884]
24032         [BZ #13924]
24033         * math/e_exp10.c: Include <float.h>.
24034         (__ieee754_exp10): Handle underflow here rather than multiplying
24035         large negative argument by M_LN10.
24036         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24037         of __ieee754_expf.
24038         * math/e_exp10l.c: Include <float.h>.
24039         (__ieee754_exp10l): Handle underflow here rather than multiplying
24040         large negative argument by M_LN10l.
24041         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
24042         spurious overflow exception on underflow.
24044 2012-04-29  Marek Polacek  <polacek@redhat.com>
24046         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24047         (__fortify_function): New macro.
24048         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24049         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24050         __extern_always_inline.
24051         * libio/bits/stdio2.h: Likewise.
24052         * libio/bits/stdio.h: Likewise.
24053         * string/string.h: Likewise.
24054         * string/bits/string3.h: Likewise.
24055         * include/stdio.h: Likewise.
24056         * stdlib/bits/stdlib.h: Likewise.
24057         * stdlib/stdlib.h: Likewise.
24058         * rt/bits/mqueue2.h: Likewise.
24059         * rt/mqueue.h: Likewise.
24060         * posix/bits/unistd.h: Likewise.
24061         * posix/unistd.h: Likewise.
24062         * io/bits/poll2.h: Likewise.
24063         * io/bits/fcntl2.h: Likewise.
24064         * io/fcntl.h: Likewise.
24065         * io/sys/poll.h: Likewise.
24066         * misc/bits/syslog.h: Likewise.
24067         * misc/bits/syslog-ldbl.h: Likewise.
24068         * misc/sys/syslog.h: Likewise.
24069         * socket/bits/socket2.h: Likewise.
24070         * socket/sys/socket.h: Likewise.
24071         * debug/tst-chk1.c: Likewise.
24072         * wcsmbs/bits/wchar2.h: Likewise.
24073         * wcsmbs/bits/wchar-ldbl.h: Likewise.
24074         * wcsmbs/wchar.h: Likewise.
24076 2012-04-29  Andreas Jaeger  <aj@suse.de>
24078         * Makerules (tests): Remove enable-check-abi protection.
24079         (check-abi-warn): Remove.
24080         (check-abi-%): Remove check-abi-warn usage.
24082         * configure.in: Remove check-abi configure option.
24083         * configure: Regenerated.
24084         * config.make.in (enable-check-abi): Remove.
24086 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
24088         [BZ #14033]
24089         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24090         double functions to double *_finite functions.
24092         [BZ #13941]
24093         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24094         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24095         LDBL_MIN_EXP.
24096         * stdio-common/Makefile (tests): Add tst-sprintf3.
24097         * stdio-common/tst-sprintf3.c: New file.
24099         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24100         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24102 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24104         * conform/conformtest.pl: Remove duplicate typed-constant
24105         handling.
24107 2012-04-28  David S. Miller  <davem@davemloft.net>
24109         * Makerules (%.abilist): Add vpath on sysdep_dirs.
24110         (check-abi-%): Remove AWK script prerequisite and explicit
24111         abilist directory.
24112         (check-abi): Rewrite to just diff the symlist with the abilist.
24113         (config-tls, config-abi-config): Delete, no longer used.
24114         (update-abi-%): Remove AWK script and explicit abilist directory.
24115         (update-abi): Rewrite to simply compare and conditionally copy the
24116         symlist and the sysdep abilist file.  Remove update-abi-config
24117         checks.
24118         * abilist/ld.abilist: Remove.
24119         * abilist/libBrokenLocale.abilist: Remove.
24120         * abilist/libanl.abilist: Remove.
24121         * abilist/libcrypt.abilist: Remove.
24122         * abilist/libdl.abilist: Remove.
24123         * abilist/librt.abilist: Remove.
24124         * abilist/libthread_db.abilist: Remove.
24125         * abilist/libutil.abilist: Remove.
24126         * scripts/extract-abilist.awk: Remove.
24127         * scripts/merge-abilist.awk: Remove.
24128         * sysdeps/generic/libcidn.abilist: New file.
24129         * sysdeps/generic/libnss_compat.abilist: New file.
24130         * sysdeps/generic/libnss_db.abilist: New file.
24131         * sysdeps/generic/libnss_dns.abilist: New file.
24132         * sysdeps/generic/libnss_files.abilist: New file.
24133         * sysdeps/generic/libnss_hesiod.abilist: New file.
24134         * sysdeps/generic/libnss_nis.abilist: New file.
24135         * sysdeps/generic/libnss_nisplus.abilist: New file.
24136         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24137         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24138         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24139         file.
24140         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24141         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24142         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24143         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24144         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24145         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24146         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24147         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24148         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24149         file.
24150         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24151         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24152         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24153         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24154         file.
24155         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24156         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24157         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24158         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24159         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24160         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24161         file.
24162         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24163         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24164         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24165         file.
24166         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24168         New file.
24169         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24170         New file.
24171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24172         New file.
24173         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24174         New file.
24175         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24176         New file.
24177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24178         New file.
24179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24180         New file.
24181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24182         New file.
24183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24184         New file.
24185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24186         New file.
24187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24188         New file.
24189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24190         New file.
24191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24192         New file.
24193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24194         file.
24195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24196         New file.
24197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24198         New file.
24199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24200         file.
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24202         New file.
24203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24204         New file.
24205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24206         file.
24207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24208         New file.
24209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24210         New file.
24211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24212         New file.
24213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24214         New file.
24215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24216         New file.
24217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24218         New file.
24219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24221         file.
24222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24223         New file.
24224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24225         file.
24226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24227         file.
24228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24229         file.
24230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24231         file.
24232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24233         file.
24234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24235         New file.
24236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24237         file.
24238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24239         file.
24240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24241         New file.
24242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24243         file.
24244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24246         file.
24247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24248         New file.
24249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24250         file.
24251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24252         file.
24253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24254         file.
24255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24256         file.
24257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24258         file.
24259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24260         New file.
24261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24262         file.
24263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24264         file.
24265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24266         New file.
24267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24268         file.
24269         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24270         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24271         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24272         file.
24273         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24274         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24275         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24276         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24277         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24278         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24279         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24280         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24281         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24282         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24285         file.
24286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24287         New file.
24288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24289         file.
24290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24291         file.
24292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24293         file.
24294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24295         file.
24296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24297         file.
24298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24299         New file.
24300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24301         New file.
24302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24303         file.
24304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24305         New file.
24306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24307         file.
24308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24310         file.
24311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24312         New file.
24313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24314         file.
24315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24316         file.
24317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24318         file.
24319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24320         file.
24321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24322         file.
24323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24324         New file.
24325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24326         New file.
24327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24328         file.
24329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24330         New file.
24331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24332         file.
24334 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24336         * conform/conformtest.pl: Fix typo in handling typed-constant from
24337         allow-header.
24339 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24341         * README: Cut down references to pre-2.6 Linux kernels and
24342         Linuxthreads.  Update lists of configurations in libc and ports
24343         and sort alphabetically.  Say "or newer" with Linux kernel version
24344         requirements.
24346         * config.h.in [IS_IN_build]: Allow compiling without optimization.
24348 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24350         [BZ #887]
24351         * math/libm-test.inc (logb_test_downward): New test to expose
24352         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24353         rounding mode.
24355 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24357         [BZ #14027]
24358         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24359         to be done.
24360         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24361         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24363 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
24365         * sysdeps/unix/i386/brk.S: Remove file.
24366         * sysdeps/unix/i386/dl-brk.S: Likewise.
24367         * sysdeps/unix/i386/pipe.S: Likewise.
24368         * sysdeps/unix/i386/sigreturn.S: Likewise.
24369         * sysdeps/unix/i386/syscall.S: Likewise.
24370         * sysdeps/unix/i386/vfork.S: Likewise.
24371         * sysdeps/unix/i386/wait.S: Likewise.
24373         * sysdeps/unix/common/tcsendbrk.c: Move to ...
24374         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24376         * configure.in (arm*-none*): Do not allow without
24377         --enable-hacker-mode.
24378         (netbsd*): Remove case setting base_os.
24379         (386bsd*): Likewise.
24380         (freebsd*): Likewise.
24381         (bsdi*): Likewise.
24382         (osf*): Likewise.
24383         (sunos*): Likewise.
24384         (ultrix*): Likewise.
24385         (newsos*): Likewise.
24386         (dynix*): Likewise.
24387         (*bsd*): Likewise.
24388         (sysv*): Likewise.
24389         (isc*): Likewise.
24390         (esix*): Likewise.
24391         (sco*): Likewise.
24392         (minix*): Likewise.
24393         (irix4*): Likewise.
24394         (irix6*): Likewise.
24395         (solaris[2-9]*): Likewise.
24396         (none): Likewise.
24397         * configure: Regenerated.
24399 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24401         [BZ #11521]
24402         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24403         overflow or cancellation in calculating denominator.
24404         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24405         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24406         down expression to avoid unexpected rounding in newer GCCs.
24407         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24409 2012-04-26  David S. Miller  <davem@davemloft.net>
24411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24412         long-double compat symbols.
24413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24427 2012-04-25  David S. Miller  <davem@davemloft.net>
24429         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24430         HWCAP_* values only after the memory barriers have been defined.
24431         (atomic_full_barrier): Define.
24432         (atomic_read_barrier): Define.
24433         (atomic_write_barrier): Define.
24435 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24437         * shlib-versions: Add libgcc_s version information.
24438         * sysdeps/generic/libgcc_s.h: Remove.
24439         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24440         libgcc_s.h.
24441         * sysdeps/gnu/unwind-resume.c: Likewise.
24442         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24444 2012-04-25  David S. Miller  <davem@davemloft.net>
24446         * sysdeps/unix/sparc/brk.S: Delete.
24447         * sysdeps/unix/sparc/dl-brk.S: Delete.
24448         * sysdeps/unix/sparc/pipe.S: Delete.
24449         * sysdeps/unix/sparc/sysdep.S: Delete.
24450         * sysdeps/unix/sparc/sysdep.h: Delete.
24451         * sysdeps/unix/sparc/vfork.S: Delete.
24452         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24453         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24454         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24455         ret_ERRVAL, r0, r1, MOVE): Define.
24456         (JUMPTARGET): Remove.
24457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24458         sysdeps/unix/sparc/sysdep.h
24459         (ENTRY, END): Remove.
24460         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24462 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
24464         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24465         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24466         -DIS_IN_build.
24468         * timezone/README: Update upstream location and email address for
24469         tzcode and tzdata.
24470         * timezone/zdump.c: Update from tzcode 2012b.
24471         * timezone/zic.c: Likewise.
24473         * configure.in (libc_cv_as_needed): Remove test.
24474         * configure: Regenerated.
24475         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24476         conditional definition.
24477         [$(have-as-needed) != yes] (no-as-needed): Likewise.
24478         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24479         * config.make.in (have-as-needed): Remove variable.
24481 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24482             Paul Pluzhnikov  <ppluzhnikov@google.com>
24484         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24485         strings correctly.
24487 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
24489         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24490         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24491         * sysdeps/sh/strlen.S: Likewise.
24493 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24495         * sysdeps/unix/fork.S: Remove file.
24496         * sysdeps/unix/i386/fork.S: Likewise.
24497         * sysdeps/unix/sparc/fork.S: Likewise.
24499         * sysdeps/unix/system.c: Remove file.
24500         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24502         * sysdeps/unix/getegid.S: Remove file.
24503         * sysdeps/unix/geteuid.S: Likewise.
24505 2012-04-24  Roland McGrath  <roland@hack.frob.com>
24507         * scripts/check-localplt.awk: New file.
24508         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24509         of diff.
24510         * scripts/data/localplt-generic.data: Add a comment.
24512         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24513         NODE when __dir_mkfile failed.
24514         * sysdeps/mach/hurd/symlinkat.c: Likewise.
24515         Reported by Ludovic Courtès <ludo@gnu.org>.
24517 2012-04-24  Andreas Jaeger  <aj@suse.de>
24519         * Makerules (common-clean): Also remove gen-as-const-headers
24520         files.
24522 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24524         * Makerules (native-compile): Do not change working directory for
24525         build.  Use $(OUTPUT_OPTION) in command.
24526         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24528 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24530         [BZ #13886]
24531         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24532         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24533         * math/libm-test.inc (floor_test): Add more tests.
24534         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24536 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24538         * sysdeps/unix/getdents.c: Remove file.
24539         * sysdeps/unix/sysv/getdents.c: Likewise.
24540         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24542         * sysdeps/unix/syscalls.list (madvise): Add syscall from
24543         sysdeps/unix/mman/syscalls.list.
24544         (mmap): Likewise.
24545         (mprotect): Likewise.
24546         (msync): Likewise.
24547         (munmap): Likewise.
24548         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24549         * sysdeps/unix/mman/syscalls.list: Remove.
24550         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24552         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24553         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24554         * configure: Regenerated.
24555         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24556         $(libgcc_s_suffix).
24557         * config.make.in (libgcc_s_suffix): Remove variable.
24559 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
24561         * sysdeps/unix/sysv/gethostname.c: Move to ...
24562         * sysdeps/posix/gethostname.c: ... here.
24564         * sysdeps/unix/execve.S: Remove file.
24566         * sysdeps/unix/_exit.S: Remove file.
24568 2012-04-23  Andreas Jaeger  <aj@suse.de>
24570         [BZ #13739]
24571         * manual/Makefile: Remove make dist support, there's no
24572         need for a stand-alone documentation tar ball.
24573         (TEXI2DVI): Define always, it's not in Makeconfig.
24574         (dist): Removed.
24575         (tar-it): Removed.
24576         (edition): Removed.
24577         (glibc-doc-$(edition).tar): Removed
24578         (%.Z): Removed.
24579         (%.gz): Removed.
24580         (%.uu): Removed.
24581         (ETAGS): Remove, it's in Makeconfig.
24582         (move-if-change): Remove, it's in Makeconfig.
24584 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
24586         [BZ #13970]
24587         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24588         (strtod, strtof, strtold, strtol, strtoul, strtoq)
24589         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24590         (strtod_l, strtof_l, strtold_l): Remove __wur.
24591         It is not necessarily an error to ignore strtol's return value.
24592         One can reliably look at the stored endptr to decide whether
24593         the number had valid syntax.
24595 2012-04-21  Andreas Jaeger  <aj@suse.de>
24597         [BZ #13739]
24598         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24600 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
24602         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24603         * sysdeps/unix/sysv/Versions: Remove file.
24605 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
24607         [BZ #13927]
24608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24610 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
24612         [BZ #7064]
24613         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24614         version from __vm86.
24616 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
24618         * sysdeps/unix/common/lxstat.c: Remove file.
24619         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24621         * sysdeps/unix/sysv/Makefile: Remove file.
24623         * sysdeps/unix/sysv/direct.h: Remove file.
24625         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24626         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24627         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24628         * sysdeps/unix/sysv/bits/signum.h: Likewise.
24629         * sysdeps/unix/sysv/bits/stat.h: Likewise.
24630         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24631         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24633         * sysdeps/unix/sysv/setrlimit.c: Remove file.
24635         * sysdeps/unix/xmknod.c: Remove file.
24636         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24638         * sysdeps/unix/sysv/settimeofday.c: Remove file.
24640         * sysdeps/unix/sysv/i386/time.S: Remove file.
24642         * sysdeps/unix/fxstat.c: Remove file.
24643         * sysdeps/unix/xstat.c: Likewise.
24644         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24646         * sysdeps/unix/sysv/sigaction.c: Remove file.
24648         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24649         (sysdep_headers): Remove variable.
24650         [termio.h not in sysdep_headers] (generated): Likewise.
24651         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24652         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24653         * sysdeps/unix/sysv/tcdrain.c: Likewise.
24654         * sysdeps/unix/sysv/tcflow.c: Likewise.
24655         * sysdeps/unix/sysv/tcflush.c: Likewise.
24656         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24657         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24658         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24659         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24660         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24662         * sysdeps/unix/siglist.c: Remove file.
24664         * sysdeps/unix/getppid.S: Remove file.
24666         * sysdeps/unix/mkdir.c: Remove file.
24667         * sysdeps/unix/rmdir.c: Likewise.
24669 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
24671         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24672         ERR_MAX value.
24673         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24674         errlist-compat value.
24676 2012-04-18  David S. Miller  <davem@davemloft.net>
24678         * sysdeps/generic/memcopy.h (reg_char): Delete.
24679         * debug/strcat_chk.c: Use char, not reg_char.
24680         * debug/strcpy_chk.c: Likewise.
24681         * debug/strncat_chk.c: Likewise.
24682         * debug/strncpy_chk.c: Likewise.
24683         * string/memchr.c: Likewise.
24684         * string/memrchr.c: Likewise.
24685         * string/rawmemchr.c: Likewise.
24686         * string/strcat.c: Likewise.
24687         * string/strchr.c: Likewise.
24688         * string/strchrnul.c: Likewise.
24689         * string/strcmp.c: Likewise.
24690         * string/strcpy.c: Likewise.
24691         * string/strncat.c: Likewise.
24692         * string/strncmp.c: Likewise.
24693         * string/strncpy.c: Likewise.
24695 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24697         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24698         __builtin_memcopy is called when src and dest ranges are known to not
24699         overlap.
24701 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24703         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24704         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24705         fwd_align_merge macro call.
24706         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24707         bwd_align_merge macro call.
24708         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24710 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24712         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24713         bwd_align_merge macros.
24714         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24715         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24716         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24718 2012-04-18  David S. Miller  <davem@davemloft.net>
24720         * sysdeps/sparc/sparc64/memcopy.h: Delete.
24722 2012-04-18  Andreas Jaeger  <aj@suse.de>
24724         [BZ# 6794]
24725         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24726         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24727         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24729         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24730         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24731         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24733         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24734         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24735         Adjust for changed ldbl-128 files.
24737         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24738         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24739         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24741 2012-04-17  David S. Miller  <davem@davemloft.net>
24743         * sysdeps/sparc/sparc32/memcopy.h: Delete.
24745 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
24747         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24748         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24749         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24750         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24751         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24752         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24754 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24756         [BZ #6794]
24757         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24758         * math/libm-test.inc: Add ilogb errno and exception tests.
24759         * math/w_ilogb.c: New file: ilogb wrapper.
24760         * math/w_ilogbf.c: New file: ilogbf wrapper.
24761         * math/w_ilogbl.c: New file: ilogbl wrapper.
24762         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24763         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24764         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24765         exception being thrown with 0.0 as argument.
24766         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24767         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24768         exception being thrown with 0.0 as argument.
24769         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24770         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24771         exception being thrown with 0.0 as argument.
24772         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24773         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24774         exception being thrown with 0.0 as argument.
24775         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24776         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24777         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24778         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24779         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24780         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24781         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24782         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24783         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24785 2012-04-17  Petr Baudis  <pasky@ucw.cz>
24787         * include/sys/uio.h: Change __vector to __iovec to avoid clash
24788         with altivec.
24790 2012-04-16  Marek Polacek  <polacek@redhat.com>
24792         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24794 2012-04-16  Marek Polacek  <polacek@redhat.com>
24796         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24797         operands of fdivp instruction.
24799 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24801         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24802         * elf/tst-auditmod3b.c: Likewise.
24803         * elf/tst-auditmod4b.c: Likewise.
24804         * elf/tst-auditmod5b.c: Likewise.
24805         * elf/tst-auditmod6b.c: Likewise.
24806         * elf/tst-auditmod6c.c: Likewise.
24807         * elf/tst-auditmod7b.c: Likewise.
24808         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24809         * sysdeps/x86_64/preconfigure.in: Likewise.
24810         * sysdeps/x86_64/preconfigure: Regenerated.
24812 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24814         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24815         __ILP32__.
24817 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
24819         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24820         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24822 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
24824         [BZ #13973]
24825         * locale/iso-639.def: Fix gl language name. Spotted by
24826         Yaron Shahrabani.
24828 2012-04-12  Roland McGrath  <roland@hack.frob.com>
24830         [BZ #2074]
24831         * libio/libio.h (__io_write_fn): Update comment.
24833 2012-04-12  Petr Baudis  <pasky@ucw.cz>
24835         [BZ #2074]
24836         * stdio.texi (Hook Functions): The user provided writer function
24837         is not allowed to return -1.
24839 2012-04-11  David S. Miller  <davem@davemloft.net>
24841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24843 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
24845         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24846         Add a leading slash to rtkaio.
24848 2012-04-11  Jim Meyering  <meyering@redhat.com>
24850         [BZ #11959]
24851         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24852         It is not necessarily an error to ignore fwrite's return
24853         value.  One can reliably use ferror to test for errors after
24854         the fact.
24856 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24858         * bits/types.h (__snseconds_t): New type.
24859         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24861         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24863         (__SNSECONDS_T_TYPE): Likewise.
24864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24865         (__SNSECONDS_T_TYPE): Likewise.
24866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24867         (__SNSECONDS_T_TYPE): Likewise.
24869 2012-04-10  Andreas Jaeger  <aj@suse.de>
24871         [BZ #2636]
24872         * manual/time.texi (Processor Time): Return type of times is
24873         elapsed real time since an arbitrary point in the past.
24874         (CPU Time): Move CLK_TCK from here...
24875         (Processor Time): ...to here.  Correct description.
24876         * manual/conf.texi (Constants for Sysconf): Correct description of
24877         _SC_CLK_TCK.
24879 2012-04-10  David S. Miller  <davem@davemloft.net>
24881         [BZ #13967]
24882         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24883         where the is a gap between DT_REL(A) and DT_JMPREL.
24885 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24887         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24888         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24889         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24891 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24893         * elf/dl-support.c (_dl_inhibit_cache): New variable.
24894         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24895         (dl_main): Handle --inhibit-cache.
24896         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24897         _dl_inhibit_cache.
24898         * elf/dl-load.c (_dl_map_object): Use it.
24899         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24901 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24903         [BZ #13872]
24904         * sysdeps/i386/fpu/e_powl.S (p78): New object.
24905         (__ieee754_powl): Saturate large exponents rather than testing for
24906         overflow of y*log2(x).
24907         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24908         * math/libm-test.inc (pow_test): Do not permit spurious overflow
24909         exceptions.
24911         [BZ #11521]
24912         * math/s_ctan.c: Include <float.h>.
24913         (__ctan): Avoid internal overflow or cancellation in calculating
24914         denominator.
24915         * math/s_ctanf.c: Likewise.
24916         * math/s_ctanl.c: Likewise.
24917         * math/s_ctanh.c: Likewise.
24918         * math/s_ctanhf.c: Likewise.
24919         * math/s_ctanhl.c: Likewise.
24920         * math/libm-test.inc (ctan_test): Add more tests.
24921         (ctanh_test): Likewise.
24922         * sysdeps/i386/fpu/libm-test-ulps: Update.
24923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24925 2012-04-09  Andreas Jaeger  <aj@suse.de>
24927         [BZ #6894]
24928         * manual/filesys.texi (Directory Entries): Mention that d_namlen
24929         is an optional BSD extension.
24931         [BZ #10254]
24932         * manual/stdio.texi (Opening Streams): Document additional fopen
24933         parameters.
24935 2012-04-09  Roland McGrath  <roland@hack.frob.com>
24937         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24938         %eax without telling the compiler.
24940 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
24942         [BZ # 13963]
24943         * manual/install.texi: Use sourceware.org.
24945 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24947         [BZ #13873]
24948         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24949         (__ieee754_pow): Generate overflow and underflow using huge*huge
24950         and tiny*tiny rather than just returning constant infinity or zero
24951         for large exponents.
24952         * math/libm-test.inc (pow_test): Require overflow exceptions for
24953         applicable cases of large exponents.
24955         [BZ #706]
24956         * sysdeps/i386/fpu/e_pow.S (p10): New object.
24957         (__ieee754_pow): Use iterative multiplication algorithm only for
24958         integer exponents with absolute value below 1024.  Check for odd
24959         integer exponents when using algorithm for real exponents.
24960         * math/libm-test.inc (pow_test): Add more tests.
24961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24963 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
24965         [BZ #13705]
24966         * math/libm-test.inc (exp_test): Do not allow overflow exception
24967         on underflow test.
24969 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
24971         [BZ #13705]
24972         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24973         instead of __kernel_standard_f.
24975 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
24977         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24978         * sysdeps/x86_64/memset_chk.S: Likewise.
24980 2012-04-08  Andreas Jaeger  <aj@suse.de>
24982         [BZ #10153]
24983         * manual/startup.texi (Environment Access): Describe return value
24984         for putenv and setenv.
24986         [BZ #6895]
24987         * manual/filesys.texi (Directory Entries): Add description for
24988         DT_LNK.
24990         [BZ #6890]
24991         * manual/filesys.texi (Directory Entries): Clarify that it's file
24992         system not operating system in the description of DT_UNKNOWN.
24994         [BZ #6578]
24995         * manual/syslog.texi (closelog): Fix reference, it's openlog.
24997 2012-04-08  Stephen Compall  <s11@member.fsf.org>
24999         [BZ #6649]
25000         * manual/llio.texi (Opening and Closing Files): Add cross
25001         reference to explain mode argument.
25003 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
25005         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25006         * sysdeps/x86_64/memset_chk.S: Likewise.
25008 2012-04-07  David S. Miller  <davem@davemloft.net>
25010         * elf/elf.h (R_SPARC_WDISP10): Define.
25011         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25012         R_SPARC_SIZE32.
25013         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25014         R_SPARC_SIZE64 and R_SPARC_H34.
25016 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
25018         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25019         conditions and remove no longer applicable assertion.
25021 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25023         * bits/byteswap.h: Include <features.h>.
25024         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25025         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25027 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25029         * bits/byteswap.h (__bswap_16): Removed.
25030         Include <bits/byteswap-16.h> to get __bswap_16.
25031         * sysdeps/i386/bits/byteswap.h: Likewise.
25032         * sysdeps/s390/bits/byteswap.h: Likewise.
25033         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25034         * bits/byteswap-16.h: New file.
25035         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25036         * sysdeps/s390/bits/byteswap-16.h: Likewise.
25037         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25038         * string/Makefile (headers): Add bits/byteswap-16.h.
25040 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25042         [BZ #13895]
25043         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25044         extra indirection.
25045         * nss/Makefile (tests-static, tests): Add tst-nss-static.
25046         * nss/tst-nss-static.c: New.
25048 2012-04-06  Robert Millan  <rmh@gnu.org>
25050         [BZ #6486]
25051         * manual/llio.texi (File Position Primitive): lseek
25052         refers to WHENCE when it really means OFFSET.
25054 2012-04-06  Andreas Jaeger  <aj@suse.de>
25056         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25057         strncmp declarations.
25059         * abilist/libc.abilist: Add __poll and __ppoll.
25061 2012-04-05  David S. Miller  <davem@davemloft.net>
25063         * scripts/check-local-headers.sh: Accept a host triplet in the
25064         path matched by the exclude regexp.
25066         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25067         definition.
25068         * sysdeps/powerpc/powerpc32/dl-machine.h
25069         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25070         * sysdeps/s390/s390-32/dl-machine.h
25071         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25072         * sysdeps/sparc/sparc32/dl-machine.h
25073         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25074         * sysdeps/sparc/sparc64/dl-machine.h
25075         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25077         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25078         lazy binding.
25079         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25080         undefined symbol errors.
25082         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25083         DT_NEEDED entries.
25085 2012-04-05  Michael Matz  <matz@suse.de>
25087         [BZ #13592]
25088         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25090 2012-04-05  Andreas Jaeger  <aj@suse.de>
25092         [BZ #13908]
25093         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25094         comment.
25096 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25098         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25099         which ROUND is no valid rounding mode.
25101 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25103         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25104         read again.
25105         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25107 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25109         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25110         an exception using FPU order intentionally.
25112 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25114         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25115         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25116         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25117         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25119 2012-04-05  Simon Josefsson  <simon@josefsson.org>
25121         [BZ #12340]
25122         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25123         EINVAL when BUFLEN is too smal.
25125 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25127         [BZ #13553]
25128         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25129         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25131 2012-04-03  Andreas Jaeger  <aj@suse.de>
25133         [BZ #13938]
25134         * manual/setjmp.texi (System V contexts): Fix sentence.
25136         [BZ #13926]
25137         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25138         New macro for this case.
25139         [!__GNUC__] (__bswap_64): New inline function for this case.
25140         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25141         * bits/byteswap.h: Likewise.
25142         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25143         ull, guard with __GLIBC_HAVE_LONG_LONG.
25145         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25146         __GLIBC_HAVE_LONG_LONG.
25148         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25149         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25151 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25153         [BZ #13691]
25154         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25155         inptr and inend, rather than using last_ch.
25157 2012-04-02  David S. Miller  <davem@davemloft.net>
25159         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25160         * stdio-common/printf-parse.h (read_int): Change return type to
25161         'int', return -1 on INT_MAX overflow.
25162         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25163         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
25164         overflows INT_MAX.  Check for overflow of in-format-string precision
25165         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
25166         SIZE_MAX not INT_MAX for integer overflow test.
25167         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25168         skip the construct in the format string but do not record anything.
25169         * stdio-common/bug22.c: Adjust to test both width/prevision
25170         INT_MAX overflow as well as total length INT_MAX overflow.  Check
25171         explicitly for proper errno values.
25173 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25175         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25176         CHAR_MAX.
25177         * string/test-strcmp.c [! WIDE]: Likewise.
25178         * time/tst-mktime2.c: Likewise for INT_MAX.
25179         * string/test-string.h: #include <sys/param.h> for MIN.
25181         * csu/init-first.c (__libc_init_first): Call __ctype_init.
25182         * sysdeps/i386/init-first.c (init): Likewise.
25183         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25184         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25185         * sysdeps/sh/init-first.c (init): Likewise.
25187 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
25189         * po/ru.po: Update from translation team.
25190         * po/vi.po: Likewise.
25192 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25194         * resolv/nss_dns/dns-host.c: Merge copyright years.
25196 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25198         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25199         Optimize memcpy with prefetch if
25200         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
25201         src, dst pointers have unequal 16 byte alignments.
25203 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25205         [BZ #13928]
25206         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25207         from a CNAME entry and return the minimum ttl for the query.
25208         (gaih_getanswer_slice): Likewise.
25210 2012-03-30  Jeff Law  <law@redhat.com>
25212         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25213         due to long keys.
25214         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25215         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25217         * resolv/nss_dns/dns-host.c: Update copyright year.
25219 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
25221         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25222         requests to save a system call.  Fix check that all bytes are sent.
25224         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25225         comments for sendmmsg.
25227 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25229         [BZ #13691]
25230         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25231         with only 1 character between 0x0041 and 0x01b0.
25232         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25233         * wcsmbs/tst-mbsnrtowcs.c: New file.
25235 2012-03-29  David S. Miller  <davem@davemloft.net>
25237         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25238         small copies by hand.
25240 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25242         [BZ #13761]
25243         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25244         _nss_compat_initgroups_dyn): Fall back to malloc/free
25245         for large group memberships.
25247 2012-03-28  David S. Miller  <davem@davemloft.net>
25249         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25250         that branches into memcpy.
25251         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25252         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25253         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25254         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25256         bits.
25257         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25258         implementation too.
25259         * sysdeps/sparc/mempcpy.S: New file.
25261         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25262         the IFUNC routine in the libc case.
25263         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25265         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25266         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25267         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25268         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25269         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25270         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25271         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25272         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25274         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25275         loop to 256 bytes instead of 64 bytes and fix test signedness.
25277         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25278         * sysdeps/sparc/sparc32/Makefile: rather than here...
25279         * sysdeps/sparc/sparc64/Makefile: and here.
25281 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
25283         * malloc/mallocbug.c: Avoid warnings about unused variables.
25285 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25287         [BZ #13760]
25288         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25289         in the right place. Discard and retry query if response is
25290         larger than input buffer size.
25292 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
25294         [BZ #369]
25295         [BZ #2678]
25296         [BZ #3866]
25297         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25298         x for large integer exponent.
25299         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25300         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
25301         sign of result as needed afterwards.
25302         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25303         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25304         result for underflowing pow the same as for overflow.
25305         (__kernel_standard_l): Handle powl overflow and underflow here
25306         rather than calling __kernel_standard.
25307         * math/libm-test.inc (pow_test): Add more tests.
25309         [BZ #3868]
25310         [BZ #13879]
25311         [BZ #13910]
25312         [BZ #13911]
25313         [BZ #13912]
25314         [BZ #13913]
25315         [BZ #13915]
25316         [BZ #13916]
25317         [BZ #13917]
25318         [BZ #13918]
25319         [BZ #13919]
25320         [BZ #13920]
25321         [BZ #13921]
25322         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25323         * sysdeps/ieee754/k_standard.c: Include <float.h>.
25324         (__kernel_standard_l): New function.
25325         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25326         __kernel_standard.
25327         * math/w_acosl.c (__acosl): Likewise.
25328         * math/w_asinl.c (__asinl): Likewise.
25329         * math/w_atan2l.c (__atan2l): Likewise.
25330         * math/w_atanhl.c (__atanhl): Likewise.
25331         * math/w_coshl.c (__coshl): Likewise.
25332         * math/w_exp10l.c (__exp10l): Likewise.
25333         * math/w_exp2l.c (__exp2l): Likewise.
25334         * math/w_fmodl.c (__fmodl): Likewise.
25335         * math/w_hypotl.c (__hypotl): Likewise.
25336         * math/w_j0l.c (__j0l, __y0l): Likewise.
25337         * math/w_j1l.c (__j1l, __y1l): Likewise.
25338         * math/w_jnl.c (__jnl, __ynl): Likewise.
25339         * math/w_lgammal.c (__lgammal): Likewise.
25340         * math/w_log10l.c (__log10l): Likewise.
25341         * math/w_log2l.c (__log2l): Likewise.
25342         * math/w_logl.c (__logl): Likewise.
25343         * math/w_powl.c (__powl): Likewise.
25344         * math/w_remainderl.c (__remainderl): Likewise.
25345         * math/w_scalbl.c (sysv_scalbl): Likewise.
25346         * math/w_sinhl.c (__sinhl): Likewise.
25347         * math/w_sqrtl.c (__sqrtl): Likewise.
25348         * math/w_tgammal.c (__tgammal): Likewise.
25349         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25350         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25351         * math/libm-test.inc (acos_test): Add more tests.
25352         (acosh_test): Likewise.
25353         (asin_test): Likewise.
25354         (atanh_test): Likewise.
25355         (exp_test): Likewise.
25356         (exp10_test): Likewise.
25357         (exp2_test): Likewise.
25358         (expm1_test): Likewise.
25359         (lgamma_test): Likewise.
25360         (log_test): Likewise.
25361         (log10_test): Likewise.
25362         (log1p_test): Likewise.
25363         (log2_test): Likewise.
25364         (pow_test): Do not allow some spurious overflow exceptions.
25365         (sqrt_test): Add more tests.
25366         (tgamma_test): Likewise.
25367         (y0_test): Likewise.
25368         (y1_test): Likewise.
25369         (yn_test): Likewise.
25371 2012-03-27  Anton Blanchard  <anton@samba.org>
25373         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25374         MAP_HUGETLB.
25375         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25376         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25377         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25379 2012-03-27  David S. Miller  <davem@davemloft.net>
25381         * conform/Makefile: Run run-conformtest.sh using $(BASH).
25383         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25384         have-as-vis3 check.
25386 2012-03-27  Andreas Jaeger  <aj@suse.de>
25388         * sysdeps/x86_64/elf/configure.in: Moved to ...
25389         * sysdeps/x86_64/configure.in: ... here.
25390         * sysdeps/x86_64/elf/start.S: Moved to ...
25391         * sysdeps/x86_64/start.S: ... here.
25392         * sysdeps/x86_64/elf/configure: Delete.
25394         * sysdeps/x86_64/configure.in: Merge contents from
25395         sysdeps/i386/configure.in (without i686 check).
25397         * sysdeps/i386/elf/Versions: Merge into ...
25398         * sysdeps/i386/Versions: ... this.
25399         * sysdeps/i386/elf/Versions: Delete file.
25400         * sysdeps/i386/elf/start.S: Moved to ...
25401         * sysdeps/i386/start.S: ...here.
25402         * sysdeps/i386/elf/configure.in: Merge into...
25403         * sysdeps/i386/configure.in: ...here.
25404         * sysdeps/i386/elf/configure.in: Delete file.
25405         * sysdeps/i386/elf/configure: Delete file.
25407         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25408         * debug/backtracesyms.c: ... here.
25409         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25410         * debug/backtracesymsfd.c: ... here.
25411         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25412         * sysdeps/generic/ifunc-sel.h: ... here.
25414         * sysdeps/unix/i386/start.c: Delete file.
25415         * sysdeps/unix/sparc/start.c: Delete file.
25416         * sysdeps/unix/start.c: Delete file.
25418         * sysdeps/sh/elf/configure.in: Moved to ...
25419         * sysdeps/sh/configure.in: ... here.
25420         * sysdeps/sh/elf/start.S: Moved to ...
25421         * sysdeps/sh/start.S: ... here.
25422         * sysdeps/sh/elf/configure: Delete file.
25424         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25425         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25426         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25427         * sysdeps/powerpc/powerpc64/entry.h: ... here.
25428         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25429         * sysdeps/powerpc/powerpc64/start.S: here.
25430         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25431         * sysdeps/powerpc/powerpc64/Makefile: ... this.
25432         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25433         * sysdeps/powerpc/powerpc64/configure.in: ... this.
25434         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25436         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25437         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25438         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25439         * sysdeps/powerpc/powerpc32/start.S: ... here.
25440         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25441         * sysdeps/powerpc/powerpc32/configure.in: ... this.
25442         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25444         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25445         * sysdeps/powerpc/ifunc-sel.h: ... here.
25446         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25447         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25449         * sysdeps/sparc/elf/configure.in: Moved to ...
25450         * sysdeps/sparc/configure.in: ... here.
25451         * sysdeps/sparc/elf/configure: Delete file.
25452         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25453         * sysdeps/sparc/sparc32/start.S: ... here.
25454         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25455         * sysdeps/sparc/sparc64/start.S: ... here.
25456         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25457         * sysdeps/sparc/sparc32/Makefile: ... this.
25458         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25459         * sysdeps/sparc/sparc64/Makefile: ... this.
25461         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25462         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25463         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25464         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25465         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25466         * sysdeps/s390/s390-32/setjmp.S: ... here.
25467         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25468         * sysdeps/s390/s390-32/configure.in: ... here.
25469         * sysdeps/s390/s390-32/elf/configure: Delete file.
25470         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25471         * sysdeps/s390/s390-32/start.S: ... here.
25473         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25474         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25475         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25476         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25477         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25478         * sysdeps/s390/s390-64/setjmp.S: ... here.
25479         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25480         * sysdeps/s390/s390-64/configure.in: ... here
25481         * sysdeps/s390/s390-64/elf/configure: Delete file.
25482         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25483         * sysdeps/s390/s390-64/start.S: ... here.
25484         * sysdeps/s390/s390-64/elf/configure: Delete.
25486         * configure.in: Remove support for elf directories in sysdeps.
25488         * configure: Regenerated.
25489         * sysdeps/i386/configure: Regenerated.
25490         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25491         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25492         * sysdeps/s390/s390-32/configure: Regenerated.
25493         * sysdeps/s390/s390-64/configure: Regenerated.
25494         * sysdeps/sh/configure: Regenerated.
25495         * sysdeps/sparc/configure: Regenerated.
25496         * sysdeps/x86_64/configure: Regenerated.
25498 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
25500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25502         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25503         denormal result into account.
25505 2012-03-25  Roland McGrath  <roland@hack.frob.com>
25507         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25508         Reported by Allan McRae <allan@archlinux.org>.
25510 2012-03-23  Jeff Law  <law@redhat.com>
25512         * nss/getnssent.c (__nss_getent): Fix typo.
25514 2012-03-23  David S. Miller  <davem@davemloft.net>
25516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25518 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
25520         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25521         to pad to uint64_t for each field.
25522         (dl_tls_index): Replace unsigned long with uint64_t.
25524 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
25525         Paul Pluzhnikov  <ppluzhnikov@google.com>
25527         [BZ #6528]
25528         * grp/Makefile (otherlibs): Don't set it.
25529         * inet/Makefile (otherlibs): Likewise.
25530         * login/Makefile (otherlibs): Likewise.
25531         * nscd/Makefile (otherlibs): Likewise.
25532         * posix/Makefile (otherlibs): Likewise.
25533         * pwd/Makefile (otherlibs): Likewise.
25534         * rt/Makefile (otherlibs): Likewise.
25535         * sunrpc/Makefile (otherlibs): Likewise.
25536         * nss/Makefile (otherlibs): Likewise.
25537         Add libnss_files to routines and static-only-routines.
25538         ($(objpfx)getent): Remove rule.
25539         * resolv/Makefile: Add libnss_dns and libresolv to routines and
25540         static-only-routines.
25542 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
25544         [BZ #13892]
25545         * math/s_cexp.c: Include <float.h>.
25546         (__cexp): Handle exp result overflowing not necessarily
25547         overflowing both real and imaginary parts of result.
25548         * math/s_cexpf.c: Likewise.
25549         * math/s_cexpl.c: Likewise.
25550         * math/libm-test.inc (cexp_test): Add more tests.
25551         * sysdeps/i386/fpu/libm-test-ulps: Update.
25552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25554 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25556         * include/link.h (ELFW): New macro.
25557         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25558         Replace ELF64_R_TYPE with ELFW(R_TYPE).
25560 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25562         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25563         with uint64_t.
25565 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25567         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25568         declaration.
25569         (struct La_x32_retval): Likewise.
25571 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25573         * sysdeps/x86_64/preconfigure.in: New file.
25574         * sysdeps/x86_64/preconfigure: New generated file.
25576 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
25578         [BZ #13824]
25579         * math/e_exp2l.c: Include <float.h>.
25580         (__ieee754_exp2l): Handle overflow and underflow cases
25581         separately.  Only pass fractional part of argument to
25582         __ieee754_expl.
25583         * math/libm-test.inc (exp2_test): Add more tests.
25585         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25586         negating x to take absolute value.
25587         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25588         Likewise.
25589         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25590         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25591         Likewise.
25592         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25593         computing low part if x was negated.
25594         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25596 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25598         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25599         la_x32_gnu_pltexit.
25600         (pltexit): Cast int_retval to ptrdiff_t.
25601         * elf/tst-auditmod3b.c: Likewise.
25602         * elf/tst-auditmod4b.c: Likewise.
25603         * elf/tst-auditmod5b.c: Likewise.
25604         * elf/tst-auditmod6b.c: Likewise.
25605         * elf/tst-auditmod6c.c: Likewise.
25606         * elf/tst-auditmod7b.c: Likewise.
25608         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25609         and x32_gnu_pltexit.
25611         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25612         __ELF_NATIVE_CLASS.
25613         (La_x32_regs): New macro.
25614         (La_x32_retval): Likewise.
25615         (la_x32_gnu_pltenter): New function prototype.
25616         (la_x32_gnu_pltexit): Likewise.
25618 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
25620         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25621         exponent.
25623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25625         * configure.in (libc_cv_cc_nofma): Check for option to disable
25626         generation of FMA instructions.
25627         * configure: Regenerate.
25628         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25629         * sysdeps/ieee754/dbl-64/Makefile: New file.
25630         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25631         Remove brandred-fma4.
25632         (CFLAGS-brandred-fma4.c): Remove.
25633         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25634         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25635         define.
25636         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25637         define.
25639 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25641         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25642         LLONG_MAX != LONG_MAX.
25643         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25644         (_fitoa_word): Likewise.
25645         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25646         LLONG_MAX != LONG_MAX.
25647         * stdio-common/_itowa.h: Include <_itoa.h>.
25648         (_itowa_word): Use _ITOA_WORD_TYPE on value.
25649         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
25650         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
25651         only if not defined.
25652         (_ITOA_WORD_TYPE): Likewise.
25653         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25654         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25656 2012-03-21  David S. Miller  <davem@davemloft.net>
25658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25660 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25662         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25663         of x86_64 when setting libc_cv_slibdir, libdir and
25664         libc_cv_localedir.
25665         * sysdeps/unix/sysv/linux/configure: Regenerated.
25667 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25669         * manual/lang.texi (Old Varargs): Remove section.
25670         (How Variadic): Update menu.
25671         (va_start): Do not mention varargs.h.
25673 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25674             Joseph Myers  <joseph@codesourcery.com>
25676         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25677         link test.
25678         * configure: Regenerated.
25680 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25682         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25683         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25684         conformtest.pl
25686 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25688         * NOTES: Remove.
25689         * Makefile (files-for-dist): Remove NOTES.
25690         (NOTES): Remove rule.
25691         * README: Don't refer to NOTES.
25692         * manual/creature.texi: Don't include macros.texi.
25693         * manual/intro.texi (creature.texi): Remove comment referring to
25694         NOTES.
25696         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25697         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25698         * configure: Regenerated.
25699         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25700         LIBC_TRY_CC_OPTION.
25701         (libc_cv_as_i686): Likewise.
25702         (libc_cv_cc_avx): Likewise.
25703         (libc_cv_cc_sse2avx): Likewise.
25704         (libc_cv_cc_fma4): Likewise.
25705         (libc_cv_cc_novzeroupper): Likewise.
25706         * sysdeps/i386/configure: Regenerated.
25708         [BZ #13883]
25709         * sysdeps/i386/fpu/s_cexp.S: Remove.
25710         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25711         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25712         * math/libm-test.inc (cexp_test): Add more tests.
25713         * sysdeps/i386/fpu/libm-test-ulps: Update.
25714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25716 2012-03-21  Allan McRae  <allan@archlinux.org>
25718         * timezone/Makefile: Do not install iso3166.tab and zone.tab
25720 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25722         [BZ #13871]
25723         * math/w_exp2.c: Do not include <float.h>.
25724         (o_threshold, u_threshold): Remove.
25725         (__exp2): Calculate result before checking finiteness and calling
25726         __kernel_standard.
25727         * math/w_exp2f.c: Likewise.
25728         * math/w_exp2l.c: Likewise.
25729         * math/libm-test.inc (exp2_test): Require overflow exception for
25730         1e6 input.
25732         [BZ #3866]
25733         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25734         range of signed 64-bit integers before using fistpll.  Remove
25735         checks for whether integers fit in mantissa bits.
25736         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25737         the range of signed 32-bit integers before using fistpl.  Remove
25738         checks for whether integers fit in mantissa bits.
25739         * sysdeps/i386/fpu/e_powl.S (p64): New object.
25740         (__ieee754_powl): Test for y outside the range of signed 64-bit
25741         integers before using fistpll.  Reduce 64-bit values to 63-bit
25742         ones as needed.
25743         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25744         divide-by-zero is raised for zero to large negative powers.
25745         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25746         (__ieee754_powl): Test for y outside the range of signed 64-bit
25747         integers before using fistpll.  Reduce 64-bit values to 63-bit
25748         ones as needed.
25749         * math/libm-test.inc (pow_test): Add more tests.
25751 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25753         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25754         <stdio-common/_itoa.h>.
25755         * debug/segfault.c: Likewise.
25756         * elf/dl-cache.c: Likewise.
25757         * elf/dl-minimal.c: Likewise.
25758         * elf/dl-misc.c: Likewise.
25759         * elf/dl-sysdep.c: Likewise.
25760         * elf/dl-version.c: Likewise.
25761         * elf/rtld.c: Likewise.
25762         * hurd/hurdsock.c: Likewise.
25763         * hurd/lookup-retry.c: Likewise.
25764         * malloc/malloc.c: Likewise.
25765         * malloc/mtrace.c: Likewise.
25766         * nscd/nscd_getgr_r.c: Likewise.
25767         * nscd/nscd_getpw_r.c: Likewise.
25768         * nscd/nscd_getserv_r.c: Likewise.
25769         * posix/getopt_init.c: Likewise.
25770         * posix/wordexp.c: Likewise.
25771         * stdio-common/_itoa.c: Likewise.
25772         * stdio-common/printf_fphex.c: Likewise.
25773         * stdio-common/vfprintf.c: Likewise.
25774         * string/_strerror.c: Likewise.
25775         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25776         * sysdeps/i386/i686/hp-timing.h: Likewise.
25777         * sysdeps/mach/_strerror.c: Likewise.
25778         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25779         * sysdeps/mach/hurd/sethostid.c: Likewise.
25780         * sysdeps/mach/hurd/xmknodat.c: Likewise.
25781         * sysdeps/mach/xpg-strerror.c: Likewise.
25782         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25783         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25784         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25785         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25786         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25787         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25788         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25789         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25790         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25791         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25792         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25793         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25794         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25795         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25796         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25797         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25798         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25799         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25800         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25801         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25802         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25804         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25806         * stdio-common/_itoa.h: Moved to ...
25807         * sysdeps/generic/_itoa.h: Here.
25809         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25811         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25812         instead of "_itoa.h" and "_itowa.h".
25813         * stdio-common/vfprintf.: Likewise.
25815 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25817         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25818         <bits/wordsize.h>.
25819         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25820         (__signbit): Likwise.
25821         (llrintf): Likwise.
25822         (llrint): Likwise.
25824 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25826         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25827         __WORDSIZE != 64.
25829 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
25831         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25832         OVERFLOW_EXCEPTION_OK.
25833         * math/libm-test.inc ("Philosophy"): Update comment about
25834         exception testing.
25835         (OVERFLOW_EXCEPTION): Define.
25836         (OVERFLOW_EXCEPTION_OK): Likewise.
25837         (INVALID_EXCEPTION_OK): Renumber.
25838         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25839         (IGNORE_ZERO_INF_SIGN): Likewise.
25840         (test_exceptions): Handle FE_OVERFLOW.
25841         (exp10_test): Expect overflow exceptions.
25842         (exp2_test): Likewise.
25843         (expm1_test): Likewise.
25844         (nextafter_test): Likewise.
25845         (pow_test): Likewise.
25846         (scalbn_test): Likewise.
25847         (scalbln_test): Likewise.
25849 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25851         * sysdeps/x86_64/bits/atomic.h
25852         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25853         64bit integer.
25854         (atomic_exchange_acq): Likewise.
25855         (__arch_exchange_and_add_body): Likewise.
25856         (__arch_add_body): Likewise.
25857         (atomic_add_negative): Likewise.
25858         (atomic_add_zero): Likewise.
25860 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25862         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25863         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25865 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25867         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25868         Check __x86_64__ instead of __WORDSIZE.
25870 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25872         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25874 2012-03-19  David S. Miller  <davem@davemloft.net>
25876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25878         * sysdeps/sparc/fpu/fenv_private.h: New file.
25879         * sysdeps/sparc/fpu/math_private.h: Use it.
25880         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25881         Remove.
25882         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25883         (libc_feholdexcept_setroundl): Remove.
25884         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25885         Remove.
25886         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25887         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25889 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25891         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25892         int64_t instead of long int.
25893         (INSERT_WORDS64): Likwise.
25895 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25897         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25898         _Unwind_GetCFA return to _Unwind_Ptr first.
25900 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
25902         [BZ #13629]
25903         * math/s_clog.c: Include <float.h>.
25904         (__clog): Scale large or subnormal inputs.
25905         * math/s_clogf.c: Likewise.
25906         * math/s_clogl.c: Likewise.
25907         * math/s_clog10.c: Include <float.h>.
25908         (M_LOG10_2): Define.
25909         (__clog10): Scale large or subnormal inputs.
25910         * math/s_clog10f.c: Likewise.
25911         * math/s_clog10l.c: Likewise.
25912         * math/libm-test.inc (clog_test): Add more tests.
25913         (clog10_test): Likewise.
25914         * sysdeps/i386/fpu/libm-test-ulps: Update.
25915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25917         [BZ #11451]
25918         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25919         x and y.
25920         * math/libm-test.inc (atan2_test): Add another test.
25922         * Makerules (common-objdir-compile): Remove.
25923         * sysdeps/unix/Makefile (config-generated): Do not add
25924         $(unix-generated) to variable.
25925         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25926         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25927         Remove rule.
25928         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25929         Likewise.
25930         [generic bits/local_lim.h] (before-compile): Do not append to
25931         variable.
25932         [generic bits/local_lim.h] (common-generated): Likewise.
25933         [generic sys/param.h] (before-compile): Do not append to variable.
25934         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25935         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25936         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25937         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25938         include.
25939         [generic sys/param.h] (sys/param.h-includes): Remove variable.
25940         [generic sys/param.h] (sys/param.h-includes): Remove rule.
25941         [generic sys/param.h] ($(addprefix
25942         $(common-objpfx),$(sys/param.h-includes))): Likewise.
25943         [generic sys/param.h] (common-generated): Do not append to
25944         variable.
25945         [generic sys/param.h] (sysdep_headers): Likewise.
25946         [generic bits/errno.h] (before-compile): Do not append to
25947         variable.
25948         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25949         rule.
25950         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25951         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25952         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25953         [generic bits/errno.h] (common-generated): Do not append to
25954         variable.
25955         [generic bits/ioctls.h] (before-compile): Do not append to
25956         variable.
25957         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25958         rule.
25959         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25960         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25961         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25962         rule.
25963         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25964         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25965         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25966         [generic bits/ioctls.h] (common-generated): Do not append to
25967         variable.
25968         [generic sys/syscall.h] (syscall.h): Remove variable.
25969         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25970         rule.
25971         [generic sys/syscall.h] (before-compile): Do not append to
25972         variable.
25973         [generic sys/syscall.h] (common-generated): Likewise.
25974         * sysdeps/unix/errnos-tmpl.c: Remove file.
25975         * sysdeps/unix/errnos.awk: Likewise.
25976         * sysdeps/unix/ioctls-tmpl.c: Likewise.
25977         * sysdeps/unix/ioctls.awk: Likewise.
25978         * sysdeps/unix/mk-local_lim.c: Likewise.
25979         * sysdeps/unix/snarf-ioctls: Likewise.
25981 2012-03-19  Richard Henderson  <rth@twiddle.net>
25983         * sysdeps/i386/fpu/fenv_private.h: New file.
25984         * sysdeps/i386/fpu/math_private.h: Use it.
25985         (math_opt_barrier, math_force_eval): Remove.
25986         (libc_feholdexcept_setround_53bit): Remove.
25987         (libc_feupdateenv_53bit): Remove.
25988         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25989         (math_opt_barrier, math_force_eval): Remove.
25990         (libc_feholdexcept): Remove.
25991         (libc_feholdexcept_setround): Remove.
25992         (libc_fetestexcept, libc_fesetenv): Remove.
25993         (libc_feupdateenv_test): Remove.
25994         (libc_feupdateenv, libc_feholdsetround): Remove.
25995         (libc_feresetround): Remove.
25997         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25998         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26000         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26001         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26002         (libc_feupdateenv_testl): New.
26003         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26004         (libc_feupdateenv_testf): New.
26005         (libc_feupdateenv): Use libc_feupdateenv_test.
26006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26007         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26009         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26010         (libc_feholdsetroundf, libc_feholdsetroundl): New.
26011         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26012         (libc_feresetround_noex): New.
26013         (libc_feresetround_noexf): New.
26014         (libc_feresetround_noexl): New.
26015         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26016         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26017         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26018         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26019         SET_RESTORE_ROUND.
26020         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26021         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26022         (__cos): Likewise.
26023         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26024         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26025         SET_RESTORE_ROUND_NOEX.
26026         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26027         SET_RESTORE_ROUND_NOEXF.
26028         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26029         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26030         (libc_feholdsetroundf): New.
26031         (libc_feresetround, libc_feresetroundf): New.
26033         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26034         (libc_feholdexcept_setround_53bit): Convert from macro to function.
26035         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
26037         * sysdeps/generic/math_private.h: Include <fenv.h>.
26038         (default_libc_feholdexcept): New.
26039         (default_libc_feholdexcept_setround): New.
26040         (default_libc_fesetenv, default_libc_feupdateenv): New.
26041         (libc_feholdexcept): Only define if undefined.
26042         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26043         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26044         (libc_feholdexcept_setroundl): Likewise.
26045         (libc_feholdexcept_setround_53bit): Likewise.
26046         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26047         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26048         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26049         (libc_feupdateenv_53bit): Likewise.
26050         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26051         (libc_feholdexcept): Convert from macro to inline function.
26052         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26053         (libc_fesetenv, libc_feupdateenv): Likewise.
26055         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26056         not previously defined.
26057         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26058         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26059         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26060         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26061         * sysdeps/ieee754/flt-32/math_private.h: New file.
26062         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26063         math_private.h below SET_FLOAT_WORD.
26064         (__isnan, __isinf_ns, __finite): Remove.
26065         (__isnanf, __isinf_nsf, __finitef): Remove.
26067 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
26069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26071 2012-03-17  David S. Miller  <davem@davemloft.net>
26073         [BZ #6471]
26074         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26075         for 2.16.
26077 2012-03-16  David S. Miller  <davem@davemloft.net>
26079         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26080         warnings.
26082         [BZ #6471]
26083         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26084         properly.
26085         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26086         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26087         sysdep_routines when subdir is sysvipc.
26088         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26089         __getshmlba helper.
26091         * sysdeps/sparc/fpu/libm-test/ulps: Update.
26093 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26095         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26096         [__LP64__].
26098 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26100         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26101         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26102         (__lround): Renamed to ...
26103         (__llround): This.  Replace long int with long long int.
26104         Define lround functions as aliases of llround functions.
26105         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26107 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26109         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26110         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
26111         adresses to uintptr_t.  Replace "long int" and "unsigned long
26112         int" with "greg_t" on va_arg.
26114 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26116         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26117         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26119         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26120         Move e_machine check before EI_CLASS check.  Handle x32
26121         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26122         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26123         SKIP_EM_IA_64 and include
26124         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26126         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26127         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26128         (add_system_dir): New macro.
26130         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26131         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26133 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26135         [BZ #2551]
26136         [BZ #2552]
26137         [BZ #2553]
26138         [BZ #2554]
26139         [BZ #2562]
26140         [BZ #2563]
26141         [BZ #2565]
26142         [BZ #2566]
26143         [BZ #2576]
26144         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26145         (y0): Likewise.
26146         * math/w_j0f.c (j0f): Likewise.
26147         (y0f): Likewise.
26148         * math/w_j0l.c (__j0l): Likewise.
26149         (__y0l): Likewise.
26150         * math/w_j1.c (j1): Likewise.
26151         (y1): Likewise.
26152         * math/w_j1f.c (j1f): Likewise.
26153         (y1f): Likewise.
26154         * math/w_j1l.c (__j1l): Likewise.
26155         (__y1l): Likewise.
26156         * math/w_jn.c (jn): Likewise.
26157         (yn): Likewise.
26158         * math/w_jnf.c (jnf): Likewise.
26159         (ynf): Likewise.
26160         * math/w_jnl.c (__jnl): Likewise.
26161         (__ynl): Likewise.
26162         * math/libm-test.inc (j0_test): Add more tests.
26163         (j1_test): Likewise.
26164         (jn_test): Likewise.  Add trailing semicolon to existing test.
26165         (y0_test): Likewise.
26166         (y1_test): Likewise.
26167         * sysdeps/i386/fpu/libm-test-ulps: Update.
26168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26170         [BZ #13851]
26171         [BZ #13854]
26172         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26173         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26174         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26175         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26176         (__tanl): Set errno for infinite argument.
26177         * sysdeps/i386/fpu/mptan.c: Remove.
26178         * sysdeps/i386/fpu/s_tan.S: Likewise.
26179         * sysdeps/i386/fpu/s_tanl.S: Likewise.
26180         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26181         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26182         * math/libm-test.inc (tan_test): Add more tests and enable more
26183         tests for double and long double.
26184         * sysdeps/i386/fpu/libm-test-ulps: Update.
26185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26187 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
26189         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26190         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26192 2012-03-16  Roland McGrath  <roland@hack.frob.com>
26194         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26195         * configure.in: Use it for both main tree and add-ons.
26196         * configure: Regenerated.
26198 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26200         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26202 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26204         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26205         in comment.
26207         [BZ #13851]
26208         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26209         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26210         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26211         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26212         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26213         infinite argument.
26214         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26216         != 0 for prec == 2.
26217         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26218         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26219         * sysdeps/i386/fpu/s_cosl.S: Likewise.
26220         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26221         * sysdeps/i386/fpu/s_sinl.S: Likewise.
26222         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26223         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26224         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26225         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26226         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26227         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26228         * math/libm-test.inc (cos_test): Add more tests and enable more
26229         tests for long double.
26230         (sin_test): Likewise.
26231         (sincos_test): Likewise.
26232         * sysdeps/i386/fpu/libm-test-ulps: Update.
26233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26235 2012-03-16  David S. Miller  <davem@davemloft.net>
26237         * sysdeps/sparc/fpu/math_private.h: New file.
26239 2012-03-15  David S. Miller  <davem@davemloft.net>
26241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26242         file.
26243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26245         file.
26246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26251         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26252         sysdep routines.
26253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26255         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26256         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26258         * sysdeps/sparc/sparc-ifunc.h: New file.
26259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26260         sparc-ifunc.h
26261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26263         Likewise.
26264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26265         Likewise.
26266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26270         Likewise.
26271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26276         Likewise.
26277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26278         Likewise.
26279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26286         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26297         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26298         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26301         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26302         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26304 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26306         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26307         scaling.
26308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26310 2012-03-15  Andreas Jaeger  <aj@suse.de>
26312         [BZ #13852]
26313         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26314         ieee754/flt-32 implementation for sin, cos and sincos.
26315         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26316         * sysdeps/i386/fpu/s_cosf.S: Likewise.
26317         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26318         * sysdeps/i386/fpu/s_sinf.S: Likewise.
26319         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26320         ieee754/flt-32 implementation for tan.
26322         * math/libm-test.inc (cos_test): Enable some large input tests for
26323         float as well
26324         (sin_test): Likewise.
26325         (sincos_test): Likewise.
26326         (tan_test): Add tests for large input.
26328         * sysdeps/i386/fpu/libm-test-ulps: Update.
26330 2012-03-15  Andreas Jaeger  <aj@suse.de>
26332         [BZ #13658]
26333         * math/libm-test.inc (cos_test): Add more test cases.
26334         (sin_test): Likewise.
26335         (sincos_test): Likewise.
26337 2012-03-15  Andreas Jaeger  <aj@suse.de>
26339         [BZ #13837]
26340         * math/libm-test.inc (cos_test): Add a test case for large input
26341         value.
26342         (sin_test): Likewise.
26343         (sincos_test): Likewise.
26345 2012-03-15  Andreas Jaeger  <aj@suse.de>,
26346         Joseph Myers  <joseph@codesourcery.com>
26348         [BZ #13658]
26349         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26350         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26351         * sysdeps/i386/fpu/branred.c: Likewise.
26352         * sysdeps/i386/fpu/dosincos.c: Likewise.
26353         * sysdeps/i386/fpu/mpa.c: Likewise.
26354         * sysdeps/i386/fpu/s_cos.S: Likewise.
26355         * sysdeps/i386/fpu/s_sin.S: Likewise.
26356         * sysdeps/i386/fpu/s_sincos.S: Likewise.
26357         * sysdeps/i386/fpu/sincos32.c: Likewise.
26359         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26360         Define.
26361         (libc_feupdateenv_53bit): Define.
26362         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26363         Define.
26364         (libc_feupdateenv_53bit): Define.
26366         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26367         53 bit (without extend i386 double precision).
26369         * math/libm-test.inc (sincos_test): Add tests for large input.
26370         (sin): Likewise.
26371         (cos): Likewise.
26373         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26375 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26379 2012-03-15  David S. Miller  <davem@davemloft.net>
26381         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26382         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26383         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26384         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26397         file.
26398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26400         file.
26401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26403         file.
26404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26406         file.
26407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26408         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26409         fmin/fmax sysdep routines.
26410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26412 2012-03-14  David S. Miller  <davem@davemloft.net>
26414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26418         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26419         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26420         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26421         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26423         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26434         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26435         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26436         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26437         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26438         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26439         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26440         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26441         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26442         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26443         routines.
26444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26445         file.
26446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26448         file.
26449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26451         file.
26452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26454         file.
26455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26457         file.
26458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26460         file.
26461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26462         file.
26463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26464         file.
26465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26466         file.
26467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26468         New file.
26469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26470         file.
26471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26472         file.
26473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26475         file.
26476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26478         file.
26479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26481         file.
26482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26484         VIS3 routines.
26486         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26487         New file.
26489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26491         * sysdeps/sparc/configure.in: New file.
26492         * sysdeps/sparc/configure: Generate.
26493         * configure.in (libc_cv_sparc_as_vis3): Substitute.
26494         * configure: Regenerate.
26495         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26496         * config.make.in (have-as-vis3): New.
26497         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26498         available use -Av9d instead of -Av9a.
26499         * sysdeps/sparc/sparc64/Makefile: Likewise.
26500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26502         New file.
26503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26504         file.
26505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26506         New file.
26507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26508         file.
26509         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26510         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26511         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26512         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26513         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26515         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26516         fzeros/fnegs to load 0x80000000 into a float register instead of
26517         using the stack.
26518         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26520 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
26522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26523         bits/syscall.h.
26524         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26525         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26526         ($(inst_includedir)/bits/syscall.h): Remove rule.
26527         ($(objpfx)bits/syscall.d): Include instead of
26528         $(objpfx)syscall-list.d.
26529         (generated): Change syscall-list.h and syscall-list.d to
26530         bits/syscall.h and bits/syscall.d.
26532 2012-03-14  Roland McGrath  <roland@hack.frob.com>
26534         [BZ #13846]
26535         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26537 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
26539         [BZ #13841]
26540         * math/s_csqrt.c: Include <float.h>.
26541         (__csqrt): Scale large or subnormal inputs.
26542         * math/s_csqrtf.c: Likewise.
26543         * math/s_csqrtl.c: Likewise.
26544         * math/libm-test.inc (csqrt_test): Add more tests.
26545         * sysdeps/i386/fpu/libm-test-ulps: Update.
26546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26548         [BZ #13840]
26549         * math/libm-test.inc (hypot_test): Add more tests.
26551 2012-03-13  David S. Miller  <davem@davemloft.net>
26553         [BZ #13840]
26554         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26555         double-precision for the calculation instead of scaling.
26557 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
26559         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26560         manipulate bits before adding and subtracting TWO52[sx].
26561         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26562         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26563         Likewise.
26564         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26566 2012-03-13  David S. Miller  <davem@davemloft.net>
26568         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26569         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26570         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26571         rtld-global-offsets.h
26572         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26574         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26575         large parameters.
26577         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26579         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26580         'err' in the ifdef scope in which it is actually used.
26582         * nss/nss_db/db-init.c: Include string.h
26584 2012-03-12  David S. Miller  <davem@davemloft.net>
26586         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26587         masking out of the most significant byte of random value used.
26588         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26589         Fix coding style in previous change.
26591         * sysdeps/unix/sysv/linux/kernel-features.h
26592         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26593         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26594         expression.
26595         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26596         later.
26598 2012-03-11  David S. Miller  <davem@davemloft.net>
26600         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26601         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26602         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26603         for 'resultvar' otherwise things get truncated on 64-bit.
26605         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26606         Fix masking out of the most significant byte of random value used.
26608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26610 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
26612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26614 2012-03-09  David S. Miller  <davem@davemloft.net>
26616         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26617         variables with appropriate CPP guards.
26618         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26619         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
26620         on resulting framesize and the management of the outregs buffer for pltexit.
26621         Preserve floating point return values across _dl_call_pltexit call.
26622         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26623         framesize and the management of the outregs buffer for pltexit.
26624         Preserve floating point return values across _dl_call_pltexit
26625         call.
26626         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26627         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26628         (print_exit): Fix format string for return register value.
26630 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
26632         * sunrpc/Makefile (others): Add rpcgen.
26633         ($(objpfx)rpcgen): Remove special build rule and dependency on
26634         libc.
26635         * sunrpc/rpcgen.c: New file.
26637 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
26639         [BZ #13673]
26640         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26641         * stdio-common/bug-vfprintf-nargs.c: Likewise.
26642         * sysdeps/i386/crti.S: Likewise.
26643         * sysdeps/i386/crtn.S: Likewise.
26644         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26645         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26646         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26647         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26648         * sysdeps/sh/crti.S: Likewise.
26649         * sysdeps/sh/crtn.S: Likewise.
26650         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26652         [BZ #13673]
26653         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26654         with URL.
26655         * locale/programs/locfile-kw.gperf: Likewise.
26656         * locale/programs/charmap-kw.h: Regenerated.
26657         * locale/programs/locfile-kw.h: Likewise.
26659         [BZ #13673]
26660         * intl/plural.y: Replace FSF snail mail address with URL.
26661         * intl/plural.c: Regenerated.
26663 2012-03-09  Richard Henderson  <rth@twiddle.net>
26665         * include/math_private.h: Remove file.
26666         * math/math_private.h: Move file ...
26667         * sysdeps/generic/math_private.h: ... here.
26669         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26670         * sysdeps/powerpc/fpu/math_private.h: Likewise.
26671         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26673         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26674         and <math_private.h>.
26675         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26676         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26677         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26678         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26679         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26680         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26681         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26682         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26683         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26684         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26685         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26686         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26687         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26688         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26689         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26690         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26691         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26692         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26693         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26694         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26696         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26697         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26698         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26699         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26700         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26701         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26702         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26703         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26704         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26705         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26706         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26707         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26708         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26709         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26710         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26711         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26712         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26713         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26714         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26715         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26716         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26717         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26718         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26719         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26720         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26721         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26722         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26723         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26724         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26725         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26726         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26727         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26728         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26729         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26730         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26731         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26732         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26733         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26734         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26735         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26736         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26737         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26738         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26739         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26740         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26741         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26742         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26743         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26744         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26745         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26746         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26747         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26748         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26749         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26752         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26753         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26754         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26755         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26756         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26757         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26758         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26759         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26761         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26762         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26763         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26764         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26765         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26766         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26767         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26768         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26769         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26770         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26771         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26772         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26773         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26774         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26775         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26776         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26777         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26778         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26779         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26780         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26781         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26782         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26783         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26784         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26785         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26786         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26787         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26788         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26789         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26790         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26791         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26792         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26793         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26794         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26795         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26796         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26797         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26798         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26799         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26800         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26801         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26802         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26803         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26804         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26805         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26806         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26807         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26808         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26809         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26810         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26811         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26812         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26813         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26814         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26815         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26816         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26817         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26818         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26819         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26820         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26821         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26822         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26823         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26824         * sysdeps/ieee754/k_standard.c: Likewise.
26825         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26826         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26827         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26828         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26829         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26830         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26831         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26832         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26833         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26834         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26835         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26836         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26837         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26838         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26839         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26840         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26841         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26842         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26843         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26844         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26845         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26846         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26847         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26848         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26849         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26850         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26851         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26852         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26853         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26854         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26855         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26856         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26857         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26858         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26859         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26860         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26861         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26862         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26863         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26864         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26865         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26866         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26867         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26868         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26869         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26870         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26871         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26872         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26873         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26874         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26875         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26876         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26877         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26878         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26879         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26880         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26881         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26882         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26883         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26884         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26885         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26886         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26887         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26888         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26889         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26890         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26891         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26892         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26893         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26894         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26895         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26896         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26897         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26898         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26899         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26900         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26901         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26902         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26903         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26904         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26905         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26906         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26907         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26908         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26909         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26910         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26911         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26912         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26913         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26914         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26915         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26916         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26917         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26918         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26919         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26920         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26921         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26922         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26923         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26924         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26925         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26926         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26927         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26928         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26929         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26930         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26931         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26932         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26933         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26934         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26935         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26936         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26937         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26938         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26939         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26940         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26941         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26942         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26943         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26944         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26945         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26946         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26947         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26948         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26949         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26950         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26951         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26952         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26953         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26954         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26955         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26956         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26957         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26958         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26959         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26960         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26961         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26962         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26963         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26964         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26965         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26966         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26967         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26968         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26969         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26970         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26971         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26972         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26973         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26974         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26975         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26976         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26977         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26978         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26979         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26980         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26981         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26982         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26983         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26984         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26985         * sysdeps/ieee754/s_lib_version.c: Likewise.
26986         * sysdeps/ieee754/s_matherr.c: Likewise.
26987         * sysdeps/ieee754/s_signgam.c: Likewise.
26988         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26989         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26990         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26991         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26992         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26993         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26994         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26995         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26996         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26997         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26998         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26999         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27000         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27001         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27002         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27003         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27004         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27005         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27006         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27008         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27010 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27012         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27013         * sunrpc/rpc_main.c: Likewise.
27014         * sunrpc/rpc_svcout.c: Likewise.
27016 2012-03-09  David S. Miller  <davem@davemloft.net>
27018         * include/math_private.h: New file.
27020 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27022         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27023         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27024         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27025         from <bits/socket_type.h>.
27026         (enum __socket_type): Don't define here.
27027         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27028         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27029         bits/socket_type.h.
27031         [BZ #13566]
27032         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27033         checking __USE_GNU.
27035         * Makerules ($(inst_includedir)/%.h): New rule.
27036         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27037         (install-others): Remove variable setting.
27038         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27040 2012-03-08  Richard Henderson  <rth@twiddle.net>
27042         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27043         from macro to inline function; merge with the
27044         !__LIBC_INTERNAL_MATH_INLINES version.
27045         (__ieee754_sqrtf): Likewise.
27047         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27048         to inline function.
27049         (__rintf, __floor, __floorf): Likewise.
27051         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27052         macro to inline function.
27053         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27055         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27056         not <math/math_private.h>.
27058 2012-03-08  David S. Miller  <davem@davemloft.net>
27060         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27061         copyright year.
27062         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27064 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
27066         * resolv/gai_misc.c (handle_requests): Fix struct timespec
27067         normalization.
27068         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27069         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27071 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
27073         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
27074         be defined individually, they must be defined as a block.  Define
27075         S for printing a string instead of hidint the different by using a
27076         macro for adding the 'l'.
27077         * stdio-common/tst-fphex-wide.c: Adjust.
27079 2012-03-07  Marek Polacek  <polacek@redhat.com>
27081         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27083 2012-03-08  Marek Polacek  <polacek@redhat.com>
27085         [BZ #13806]
27086         * stdio-common/Makefile (tests): Add tst-fphex-wide.
27087         * stdio-common/tst-fphex.c: Define a few macros to make the
27088         test reusable.  Use them.
27089         * stdio-common/tst-fphex-wide.c: New file.
27091 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
27093         [BZ #6911]
27094         * manual/macros.texi (gnusystems): New macro.
27095         (nongnusystems): Likewise.
27096         (gnulinuxhurdsystems): Likewise.
27097         (gnuhurdsystems): Likewise..
27098         (gnulinuxsystems): Likewise.
27099         * manual/charset.texi: Use new macros or @theglibc{} to refer to
27100         variants of the GNU system, not "GNU system".
27101         * manual/conf.texi: Likewise.
27102         * manual/errno.texi: Likewise.  Update example of errno macro
27103         expansion.
27104         * manual/filesys.texi: Likewise.
27105         (getumask): Document as specific to GNU/Hurd.
27106         * manual/install.texi: Likewise.  Reword some references to
27107         GNU/Linux.
27108         * manual/intro.texi: Likewise.
27109         * manual/io.texi: Likewise.
27110         (File Name Portability): Detail which constraints are inapplicable
27111         to all GNU systems and which are only inapplicable to GNU/Hurd.
27112         * manual/job.texi: Likewise.
27113         * manual/llio.texi: Likewise.
27114         (O_NOCTTY): Document as present on GNU/Linux.
27115         * manual/maint.texi: Likewise.
27116         * manual/memory.texi: Likewise.
27117         * manual/pattern.texi: Likewise.
27118         * manual/pipe.texi: Likewise.
27119         * manual/process.texi: Likewise.
27120         * manual/resource.texi: Likewise.
27121         (RUSAGE_CHILDREN): Remove statement about specifying a particular
27122         child on GNU/Hurd.
27123         * manual/setjmp.texi: Likewise.
27124         * manual/signal.texi: Likewise.
27125         * manual/startup.texi: Likewise.
27126         * manual/stdio.texi: Likewise.
27127         * manual/terminal.texi: Likewise.
27128         (ONLCR): Document as POSIX.
27129         (OXTABS): Document availability on GNU/Linux as XTABS.
27130         (ONOEOT): Document availability separately from other bits.
27131         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27132         * manual/time.texi: Likewise.
27133         * manual/users.texi: Likewise.
27134         * INSTALL: Regenerated.
27135         * sysdeps/gnu/errlist.c: Regenerated.
27137         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27138         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27139         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
27140         puts.
27141         * configure: Regenerated.
27143 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
27145         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27146         default includes instead of AC_HEADER_CHECK.
27147         * sysdeps/i386/configure: Regenerated.
27149         [BZ #10716]
27150         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27151         * math/s_cacoshf.c (__cacoshf): Likewise.
27152         * math/s_cacoshl.c (__cacoshl): Likewise.
27153         * math/s_casinh.c (__casinh): Set signs of result from argument.
27154         * math/s_casinhf.c (__casinhf): Likewise.
27155         * math/s_casinhl.c (__casinhl): Likewise.
27156         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27157         (casinh_test): Add more tests.
27158         * sysdeps/i386/fpu/libm-test-ulps: Update.
27159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27161 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
27163         * po/zh_TW.po: Update from translation team.
27165         * login/Makefile (distribute): Remove variable.
27166         * catgets/Makefile: Likewise.
27167         * mach/Makefile: Likewise.
27168         * malloc/Makefile: Likewise.
27169         * misc/Makefile: Likewise.
27170         * iconv/Makefile: Likewise.
27171         * nscd/Makefile: Likewise.
27172         * hurd/Makefile: Likewise.
27173         * manual/Makefile: Likewise.
27174         * locale/Makefile: Likewise.
27175         * intl/Makefile: Likewise.
27176         * conform/Makefile: Likewise.
27177         * nss/Makefile: Likewise.
27178         * time/Makefile: Likewise.
27179         * soft-fp/Makefile: Likewise.
27180         * dirent/Makefile: Likewise.
27181         * gmon/Makefile: Likewise.
27182         * po/Makefile: Likewise.
27183         * rt/Makefile: Likewise.
27184         * socket/Makefile: Likewise.
27185         * math/Makefile: Likewise.
27186         * signal/Makefile: Likewise.
27187         * debug/Makefile: Likewise.
27188         * elf/Makefile: Likewise.
27189         * timezone/Makefile: Likewise.
27190         * stdlib/Makefile: Likewise.
27191         * iconvdata/Makefile: Likewise.
27192         * sunrpc/Makefile: Likewise.
27193         * io/Makefile: Likewise.
27194         * argp/Makefile: Likewise.
27195         * inet/Makefile: Likewise.
27196         * hesiod/Makefile: Likewise.
27197         * grp/Makefile: Likewise.
27198         * csu/Makefile: Likewise.
27199         * wctype/Makefile: Likewise.
27200         * crypt/Makefile: Likewise.
27201         * libio/Makefile: Likewise.
27202         * string/Makefile: Likewise.
27203         * nis/Makefile: Likewise.
27204         * resolv/Makefile: Likewise.
27205         * stdio-common/Makefile: Likewise.
27206         * wcsmbs/Makefile: Likewise.
27207         * dlfcn/Makefile: Likewise.
27208         * posix/Makefile: Likewise.
27210         [BZ #6959]
27211         * timezone/Makefile: Don't install timezone files, just the programs
27212         and scripts.
27214 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
27216         * nss/databases.def: Add missing gshadow entry.
27218         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
27220 2012-03-06  Marek Polacek  <polacek@redhat.com>
27222         [BZ #13726]
27223         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27224         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27225         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27226         * stdio-common/tst-long-dbl-fphex.c: New file.
27228 2012-03-06  David S. Miller  <davem@davemloft.net>
27230         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27231         (set_obp_int): New function.
27232         (get_obp_int): New function.
27233         (__get_clockfreq_via_dev_openprom): Likewise.
27234         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27235         Avoid unused variable warnings on 'val' and use builtin_expect.
27236         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27237         __builtin_expect.
27238         (INLINE_CLONE_SYSCALL): Likewise.
27240 2012-03-05  David S. Miller  <davem@davemloft.net>
27242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27244 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
27246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27248         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27249         only for |x| >= 40.
27250         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27252 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27254         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27255         Replace gettimeofday with __vdso_gettimeofday.
27257         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27258         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27259         __vdso_clock_gettime and __vdso_getcpu.
27261         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27262         time with __vdso_time.
27264 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
27266         * manual/lang.texi (size_t): Note types to which size_t may be
27267         equivalent with the GNU C Library, but do not describe when
27268         differences between them are significant.
27270 2012-03-05  Andreas Jaeger  <aj@suse.de>
27272         * sysdeps/i386/fpu/libm-test-ulps: Update.
27274 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
27276         [BZ #3976]
27277         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27278         (__ieee754_pow): Save and restore rounding mode and use
27279         round-to-nearest for main computations.
27280         * math/libm-test.inc (pow_test_tonearest): New function.
27281         (pow_test_towardzero): Likewise.
27282         (pow_test_downward): Likewise.
27283         (pow_test_upward): Likewise.
27284         (main): Call the new functions.
27285         * sysdeps/i386/fpu/libm-test-ulps: Update.
27286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27288         [BZ #3976]
27289         * math/libm-test.inc (cosh_test_tonearest): New function.
27290         (cosh_test_towardzero): Likewise.
27291         (cosh_test_downward): Likewise.
27292         (cosh_test_upward): Likewise.
27293         (sinh_test_tonearest): Likewise.
27294         (sinh_test_towardzero): Likewise.
27295         (sinh_test_downward): Likewise.
27296         (sinh_test_upward): Likewise.
27297         (main): Call the new functions.
27298         * sysdeps/i386/fpu/libm-test-ulps: Update.
27299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27301 2012-03-05  Tom de Vries  <tom@codesourcery.com>
27303         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27304         default stack guard is set in last bytes.
27305         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27307 2012-03-05  Kees Cook  <keescook@chromium.org>
27309         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27311         [BZ #13656]
27312         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27313         possibly allocate from heap instead of stack.
27314         * stdio-common/bug-vfprintf-nargs.c: New file.
27315         * stdio-common/Makefile (tests): Add nargs overflow test.
27317 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
27319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27321 2012-03-03  Marek Polacek  <polacek@redhat.com>
27323         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27324         * math/math_private.h: Likewise.
27325         * stdlib/tst-strtod.c: Likewise.
27326         * sysdeps/i386/i486/bits/atomic.h: Likewise.
27327         * sysdeps/x86_64/bits/atomic.h: Likewise.
27329 2012-03-02  David S. Miller  <davem@davemloft.net>
27331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27335         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27336         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27337         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27338         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27340 2012-03-02  Roland McGrath  <roland@hack.frob.com>
27342         [BZ #13792]
27343         * manual/examples/README: New file, says the example source files
27344         can be used under GPL>=2.
27345         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27346         line containing just "*/".
27347         * manual/examples/add.c: Add copyright header (GPL>=2).
27348         * manual/examples/argp-ex1.c: Likewise.
27349         * manual/examples/argp-ex2.c: Likewise.
27350         * manual/examples/argp-ex3.c: Likewise.
27351         * manual/examples/argp-ex4.c: Likewise.
27352         * manual/examples/atexit.c: Likewise.
27353         * manual/examples/db.c: Likewise.
27354         * manual/examples/dir.c: Likewise.
27355         * manual/examples/dir2.c: Likewise.
27356         * manual/examples/execinfo.c: Likewise.
27357         * manual/examples/filecli.c: Likewise.
27358         * manual/examples/filesrv.c: Likewise.
27359         * manual/examples/fmtmsgexpl.c: Likewise.
27360         * manual/examples/genpass.c: Likewise.
27361         * manual/examples/inetcli.c: Likewise.
27362         * manual/examples/inetsrv.c: Likewise.
27363         * manual/examples/isockad.c: Likewise.
27364         * manual/examples/longopt.c: Likewise.
27365         * manual/examples/memopen.c: Likewise.
27366         * manual/examples/memstrm.c: Likewise.
27367         * manual/examples/mkfsock.c: Likewise.
27368         * manual/examples/mkisock.c: Likewise.
27369         * manual/examples/mygetpass.c: Likewise.
27370         * manual/examples/pipe.c: Likewise.
27371         * manual/examples/popen.c: Likewise.
27372         * manual/examples/rprintf.c: Likewise.
27373         * manual/examples/search.c: Likewise.
27374         * manual/examples/select.c: Likewise.
27375         * manual/examples/setjmp.c: Likewise.
27376         * manual/examples/sigh1.c: Likewise.
27377         * manual/examples/sigusr.c: Likewise.
27378         * manual/examples/stpcpy.c: Likewise.
27379         * manual/examples/strdupa.c: Likewise.
27380         * manual/examples/strftim.c: Likewise.
27381         * manual/examples/strncat.c: Likewise.
27382         * manual/examples/subopt.c: Likewise.
27383         * manual/examples/swapcontext.c: Likewise.
27384         * manual/examples/termios.c: Likewise.
27385         * manual/examples/testopt.c: Likewise.
27386         * manual/examples/testpass.c: Likewise.
27387         * manual/examples/timeval_subtract.c: Likewise.
27389         [BZ #13792]
27390         * manual/time.texi (Elapsed Time): Move timeval_subtract example
27391         function to ...
27392         * manual/timeval_subtract.c.texi: ... here, new file.
27394 2012-03-02  David S. Miller  <davem@davemloft.net>
27396         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27398 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
27400         [BZ #3976]
27401         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27402         (__sin): Save and restore rounding mode and use round-to-nearest
27403         for all computations.
27404         (__cos): Save and restore rounding mode and use round-to-nearest
27405         for all computations.
27406         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27407         <fenv.h>.
27408         (tan): Save and restore rounding mode and use round-to-nearest for
27409         all computations.
27410         * math/libm-test.inc (cos_test_tonearest): New function.
27411         (cos_test_towardzero): Likewise.
27412         (cos_test_downward): Likewise.
27413         (cos_test_upward): Likewise.
27414         (sin_test_tonearest): Likewise.
27415         (sin_test_towardzero): Likewise.
27416         (sin_test_downward): Likewise.
27417         (sin_test_upward): Likewise.
27418         (tan_test_tonearest): Likewise.
27419         (tan_test_towardzero): Likewise.
27420         (tan_test_downward): Likewise.
27421         (tan_test_upward): Likewise.
27422         (main): Call the new functions.
27423         * sysdeps/i386/fpu/libm-test-ulps: Update.
27424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27426         [BZ #10135]
27427         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27428         small n, then large n, before computing and testing k+n.
27429         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27430         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27431         Likewise.
27432         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27433         Likewise.
27434         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27435         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27436         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27437         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27438         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27439         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27440         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27441         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27442         * math/libm-test.inc (scalbn_test): Add more tests.
27443         (scalbln_test): Likewise.
27445         * manual/filesys.texi (mode_t): Describe constraints on size and
27446         signedness, not exact equivalence to a particular type.
27447         (ino_t): Likewise.
27448         (ino64_t): Likewise.
27449         (dev_t): Likewise.
27450         (nlink_t): Likewise.
27451         (blkcnt_t): Likewise.
27452         (blkcnt64_t): Likewise.
27453         * manual/llio.texi (off_t): Likewise.
27455         [BZ #3976]
27456         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27457         (__ieee754_exp): Save and restore rounding mode and use
27458         round-to-nearest for all computations.
27459         * math/libm-test.inc (exp_test_tonearest): New function.
27460         (exp_test_towardzero): Likewise.
27461         (exp_test_downward): Likewise.
27462         (exp_test_upward): Likewise.
27463         (main): Call the new functions.
27464         * sysdeps/i386/fpu/libm-test-ulps: Update.
27465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27467 2012-03-01  Chris Demetriou  <cgd@google.com>
27469         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27470         have predictable order.
27472 2012-03-01  David S. Miller  <davem@davemloft.net>
27474         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27476         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27477         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27478         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27479         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27481         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27482         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27483         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27485         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27486         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27487         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27488         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27489         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27493         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27494         * sysdeps/sparc/fpu/libm-test-ulps: to here.
27495         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27497         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27498         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27499         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27500         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27501         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27502         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27503         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27504         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27505         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27506         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27507         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27508         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27509         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27510         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27511         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27513         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27514         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27515         * sysdeps/sparc/elf/configure: Regenerated.
27517 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
27519         * configure.in (AS, LD): Require binutils 2.20 or later.
27520         * configure: Regenerated.
27521         * manual/install.texi (Tools for Compilation): Give binutils 2.20
27522         as required minimum version.
27523         * INSTALL: Regenerated.
27525         [BZ #2541]
27526         [BZ #4108]
27527         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27528         before squaring exponent.
27529         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27530         bottom long double and 27 bits of top long double before squaring
27531         exponent.
27532         * math/libm-test.inc (erfc_test): Add more tests.
27533         * sysdeps/i386/fpu/libm-test-ulps: Update.
27534         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27537 2012-03-01  Kai Tietz  <ktietz@redhat.com>
27539         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27540         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27541         containing bit-fields.
27542         * soft-fp/extended.h (_FP_UNION_E): Likewise.
27543         * soft-fp/single.h (_FP_UNION_S): Likewise.
27544         * soft-fp/double.h (_FP_UNION_D): Likewise.
27546 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
27548         [BZ #13786]
27549         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27550         not include ../strcmp.S.
27551         [USE_AS_STRNCASECMP_L]: Likewise.
27552         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27553         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27554         * sysdeps/i386/i686/multiarch/strncase_l-c.c
27555         (__strncasecmp_l_ia32): Define as alias to
27556         __strncasecmp_l_nonascii.
27558         [BZ #5794]
27559         * math/libm-test.inc (expm1_test): Add test for bug 5794.
27560         * sysdeps/i386/fpu/libm-test-ulps: Update.
27561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27563         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27566 2012-02-29  Jeff Law  <law@redhat.com>
27568         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27569         out of bounds read.
27571 2012-02-29  Marek Polacek  <polacek@redhat.com>
27573         [BZ #13706]
27574         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27575         * elf/Makefile: Add rules to run tst-unused-dep.out.
27577 2012-02-28  David S. Miller  <davem@davemloft.net>
27579         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27580         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27581         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27582         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27583         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27584         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27586 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
27588         * math/libm-test.inc (llround_test): Move one test from
27589         lround_test.  Use TEST_f_L in moved test.
27590         (lround_test): Move misplaced test to llround_test.  Add testcase
27591         from bug 2561.
27593 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
27595         * sysdeps/x86_64/fpu/e_expf.S: New file.
27596         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27598 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
27600         [BZ #13637]
27601         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27602         of remain_len that may cause incomplete multi-byte character and
27603         false match.
27604         * posix/bug-regex33.c: New file.
27605         * posix/Makefile (tests): Add bug-regex33.
27607 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
27609         * manual/macros.texi: New file.
27610         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27611         * manual/libc.texinfo: Include macros.texi.
27612         * manual/creatute.texi: Likewise.
27613         * manual/install.texi: Likewise.
27614         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27615         @glibcadj{} in references to the GNU C Library.
27616         * manual/charset.texi: Likewise.
27617         * manual/conf.texi: Likewise.
27618         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
27619         when not using those macros.
27620         * manual/creature.texi: Likewise.
27621         * manual/crypt.texi: Likewise.
27622         * manual/errno.texi: Likewise.
27623         * manual/filesys.texi: Likewise.
27624         * manual/header.texi: Likewise.
27625         * manual/install.texi: Likewise.
27626         * manual/intro.texi: Likewise.
27627         * manual/io.texi: Likewise.
27628         * manual/job.texi: Likewise.
27629         * manual/lang.texi: Likewise.
27630         * manual/libc.texiinfo: Likewise.
27631         * manual/llio.texi: Likewise.
27632         * manual/locale.texi: Likewise.
27633         * manual/maint.texi: Likewise.
27634         * manual/math.texi: Likewise.
27635         * manual/memory.texi: Likewise.
27636         * manual/message.texi: Likewise.
27637         * manual/nss.texi: Likewise.
27638         * manual/pattern.texi: Likewise.
27639         * manual/process.texi: Likewise.
27640         * manual/resource.texi: Likewise.
27641         * manual/search.texi: Likewise.
27642         * manual/setjmp.texi: Likewise.
27643         * manual/signal.texi: Likewise.
27644         * manual/socket.texi: Likewise.
27645         * manual/startup.texi: Likewise.
27646         * manual/stdio.texi: Likewise.
27647         * manual/string.texi: Likewise.
27648         * manual/sysinfo.texi: Likewise.
27649         * manual/syslog.texi: Likewise.
27650         * manual/terminal.texi: Likewise.
27651         * manual/time.texi: Likewise.
27652         * manual/users.texi: Likewise.
27653         * INSTALL: Regenerated.
27654         * NOTES: Regenerated.
27655         * sysdeps/gnu/errlist.c: Regenerated.
27657 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
27659         * include/dirent.h: Include <dirstream.h> before
27660         <dirent/dirent.h>.
27662 2012-02-28  David S. Miller  <davem@davemloft.net>
27664         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27665         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27666         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27667         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27669 2012-02-27  David S. Miller  <davem@davemloft.net>
27671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27673         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27674         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27677         frame pointer instead of stack pointer relative arg slot.
27678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27679         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27680         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27682 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
27684         [BZ #3992]
27685         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27687 2012-02-27  David S. Miller  <davem@davemloft.net>
27689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27693         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27694         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27695         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27696         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27698 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27700         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27701         later.  Allow versions 5-9.
27702         * configure: Regenerated.
27703         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27704         required minimum version and 4.6 as recommended version.  Do not
27705         mention bugs in GCC 2.7 and 2.8.
27706         * INSTALL: Regenerated.
27708 2012-02-27  David S. Miller  <davem@davemloft.net>
27710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27714         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27715         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27716         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27717         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27719         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27720         manipulate bits before adding and subtracting TWO112[sx].
27721         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27723 2012-02-27  Roland McGrath  <roland@hack.frob.com>
27725         [BZ #13775]
27726         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27727         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27728         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27729         being in POSIX, because they are in 1003.1-2008.
27731         * rt/tst-aio.c: Include <fcntl.h>.
27732         * rt/tst-aio7.c: Likewise.
27733         * rt/tst-aio64.c: Likewise.
27735         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27737 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27739         * manual/install.texi (--with-headers): Describe headers as
27740         interface headers, not private headers.
27741         (Specific advice for GNU/Linux systems): Describe use of headers
27742         from "make headers_install", not private headers from older
27743         kernels.
27744         * INSTALL: Regenerated.
27745         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27746         Change to 2.6.19.
27747         * sysdeps/unix/sysv/linux/configure: Regenerated.
27749         * manual/llio.texi (fclean): Remove documentation.
27751         * manual/Makefile (libc-texi-generated): New variable.  Include
27752         version.texi.
27753         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27754         $(libc-texi-generated), not duplicated list of files.
27755         (version.texi, stamp-version): New rules.
27756         (realclean): Remove $(libc-texi-generated), not individual files
27757         from that list.  Do not remove dir-add.texinfo.
27758         * manual/libc.texinfo: Comment out uses of edition numbers and
27759         references to printed manual.  Remove last-updated dates.
27760         (EDITION): Comment out.
27761         (ISBN): Likewise.
27762         (VERSION, UPDATED): Remove.
27763         (version.texi): Include.
27765 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
27767         * sysdeps/posix/spawni.c: Include <signal.h>.
27768         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27769         * sysdeps/pthread/aio_fsync.c: Likewise.
27771 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
27773         * conform/Makefile (tests): Run only when not cross-compiling and
27774         when fast-check is not defined.
27776         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27777         * conform/data/limits.h-data: Fixes for POSIX2008.
27778         * conform/run-conformtest.sh: Run all tests.
27779         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27780         headers.
27781         * include/bits/dlfcn.h: Likewise.
27782         * include/langinfo.h: Likewise.
27783         * include/monetary.h: Likewise.
27784         * include/sys/poll.h: Likewise.
27786         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27787         for __USE_GNU.
27788         * posix/spawn.h: Define __need_sigset_t.
27789         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27790         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27791         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
27792         to get sigevent_t only.
27793         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27794         only for __USE_GNU.
27795         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27796         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27797         process_vm_writev only for __USE_GNU.
27798         * termios/termios.h: Declare tcgetsid also for POSIX2008.
27800         * conform/Makefile: For now ignore errors from run-conformtest.
27801         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
27802         POSIX to avoid namespace pollution.  Don't prepend headers.
27803         * conform/data/aio.h-data: Fixes for POSIX testing.
27804         * conform/data/fcntl.h-data: Likewise.
27805         * conform/data/glob.h-data: Likewise.
27806         * conform/data/grp.h-data: Likewise.
27807         * conform/data/pthread.h-data: Likewise.
27808         * conform/data/pwd.h-data: Likewise.
27809         * conform/data/signal.h-data: Likewise.
27810         * conform/data/spawn.h-data: Likewise.
27811         * conform/data/stdio.h-data: Likewise.
27812         * conform/data/stdlib.h-data: Likewise.
27813         * conform/data/stropts.h-data: Likewise.
27814         * conform/data/sys/mman.h-data: Likewise.
27815         * conform/data/sys/stat.h-data: Likewise.
27816         * conform/data/sys/types.h-data: Likewise.
27817         * conform/data/sys/wait.h-data: Likewise.
27818         * conform/data/time.h-data: Likewise.
27819         * conform/data/unistd.h-data: Likewise.
27820         * conform/data/utime.h-data: Likewise.
27822         * io/sys/stat.h: fchmod was always in POSIX.
27823         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27824         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27825         * rt/aio.h: Define __need_timespec before including <time.h>.
27826         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27827         struct.  Add forward declaration of pthread_attr_t and use it in
27828         sigevent.
27829         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27830         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27831         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27832         always remove CLK_TCK definition.
27834 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
27836         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27838 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
27840         * conform/run-conformtest.sh: New file.
27841         * conform/Makefile: Run run-conformtest for tests.
27842         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
27843         support.
27845         * conform/data/uchar.h-data: New file.
27846         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27847         * conform/data/arpa/inet.h-data: Likewise.
27848         * conform/data/assert.h-data: Likewise.
27849         * conform/data/complex.h-data: Likewise.
27850         * conform/data/cpio.h-data: Likewise.
27851         * conform/data/ctype.h-data: Likewise.
27852         * conform/data/dirent.h-data: Likewise.
27853         * conform/data/dlfcn.h-data: Likewise.
27854         * conform/data/errno.h-data: Likewise.
27855         * conform/data/fcntl.h-data: Likewise.
27856         * conform/data/float.h-data: Likewise.
27857         * conform/data/fmtmsg.h-data: Likewise.
27858         * conform/data/fnmatch.h-data: Likewise.
27859         * conform/data/ftw.h-data: Likewise.
27860         * conform/data/glob.h-data: Likewise.
27861         * conform/data/grp.h-data: Likewise.
27862         * conform/data/iconv.h-data: Likewise.
27863         * conform/data/inttypes.h-data: Likewise.
27864         * conform/data/langinfo.h-data: Likewise.
27865         * conform/data/libgen.h-data: Likewise.
27866         * conform/data/limits.h-data: Likewise.
27867         * conform/data/locale.h-data: Likewise.
27868         * conform/data/math.h-data: Likewise.
27869         * conform/data/monetary.h-data: Likewise.
27870         * conform/data/mqueue.h-data: Likewise.
27871         * conform/data/ndbm.h-data: Likewise.
27872         * conform/data/net/if.h-data: Likewise.
27873         * conform/data/netdb.h-data: Likewise.
27874         * conform/data/netinet/in.h-data: Likewise.
27875         * conform/data/nl_types.h-data: Likewise.
27876         * conform/data/poll.h-data: Likewise.
27877         * conform/data/pthread.h-data: Likewise.
27878         * conform/data/pwd.h-data: Likewise.
27879         * conform/data/regex.h-data: Likewise.
27880         * conform/data/sched.h-data: Likewise.
27881         * conform/data/search.h-data: Likewise.
27882         * conform/data/semaphore.h-data: Likewise.
27883         * conform/data/setjmp.h-data: Likewise.
27884         * conform/data/signal.h-data: Likewise.
27885         * conform/data/spawn.h-data: Likewise.
27886         * conform/data/stdarg.h-data: Likewise.
27887         * conform/data/stdio.h-data: Likewise.
27888         * conform/data/stdlib.h-data: Likewise.
27889         * conform/data/string.h-data: Likewise.
27890         * conform/data/strings.h-data: Likewise.
27891         * conform/data/stropts.h-data: Likewise.
27892         * conform/data/sys/ipc.h-data: Likewise.
27893         * conform/data/sys/mman.h-data: Likewise.
27894         * conform/data/sys/msg.h-data: Likewise.
27895         * conform/data/sys/resource.h-data: Likewise.
27896         * conform/data/sys/select.h-data: Likewise.
27897         * conform/data/sys/sem.h-data: Likewise.
27898         * conform/data/sys/shm.h-data: Likewise.
27899         * conform/data/sys/socket.h-data: Likewise.
27900         * conform/data/sys/stat.h-data: Likewise.
27901         * conform/data/sys/statvfs.h-data: Likewise.
27902         * conform/data/sys/time.h-data: Likewise.
27903         * conform/data/sys/timeb.h-data: Likewise.
27904         * conform/data/sys/times.h-data: Likewise.
27905         * conform/data/sys/types.h-data: Likewise.
27906         * conform/data/sys/uio.h-data: Likewise.
27907         * conform/data/sys/un.h-data: Likewise.
27908         * conform/data/sys/utsname.h-data: Likewise.
27909         * conform/data/sys/wait.h-data: Likewise.
27910         * conform/data/syslog.h-data: Likewise.
27911         * conform/data/tar.h-data: Likewise.
27912         * conform/data/termios.h-data: Likewise.
27913         * conform/data/utime.h-data: Likewise.
27914         * conform/data/utmpx.h-data: Likewise.
27915         * conform/data/varargs.h-data: Likewise.
27916         * conform/data/wchar.h-data: Likewise.
27917         * conform/data/wctype.h-data: Likewise.
27918         * conform/data/wordexp.h-data: Likewise.
27920         * include/stropts.h: New file.
27921         * include/uchar.h: New file.
27922         * include/aio.h: Changes to allow conformtest.pl to use the headers.
27923         * include/assert.h: Likewise.
27924         * include/ctype.h: Likewise.
27925         * include/dirent.h: Likewise.
27926         * include/dlfcn.h: Likewise.
27927         * include/fcntl.h: Likewise.
27928         * include/fnmatch.h: Likewise.
27929         * include/glob.h: Likewise.
27930         * include/grp.h: Likewise.
27931         * include/libio.h: Likewise.
27932         * include/locale.h: Likewise.
27933         * include/math.h: Likewise.
27934         * include/net/if.h: Likewise.
27935         * include/netdb.h: Likewise.
27936         * include/netinet/in.h: Likewise.
27937         * include/pthread.h: Likewise.
27938         * include/pwd.h: Likewise.
27939         * include/regex.h: Likewise.
27940         * include/sched.h: Likewise.
27941         * include/search.h: Likewise.
27942         * include/setjmp.h: Likewise.
27943         * include/signal.h: Likewise.
27944         * include/stdio.h: Likewise.
27945         * include/stdlib.h: Likewise.
27946         * include/string.h: Likewise.
27947         * include/sys/cdefs.h: Likewise.
27948         * include/sys/mman.h: Likewise.
27949         * include/sys/msg.h: Likewise.
27950         * include/sys/resource.h: Likewise.
27951         * include/sys/select.h: Likewise.
27952         * include/sys/socket.h: Likewise.
27953         * include/sys/stat.h: Likewise.
27954         * include/sys/statvfs.h: Likewise.
27955         * include/sys/time.h: Likewise.
27956         * include/sys/times.h: Likewise.
27957         * include/sys/uio.h: Likewise.
27958         * include/sys/utsname.h: Likewise.
27959         * include/sys/wait.h: Likewise.
27960         * include/termios.h: Likewise.
27961         * include/time.h: Likewise.
27962         * include/ulimit.h: Likewise.
27963         * include/unistd.h: Likewise.
27964         * include/utime.h: Likewise.
27965         * include/wchar.h: Likewise.
27966         * include/wctype.h: Likewise.
27967         * include/wordexp.h: Likewise.
27969         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27971         * time/time.h: TIME_UTC must be a macro.
27972         Make timespec_get available for ISO C11 only as well.
27974 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
27976         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27977         Reported by Peng Haitao <penght@cn.fujitsu.com>.
27979 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27981         * configure.in: Use -o not -a in test for unsupported multi-arch.
27983 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27985         * manual/texinfo.tex: Update to version 2012-01-19.16.
27987 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27989         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27991 2012-02-24  Roland McGrath  <roland@hack.frob.com>
27993         [BZ #13738]
27994         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27995         * manual/fdl-1.3.texi: New file.
27996         * manual/fdl-1.1.texi: File removed.
27998         [BZ #13738]
27999         * manual/libc.texinfo (FDL_VERSION): New @set.
28000         Use it for mention of FDL in cover text.
28001         (Documentation License): Use it in @include file name.
28003 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28004             Roland McGrath  <roland@hack.frob.com>
28006         [BZ #5461]
28007         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28008         not LONG_LONG_MAX and LONG_LONG_MIN.
28009         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28010         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
28011         name.
28012         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28014 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28016         [BZ #2547]
28017         [BZ #11365]
28018         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28019         manipulate bits before adding and subtracting TWO23[sx].
28020         * math/libm-test.inc (nearbyint_test): Add more tests.
28022 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28024         [BZ #2548]
28025         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28026         bits before adding and subtracting TWO23[sx].
28027         * math/libm-test.inc (rint_test): Add more tests.
28028         (rint_test_tonearest): Likewise.
28029         (rint_test_towardzero): Likewise.
28030         (rint_test_downward): Likewise.
28031         (rint_test_upward: Likewise.
28033 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28035         [BZ #10110]
28036         * include/stdc-predef.h: New file.  Extracted from features.h.
28037         * include/features.h: Include stdc-predef.h.
28038         * Makefile (headers): Add stdc-predef.h.
28039         * CONFORMANCE (Compiler limitations): Update.
28041 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28043         * manual/libc.texinfo (VERSION, UPDATED): Revert.
28045 2012-02-21  David S. Miller  <davem@davemloft.net>
28047         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28048         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28050 2012-02-20  David S. Miller  <davem@davemloft.net>
28052         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28053         using a normal save/restore sequence, rather than allocating a
28054         dummy stack frame just to store a frame pointer and restore.
28055         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28057 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28059         * manual/install.texi: Fix stray word in line-wrapped comment.
28061 2012-02-20  David S. Miller  <davem@davemloft.net>
28063         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28064         both binutils and gcc support GOTDATA.
28066         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28067         "rd %pc" in the PIC register setup sequences.
28069         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28070         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28071         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28072         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28073         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28074         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28075         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28076         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28077         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28078         (SYSCALL_ERROR_HANDLER): Likewise.
28079         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28080         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28082         (SYSCALL_ERROR_HANDLER): Likewise.
28084         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28085         (HAVE_GCC_GOTDATA): New.
28086         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28087         relocation support in both binutils and gcc.
28088         * sysdeps/sparc/elf/configure: Regenerate.
28090         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28091         * sysdeps/sparc/sparc32/elf/configure: Delete.
28092         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28093         * sysdeps/sparc/sparc64/elf/configure: Delete.
28094         * sysdeps/sparc/elf/configure.in: New file.
28095         * sysdeps/sparc/elf/configure: Generate.
28097         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28098         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28099         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28100         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28101         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28103 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28105         * manual/install.texi: Do not mention specific glibc version
28106         numbers.
28107         * manual/libc.texinfo (VERSION, UPDATED): Update.
28108         (@copying): Use @copyright{} and range of years.
28110 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28112         [BZ #13695]
28113         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28114         [crti.S not in sysdirs] (generated): Do not append.
28115         [crti.S not in sysdirs] (omit-deps): Likewise.
28116         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28117         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28118         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28119         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28120         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28121         Likewise.
28122         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28123         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28124         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28125         * csu/defs.awk: Remove file.
28126         * sysdeps/generic/initfini.c: Likewise.
28127         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28128         variable.
28129         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28130         Likewise.
28132 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28134         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28135         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28136         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28137         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28138         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28139         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28140         <bits/epoll.h>.
28141         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28142         (__EPOLL_PACKED): Define to empty if not defined by
28143         <bits/epoll.h>.
28144         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28146         bits/epoll.h.
28148 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28150         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28151         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28152         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28153         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28154         <bits/timerfd.h>.
28155         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28157         bits/timerfd.h.
28159 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28161         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28162         in C locale.
28163         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28164         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28165         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28168 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
28170         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28171         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28173 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
28175         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28176         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28177         defined.
28178         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28179         Likewise.
28180         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28181         entry for 2.16.
28183 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
28185         * math/w_acos.c: Use non-signaling floating-point comparisons.
28186         * math/w_acosf.c: Likewise.
28187         * math/w_acosh.c: Likewise.
28188         * math/w_acoshf.c: Likewise.
28189         * math/w_acoshl.c: Likewise.
28190         * math/w_acosl.c: Likewise.
28191         * math/w_asin.c: Likewise.
28192         * math/w_asinf.c: Likewise.
28193         * math/w_asinl.c: Likewise.
28194         * math/w_atanh.c: Likewise.
28195         * math/w_atanhf.c: Likewise.
28196         * math/w_atanhl.c: Likewise.
28197         * math/w_exp2.c: Likewise.
28198         * math/w_exp2f.c: Likewise.
28199         * math/w_exp2l.c: Likewise.
28200         * math/w_j0.c: Likewise.
28201         * math/w_j0f.c: Likewise.
28202         * math/w_j0l.c: Likewise.
28203         * math/w_j1.c: Likewise.
28204         * math/w_j1f.c: Likewise.
28205         * math/w_j1l.c: Likewise.
28206         * math/w_jn.c: Likewise.
28207         * math/w_jnf.c: Likewise.
28208         * math/w_log.c: Likewise.
28209         * math/w_log10.c: Likewise.
28210         * math/w_log10f.c: Likewise.
28211         * math/w_log10l.c: Likewise.
28212         * math/w_log2.c: Likewise.
28213         * math/w_log2f.c: Likewise.
28214         * math/w_log2l.c: Likewise.
28215         * math/w_logf.c: Likewise.
28216         * math/w_logl.c: Likewise.
28217         * math/w_sqrt.c: Likewise.
28218         * math/w_sqrtf.c: Likewise.
28219         * math/w_sqrtl.c: Likewise.
28220         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28221         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28222         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28223         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28224         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28226 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28228         [BZ #9739]
28229         * manual/string.texi (strnlen): Use correct parameter name in
28230         equivalent expression.
28232 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28234         [BZ #11174]
28235         * manual/users.texi (seteuid): Consistently use neweuid for
28236         argument name.
28238 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28240         [BZ #13704]
28241         * manual/nss.texi (Services in the NSS configuration): Correct
28242         list of services in example configuration file.
28244 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
28246         [BZ #11322]
28247         * manual/arith.texi: Remove statements about negative zero
28248         behaving identically to zero.
28250 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
28252         [BZ #5993]
28253         * manual/install.texi: Do not document upgrading from libc5.
28255 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
28257         [BZ #4596]
28258         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28260 2012-02-18  David S. Miller  <davem@davemloft.net>
28262         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28263         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28264         %o7 across the call.
28265         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28266         instead.
28267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28268         SETUP_PIC_REG_LEAF.
28269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28270         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28271         * sysdeps/sparc/crtn.S: Likewise.
28273 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
28275         * aout/Makefile: Remove.
28277 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
28279         [BZ #13058]
28280         * manual/examples/argp-ex1.c (main): Format definition in GNU
28281         style.
28282         * manual/examples/argp-ex2.c (main): Likewise.
28283         * manual/examples/argp-ex3.c (main): Likewise.
28284         * manual/examples/argp-ex4.c (main): Likewise.
28285         * manual/examples/longopt.c (main): Use new-style prototype
28286         definition.
28287         * manual/examples/strncat.c (main): Specify return type and use
28288         (void) for arguments.
28289         * manual/examples/subopt.c (main): Use char **argv argument.
28291 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28293         [BZ #5077]
28294         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28295         rounding modes.
28297 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
28299         [BZ #6907]
28300         * manual/string.texi (strchr): Change when strchrnul is
28301         recommended.
28303 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
28305         [BZ #174]
28306         * manual/locale.texi (setlocale): Document LOCPATH.
28308 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28310         [BZ #10210]
28311         * manual/process.texi (execle): Move @dots{} before last argument.
28313 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
28315         [BZ #12047]
28316         * manual/charset.texi (Generic Charset Conversion): Fix typo
28317         (LC_TYPE -> LC_CTYPE).
28319 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
28321         [BZ #5805]
28322         * manual/arith.texi (scalbn): Use @var{} on parameter names.
28323         (scalbnf): Likewise.
28324         (scalbnl): Likewise.
28325         (scalbln): Likewise.
28326         (scalblnf): Likewise.
28327         (scalblnl): Likewise.
28328         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28329         (vwarnx): Likewise.
28330         (verr): Likewise.
28331         (verrx): Likewise.
28332         * manual/filesys.texi (telldir): Use braces around return type.
28333         * manual/llio.texi (mmap): Add space after comma.
28334         (mmap64): Likewise.
28335         * manual/math.texi (jn): Use @var{} on parameter names.
28336         (jnf): Likewise.
28337         (jnl): Likewise.
28338         (yn): Likewise.
28339         (ynf): Likewise.
28340         (ynl): Likewise.
28341         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28342         line.
28343         * manual/resource.texi (ulimit): Use @dots{} instead of literal
28344         "...".
28345         (sched_get_priority_min): Remove semicolon on @deftypefun line.
28346         (sched_get_priority_max): Likewise.
28347         * manual/signal.texi (sigvec): Add space after comma.
28348         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28349         names.
28350         (if_indextoname): Likewise.
28351         (if_freenameindex): Likewise.
28352         (sendto): Use ',' instead of '.' in prototype.
28353         * manual/startup.texi (syscall): Use @dots{} instead of literal
28354         "...".
28355         * manual/stdio.texi (__fpending): Separate initial words of
28356         paragraph from @deftypefun line.
28357         * manual/syslog.texi (syslog): Use @dots{} instead of literal
28358         "...".
28359         (vsyslog): Use @var{} on parameter names.
28360         * manual/terminal.texi (stty): Use @var{} on parameter names.
28361         * manual/users.texi (getutmp): Use @var{} on parameter names.
28362         (getutmpx): Likewise.
28364 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28366         [BZ #6884]
28367         * manual/stdio.texi (fopen): Fix typos in description of
28368         ",ccs=STRING".
28370 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
28372         [BZ #4026]
28373         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28374         get clock_id definition.
28376 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
28378         [BZ #4822]
28379         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28380         (madvise): Cast every argument to void on its own.
28382 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28384         [BZ #9902]
28385         * manual/startup.texi (Exit Status): Fix typo.
28387 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28389         [BZ #10140]
28390         * manual/examples/argp-ex1.c: Include <stdlib.h>.
28391         * manual/examples/argp-ex2.c: Likewise.
28392         * manual/examples/argp-ex3.c: Likewise.
28394 2012-02-16  Richard Henderson  <rth@redhat.com>
28396         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28397         * sysdeps/s390/s390-32/initfini.c: Remove.
28398         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28399         * sysdeps/s390/s390-64/initfini.c: Remove.
28401 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28403         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28404         compiler output for sysdeps/generic/initfini.c.
28405         * sysdeps/sh/elf/initfini.c: Remove file.
28407 2012-02-16  David S. Miller  <davem@davemloft.net>
28409         [BZ #11494]
28410         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28412         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28413         * sysdeps/sparc/crti.S: New file.
28414         * sysdeps/sparc/crtn.S: New file.
28415         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28416         * sysdeps/sparc/sparc64/Makefile: Likewise.
28418 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
28420         [BZ #3335]
28421         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28423 2012-02-15  Roland McGrath  <roland@hack.frob.com>
28425         [BZ #4822]
28426         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28428         * mach/devstream.c (cookie_io_functions_t): Macro removed.
28429         (write, read, close): Likewise.
28430         Patch by Aurelien Jarno <aurelien@aurel32.net>.
28432 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
28434         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28435         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28436         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28437         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28438         <bits/signalfd.h>.
28439         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28441         bits/signalfd.h.
28443 2012-02-14  Marek Polacek  <polacek@redhat.com>
28445         * sysdeps/x86_64/crti.S: New file.
28446         * sysdeps/x86_64/crtn.S: New file.
28447         * sysdeps/x86_64/elf/initfini.c: Remove file.
28449 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
28451         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28452         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28453         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28454         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28455         <bits/inotify.h>.
28456         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28457         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28458         bits/inotify.h.
28460 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
28462         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28463         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28464         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28465         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28466         <bits/eventfd.h>.
28467         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28469         bits/eventfd.h.
28471 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
28473         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28474         __feraiseexcept instead of feraiseexcept.
28476         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28477         nanosleep invocations.
28478         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28479         strings, and add error checking for a nanosleep invocations.
28481 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
28483         Replace FSF snail mail address with URLs, as per GNU coding standards.
28484         Most of the snail mail addresses were wrong anyway, and omitting
28485         them makes the source code easier to maintain.  Almost all of the
28486         changes are to license notices and to locale LC_IDENTIFICATION
28487         addresses, except for this one:
28488         * manual/libc.texinfo: In "Published by", give the FSF's URL,
28489         not its snail mail address.
28491 2012-02-09  Richard Henderson  <rth@twiddle.net>
28493         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28494         of kernel-features.h.
28496         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28498 2012-02-08  Marek Polacek  <polacek@redhat.com>
28500         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28501         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28502         * sysdeps/gnu/_G_config.h: Likewise.
28503         * sysdeps/generic/_G_config.h: Likewise.
28505 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
28507         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28508         tests.
28509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28511         * sysdeps/powerpc/powerpc32/crti.S: New file.
28512         * sysdeps/powerpc/powerpc32/crtn.S: New file.
28513         * sysdeps/powerpc/powerpc64/crti.S: New file.
28514         * sysdeps/powerpc/powerpc64/crtn.S: New file.
28516         * Makeconfig (have-initfini): Don't set.
28517         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28518         * configure.in (nopic_initfini): Don't substitute.
28519         * config.h.in (HAVE_INITFINI): Don't #undef.
28520         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28521         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28523 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
28525         Support crti.S and crtn.S provided directly by architectures.
28526         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28527         [crti.S in sysdirs] (omit-deps): Likewise.
28528         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28529         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28530         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28531         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28532         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28533         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28534         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28535         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28536         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28537         compiler output for sysdeps/generic/initfini.c.
28538         * sysdeps/i386/elf/Makefile: Remove file.
28539         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28541 2012-02-07  Marek Polacek  <polacek@redhat.com>
28543         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28544         * sysdeps/gnu/_G_config.h: Likewise.
28545         * sysdeps/mach/hurd/_G_config.h: Likewise.
28547 2012-02-07  Marek Polacek  <polacek@redhat.com>
28549         * math/Makefile (tests): Add tst-CMPLX2.
28550         * math/tst-CMPLX2.c: New file.
28552 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
28554         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28556         * math/libm-test.inc (jn_test): Add missing L suffix.
28558 2012-02-06  Marek Polacek  <polacek@redhat.com>
28560         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28561         * sysdeps/i386/fpu/e_powf.S: Likewise.
28562         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28563         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28564         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28565         * sysdeps/i386/fpu/e_pow.S: Likewise.
28566         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28567         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28568         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28569         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28570         * sysdeps/i386/fpu/e_log2.S: Likewise.
28571         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28572         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28573         * sysdeps/i386/fpu/e_powl.S: Likewise.
28574         * sysdeps/i386/fpu/s_log1p.S: Likewise.
28575         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28576         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28577         * sysdeps/i386/fpu/e_logl.S: Likewise.
28578         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28579         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28580         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28581         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28582         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28583         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28584         * sysdeps/i386/fpu/e_log.S: Likewise.
28585         * sysdeps/i386/fpu/s_cexp.S: Likewise.
28586         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28587         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28588         * sysdeps/i386/fpu/e_logf.S: Likewise.
28589         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28590         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28591         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28592         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28593         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28594         * sysdeps/i386/fpu/e_log10.S: Likewise.
28595         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28596         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28597         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28598         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28599         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28600         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28601         * sysdeps/i386/asm-syntax.h: Likewise.
28602         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28603         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28604         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28605         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28606         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28607         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28608         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28609         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28610         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28611         * sysdeps/powerpc/sysdep.h: Likewise.
28612         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28613         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28615 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
28617         [BZ #411]
28618         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28620 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
28622         * sysdeps/i386/sysdep.h: Include <features.h>.
28623         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28624         version.
28626 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
28628         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28629         Define.
28630         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28631         LOAD_PIC_REG_STR.
28633 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28635         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28636         (SETUP_PIC_REG): Use GET_PC_THUNK.
28637         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28638         macro.
28640 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28642         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28643         for non-PIC compilation.
28644         (SETUP_PIC_REG): Add .p2align directive.
28645         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28646         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28647         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28648         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28649         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28650         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28651         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28652         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28653         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28654         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28655         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28656         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28657         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28658         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28659         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28660         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28661         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28662         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28663         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28664         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28665         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28666         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28667         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28668         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28669         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28671         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28672         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28673         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28674         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28675         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28676         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28677         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28678         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28679         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28680         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28681         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28682         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28683         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28684         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28685         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28687 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28689         * math/tst-CMPLX.c: Include <stdio.h>.
28691 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
28693         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28694         float.
28695         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28696         * sysdeps/sparc/bits/mathdef.h: Likewise.
28698 2012-01-31  Marek Polacek  <polacek@redhat.com>
28700         * libio/libio.h: Don't define _PARAMS.
28701         * locale/programs/config.h: Don't define PARAMS.
28702         * stdlib/strtol_l.c: Likewise.
28703         (__strtol_l): Remove PARAMS from the prototype.
28705 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
28707         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
28708         names.  Just use the correct names.  Remove unnecessary wrapper
28709         functions.
28710         * malloc/arena.c: Likewise.
28711         * malloc/hooks.c: Likewise.
28713         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28714         ARENA_TEST says not to.  Simplify test for creation of a new arena.
28715         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28717 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
28719         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28720         into tail calls.
28721         (update_get_addr): New function.
28722         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28723         GET_ADDR_MODULE parameter.
28725 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28727         * crypt/cert.c: Remove __STDC__ conditionals.
28728         * crypt/crypt-entry.c: Likewise.
28729         * crypt/crypt_util.c: Likewise.
28730         * libio/filedoalloc.c: Likewise.
28731         * libio/fileops.c: Likewise.
28732         * libio/genops.c: Likewise.
28733         * libio/iofclose.c: Likewise.
28734         * libio/iofdopen.c: Likewise.
28735         * libio/iofopen.c: Likewise.
28736         * libio/iofopen64.c: Likewise.
28737         * libio/iogetdelim.c: Likewise.
28738         * libio/iopopen.c: Likewise.
28739         * libio/obprintf.c: Likewise.
28740         * libio/oldfileops.c: Likewise.
28741         * libio/oldiofclose.c: Likewise.
28742         * libio/oldiofdopen.c: Likewise.
28743         * libio/oldiofopen.c: Likewise.
28744         * libio/oldiopopen.c: Likewise.
28745         * libio/wfiledoalloc.c: Likewise.
28746         * libio/wgenops.c: Likewise.
28747         * locale/programs/xmalloc.c: Likewise.
28748         * misc/syslog.c: Likewise.
28749         * stdio-common/xbug.c: Likewise.
28750         * string/memchr.c: Likewise.
28751         * string/memcmp.c: Likewise.
28752         * string/memrchr.c: Likewise.
28753         * string/rawmemchr.c: Likewise.
28754         * sysdeps/posix/getcwd.c: Likewise.
28755         * time/strftime_l.c: Likewise.
28757 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28759         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28760         * config.make.in (config-cflags-sse2avx): Define.
28761         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28762         Fix typo.
28764 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
28766         * scripts/config.guess: Update from upstream config git repository.
28767         * scripts/config.sub: Likewise.
28769 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
28771         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28772         (EM_NUM): Update.
28773         (R_TILEPRO_*, R_TILEGX_*): New macros.
28775         * scripts/firstversions.awk: Fix bug in version range handling.
28777         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28779         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28781         * include/sys/epoll.h: New file.
28782         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28783         libc_hidden_def.
28785 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
28787         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28788         Avoid unnecessary __WORDSIZE == 64 test.
28789         (fmaxf): Use VEX format if possible.
28790         (fmax): Likewise.
28791         (fminf): Likewise.
28792         (fmin): Likewise.
28794         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28795         * math/math_private.h: Remove libc_fegetround* and
28796         libc_fesetround*.
28797         * sysdeps/i386/configure.in: Check for -msse2avx.
28798         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28799         also if SSE2AVX is defined.
28800         Remove libc_fegetround* and libc_fesetround*.
28801         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28802         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
28803         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28804         of HAS_YMM_USABLE.
28805         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28806         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28807         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28808         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28809         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28811         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28813 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28815         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28816         size is not set.
28817         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28819 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
28821         [BZ #13618]
28822         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28823         relocation.
28824         * Makeconfig (libm): Define.
28825         * elf/Makefile: Add rules to build and run tst-relsort1.
28826         * elf/tst-relsort1.c: New file.
28827         * elf/tst-relsort1mod1.c: New file.
28828         * elf/tst-relsort1mod2.c: New file.
28830 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
28832         * math/s_ldexp.c: Remove __STDC__ conditionals.
28833         * math/s_ldexpf.c: Likewise.
28834         * math/s_ldexpl.c: Likewise.
28835         * math/s_nextafter.c: Likewise.
28836         * math/s_nexttowardf.c: Likewise.
28837         * math/s_significand.c: Likewise.
28838         * math/s_significandf.c: Likewise.
28839         * math/s_significandl.c: Likewise.
28840         * math/w_jnl.c: Likewise.
28841         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28842         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28843         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28844         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28845         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28846         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28847         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28848         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28849         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28850         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28851         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28852         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28853         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28854         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28855         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28856         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28857         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28858         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28859         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28860         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28861         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28862         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28863         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28864         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28865         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28866         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28867         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28868         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28869         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28870         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28871         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28872         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28873         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28874         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28875         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28876         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28877         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28878         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28879         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28880         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28881         * sysdeps/ieee754/k_standard.c: Likewise.
28882         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28883         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28884         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28885         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28886         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28887         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28888         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28889         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28890         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28891         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28892         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28893         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28894         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28895         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28896         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28897         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28898         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28899         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28900         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28901         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28902         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28903         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28904         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28905         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28906         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28907         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28908         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28909         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28910         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28911         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28912         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28913         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28914         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28915         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28916         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28917         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28918         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28919         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28920         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28921         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28923         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28924         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28925         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28928         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28929         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28930         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28931         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28932         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28933         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28934         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28935         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28936         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28937         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28938         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28939         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28940         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28941         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28942         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28943         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28944         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28945         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28946         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28947         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28948         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28949         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28950         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28951         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28952         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28953         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28954         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28955         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28956         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28957         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28958         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28959         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28960         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28961         * sysdeps/ieee754/s_matherr.c: Likewise.
28962         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28963         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28964         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28965         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28967 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28969         * crypt/md5.h: Remove __STDC__ conditionals.
28970         * libio/libioP.h: Likewise.
28971         * locale/programs/config.h: Likewise.
28972         * sysdeps/generic/sysdep.h: Likewise.
28973         * sysdeps/i386/asm-syntax.h: Likewise.
28974         * sysdeps/s390/asm-syntax.h: Likewise.
28975         * sysdeps/unix/sysdep.h: Likewise.
28976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28979 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28981         * libio/libio.h: Remove __STDC__ conditionals.
28982         * malloc/obstack.h: Likewise.
28983         * math/complex.h: Likewise.
28984         * math/math.h: Likewise.
28985         * sysdeps/generic/_G_config.h: Likewise.
28986         * sysdeps/gnu/_G_config.h: Likewise.
28987         * sysdeps/mach/hurd/_G_config.h: Likewise.
28988         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28989         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28990         * sysdeps/sparc/bits/mathdef.h: Likewise.
28992 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
28994         [BZ #13583]
28995         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28996         Clean up HAS_* macros.
28997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28998         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28999         possible.
29000         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29001         HAS_AVX.
29002         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29003         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29004         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29005         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29006         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29008 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
29010         * elf/tst-unique3.cc (gets): Remove declaration.
29011         * elf/tst-unique3lib.cc (gets): Likewise.
29012         * elf/tst-unique3lib2.cc (gets): Likewise.
29013         * elf/tst-unique4.cc (gets): Likewise.
29015 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
29017         * include/stdio.h: Add C++ protection.  Add gets declarations and
29018         definitions.
29019         * debug/tst-chk1.c: Don't declare gets here.
29020         * stdio-common/tst-gets.c: Likewise.
29022 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29024         * posix/glob: Remove directory.
29026 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29028         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29030 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
29032         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29033         of the non-standard EPFNOSUPPORT.
29035 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29037         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29038         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29039         ANYWHERE set to 1 only on KERN_NO_SPACE error.
29041 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
29043         * wcsmbs/uchar.h: Test __STDC_VERSION__.
29045 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
29047         * nscd/aicache.c (addhstaiX): Do not cache negative results of
29048         transient errors.
29049         * nscd/grpcache.c (cache_addgr): Likewise.
29050         * nscd/hstcache.c (cache_addhst): Likewise.
29051         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29052         * nscd/pwdcache.c (cache_addpw): Likewise.
29053         * nscd/servicescache.c (cache_addserv): Likewise.
29055 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
29057         * malloc/malloc.c: Various cleanups.
29058         * malloc/hooks.c: Likewise.
29060         * stdlib/Makefile (tests): Add bug-fmtmsg1.
29061         * stdlib/bug-fmtmsg1.c: New file.
29063         * stdlib/fmtmsg.c (init): Add missing unlock.
29064         Patch by Peng Haitao <penght@cn.fujitsu.com>.
29066 2012-01-12  Marek Polacek  <polacek@redhat.com>
29068         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29069         and _GNU_SOURCE.
29071 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29073         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29074         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29075         macro to ensure uniqueness of label name.
29076         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29077         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29079 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
29081         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29083         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29084         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29085         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29086         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29088 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
29090         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29092         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29093         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29094         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29096         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29098         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29099         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29100         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29101         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29103         * math/bits/math-finite.h: Add ldexp support.
29105 2012-01-10  Marek Polacek  <polacek@redhat.com>
29107         * locale/programs/localedef.h (show_archive_content): Add noreturn
29108         attribute.
29110 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
29112         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29114 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29116         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29118         * io/Makefile (headers): Add bits/poll2.h.
29120 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
29122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29123         typo #include statement.
29125 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29127         * include/sys/cdefs.h: Define __attribute_alloc_size.
29128         * catgets/gencat.c: Add alloc_size attribute and apply consistently
29129         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29130         * elf/pldd.c: Likewise.
29131         * iconv/iconv_charmap.c: Likewise.
29132         * iconv/iconvconfig.c: Likewise.
29133         * iconv/strtab.c: Likewise.
29134         * locale/programs/locale.c: Likewise.
29135         * locale/programs/localedef.h: Likewise.
29136         * locale/programs/simple-hash.c: Likewise.
29137         * nscd/nscd.h: Likewise.
29138         * nss/makedb.c: Likewise.
29139         * sysdeps/generic/ldconfig.h: Likewise.
29140         * locale/programs/localedef.c: Remove xmalloc prototype.
29141         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29143 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29145         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29146         appropriate.
29148 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29150         * math/Makefile (tests): Add tst-CMPLX.
29151         * math/tst-CMPLX.c: New file.
29153         * math/complex.h (CMPLXL): Fix typo.
29155         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29156         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29157         GLIBC_2.16.
29158         * debug/tst-chk1.c: Add poll and ppoll tests.
29159         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29160         * include/sys/poll.h: Add hidden proto for ppoll.
29161         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29162         * sysdeps/mach/hurd/ppoll.c: Likewise.
29163         * io/ppoll.c: Likewise.
29164         * debug/poll_chk.c: New file.
29165         * debug/ppoll_chk.c: New file.
29166         * include/bits/poll2.h: New file.
29167         * io/bits/poll2.h: New file.
29169         [BZ #1350]
29170         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29172         * configure.in: static is always set to yes.  Remove.
29173         * config.make.in: Don't set build-static.
29174         * Makeconfig: Remove use of build-static.
29175         * dlfcn/Makefile: Likewise.
29176         * elf/Makefile: Likewise.
29177         * math/Makefile: Likewise.
29178         * misc/Makefile: Likewise.
29179         * nptl/Makefile: Likewise.
29180         * sysdeps/mach/hurd/Makefile: Likewise.
29182         * configure.in: PWD_P is not used anymore.
29183         * config.make.in: Remove PWD_P entry.
29185         * configure.in: Remove last remnants of RANLIB.
29186         No need to check for signed size_t anymore.
29187         Don't set libc_commonpagesize and libc_relro_required here for Alpha
29188         and IA-64.
29189         Remove __builtin_expect test because we require at least gcc 3.4.
29190         * aclocal.m4: Likewise.
29192         * wcsmbs/mbrtoc16.c: Implement using towc function.
29193         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29194         * wcsmbs/wcsmbsload.c: Likewise.
29195         * iconv/gconv_simple.c: Likewise.
29196         * iconv/gconv_int.h: Likewise.
29197         * iconv/gconv_builtin.h: Likewise.
29198         * iconv/iconv_prog.c: Remove CHAR16 handling.
29200         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29202         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29204         * configure.in: Remove --with-elf and --enable-bounded options.
29205         Dont set base_machine for ia64.  More non-ELF conditions removed.
29206         Remove testing and setting of leading underscore information.
29207         * config.make.in (build-bounded): Set to no.
29208         * config.h.in: Remove NO_UNDERSCORES entry.
29209         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
29210         them.
29211         * csu/start.c: Remove !NO_UNDERSCORE code.
29212         * locale/localeinfo.h: Likewise.
29213         * sysdeps/generic/machine-gmon.h: Likewise.
29214         * sysdeps/generic/sysdep.h: Likewise.
29215         * sysdeps/i386/sysdep.h: Likewise.
29216         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29217         * sysdeps/mach/sysdep.h: Likewise.
29218         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29219         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29220         * sysdeps/sh/sysdep.h: Likewise.
29221         * sysdeps/sparc/sparc32/alloca.S: Likewise.
29222         * sysdeps/unix/i386/sysdep.S: Likewise.
29223         * sysdeps/unix/sparc/start.c: Likewise.
29224         * sysdeps/unix/sparc/sysdep.S: Likewise.
29225         * sysdeps/unix/sparc/sysdep.h: Likewise.
29226         * sysdeps/unix/start.c: Likewise.
29227         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29228         * sysdeps/x86_64/sysdep.h: Likewise.
29230 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
29232         [BZ #13553]
29233         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29234         for non-gcc.
29235         * argp/argp-fmtstream.h: Use const instead __const.
29236         * argp/argp.h: Likewise.
29237         * assert/assert.h: Likewise.
29238         * bits/fenv.h: Likewise.
29239         * bits/sched.h: Likewise.
29240         * bits/sigset.h: Likewise.
29241         * bits/sigthread.h: Likewise.
29242         * catgets/nl_types.h: Likewise.
29243         * conform/data/pthread.h-data: Likewise.
29244         * crypt/crypt-private.h: Likewise.
29245         * crypt/crypt.h: Likewise.
29246         * crypt/crypt_util.c: Likewise.
29247         * ctype/ctype.h: Likewise.
29248         * debug/execinfo.h: Likewise.
29249         * debug/mbsnrtowcs_chk.c: Likewise.
29250         * debug/mbsrtowcs_chk.c: Likewise.
29251         * debug/wcsnrtombs_chk.c: Likewise.
29252         * debug/wcsrtombs_chk.c: Likewise.
29253         * debug/wcstombs_chk.c: Likewise.
29254         * dirent/dirent.h: Likewise.
29255         * dlfcn/dlfcn.h: Likewise.
29256         * elf/neededtest4.c: Likewise.
29257         * grp/grp.h: Likewise.
29258         * gshadow/gshadow.h: Likewise.
29259         * iconv/gconv.h: Likewise.
29260         * iconv/gconv_int.h: Likewise.
29261         * iconv/gconv_simple.c: Likewise.
29262         * iconv/iconv.h: Likewise.
29263         * iconv/loop.c: Likewise.
29264         * iconv/skeleton.c: Likewise.
29265         * include/aio.h: Likewise.
29266         * include/aliases.h: Likewise.
29267         * include/argz.h: Likewise.
29268         * include/arpa/inet.h: Likewise.
29269         * include/assert.h: Likewise.
29270         * include/dirent.h: Likewise.
29271         * include/dlfcn.h: Likewise.
29272         * include/execinfo.h: Likewise.
29273         * include/fcntl.h: Likewise.
29274         * include/fenv.h: Likewise.
29275         * include/glob.h: Likewise.
29276         * include/grp.h: Likewise.
29277         * include/libintl.h: Likewise.
29278         * include/mntent.h: Likewise.
29279         * include/netdb.h: Likewise.
29280         * include/pwd.h: Likewise.
29281         * include/rpc/netdb.h: Likewise.
29282         * include/sched.h: Likewise.
29283         * include/search.h: Likewise.
29284         * include/shadow.h: Likewise.
29285         * include/signal.h: Likewise.
29286         * include/stdio.h: Likewise.
29287         * include/stdlib.h: Likewise.
29288         * include/string.h: Likewise.
29289         * include/sys/socket.h: Likewise.
29290         * include/sys/stat.h: Likewise.
29291         * include/sys/statfs.h: Likewise.
29292         * include/sys/statvfs.h: Likewise.
29293         * include/sys/syslog.h: Likewise.
29294         * include/sys/time.h: Likewise.
29295         * include/sys/uio.h: Likewise.
29296         * include/time.h: Likewise.
29297         * include/unistd.h: Likewise.
29298         * include/utmp.h: Likewise.
29299         * include/wchar.h: Likewise.
29300         * include/wctype.h: Likewise.
29301         * inet/aliases.h: Likewise.
29302         * inet/arpa/inet.h: Likewise.
29303         * inet/netinet/ether.h: Likewise.
29304         * inet/netinet/in.h: Likewise.
29305         * intl/libintl.h: Likewise.
29306         * io/bits/fcntl2.h: Likewise.
29307         * io/fcntl.h: Likewise.
29308         * io/ftw.h: Likewise.
29309         * io/sys/poll.h: Likewise.
29310         * io/sys/stat.h: Likewise.
29311         * io/sys/statfs.h: Likewise.
29312         * io/sys/statvfs.h: Likewise.
29313         * io/utime.h: Likewise.
29314         * libio/bits/stdio.h: Likewise.
29315         * libio/bits/stdio2.h: Likewise.
29316         * libio/libio.h: Likewise.
29317         * libio/libioP.h: Likewise.
29318         * libio/stdio.h: Likewise.
29319         * locale/lc-ctype.c: Likewise.
29320         * locale/locale.h: Likewise.
29321         * login/utmp.h: Likewise.
29322         * malloc/arena.c: Likewise.
29323         * malloc/malloc.c: Likewise.
29324         * malloc/malloc.h: Likewise.
29325         * malloc/mcheck.c: Likewise.
29326         * malloc/mtrace.c: Likewise.
29327         * math/bits/mathcalls.h: Likewise.
29328         * math/fenv.h: Likewise.
29329         * math/math_private.h: Likewise.
29330         * misc/bits/error.h: Likewise.
29331         * misc/bits/syslog.h: Likewise.
29332         * misc/err.h: Likewise.
29333         * misc/error.h: Likewise.
29334         * misc/fstab.h: Likewise.
29335         * misc/mntent.h: Likewise.
29336         * misc/regexp.h: Likewise.
29337         * misc/search.h: Likewise.
29338         * misc/sgtty.h: Likewise.
29339         * misc/sys/mman.h: Likewise.
29340         * misc/sys/syslog.h: Likewise.
29341         * misc/sys/uio.h: Likewise.
29342         * misc/sys/xattr.h: Likewise.
29343         * misc/ttyent.h: Likewise.
29344         * nis/rpcsvc/ypclnt.h: Likewise.
29345         * nss/nss.h: Likewise.
29346         * posix/bits/unistd.h: Likewise.
29347         * posix/fnmatch.h: Likewise.
29348         * posix/glob.h: Likewise.
29349         * posix/sched.h: Likewise.
29350         * posix/spawn.h: Likewise.
29351         * posix/sys/wait.h: Likewise.
29352         * posix/unistd.h: Likewise.
29353         * posix/wordexp.h: Likewise.
29354         * pwd/pwd.h: Likewise.
29355         * resolv/netdb.h: Likewise.
29356         * resource/sys/resource.h: Likewise.
29357         * rt/aio.h: Likewise.
29358         * rt/bits/mqueue2.h: Likewise.
29359         * rt/mqueue.h: Likewise.
29360         * shadow/shadow.h: Likewise.
29361         * signal/signal.h: Likewise.
29362         * socket/send.c: Likewise.
29363         * socket/sendto.c: Likewise.
29364         * socket/sys/socket.h: Likewise.
29365         * stdio-common/printf.h: Likewise.
29366         * stdlib/bits/stdlib.h: Likewise.
29367         * stdlib/fmtmsg.h: Likewise.
29368         * stdlib/monetary.h: Likewise.
29369         * stdlib/stdlib.h: Likewise.
29370         * stdlib/ucontext.h: Likewise.
29371         * streams/stropts.h: Likewise.
29372         * string/argz.h: Likewise.
29373         * string/bits/string2.h: Likewise.
29374         * string/string.h: Likewise.
29375         * string/strings.h: Likewise.
29376         * sunrpc/rpc/auth.h: Likewise.
29377         * sunrpc/rpc/auth_des.h: Likewise.
29378         * sunrpc/rpc/clnt.h: Likewise.
29379         * sunrpc/rpc/netdb.h: Likewise.
29380         * sunrpc/rpc/pmap_clnt.h: Likewise.
29381         * sunrpc/rpc/xdr.h: Likewise.
29382         * sysdeps/generic/inttypes.h: Likewise.
29383         * sysdeps/generic/net/if.h: Likewise.
29384         * sysdeps/generic/sys/swap.h: Likewise.
29385         * sysdeps/gnu/net/if.h: Likewise.
29386         * sysdeps/gnu/utmpx.h: Likewise.
29387         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29388         * sysdeps/i386/i486/bits/string.h: Likewise.
29389         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29390         * sysdeps/s390/bits/string.h: Likewise.
29391         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29392         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29393         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29394         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29395         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29396         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29397         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29398         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29399         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29400         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29401         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29402         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29403         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29404         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29405         * sysdeps/unix/sysv/linux/readv.c: Likewise.
29406         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29407         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29408         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29409         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29410         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29411         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29412         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29413         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29414         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29415         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29416         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29417         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29418         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29419         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29420         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29421         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29422         * sysvipc/sys/ipc.h: Likewise.
29423         * sysvipc/sys/msg.h: Likewise.
29424         * sysvipc/sys/sem.h: Likewise.
29425         * sysvipc/sys/shm.h: Likewise.
29426         * termios/termios.h: Likewise.
29427         * time/sys/time.h: Likewise.
29428         * time/time.h: Likewise.
29429         * wcsmbs/bits/wchar2.h: Likewise.
29430         * wcsmbs/uchar.h: Likewise.
29431         * wcsmbs/wchar.h: Likewise.
29432         * wctype/wctype.h: Likewise.
29434         [BZ #13551]
29435         * Makeconfig: Remove all but ELF support including AIX support.
29436         * Makerules: Likewise.
29437         * config.h.in: Likewise.
29438         * config.make.in: Likewise.
29439         * configure: Likewise.
29440         * configure.in: Likewise.
29441         * csu/Makefile: Likewise.
29442         * csu/version.c: Likewise.
29443         * debug/Makefile: Likewise.
29444         * dlfcn/Makefile: Likewise.
29445         * elf/Makefile: Likewise.
29446         * extra-lib.mk: Likewise.
29447         * iconv/Makefile: Likewise.
29448         * include/libc-symbols.h: Likewise.
29449         * include/shlib-compat.h: Likewise.
29450         * resolv/Makefile: Likewise.
29451         * resolv/res_libc.c: Likewise.
29452         * rt/Makefile: Likewise.
29453         * sysdeps/i386/asm-syntax.h: Likewise.
29454         * sysdeps/i386/sysdep.h: Likewise.
29455         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29456         * sysdeps/mach/sysdep.h: Likewise.
29457         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29458         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29459         * sysdeps/s390/asm-syntax.h: Likewise.
29460         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29461         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29462         * sysdeps/sh/sysdep.h: Likewise.
29463         * sysdeps/unix/sparc/sysdep.h: Likewise.
29464         * sysdeps/wordsize-32/divdi3.c: Likewise.
29465         * sysdeps/x86_64/sysdep.h: Likewise.
29467         * argp/Versions: Remove _argp_unlock_xxx.
29469         [BZ #13559]
29470         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
29471         * abilist/libBrokenLocale.abilist: Likewise.
29472         * abilist/libanl.abilist: Likewise.
29473         * abilist/libc.abilist: Likewise.
29474         * abilist/libcrypt.abilist: Likewise.
29475         * abilist/libdl.abilist: Likewise.
29476         * abilist/libm.abilist: Likewise.
29477         * abilist/libnsl.abilist: Likewise.
29478         * abilist/libpthread.abilist: Likewise.
29479         * abilist/libresolv.abilist: Likewise.
29480         * abilist/librt.abilist: Likewise.
29481         * abilist/libthread_db.abilist: Likewise.
29482         * abilist/libutil.abilist: Likewise.
29483         * abilist/libnss_db.abilist: New file.
29485         * scripts/abilist.awk: Add support for indirect functions.
29487         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29489         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29491         * shlib-versions: Remove entries for ports architectures.
29493         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
29494         files in ports.
29495         * elf/stackguard-macros.h: Remove support for IA-64.
29496         * elf/tst-auditmod1.c: Likewise.
29497         * sysdeps/generic/ldsodefs.h: Likewise.
29499         * sysdeps/unix/sysv/linux/configure.in: Ports should define
29500         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29501         configure files.
29503         [BZ #13552]
29504         * configure.in: Remove --enable-omitfp support.
29505         * FAQ.in: Adjust.
29506         * config.make.in: Likewise.
29507         * Makeconfig: Likewise.
29508         * manual/install.texi: Likewise.
29510         In case anyone cares, the IA-64 architecture could move to ports.
29511         * sysdeps/ia64/*: Removed.
29512         * sysdeps/unix/sysv/linux/ia64/*: Removed.
29513         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29515         [BZ #13555]
29516         * configure.in: Remove entries for unsupported architectures.
29518         [BZ #13533]
29519         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29520         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
29521         routines.
29522         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29523         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29524         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
29525         fall back to using wcrtomb.
29526         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29527         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
29528         renaming.
29529         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29530         * wcsmbs/tst-c16c32-1.c: New file.
29532         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29533         local variable.
29535         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29537         * elf/tst-unique3.cc: Add explicit declaration of gets.
29538         * elf/tst-unique3lib.cc: Likewise.
29539         * elf/tst-unique3lib2.cc: Likewise.
29540         * elf/tst-unique4.cc: Likewise.
29542         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29544 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
29546         [BZ #13566]
29547         * assert/assert.h (static_assert): Don't define for C++.
29548         * libio/stdio.h (gets): Do declare for C++ <= C++11.
29549         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29551 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
29553         * iconv/loop.c (single loop): Fix assertion in storing of
29554         remaining bytes.
29556         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29558 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
29560         * posix/getconf.c: Update copyright year.
29561         * nss/getent.c: Likewise.
29562         * nss/makedb.c: Likewise.
29563         * iconv/iconvconfig.c: Likewise.
29564         * iconv/iconv_prog.c: Likewise.
29565         * elf/ldconfig.c: Likewise.
29566         * elf/pldd.c: Likewise.
29567         * elf/sotruss.ksh: Likewise.
29568         * catgets/gencat.c: Likewise.
29569         * csu/version.c: Likewise.
29570         * elf/ldd.bash.in: Likewise.
29571         * elf/sprof.c (print_version): Likewise.
29572         * locale/programs/locale.c: Likewise.
29573         * locale/programs/localedef.c: Likewise.
29574         * login/programs/pt_chown.c: Likewise.
29575         * nscd/nscd.c (print_version): Likewise.
29576         * debug/xtrace.sh: Likewise.
29577         * malloc/memusage.sh: Likewise.
29578         * malloc/mtrace.pl: Likewise.
29579         * debug/catchsegv.sh: Likewise.
29581 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
29583         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29584         pure attribute.
29586 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
29588         [BZ #13533]
29589         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29590         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29591         transformations.
29592         * iconv/gconv_int.h: Likewise.
29593         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29594         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29595         from libc for GLIBC_2.16.
29596         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29597         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29598         * wcsmbs/uchar.h: Really define mbstate_t.
29599         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29600         * wcsmbs/c16rtomb.c: New file.
29601         * wcsmbs/mbrtoc16.c: New file.
29602         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29603         for C/POSIX locale.
29604         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29605         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29607         * wcsmbs/wchar.h: Add missing __restrict.
29609 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29611         [BZ #13532]
29612         * time/Makefile (routines): Add timespec_get.
29613         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29614         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
29615         timespec for ISO C11.
29616         * time/timespec_get.c: New file.
29617         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29618         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29620         [BZ #13531]
29621         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29622         * stdlib/stdlib.h: Declare aligned_alloc.
29623         * Versions.def: Add GLIBC_2.16 for libc.
29624         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29626         [BZ 13527]
29627         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29628         ISO C11.
29630         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29631         code.
29633         [BZ #13528]
29634         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29636         [BZ #13529]
29637         * assert/assert.h (static_assert): Define.
29639         * version.h: Update for 2.16 development version.
29641         [BZ #13526]
29642         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29643         _ISOC11_SOURCE.
29645         * version.h (RELEASE): Bump for 2.15 release.
29646         * include/features.h (__GLIBC_MINOR__): Bump to 15.
29648         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29649         Patch by Marek Polacek <mpolacek@redhat.com>.
29651         * bits/byteswap.h: Protect long long constants with __extension__.
29652         * sysdeps/i386/bits/byteswap.h: Likewise.
29653         * sysdeps/ia64/bits/byteswap.h: Likewise.
29654         * sysdeps/s390/bits/byteswap.h: Likewise.
29655         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29657 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29659         [BZ #13540]
29660         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29661         destination buffer.
29662         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29664 2011-12-23  Marek Polacek  <polacek@redhat.com>
29666         * elf/dl-addr.c (determine_info): Add inline keyword.
29667         * elf/tst-auditmod4b.c (check_avx): Likewise.
29668         * elf/tst-auditmod6b.c (check_avx): Likewise.
29669         * elf/tst-auditmod6c.c (check_avx): Likewise.
29670         * elf/tst-auditmod7b.c (check_avx): Likewise.
29672 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29674         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29675         !__SSE_MATH__.
29677 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29679         [BZ #13540]
29680         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29681         processing for last bytes.
29683 2011-08-06  Bruno Haible  <bruno@clisp.org>
29685         [BZ #13061]
29686         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29687         U+0385, not to U+1FEE.
29689         [BZ #13062]
29690         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29691         entry for U+00A5 U+0301.
29693 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29695         [BZ #13166]
29696         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29697         buffer for the output is too small.
29699         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29700         optimization.
29702         [BZ #13185]
29703         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29704         SSE flags if possible.
29706 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29708         [BZ #13540]
29709         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29710         processing for last bytes.
29712 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
29714         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29715         (syscall-list-default-options, syscall-list-default-condition)
29716         (syscall-list-includes): Define.
29717         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29718         list of ABIs and options and #if conditions for each ABI.  Do not
29719         handle common syscalls between ABIs specially.
29720         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29721         Remove.
29722         (syscall-list-variants, syscall-list-32bit-options)
29723         (syscall-list-32bit-condition, syscall-list-64bit-options)
29724         (syscall-list-64bit-condition): Define.
29725         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29726         (syscall-list-variants, syscall-list-32bit-options)
29727         (syscall-list-32bit-condition, syscall-list-64bit-options)
29728         (syscall-list-64bit-condition): Define.
29729         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29730         Remove.
29731         (syscall-list-variants, syscall-list-32bit-options)
29732         (syscall-list-32bit-condition, syscall-list-64bit-options)
29733         (syscall-list-64bit-condition): Define.
29734         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29735         Remove.
29736         (syscall-list-variants, syscall-list-32bit-options)
29737         (syscall-list-32bit-condition, syscall-list-64bit-options)
29738         (syscall-list-64bit-condition): Define.
29740 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29742         * locale/iso-639.def: Add brx entry.
29744         [BZ #13328]
29745         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29746         Proposed by Mariusz_Cukr <marcukr@op.pl>.
29748         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29749         __feraiseexcept_renamed.
29751 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29753         [BZ #13538]
29754         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29755         EPOLLET with unsigned values.
29756         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29757         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29759         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29760         to large cancellation.
29761         * math/s_cacoshf.c: Likewise.
29762         * math/s_cacoshl.c: Likewise.
29764 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
29766         [BZ #13305]
29767         [BZ #12786]
29768         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29769         * math/s_cacoshf.c: Likewise.
29770         * math/s_cacoshl.c: Likewise.
29772 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29774         [BZ #13439]
29775         * iconv/gconv.h: Define __GCONV_SWAP.
29776         * iconvdata/unicode.c: The swap bit must be stored in __flags.
29777         * iconvdata/utf-16.c: Likewise.
29778         * iconvdata/utf-32.c: Likewise.
29780 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29782         [BZ #13524]
29783         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29784         numerator after shifting it by one limb.
29786 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
29788         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29789         under [__USE_EXTERN_INLINES].
29791 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29793         [BZ #13446]
29794         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29796 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29798         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29799         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29800         optimized code.
29801         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29802         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29803         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29804         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29805         for strncasecmp/strncasecmp_l compilation.
29806         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29807         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29809 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
29811         [BZ #13484]
29812         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29813         of __asm__.
29815 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29817         [BZ #13506]
29818         * time/tzfile.c (__tzfile_read): Check values from file header.
29820 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29822         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29823         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29824         * powerpc/powerpc32/dl-start.S: Likewise.
29825         * powerpc/powerpc32/elf/start.S: Likewise.
29826         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29827         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29828         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29829         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29830         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29831         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29832         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29833         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29834         * powerpc/powerpc32/fpu/s_round.S: Likewise.
29835         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29836         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29837         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29838         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29839         * powerpc/powerpc32/memset.S: Likewise.
29840         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29841         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29842         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29843         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29844         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29845         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29846         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29847         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29848         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29849         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29850         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29851         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29852         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29854 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29856         * math/libm-test.inc: Added more nearbyint tests.
29857         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29858         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29860         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29862 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
29864         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29865         FD_CLOEXEC.
29867 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29869         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29870         Add wcscpy-ssse3 wcscpy-c.
29871         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29872         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29873         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29874         * sysdeps/x86_64/wcschr.S: New file.
29875         * sysdeps/x86_64/wcsrchr.S: New file.
29876         * string/test-strcmp.c: Remove checking of wcscmp function for
29877         wrong alignments.
29878         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29879         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29880         wcsrchr-sse2 wcsrchr-c.
29881         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29882         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29883         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29884         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29885         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29886         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29887         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29888         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29889         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29890         * wcsmbc/wcschr.c (WCSCHR): New macro.
29892 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29894         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29895         * wcsmbs/test-wcsrchr.c: New file.
29896         * string/test-strrchr.c: Add wcsrchr support.
29897         (WIDE): New macro.
29898         * wcsmbs/test-wcscpy.c: New file.
29899         * string/test-strcpy.c: Add wcscpy support.
29900         (WIDE): New macro.
29902 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
29904         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29905         the inner loop.
29907 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
29909         [BZ #13472]
29910         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29912 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
29914         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29915         Minor optimizations.
29917         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29918         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29919         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29921 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
29923         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29924         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29925         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29926         for gcc to avoid warnings.
29927         * inet/Makefile (tests): Add tst-checks.
29928         * inet/tst-checks.c: New file.
29930         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29931         warning.
29933         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29934         __wmemcmp_sse2.
29936         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29937         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29939         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29941 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
29943         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29944         problem.
29946         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29948 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
29950         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29951         conditional on GCC version.
29952         (__arch_compare_and_exchange_val_8_acq)
29953         (__arch_compare_and_exchange_val_16_acq)
29954         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29955         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29956         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29958 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
29960         * sysdeps/sh/backtrace.c: New file.
29962 2011-12-02  Andreas Schwab  <schwab@redhat.com>
29964         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
29965         parenthesis.
29967 2011-12-01  Andreas Schwab  <schwab@redhat.com>
29969         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29970         falling back to utime.
29972 2011-11-30  Andreas Schwab  <schwab@redhat.com>
29974         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29975         expectations for float.
29977 2011-11-29  Andreas Schwab  <schwab@redhat.com>
29979         * locale/weight.h (findidx): Add parameter len.
29980         * locale/weightwc.h (findidx): Likewise.
29981         * posix/fnmatch_loop.c (FCT): Adjust caller.
29982         * posix/regcomp.c (build_equiv_class): Likewise.
29983         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29984         * posix/regexec.c (check_node_accept_bytes): Likewise.
29985         * string/strcoll_l.c (STRCOLL): Likewise.
29986         * string/strxfrm_l.c (STRXFRM): Likewise.
29988 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
29990         * Makefile.in: Remove CVSOPT handling.
29991         * configure.in: Remove use of AC_REVISION.
29992         * iconvdata/Makefile (distribute): No need to filter out CVS.
29993         * scripts/list-sources.sh: Remove CVS, subversion and monotone
29994         handling.
29996 2011-11-16  Andreas Schwab  <schwab@redhat.com>
29998         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29999         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30000         [USE_AS_STRNCASECMP_L]: Likewise.
30001         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30002         NO_TLS_DIRECT_SEG_REFS.
30003         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30004         Fix argument offsets for non-PIC.
30005         [USE_AS_STRNCASECMP_L]: Likewise.
30006         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30007         NO_TLS_DIRECT_SEG_REFS.
30009 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30011         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30012         O_CLOEXEC.
30013         * locale/loadlocale.c (_nl_load_locale): Likewise.
30015 2011-11-15  Andreas Schwab  <schwab@redhat.com>
30017         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30018         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30019         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30020         (SYSCALL_GETTIME): Set errno on error.
30022         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30023         count references to noai6ai_cached.
30025 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30027         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30029         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30030         FD_CLOEXEC for /proc/self/maps.
30032         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30033         FD_CLOEXEC for /proc/meminfo.
30035         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30036         gai.conf.
30038         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
30039         FD_CLOEXEC for given file.
30041         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30043         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30044         FD_CLOEXEC for /etc/hosts.
30045         (_gethtent): Likewise.
30047         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30049         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30050         cancellation and set FD_CLOEXEC for /etc/netgroup.
30052         * nss/nss_files/files-key.c (search): Don't allow cancellation when
30053         reading /etc/publickey.
30055         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30056         allow cancellation when reading /etc/group.
30058         * nss/nss_files/files-alias.c (internal_setent): Don't allow
30059         cancellation.
30060         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
30062         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30063         when using data file.
30065         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30067         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30068         (write_nis_obj): Use "c" and "e" in fopen.
30070         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30072         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30074         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30076         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30078         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30079         locale.alias.
30081         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30083         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30085         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30087         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30088         file parsing and set FD_CLOEXEC.
30090 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30092         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30094 2011-11-14  Andreas Schwab  <schwab@redhat.com>
30096         * malloc/arena.c (arena_get2): Don't call reused_arena when
30097         _int_new_arena failed.
30099 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30101         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30102         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30103         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30104         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30105         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30106         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30107         to compile strcasecmp and strncasecmp.
30108         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30109         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30111         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30113 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
30115         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30116         locale-defines.sym to gen-as-const-headers.
30117         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30118         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30119         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30120         to compile strcasecmp and strncasecmp.
30121         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30122         strcasecmp_l and strncasecmp_l.
30123         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30124         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30125         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30126         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30127         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30128         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30129         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30130         * sysdeps/i386/i686/multiarch/strncase.S: New file.
30131         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30132         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30133         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30135 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
30137         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30138         result of SYSDEP_GETTIME_CPU to retval.
30139         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30140         parameter list to macro.  Remove trailing semicolon.  Adjust users.
30142         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30143         variable.
30145         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30146         mantissa words.
30147         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30149         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30150         from unused variable.
30152         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30153         DWARF definitions.
30154         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30155         for assembling.
30157         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30158         over namespaces.
30160         * sunrpc/rpc_prot.c (rejected): Fix case value.
30162         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30163         unsigned long long int to avoid warnings in shift.
30165         * posix/regex_internal.c (re_string_reconstruct): Actually use result
30166         of use of trans.
30167         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30168         variable tmp.
30170         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30171         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30172         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30174         * nis/nis_table.c (nis_list): Use variable of correct type for
30175         result of __follow_path call.
30177 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30179         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30180         of math functions ceil, trunc, floor, round, and sqrt, when
30181         avaliable on the platform.
30182         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30183         name clash.
30184         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30185         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30186         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30188 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
30190         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30191         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30193 2011-11-11  Roland McGrath  <roland@hack.frob.com>
30195         * include/unistd.h: Fix __readlink return type.
30196         Reported by Chris Metcalf <cmetcalf@tilera.com>.
30198 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
30200         * stdlib/ucontext.h: Undo last change for makecontext.
30202 2011-11-11  Andreas Schwab  <schwab@redhat.com>
30204         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30206         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30207         * setjmp/setjmp.h: Mark functions as non-leaf.
30208         * setjmp/bits/setjmp2.h: Likewise.
30209         * stdlib/ucontext.h: Likewise.
30211 2011-11-10  Andreas Schwab  <schwab@redhat.com>
30213         * malloc/arena.c (_int_new_arena): Don't increment narenas.
30214         (reused_arena): Don't check arena limit.
30215         (arena_get2): Atomically check arena limit.
30217 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
30219         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30220         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30222         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30223         instructions.
30225 2011-11-07  Andreas Schwab  <schwab@redhat.com>
30227         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30228         handler when locking.
30230         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30231         Fix size of allocated buffer.
30233 2011-11-04  Andreas Schwab  <schwab@redhat.com>
30235         [BZ #10103]
30236         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30237         declarations for long double functions.
30238         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30240         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30242 2011-11-03  Andreas Schwab  <schwab@redhat.com>
30244         * nscd/nscd.c (main): Don't start AVC thread until credentials are
30245         installed.
30247         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30248         is disabled.
30250 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30252         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30254 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30256         * include/alloca.h (stackinfo_alloca_round): Define.
30257         (extend_alloca): Use it.
30258         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30259         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30260         here.
30262         * scripts/check-local-headers.sh: Ignore libaudit.h.
30264         * nscd/Makefile (extra-objs): Make recursively expanded.
30266 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
30268         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30269         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30271         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30272         * posix/tst-rfc3484-2.c: Likewise.
30273         * posix/tst-rfc3484-3.c: Likewise.
30275         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30276         process_vm_writev.
30277         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30278         process_vm_writev.
30279         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30280         process_vm_writev from libc using GLIBC_2.15 version.
30282         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30284 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
30286         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30287         stack usage.
30289 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
30291         [BZ #13367]
30292         * nss/getent.c (initgroups_keys): Show error message in case no group
30293         names are given.
30295         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30296         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30297         __bump_nl_timestamp.
30298         * nscd/connections (nscd_init): When host database is served open
30299         netlink socket and request notification about configuration changes.
30300         (main_loop_poll): Track netlink file descriptor and bump timestamp
30301         in case data becomes available.
30302         (main_loop_epoll): Likewise.
30303         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30304         (database_pers_head): Add extra_data fileds.
30305         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30306         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30307         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30308         Adjust caller.
30309         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30310         in6ai data, call __free_in6ai.
30311         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30312         Add -DHAVE_NETLINK.
30313         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
30314         interface information.  Reuse previous data if netlink timestamp
30315         is not changed.
30316         (__bump_nl_timestamp): New function.
30317         (__free_in6ai): New function.
30319 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
30321         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30322         close_not_cancel_no_status here.
30323         (__check_pf): Reorganize code a bit to not call close twice if OOM.
30325 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30327         [BZ #13276]
30328         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30329         return value.
30331         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30332         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30333         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30335 2011-07-03  Andreas Jaeger  <aj@suse.de>
30337         [BZ #10709]
30338         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30339         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30340         * math/libm-test.inc (sin_test): Add test case.
30342 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30344         [BZ #13337]
30345         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30346         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30348         * elf/chroot_canon.c (chroot_canon): Cleanups.
30350         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30352         [BZ #13335]
30353         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30354         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30356         * string/test-strchr.c: Make usable for strchrnul testing.
30357         * string/test-strchrnul.c: New file.
30358         * string/Makefile (strop-tests): Add strchrnul.
30360         * po/it.po: Update from translation team.
30361         * po/es.po: Likewise.
30363 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
30365         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30366         the three constants needed as parameters.  Drop the others.
30367         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30368         __m128i_strloadu_tolower.
30369         Create and initialize variable zero and use it in all the places
30370         where _mm_setzero_si128 was used.
30372         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30373         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30374         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30375         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30376         anymore.
30377         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30378         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30379         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30380         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30381         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30382         __mpranred, __mptan.
30383         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30384         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30385         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30386         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30387         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30388         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30389         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30390         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30391         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30393 2011-10-28  Andreas Schwab  <schwab@redhat.com>
30395         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30396         redefine if SHARED.
30397         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30399         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30400         wide char related routines to wcsmbs subdir.
30402 2011-10-27  Andreas Schwab  <schwab@redhat.com>
30404         [BZ #13344]
30405         * misc/sys/cdefs.h (__THROWNL): Define.
30406         * posix/unistd.h: Use __THREADNL instead of __THREAD
30407         for memory synchronization functions.
30409 2011-10-26  Roland McGrath  <roland@hack.frob.com>
30411         [BZ #13349]
30412         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30413         doesn't exist.
30414         * manual/stdio.texi (Obstack Streams): Node removed.
30416 2011-10-26  Andreas Schwab  <schwab@redhat.com>
30418         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30419         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30420         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30422         * math/math_private.h (math_force_eval): Allow non-addressable
30423         arguments.
30424         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30426 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30428         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30429         file is not needed.
30431         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30432         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30433         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30434         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30435         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30436         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30437         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30438         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30439         Add AVX variants.
30440         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30441         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30442         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30443         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30444         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30445         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30446         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30447         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30448         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30449         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30450         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30451         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30452         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30453         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30454         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30455         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30456         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30457         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30458         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30460         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30461         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
30463         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30464         place.  Use VEX encoding when compiling for AVX.
30466 2011-10-25  Andreas Schwab  <schwab@redhat.com>
30468         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30469         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30471         * string/test-strchr.c (do_test): Don't generate NUL bytes.
30473 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30475         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30476         useless if() expression.
30477         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30478         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30479         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30480         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30481         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30482         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30483         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30484         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30485         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30486         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30487         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30488         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30489         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30490         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30491         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30492         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30493         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30494         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30495         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30497         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30499 2011-10-25  Andreas Schwab  <schwab@redhat.com>
30501         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30502         condition.
30503         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30505 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30507         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30508         .text section.  Avoid duplicate constants.
30509         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30510         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30511         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30512         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30513         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30514         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30515         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30516         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30517         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30518         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30519         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30520         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30521         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30522         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30523         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30524         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30525         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30526         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30527         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30528         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30529         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30530         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30531         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30532         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30533         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30534         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30535         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30536         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30537         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30538         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30539         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30540         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30541         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30542         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30543         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30544         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30545         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30546         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30547         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30548         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30549         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30550         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30551         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30552         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30553         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30555 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
30557         * sysdeps/x86_64/dla.h: Move to ...
30558         * sysdeps/x86_64/fpu/dla.h: ...here.
30559         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30560         situations.  Use __builtin_fma only for gcc 4.6 and up.
30562         * config.make.in: Add have-mfma4 entry.
30563         * configure.in: Substitute libc_cv_cc_fma4.
30564         * math/Makefile (dbl-only-routines): Add sincostab.
30565         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30566         Use __sincostab not sincos.
30567         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30568         name is a macro.
30569         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30572         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
30573         using __copysign.
30574         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
30575         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
30576         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30577         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30578         and __inv.
30579         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30580         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30581         __copysign.
30582         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
30583         define aliases when function name is a macro.
30584         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30585         sysdeps/ieee754/dbl-64/sincos.tbl.
30586         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30587         fma4-enabled routines.
30588         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30589         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30590         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30591         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30592         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30593         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30594         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30595         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30596         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30597         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30598         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30599         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30600         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30601         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30602         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30603         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30604         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30605         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30606         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30607         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30608         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30609         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30610         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30611         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30612         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30613         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30614         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30615         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30616         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30617         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30619         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30620         rename.
30621         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30622         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30623         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30625         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30626         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30627         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30628         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30630 2011-10-24  Andreas Schwab  <schwab@redhat.com>
30632         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30634 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30636         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30638         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30639         prediction.
30640         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30642         * string/strnlen.c: Don't define STRNLEN, reverse logic.
30643         Remove unused variable magic_bits.
30644         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30646         * string/strnlen.c: Define and use STRNLEN macro.
30647         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30648         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30649         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30650         * wcsmbs/wcslen.c: Define and use WCSLEN.
30651         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30652         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30653         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30654         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30655         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30656         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30657         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30659 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30662         strnlen-sse2-no-bsf.
30663         Rename strlen-no-bsf to strlen-sse2-no-bsf.
30664         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30665         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30666         Add strnlen support.
30667         (USE_AS_STRNLEN): New macro.
30668         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30669         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30670         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30671         * sysdeps/x86_64/wcslen.S: New file.
30673 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
30675         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30676         XMM-moves are used for copying on small sizes.
30678 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30680         * wcsmbs/Makefile (strop-tests): Add wcschr.
30681         * wcsmbs/test-wcschr.c: New file.
30682         * string/test-strchr.c: Update.
30683         Add wcschr support.
30684         (WIDE): New macro.
30686 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30688         * wcsmbs/Makefile (strop-tests): Add wcslen.
30689         * wcsmbs/test-wcslen.c: New file.
30690         * string/test-strlen.c: Update.
30691         Add wcslen support.
30692         (WIDE): New macro.
30694 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30696         * po/it.po: Update from translation team.
30698 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30700         * sysdeps/x86_64/wcscmp.S: Update.
30701         Fix wrong comparison semantics.
30702         wcscmp shall use signed comparison not unsigned.
30703         Don't use substraction to avoid overflow bug.
30704         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30705         * wcsmbc/wcscmp.c: Likewise.
30706         * string/test-strcmp.c: Likewise.
30707         Add new tests to check cases with negative values.
30709 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30711         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30712         * sysdeps/x86_64/dla.h: ...here.  New file.
30713         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30714         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30715         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30716         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30717         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30718         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30719         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30720         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30721         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30723 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
30725         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30726         __ynl_finite aliases.
30728 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30732         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30733         define DLA_FMA.
30734         [DLA_FMA] (EMULV): Use DLA_FMA.
30735         [DLA_FMA] (MUL12): Use EMULV.
30736         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30737         that are not needed.
30738         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30739         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30740         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30741         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30743         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30744         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30746 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
30748         * math/s_nan.c: Undef __nan.
30749         * math/s_nanf.c: Undef __nanf.
30750         * math/s_nanl.c: Undef __nanl.
30751         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30752         "math_private.h".
30754 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30756         * math/s_catan.c: Add branch predictions.
30757         * math/s_catanf.c: Likewise.
30758         * math/s_catanh.c: Likewise.
30759         * math/s_catanhf.c: Likewise.
30760         * math/s_catanhl.c: Likewise.
30761         * math/s_catanl.c: Likewise.
30762         * math/s_cexp.c: Likewise.
30763         * math/s_cexpf.c: Likewise.
30764         * math/s_cexpl.c: Likewise.
30765         * math/s_clog.c: Likewise.
30766         * math/s_clog10.c: Likewise.
30767         * math/s_clog10f.c: Likewise.
30768         * math/s_clog10l.c: Likewise.
30769         * math/s_clogf.c: Likewise.
30770         * math/s_clogl.c: Likewise.
30771         * math/s_csqrt.c: Likewise.
30772         * math/s_csqrtf.c: Likewise.
30773         * math/s_csqrtl.c: Likewise.
30774         * math/s_ctanf.c: Likewise.
30775         * math/s_ctanh.c: Likewise.
30776         * math/s_ctanhf.c: Likewise.
30777         * math/s_ctanhl.c: Likewise.
30778         * math/s_ctanl.c: Likewise.
30780         * math/math_private.h: Define __nan, __nanf, __nanl.
30781         * math/s_cacosh.c: Include <math_private.h>.
30782         * math/s_cacoshl.c: Likewise.
30783         * math/s_casinh.c: Likewise.
30784         * math/s_casinhf.c: Likewise.
30785         * math/s_casinhl.c: Likewise.
30786         * math/s_ccos.c: Rely entire on ccosh.
30787         * math/s_ccosf.c: Rely entire on ccoshf.
30788         * math/s_ccosl.c: Rely entirely on ccoshl.
30789         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
30790         Remove tests for FE_INVALID.
30791         * math/s_ccoshf.c: Likewise.
30792         * math/s_ccoshl.c: Likewise.
30793         * math/s_csin.c: Likewise.
30794         * math/s_csinf.c: Likewise.
30795         * math/s_csinh.c Likewise.
30796         * math/s_csinhf.c: Likewise.
30797         * math/s_csinhl.c: Likewise.
30798         * math/s_csinl.c: Likewise.
30799         * math/s_ctan.c: Likewise.
30800         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30801         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30802         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30804 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
30806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30807         compilation problems.
30809         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30810         __builtin_expect.
30812 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
30814         * sysdeps/i386/configure.in: Test for -mfma4 option.
30815         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30816         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30817         COMMON_CPUID_INDEX_80000001.
30818         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30819         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30820         use it if FMA3 is not supported.
30821         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30823         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30824         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30826 2011-10-20  Andreas Schwab  <schwab@redhat.com>
30828         [BZ #12892]
30829         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30830         it would create a cycle with a link time dependency.
30832 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
30834         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30835         instruction.
30836         * string/Makefile (strop-tests): Add rawmemchr.
30837         * string/test-rawmemchr.c: New file.
30839         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30840         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
30841         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
30842         when compiling str{,n}casecmp and when AVX is available.  Hook up
30843         new optimized code in initializers.
30845 2011-10-19  Andreas Schwab  <schwab@redhat.com>
30847         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30848         __feraiseexcept instead of feraiseexcept.
30850 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
30852         * math/math_private.h: Define defaults for libc_fetestexcept and
30853         libc_feupdateenv.
30854         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30855         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30856         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30857         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30858         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30859         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30860         libc_fetestexcept and libc_feupdateenv.
30862         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30863         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30864         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30865         * sysdeps/x86_64/fpu/math_private.h: Define special version of
30866         libc_feholdexcept_setround.
30868         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30869         Add s_nearbyint-c and s_nearbyintf-c.
30870         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30871         nearbyintf inlines.
30872         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30873         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30874         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30875         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30877         * math/math_private.h: Define defaults for libc_fegetround,
30878         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30879         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30880         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30881         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30882         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30883         standard functions.
30884         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30885         Remove comments and hacks for old compiler versions.
30886         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30887         libc_fegetround, libc_fesetround, libc_feholdexcept, and
30888         libc_feholdexceptl.
30890 2011-10-18  Andreas Schwab  <schwab@redhat.com>
30892         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30893         (__feraiseexcept_renamed): Add __NTH.
30894         (feraiseexcept): Add __NTH.  Rename local variables to fix
30895         namespace violations.
30897 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
30899         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30901         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30903         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30904         recently added interfaces.
30905         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30907         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30908         about macro parameter expansion.
30910         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30911         __NO_MATH_INLINES is defined.  Cleanups.
30913         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30914         and __floorf is target has SSE4.1.
30915         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30916         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30917         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30918         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30920         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30921         name.
30922         (floorf): Likewise.
30924         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30926 2011-10-17  Andreas Schwab  <schwab@redhat.com>
30928         * misc/sys/cdefs.h: Fix last change.
30930         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30931         database lookup.
30933 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
30935         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30937         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30938         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30939         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30940         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30941         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30942         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30943         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30944         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30945         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30946         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30947         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30948         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30949         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30950         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30951         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30952         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30953         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30954         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30955         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30956         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30957         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30958         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30960         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30961         ceil, ceilf, floor, floorf.
30963         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30964         Perform IRELATIVE relocations last.
30966         * elf/do-rel.h: Add another parameter nrelative, replacing the
30967         local variable with the same name.  Change name of the function
30968         to end in Rel or Rela (uppercase).
30969         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30970         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
30971         elf_dynamic_do_##reloc function.
30973 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30975         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30976         is sufficient, at least on modern CPUs.
30978         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30980         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30981         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30983         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30984         __expl_finite.
30985         * math/bits/math-finite.h: Add entries for exp.
30986         * math/e_expl.c: Add __*_finite alias.
30987         * sysdeps/i386/fpu/e_exp.S: Likewise.
30988         * sysdeps/i386/fpu/e_expf.S: Likewise.
30989         * sysdeps/i386/fpu/e_expl.c: Likewise.
30990         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30991         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30992         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30993         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30994         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30995         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30996         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30998         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30999         is sufficient, at least on modern CPUs.
31001         * ctype/ctype-info.c (__ctype_init): Define.
31002         * include/ctype.h (__ctype_init): Declare.
31003         (__ctype_b_loc): The variable is always initialized.
31004         (__ctype_toupper_loc): Likewise.
31005         (__ctype_tolower_loc): Likewise.
31006         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31007         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31009 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
31011         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31013         * configure.in: Also look in $cxxmachine/include for C++ system
31014         headers.
31016 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31018         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31019         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31020         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31021         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
31022         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31023         (USE_AS_WMEMCMP): New macro.
31024         Fixing indents.
31025         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31026         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31027         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31028         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31030         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31031         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31032         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31033         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31034         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31035         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31036         (USE_AS_WMEMCMP): New macro.
31037         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31038         * sysdeps/string/test-memcmp.c: Update.
31039         Fix simple_wmemcmp.
31040         Add new tests.
31041         * wcsmbs/wmemcmp.c: Update.
31042         (WMEMCMP): New macro.
31043         Fix overflow bug.
31045 2011-10-12  Andreas Jaeger  <aj@suse.de>
31047         [BZ #13268]
31048         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31050 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31052         * libio/iofwide.c (do_length): Avoid warning.
31054         * ctype/ctype.h (__isctype_f): Add missing __THROW.
31056 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
31058         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31060         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31061         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31062         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31063         * sysdeps/i386/i686/fpu/e_log.S: New file.
31064         * sysdeps/i386/i686/fpu/e_logf.S: New file.
31065         * sysdeps/i386/i686/fpu/e_logl.S: New file.
31067         * ctype/ctype.h: Add support for inlined isXXX functions when
31068         compiling C++ code.
31070 2011-10-14  Andreas Schwab  <schwab@redhat.com>
31072         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31074         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31076 2011-10-13  Roland McGrath  <roland@hack.frob.com>
31078         [BZ #13291]
31079         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31081 2011-10-13  Andreas Schwab  <schwab@redhat.com>
31083         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31084         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31085         feraiseexcept.
31087         * sysdeps/x86_64/memrchr.S: Check for zero size.
31089         * string/stratcliff.c: Add memrchr tests.
31091 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31094         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31095         rawmemchr-sse2 rawmemchr-sse2-bsf.
31096         * sysdeps/i386/i686/multiarch/memchr.S: New file.
31097         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31098         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31099         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31100         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31101         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31102         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31103         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31104         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31105         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31106         * string/memrchr.c (MEMRCHR): New macro.
31108 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
31110         Add integration with gcc's -ffinite-math-only and optimize wrapper
31111         functions in libm.
31112         * Versions.def: Define GLIBC_2.15 version for libm.
31113         * math/Makefile (headers): Add bits/math-finite.h.
31114         * math/bits/math-finite.h: New file.
31115         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31116         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31117         * math/e_acoshl.c: Add __*_finite alias.
31118         * math/e_acosl.c: Likewise.
31119         * math/e_asinl.c: Likewise.
31120         * math/e_atan2l.c: Likewise.
31121         * math/e_atanhl.c: Likewise.
31122         * math/e_coshl.c: Likewise.
31123         * math/e_exp10.c: Likewise.
31124         * math/e_exp10f.c: Likewise.
31125         * math/e_exp10l.c: Likewise.
31126         * math/e_exp2l.c: Likewise.
31127         * math/e_fmodl.c: Likewise.
31128         * math/e_gammal_r.c: Likewise.
31129         * math/e_hypotl.c: Likewise.
31130         * math/e_j0l.c: Likewise.
31131         * math/e_j1l.c: Likewise.
31132         * math/e_jnl.c: Likewise.
31133         * math/e_lgammal_r.c: Likewise.
31134         * math/e_log10l.c: Likewise.
31135         * math/e_log2l.c: Likewise.
31136         * math/e_logl.c: Likewise.
31137         * math/e_powl.c: Likewise.
31138         * math/e_sinhl.c: Likewise.
31139         * math/e_sqrtl.c: Likewise.
31140         * math/e_scalb.c: Completely rewritten and optimized.
31141         * math/e_scalbf.c: Likewise.
31142         * math/e_scalbl.c: Likewise.
31143         * math/w_acos.c: Likewise.
31144         * math/w_acosf.c: Likewise.
31145         * math/w_acosl.c: Likewise.
31146         * math/w_acosh.c: Likewise.
31147         * math/w_acoshf.c: Likewise.
31148         * math/w_acoshl.c: Likewise.
31149         * math/w_asin.c: Likewise.
31150         * math/w_asinf.c: Likewise.
31151         * math/w_asinl.c: Likewise.
31152         * math/w_atan2.c: Likewise.
31153         * math/w_atan2f.c: Likewise.
31154         * math/w_atan2l.c: Likewise.
31155         * math/w_atanh.c: Likewise.
31156         * math/w_atanhf.c: Likewise.
31157         * math/w_atanhl.c: Likewise.
31158         * math/w_exp10.c: Likewise.
31159         * math/w_exp10f.c: Likewise.
31160         * math/w_exp10l.c: Likewise.
31161         * math/w_fmod.c: Likewise.
31162         * math/w_fmodf.c: Likewise.
31163         * math/w_fmodl.c: Likewise.
31164         * math/w_j0.c: Likewise.
31165         * math/w_j0f.c: Likewise.
31166         * math/w_j0l.c: Likewise.
31167         * math/w_j1.c: Likewise.
31168         * math/w_j1f.c: Likewise.
31169         * math/w_j1l.c: Likewise.
31170         * math/w_jn.c: Likewise.
31171         * math/w_jnf.c: Likewise.
31172         * math/w_log.c: Likewise.
31173         * math/w_logf.c: Likewise.
31174         * math/w_logl.c: Likewise.
31175         * math/w_log10.c: Likewise.
31176         * math/w_log10f.c: Likewise.
31177         * math/w_log10l.c: Likewise.
31178         * math/w_log2.c: Likewise.
31179         * math/w_log2f.c: Likewise.
31180         * math/w_log2l.c: Likewise.
31181         * math/w_pow.c: Likewise.
31182         * math/w_powf.c: Likewise.
31183         * math/w_powl.c: Likewise.
31184         * math/w_remainder.c: Likewise.
31185         * math/w_remainderf.c: Likewise.
31186         * math/w_remainderl.c: Likewise.
31187         * math/w_scalb.c: Likewise.
31188         * math/w_scalbf.c: Likewise.
31189         * math/w_scalbl.c: Likewise.
31190         * math/w_sqrt.c: Likewise.
31191         * math/w_sqrtf.c: Likewise.
31192         * math/w_sqrtl.c: Likewise.
31193         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31194         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
31195         used.
31196         * math/math_private.h: Declare __kernel_standard_f.
31197         * math/w_cosh.c: Remove cruft and optimize a bit.
31198         * math/w_coshf.c: Likewise.
31199         * math/w_coshl.c: Likewise.
31200         * math/w_exp2.c: Likewise.
31201         * math/w_exp2f.c: Likewise.
31202         * math/w_exp2l.c: Likewise.
31203         * math/w_hypot.c: Likewise.
31204         * math/w_hypotf.c: Likewise.
31205         * math/w_hypotl.c: Likewise.
31206         * math/w_lgamma.c: Likewise.
31207         * math/w_lgamma_r.c: Likewise.
31208         * math/w_lgammaf.c: Likewise.
31209         * math/w_lgammaf_r.c: Likewise.
31210         * math/w_lgammal.c: Likewise.
31211         * math/w_lgammal_r.c: Likewise.
31212         * math/w_sinh.c: Likewise.
31213         * math/w_sinhf.c: Likewise.
31214         * math/w_sinhl.c: Likewise.
31215         * math/w_tgamma.c: Likewise.
31216         * math/w_tgammaf.c: Likewise.
31217         * math/w_tgammal.c: Likewise.
31218         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31219         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31220         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31221         Minor optimizations.  Pretty printing.  Remove cruft.
31222         * sysdeps/i386/fpu/e_acosf.S: Likewise.
31223         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31224         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31225         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31226         * sysdeps/i386/fpu/e_acosl.c: Likewise.
31227         * sysdeps/i386/fpu/e_asin.S: Likewise.
31228         * sysdeps/i386/fpu/e_asinf.S: Likewise.
31229         * sysdeps/i386/fpu/e_atan2.S: Likewise.
31230         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31231         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31232         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31233         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31234         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31235         * sysdeps/i386/fpu/e_exp10.S: Likewise.
31236         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31237         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31238         * sysdeps/i386/fpu/e_exp2.S: Likewise.
31239         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31240         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31241         * sysdeps/i386/fpu/e_fmod.S: Likewise.
31242         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31243         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31244         * sysdeps/i386/fpu/e_hypot.S: Likewise.
31245         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31246         * sysdeps/i386/fpu/e_log.S: Likewise.
31247         * sysdeps/i386/fpu/e_log10.S: Likewise.
31248         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31249         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31250         * sysdeps/i386/fpu/e_log2.S: Likewise.
31251         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31252         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31253         * sysdeps/i386/fpu/e_logf.S: Likewise.
31254         * sysdeps/i386/fpu/e_logl.S: Likewise.
31255         * sysdeps/i386/fpu/e_pow.S: Likewise.
31256         * sysdeps/i386/fpu/e_powf.S: Likewise.
31257         * sysdeps/i386/fpu/e_powl.S: Likewise.
31258         * sysdeps/i386/fpu/e_remainder.S: Likewise.
31259         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31260         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31261         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31262         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31263         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31264         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31265         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31266         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31267         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31268         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31269         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31270         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31271         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31272         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31273         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31274         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31275         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31276         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31277         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31278         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31279         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31280         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31281         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31282         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31283         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31284         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31285         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31286         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31287         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31288         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31289         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31290         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31291         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31292         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31293         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31294         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31295         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31296         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31297         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31298         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31299         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31300         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31301         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31302         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31303         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31304         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31305         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31306         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31307         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31308         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31309         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31310         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31311         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31312         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31313         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31314         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31315         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31316         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31317         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31318         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31319         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31320         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31321         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31322         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31323         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31324         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31325         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31326         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31327         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31328         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31329         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31330         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31331         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31332         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31333         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31334         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31335         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31336         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31337         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31338         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31339         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31340         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31341         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31342         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31343         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31344         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31345         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31346         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31347         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31348         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31349         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31350         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31351         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31352         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31353         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31354         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31355         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31356         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31357         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31358         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31359         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31360         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31361         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31362         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31363         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31364         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31365         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31366         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31367         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31368         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31369         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31370         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31371         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31372         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31373         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31374         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31375         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31376         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31377         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
31378         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31379         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31380         (__isnanf): Likewise.
31381         (__isinf_ns): Likewise.
31382         (__isinf_nsf): Likewise.
31383         (__finite): Likewise.
31384         (__finitef): Likewise.
31385         (__ieee754_sqrt): Define as macro.
31386         (__ieee754_sqrtf): Define as macro.
31387         (__ieee754_sqrtl): Define as macro.
31388         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31389         inlined copy.
31390         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31391         __FINITE_MATH_ONLY__ consistent.
31392         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31394 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
31396         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31397         of rawmemchr.
31399         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31401 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
31403         * po/ja.po: Update from translation team.
31405 2011-10-08  Roland McGrath  <roland@hack.frob.com>
31407         * locale/programs/locarchive.c (prepare_address_space): New function.
31408         (create_archive, enlarge_archive, open_archive): Use it.
31410         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31411         inside [SHARED], where it is used.
31413         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31415         * nss/getent.c (netgroup_keys): Remove unused variable.
31416         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31418 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
31420         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31421         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31422         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31423         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31424         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31425         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31426         * math/Makefile (libm-calls): Add s_isinf_ns.
31427         * math/divtc3.c: Use __isinf_nsl instead of isinf.
31428         * math/multc3.c: Likewise.
31429         * math/s_casin.c: Likewise.
31430         * math/s_casinf.c: Likewise.
31431         * math/s_casinl.c: Likewise.
31432         * math/s_ccos.c: Likewise.
31433         * math/s_ccosf.c: Likewise.
31434         * math/s_ccosl.c: Likewise.
31435         * math/s_ctan.c: Likewise.
31436         * math/s_ctanf.c: Likewise.
31437         * math/s_ctanh.c: Likewise.
31438         * math/s_ctanhf.c: Likewise.
31439         * math/s_ctanhl.c: Likewise.
31440         * math/s_ctanl.c: Likewise.
31441         * math/w_fmod.c: Likewise.
31442         * math/w_fmodf.c: Likewise.
31443         * math/w_fmodl.c: Likewise.
31444         * math/w_remainder.c: Likewise.
31445         * math/w_remainderf.c: Likewise.
31446         * math/w_remainderl.c: Likewise.
31447         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31448         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31449         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31451         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31452         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31453         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31454         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31456         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31457         of the number.
31458         * stdio-common/printf_fphex.c: Likewise.
31459         * stdio-common/printf_size.c: Likewise.
31461         * math/e_exp10.c: Include math_private.h using <...> not "...".
31462         * math/e_exp10f.c: Likewise.
31463         * math/e_exp10l.c: Likewise.
31464         * math/e_exp2l.c: Likewise.
31465         * math/e_j0l.c: Likewise.
31466         * math/e_j1l.c: Likewise.
31467         * math/e_jnl.c: Likewise.
31468         * math/e_lgammal_r.c: Likewise.
31469         * math/e_rem_pio2l.c: Likewise.
31470         * math/e_scalb.c: Likewise.
31471         * math/e_scalbf.c: Likewise.
31472         * math/e_scalbl.c: Likewise.
31473         * math/k_cosl.c: Likewise.
31474         * math/k_sinl.c: Likewise.
31475         * math/k_tanl.c: Likewise.
31476         * math/s_cacoshf.c: Likewise.
31477         * math/s_catan.c: Likewise.
31478         * math/s_catanf.c: Likewise.
31479         * math/s_catanh.c: Likewise.
31480         * math/s_catanhf.c: Likewise.
31481         * math/s_catanhl.c: Likewise.
31482         * math/s_catanl.c: Likewise.
31483         * math/s_ccosh.c: Likewise.
31484         * math/s_ccoshf.c: Likewise.
31485         * math/s_ccoshl.c: Likewise.
31486         * math/s_cexp.c: Likewise.
31487         * math/s_cexpf.c: Likewise.
31488         * math/s_cexpl.c: Likewise.
31489         * math/s_clog.c: Likewise.
31490         * math/s_clog10.c: Likewise.
31491         * math/s_clog10f.c: Likewise.
31492         * math/s_clog10l.c: Likewise.
31493         * math/s_clogf.c: Likewise.
31494         * math/s_clogl.c: Likewise.
31495         * math/s_csin.c: Likewise.
31496         * math/s_csinf.c: Likewise.
31497         * math/s_csinh.c: Likewise.
31498         * math/s_csinhf.c: Likewise.
31499         * math/s_csinhl.c: Likewise.
31500         * math/s_csinl.c: Likewise.
31501         * math/s_csqrt.c: Likewise.
31502         * math/s_csqrtf.c: Likewise.
31503         * math/s_csqrtl.c: Likewise.
31504         * math/s_ctan.c: Likewise.
31505         * math/s_ctanf.c: Likewise.
31506         * math/s_ctanh.c: Likewise.
31507         * math/s_ctanhf.c: Likewise.
31508         * math/s_ctanhl.c: Likewise.
31509         * math/s_ctanl.c: Likewise.
31510         * math/s_ldexp.c: Likewise.
31511         * math/s_ldexpf.c: Likewise.
31512         * math/s_ldexpl.c: Likewise.
31513         * math/s_significand.c: Likewise.
31514         * math/s_significandf.c: Likewise.
31515         * math/s_significandl.c: Likewise.
31516         * math/w_acos.c: Likewise.
31517         * math/w_acosf.c: Likewise.
31518         * math/w_acosh.c: Likewise.
31519         * math/w_acoshf.c: Likewise.
31520         * math/w_acoshl.c: Likewise.
31521         * math/w_acosl.c: Likewise.
31522         * math/w_asin.c: Likewise.
31523         * math/w_asinf.c: Likewise.
31524         * math/w_asinl.c: Likewise.
31525         * math/w_atan2.c: Likewise.
31526         * math/w_atan2f.c: Likewise.
31527         * math/w_atan2l.c: Likewise.
31528         * math/w_atanh.c: Likewise.
31529         * math/w_atanhf.c: Likewise.
31530         * math/w_atanhl.c: Likewise.
31531         * math/w_cosh.c: Likewise.
31532         * math/w_coshf.c: Likewise.
31533         * math/w_coshl.c: Likewise.
31534         * math/w_dremf.c: Likewise.
31535         * math/w_exp10.c: Likewise.
31536         * math/w_exp10f.c: Likewise.
31537         * math/w_exp10l.c: Likewise.
31538         * math/w_exp2.c: Likewise.
31539         * math/w_exp2f.c: Likewise.
31540         * math/w_fmod.c: Likewise.
31541         * math/w_fmodf.c: Likewise.
31542         * math/w_fmodl.c: Likewise.
31543         * math/w_hypot.c: Likewise.
31544         * math/w_hypotf.c: Likewise.
31545         * math/w_hypotl.c: Likewise.
31546         * math/w_j0.c: Likewise.
31547         * math/w_j0f.c: Likewise.
31548         * math/w_j0l.c: Likewise.
31549         * math/w_j1.c: Likewise.
31550         * math/w_j1f.c: Likewise.
31551         * math/w_j1l.c: Likewise.
31552         * math/w_jn.c: Likewise.
31553         * math/w_jnf.c: Likewise.
31554         * math/w_jnl.c: Likewise.
31555         * math/w_lgamma.c: Likewise.
31556         * math/w_lgamma_r.c: Likewise.
31557         * math/w_lgammaf.c: Likewise.
31558         * math/w_lgammaf_r.c: Likewise.
31559         * math/w_lgammal.c: Likewise.
31560         * math/w_lgammal_r.c: Likewise.
31561         * math/w_log.c: Likewise.
31562         * math/w_log10.c: Likewise.
31563         * math/w_log10f.c: Likewise.
31564         * math/w_log10l.c: Likewise.
31565         * math/w_log2.c: Likewise.
31566         * math/w_log2f.c: Likewise.
31567         * math/w_log2l.c: Likewise.
31568         * math/w_logf.c: Likewise.
31569         * math/w_logl.c: Likewise.
31570         * math/w_pow.c: Likewise.
31571         * math/w_powf.c: Likewise.
31572         * math/w_powl.c: Likewise.
31573         * math/w_remainder.c: Likewise.
31574         * math/w_remainderf.c: Likewise.
31575         * math/w_remainderl.c: Likewise.
31576         * math/w_scalb.c: Likewise.
31577         * math/w_scalbf.c: Likewise.
31578         * math/w_scalbl.c: Likewise.
31579         * math/w_sinh.c: Likewise.
31580         * math/w_sinhf.c: Likewise.
31581         * math/w_sinhl.c: Likewise.
31582         * math/w_sqrt.c: Likewise.
31583         * math/w_sqrtf.c: Likewise.
31584         * math/w_sqrtl.c: Likewise.
31585         * math/w_tgamma.c: Likewise.
31586         * math/w_tgammaf.c: Likewise.
31587         * math/w_tgammal.c: Likewise.
31589         * po/ja.po: Update from translation team.
31591 2011-09-29  Andreas Jaeger  <aj@suse.de>
31593         [BZ #13179]
31594         * sunrpc/netname.c (netname2host): Fix logic.
31596         [BZ #6779]
31597         [BZ #6783]
31598         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31599         correctly.
31600         * math/w_remainder.c (__remainder): Likewise.
31601         * math/w_remainderf.c (__remainderf): Likewise.
31602         * math/libm-test.inc (remainder_test): Add test cases.
31604 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31606         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
31607         sdiv_qrnnd.
31609 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31611         * string/test-memcmp.c: Avoid unncessary #defines.
31612         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31614 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31616         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31617         Use new sse2 version for core i3 - i7 as it's faster
31618         than sse42 version.
31619         (bit_Prefer_PMINUB_for_stringop): New.
31620         * sysdeps/x86_64/rawmemchr.S: Update.
31621         Replace with faster SSE2 version.
31622         * sysdeps/x86_64/memrchr.S: New file.
31623         * sysdeps/x86_64/memchr.S: Update.
31624         Replace with faster SSE2 version.
31626 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
31628         * elf/dl-load.c (lose): Add cast to avoid warning.
31630 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31632         * po/ca.po: Update from translation team.
31634         * inet/getnetgrent_r.c: Hook up nscd.
31635         * nscd/Makefile (routines): Add nscd_netgroup.
31636         (nscd-modules): Add netgroupcache.
31637         (CFLAGS-netgroupcache.c): Define.
31638         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31639         (cache_search): Add const to second parameter.
31640         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31641         INNETGR.
31642         (dbs): Add netgrdb entry.
31643         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31644         (verify_persistent_db): Handle netgrdb.
31645         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31646         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31647         GETFDNETGR.
31648         (netgroup_response_header): Define.
31649         (innetgroup_response_header): Define.
31650         (datahead): Add netgroup_response_header and innetgroup_response_header
31651         elements.
31652         * nscd/nscd.conf: Add entries for netgroup cache.
31653         * nscd/nscd.h (dbtype): Add netgrdb.
31654         (_PATH_NSCD_NETGROUP_DB): Define.
31655         (netgroup_iov_disabled): Declare.
31656         (xmalloc, xcalloc, xrealloc): Move declarations here.
31657         (cache_search): Adjust prototype.
31658         Add netgroup-related prototypes.
31659         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31660         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31661         (__nscd_innetgr): Declare.
31662         * nscd/selinux.c (perms): Use access_vector_t as element type and
31663         add netgroup-related initializers.
31664         * nscd/netgroupcache.c: New file.
31665         * nscd/nscd_netgroup.c: New file.
31666         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31667         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31668         For four parameters use innetgr.
31669         * nss/nss_files/files-init.c: Add definition and callback for netgr.
31670         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31671         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31672         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31674         * nscd/connections.c (register_traced_file): Don't register file
31675         for disabled databases.
31677 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
31679         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31681         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31682         from tree and freeing node.
31684 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
31686         * nss/nsswitch.c (__nss_database_lookup): Handle
31687         nss_parse_service_list out of memory case.
31689 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
31691         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31692         out of memory case.
31694 2011-10-04  Andreas Schwab  <schwab@redhat.com>
31696         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31697         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31698         pass it down.
31699         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31700         elf_machine_rela, elf_machine_lazy_rel.
31701         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31702         (ELF_DYNAMIC_DO_REL): Likewise.
31703         (ELF_DYNAMIC_DO_RELA): Likewise.
31704         (ELF_DYNAMIC_RELOCATE): Likewise.
31705         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31706         to ELF_DYNAMIC_DO_REL.
31707         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31708         (dl_main): In trace mode always set __RTLD_NOIFUNC.
31709         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31710         elf_machine_rela.
31711         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31712         skip_ifunc, don't call ifunc function if non-zero.
31713         (elf_machine_rela): Likewise.
31714         (elf_machine_lazy_rel): Likewise.
31715         (elf_machine_lazy_rela): Likewise.
31716         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31717         (elf_machine_lazy_rel): Likewise.
31718         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31719         Likewise.
31720         (elf_machine_lazy_rel): Likewise.
31721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31722         Likewise.
31723         (elf_machine_lazy_rel): Likewise.
31724         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31725         (elf_machine_lazy_rel): Likewise.
31726         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31727         (elf_machine_lazy_rel): Likewise.
31728         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31729         (elf_machine_lazy_rel): Likewise.
31730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31731         (elf_machine_lazy_rel): Likewise.
31732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31733         (elf_machine_lazy_rel): Likewise.
31734         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31735         (elf_machine_lazy_rel): Likewise.
31737 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
31739         * nss/nss_files/files-init.c (_nss_files_init): Use static
31740         initialization for all the *_traced_file variables.
31742 2011-09-28  Andreas Schwab  <schwab@redhat.com>
31744         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31746 2011-09-27  Roland McGrath  <roland@hack.frob.com>
31748         [BZ #13226]
31749         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31751 2011-09-27  Andreas Schwab  <schwab@redhat.com>
31753         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31754         Reread the line before reparsing it.
31756 2011-09-26  Andreas Schwab  <schwab@redhat.com>
31758         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31760 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
31761             Maxim Kuvyrkov  <maxim@codesourcery.com>
31762             Joseph Myers  <joseph@codesourcery.com>
31764         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31765         if needed for __stack_chk_guard.
31767 2011-09-19  Roland McGrath  <roland@hack.frob.com>
31769         * sysdeps/posix/spawni.c (script_execute): Always define it.
31770         It will be optimized away if unused.
31771         (maybe_script_execute): New function.
31772         (__spawni): Call it.
31774         * Makerules: Don't include tls.make.
31775         (config-tls): Always set to thread.
31776         * tls.make.c: File removed.
31778 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
31780         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31781         * config.make.in (CPPFLAGS-config): New substituted variable.
31783 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31785         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31787         [BZ #13192]
31788         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31789         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31791 2011-09-15  Roland McGrath  <roland@hack.frob.com>
31793         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31794         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31795         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31796         (CALL_FAIL): Likewise.
31797         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31798         (CALL_FAIL): Macro removed.
31799         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31801 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31803         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31804         for __FINITE_MATH_ONLY__ == 1.
31806 2011-09-15  Andreas Schwab  <schwab@redhat.com>
31808         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31809         __ieee754_sqrt instead of sqrt.
31810         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31811         __ieee754_sqrtf instead of sqrtf.
31812         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31813         __floorf instead of floorf.
31814         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31815         __floorf, __truncf instead of floorf, truncf.
31817 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
31819         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31821         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31822         __extern_always_inline.
31823         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31824         32-bit.
31826 2011-09-14  Andreas Schwab  <schwab@redhat.com>
31828         * elf/rtld.c (dl_main): Also relocate in dependency order when
31829         doing symbol dependency testing.
31831 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
31833         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31834         Always define `refsym'.
31836 2011-09-13  Andreas Schwab  <schwab@redhat.com>
31838         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31839         (__FD_ELT): Renamed from __FDELT.
31840         * misc/bits/select2.h (__FD_ELT): Likewise.
31841         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31842         __FD_MASK instead of __FDELT, __FDMASK.
31843         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31844         Likewise.
31845         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31846         Likewise.
31848         * elf/Makefile (gen-ldd): Fix pattern.
31850         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31851         (init_tls): Likewise.
31853 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
31855         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31857 2011-09-12  Andreas Schwab  <schwab@redhat.com>
31859         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31860         `struct cmsghdr *' instead of `void *'.
31861         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31862         Likewise.
31864 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
31866         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31867         if non-absolute.
31868         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31869         ldd_rewrite_script.
31871 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
31873         * configure.in: Remove --with-tls option.
31874         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31875         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31876         out in case it is missing.
31877         * sysdeps/ia64/elf/configure.in: Likewise.
31878         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31879         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31880         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31881         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31882         * sysdeps/sh/elf/configure.in: Likewise.
31883         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31884         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31885         * sysdeps/x86_64/elf/configure.in: Likewise.
31886         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31887         * sysdeps/mach/hurd/tls.h: Likewise.
31889         [BZ #13067]
31890         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31892         [BZ #13090]
31893         * configure.in: Fix use of AC_INIT.
31895         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31897 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
31899         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31900         __set_errno.
31901         * malloc/hooks.c: Likewise.
31903         [BZ #11929]
31904         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
31905         variables statically.
31906         (narenas): Initialize.
31907         (list_lock): Initialize.
31908         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
31909         initializtion of main_arena and list_lock.  Small cleanups.
31910         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31911         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
31912         Add initializers to main_arena and mp_.
31913         (malloc_state): Remove pagesize member.  Change all users to use
31914         GLRO(dl_pagesize).
31916         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31917         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
31918         is always initialized.
31920         * malloc/malloc.c: Removed unused configurations and dead code.
31921         * malloc/arena.c: Likewise.
31922         * malloc/hooks.c: Likewise.
31923         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31925         * include/tls.h: Removed.  USE___THREAD must always be defined.
31926         * bits/libc-tsd.h: Don't handle !USE___THREAD.
31927         * elf/dl-libc.c: Likewise.
31928         * elf/dl-tsd.c: Likewise.
31929         * include/errno.h: Likewise.
31930         * include/netdb.h: Likewise.
31931         * include/resolv.h: Likewise.
31932         * inet/herrno-loc.c: Likewise.
31933         * inet/herrno.c: Likewise.
31934         * malloc/arena.c: Likewise.
31935         * malloc/hooks.c: Likewise.
31936         * malloc/malloc.c: Likewise.
31937         * resolv/res-state.c: Likewise.
31938         * resolv/res_libc.c: Likewise.
31939         * sysdeps/i386/dl-machine.h: Likewise.
31940         * sysdeps/ia64/dl-machine.h: Likewise.
31941         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31942         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31943         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31944         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31945         * sysdeps/sh/dl-machine.h: Likewise.
31946         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31947         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31948         * sysdeps/unix/i386/sysdep.S: Likewise.
31949         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31950         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31954         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31955         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31956         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31959         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31960         * sysdeps/x86_64/dl-machine.h: Likewise.
31961         * tls.make.c: Likewise.
31963         * configure.in: Remove --with-__thread option.  Make tests for
31964         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31965         tls_model attribute fail if no support is available.  Remove
31966         USE_IN_LIBIO.
31967         * Makeconfig: Adjust for dropped configure option.  All features are
31968         now mandatory.
31969         * Makerules: Likewise.
31970         * Versions.def: Likewise.
31971         * argp/argp-fmtstream.c: Likewise.
31972         * argp/argp-fmtstream.h: Likewise.
31973         * argp/argp-help.c: Likewise.
31974         * assert/assert.c: Likewise.
31975         * config.h.in: Likewise.
31976         * config.make.in: Likewise.
31977         * configure: Likewise.
31978         * configure.in: Likewise.
31979         * csu/Versions: Likewise.
31980         * csu/init.c: Likewise.
31981         * elf/tst-audit2.c: Likewise.
31982         * elf/tst-tls10.c: Likewise.
31983         * elf/tst-tls10.h: Likewise.
31984         * elf/tst-tls11.c: Likewise.
31985         * elf/tst-tls12.c: Likewise.
31986         * elf/tst-tls14.c: Likewise.
31987         * elf/tst-tlsmod11.c: Likewise.
31988         * elf/tst-tlsmod12.c: Likewise.
31989         * elf/tst-tlsmod13.c: Likewise.
31990         * elf/tst-tlsmod13a.c: Likewise.
31991         * elf/tst-tlsmod14a.c: Likewise.
31992         * elf/tst-tlsmod15b.c: Likewise.
31993         * elf/tst-tlsmod16a.c: Likewise.
31994         * elf/tst-tlsmod16b.c: Likewise.
31995         * elf/tst-tlsmod7.c: Likewise.
31996         * elf/tst-tlsmod8.c: Likewise.
31997         * elf/tst-tlsmod9.c: Likewise.
31998         * gmon/gmon.c: Likewise.
31999         * grp/fgetgrent_r.c: Likewise.
32000         * grp/putgrent.c: Likewise.
32001         * hurd/fopenport.c: Likewise.
32002         * include/libc-symbols.h: Likewise.
32003         * include/tls.h: Likewise.
32004         * intl/gettextP.h: Likewise.
32005         * intl/loadinfo.h: Likewise.
32006         * locale/global-locale.c: Likewise.
32007         * locale/localeinfo.h: Likewise.
32008         * mach/devstream.c: Likewise.
32009         * malloc/arena.c: Likewise.
32010         * malloc/set-freeres.c: Likewise.
32011         * misc/err.c: Likewise.
32012         * misc/getttyent.c: Likewise.
32013         * misc/mntent_r.c: Likewise.
32014         * posix/getopt.c: Likewise.
32015         * posix/wordexp.c: Likewise.
32016         * pwd/fgetpwent_r.c: Likewise.
32017         * resolv/Versions: Likewise.
32018         * resolv/res_hconf.c: Likewise.
32019         * shadow/fgetspent_r.c: Likewise.
32020         * shadow/putspent.c: Likewise.
32021         * stdio-common/printf_fphex.c: Likewise.
32022         * stdio-common/tmpfile.c: Likewise.
32023         * stdlib/abort.c: Likewise.
32024         * stdlib/fmtmsg.c: Likewise.
32025         * sunrpc/auth_unix.c: Likewise.
32026         * sunrpc/clnt_perr.c: Likewise.
32027         * sunrpc/clnt_tcp.c: Likewise.
32028         * sunrpc/clnt_udp.c: Likewise.
32029         * sunrpc/clnt_unix.c: Likewise.
32030         * sunrpc/openchild.c: Likewise.
32031         * sunrpc/svc_simple.c: Likewise.
32032         * sunrpc/svc_tcp.c: Likewise.
32033         * sunrpc/svc_udp.c: Likewise.
32034         * sunrpc/svc_unix.c: Likewise.
32035         * sunrpc/xdr.c: Likewise.
32036         * sunrpc/xdr_array.c: Likewise.
32037         * sunrpc/xdr_rec.c: Likewise.
32038         * sunrpc/xdr_ref.c: Likewise.
32039         * sunrpc/xdr_stdio.c: Likewise.
32041 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32043         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32045 2011-07-03  Andreas Jaeger  <aj@suse.de>
32047         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32048         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32049         regenerate with gen-libm-tests.pl.
32051 2010-05-12  Petr Baudis  <pasky@suse.cz>
32053         [BZ #11589]
32054         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32055         around j0() zero points by switching to j1().
32056         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32057         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32058         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32059         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32061 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32063         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32064         instead of 0.
32065         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32066         instead of 0.
32067         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32068         Patch in part by Pavel Roskin <proski@gnu.org>.
32070         [BZ #13138]
32071         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32072         realloc.
32073         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
32074         Free memory block if necessary.
32076         [BZ #12847]
32077         * libio/genops.c (INTDEF): For string streams the _lock pointer can
32078         be NULL.  Don't lock in this case.
32080 2011-09-09  Roland McGrath  <roland@hack.frob.com>
32082         * elf/elf.h (ELFOSABI_GNU): New macro.
32083         (ELFOSABI_LINUX): Define to that.
32085 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
32087         * string/strncat.c (strncat): Undef the symbol in case it has been
32088         defined in bits/string.h.
32090 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32092         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32094         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32095         link map.
32097 2011-08-17  Andreas Jaeger  <aj@suse.de>
32099         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32101 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32102             Ian Lance Taylor  <iant@google.com>
32104         * math/libm-test.inc (lround_test): New testcase.
32105         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32107 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
32109         * Makefile: Remove support for automatic cvs check-ins.
32110         * Makerules: Likewise.
32111         * config.make.in: Likewise.
32112         * configure.in: Likewise.
32113         * intl/Makefile: Likewise.
32114         * locale/Makefile: Likewise.
32115         * po/Makefile: Likewise.
32116         * posix/Makefile: Likewise.
32117         * sysdeps/gnu/Makefile: Likewise.
32118         * sysdeps/mach/hurd/Makefile: Likewise.
32119         * sysdeps/sparc/sparc32/Makefile: Likewise.
32121         [BZ #13118]
32122         * posix/Makefile (bug-regex32-ENV): Define.
32123         Patch by John Stanley <jpsinthemix@verizon.net>.
32125         * misc/Makefile (headers): Add bits/select2.h.
32126         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32127         * misc/bits/select2.h: New file.
32128         * include/bits/select2.h: New file.
32129         * debug/Makefile (routines): Add fdelt_chk.
32130         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32131         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32132         FD_ISSET.
32133         * debug/fdelt_chk.c: New file.
32135         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
32136         * wcsmbs/test-wmemcmp.c: Likewise.
32137         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32138         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32140 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32142         * string/Makefile (strop-tests): Add memcmp.
32143         * string/test-wmemcmp.c: New file.
32144         * string/test-memcmp.c: Add wmemcmp support.
32146 2011-09-08  Roland McGrath  <roland@hack.frob.com>
32148         [BZ #13153]
32149         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32150         2011-07-19 change.
32152         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32153         garbage value in a __mach_port_mod_refs call in the cases of the
32154         task-self and thread-self ports.
32156 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32158         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32160 2011-09-08  Andreas Schwab  <schwab@redhat.com>
32162         * elf/dl-load.c (lose): Check for non-null L.
32164 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32166         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32168         * elf/dl-libc.c (dlerror_run): Pass back error code from
32169         dl_catch_error.
32171         [BZ #13123]
32172         * elf/dl-load.c (lose): Free l_origin if it is valid.
32174         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32175         names.
32176         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32177         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32178         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32179         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32180         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32181         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32183 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32185         * sysdeps/powerpc/fpu/e_hypot.c: New file.
32186         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32187         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32188         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32189         * sysdeps/powerpc/fpu/k_cosf.c: New file.
32190         * sysdeps/powerpc/fpu/k_sinf.c: New file.
32191         * sysdeps/powerpc/fpu/s_cosf.c: New file.
32192         * sysdeps/powerpc/fpu/s_sinf.c: New file.
32193         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32194         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32196 2011-08-15  Alan Modra  <amodra@gmail.com>
32198         [BZ #13092]
32199         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32200         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32201         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
32202         ppc_mcount to static-only-routines.
32203         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32204         __mcount_internal.
32205         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32206         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
32208 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
32210         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32211         for finite and infinity parameters.
32213 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32215         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32216         and add nop instructions for throughput optimization.
32217         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32219 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
32221         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32222         aligned copy for power7 with vector-scalar instructions.
32223         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32225 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
32227         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32228         AVX check.
32230 2011-09-07  Andreas Schwab  <schwab@redhat.com>
32232         [BZ #13144]
32233         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32234         last change.
32236 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32238         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32239         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32240         syscall wrapper around clock_gettime in __vdso_clock_gettime.
32241         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32242         clock_gettime.
32244 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32246         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32247         Forgot to demangle the pointer.
32249         * sysdeps/i386/sysdep.h: Define atom_text_section.
32250         * sysdeps/x86_64/sysdep.h: Likewise.
32251         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32252         section with atom_text_section.
32253         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32254         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32255         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32256         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32257         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32259         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32260         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32261         already be defined.  Change to take two parameters and don't assign
32262         result to variable.  Adjust all users.
32263         Define INTERNAL_GETTIME if not already defined.
32264         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32265         call.
32266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32267         HAVE_CLOCK_GETTIME_VSYSCALL.
32268         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32270         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32271         gettimeofday vsyscall, just use time.
32273 2011-09-06  Andreas Schwab  <schwab@redhat.com>
32275         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32276         <errno.h>.
32278 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32280         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32281         syscall on x86-64.
32282         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32283         syscall.
32284         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32285         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32286         syscall if possible.
32288 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32290         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32291         e_ident.  Don't pass to find_mapsXX.
32292         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32294 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32297         strchr-sse2-no-bsf strrchr-sse2-no-bsf
32298         * sysdeps/x86_64/multiarch/strchr.S: Update.
32299         Check bit_slow_BSF bit.
32300         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32301         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32302         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32304 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32306         [BZ #13134]
32307         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32308         before glibc 2.15.
32309         (tryshell): Define.
32310         (__spawni): Change last parameter to be flag.  Test
32311         SPAWN_XFLAGS_USE_PATH flag to use path or not.
32312         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32313         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32314         * posix/spawni.c: Likewise.
32315         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32316         * posix/spawnp.c: Likewise.  Change normal version to use
32317         SPAWN_XFLAGS_USE_PATH.
32318         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32319         SPAWN_XFLAGS_TRY_SHELL.
32321         [BZ #13150]
32322         * posix/glob.h: Remove gcc 1.x support.
32324         [BZ #13068]
32325         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32327 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32329         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32330         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32331         strrchr-sse2-bsf
32332         * sysdeps/i386/i686/multiarch/strchr.S: New file.
32333         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32334         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32335         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32336         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32337         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32339 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32341         * sysdeps/x86_64/wcscmp.S: New file.
32343         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32344         wcscmp-c wcscmp-sse2
32345         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32346         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32347         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32348         * wcsmbs/wcscmp.c: Allow renaming.
32350 2011-09-05  David S. Miller  <davem@davemloft.net>
32352         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32353         stack slot, rather than the struct return pointer slot.
32354         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32355         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32357         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32359 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32361         * po/ja.po: Update from translation team.
32363         [BZ #13144]
32364         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32365         kernel in 64-bit binaries.
32367 2011-09-01  David S. Miller  <davem@davemloft.net>
32369         * elf/elf.h (HWCAP_SPARC_*): Move to..
32370         * sysdeps/sparc/sysdep.h: this new file and add new values.
32371         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32372         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32373         _DL_HWCAP_COUNT to 24.
32374         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32375         entries.
32376         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32377         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32378         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32379         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32380         instead of magic constants.
32381         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32383 2011-08-31  David S. Miller  <davem@davemloft.net>
32385         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32387         Reimplement to do errno handling inline.
32388         (SYSCALL_ERROR_HANDLER): New macro.
32389         (__SYSCALL_STRING): Do not do errno handling in asm.
32390         (__CLONE_SYSCALL_STRING): Delete.
32391         (__INTERNAL_SYSCALL_STRING): Delete.
32392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32393         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32394         (PSEUDO): Reimplement to do errno handling inline.
32395         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32396         (SYSCALL_ERROR_HANDLER): New macro.
32397         (__SYSCALL_STRING): Do not do errno handling in asm.
32398         (__CLONE_SYSCALL_STRING): Delete.
32399         (__INTERNAL_SYSCALL_STRING): Delete.
32400         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32401         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32402         i386.
32403         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32404         (inline_syscall*): Add 'err' argument.
32405         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32406         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32407         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32408         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32410         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32411         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32413 2011-08-30  Andreas Schwab  <schwab@redhat.com>
32415         * elf/rtld.c (dl_main): Relocate objects in dependency order.
32417 2011-08-29  Jiri Olsa <jolsa@redhat.com>
32419         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32420         directive.
32422 2011-08-24  David S. Miller  <davem@davemloft.net>
32424         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32426 2011-08-24  Andreas Schwab  <schwab@redhat.com>
32428         * elf/Makefile: Add rules to build and run unload8 test.
32429         * elf/unload8.c: New file.
32430         * elf/unload8mod1.c: New file.
32431         * elf/unload8mod1x.c: New file.
32432         * elf/unload8mod2.c: New file.
32433         * elf/unload8mod3.c: New file.
32435         * elf/dl-close.c (_dl_close_worker): Reset private search list if
32436         it wasn't used.
32438 2011-08-23  David S. Miller  <davem@davemloft.net>
32440         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32441         subtract stack bias.
32442         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32443         %sp not %fp in calculations.
32444         (_JMPBUF_UNWINDS_ADJ): Likewise.
32446         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32447         (aio_suspend): Call it to force an exception region around the
32448         AIO_MISC_WAIT() invocation.
32450 2011-08-23  Andreas Schwab  <schwab@redhat.com>
32452         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32453         backslash.
32455 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
32457         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32458         protection macro.
32459         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32460         and <dl-machine.h>.
32461         (Elf64_FuncDesc): Remove.
32463 2011-08-22  David S. Miller  <davem@davemloft.net>
32465         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32466         sigaltstack check, add missing cfi directives.
32467         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32468         missing cfi directives, and sigaltstack handling.
32470 2011-08-16  Andreas Schwab  <schwab@redhat.com>
32472         [BZ #11724]
32473         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32474         object is seen twice.
32475         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32477         * elf/Makefile (distribute): Add tst-initorder2.c.
32478         (tests): Add tst-initorder2.
32479         (modules-names): Add tst-initorder2a tst-initorder2b
32480         tst-initorder2c tst-initorder2d.  Add rules to build them.
32481         ($(objpfx)tst-initorder2.out): New rule.
32482         * elf/tst-initorder2.c: New file.
32483         * elf/tst-initorder2.exp: New file.
32485 2011-08-22  Andreas Schwab  <schwab@redhat.com>
32487         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32489         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32490         dependencies back to end of function.
32492         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32493         $(elfobjdir)/ld.so.
32495 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
32497         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32498         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32499         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32500         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32501         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32502         of __vdso_gettimeofday.
32503         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32504         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
32505         attribute_hidden.
32506         (_libc_vdso_platform_setup): Remove initialization of
32507         __vdso_gettimeofday and __vdso_time.
32509 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
32511         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32512         and fgetc_unlocked.
32513         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32514         getc_unlocked.
32516         * elf/dl-open.c (add_to_global): Report additions to the global scope
32517         for LD_DEBUG=scopes.
32518         (dl_open_worker): Also print scope of newly loaded dependencies.
32519         (_dl_show_scope): Indicate if there is no scope.
32521         [BZ #13114]
32522         * stdio-common/Makefile (tests): Add bug24.
32523         * stdio-common/bug24.c: New file.
32525 2011-08-19  Andreas Jaeger  <aj@suse.de>
32527         [BZ #13114]
32528         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32529         non-existant file when using close-on-exec mode.
32531 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
32533         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32534         the very first instruction.
32536         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32537         the CFI state in the end.
32538         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32539         inclusion of dl-trampoline.h.
32540         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32542 2011-08-19  Andreas Schwab  <schwab@redhat.com>
32544         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32545         expectations for long double.
32547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32548         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32550 2011-08-14  David S. Miller  <davem@davemloft.net>
32552         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32553         artificual limit depends upon the system page size.
32555 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
32557         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32558         * resolv/Makefile: Define CFLAGS-libresolv.
32560 2011-08-17  Andreas Schwab  <schwab@redhat.com>
32562         * nss/makedb.c (compute_tables): Make variables used in nested
32563         function static.
32565 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
32567         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32568         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32569         if buffer was too small.
32571         * elf/pldd.c (main): Attach to all threads in the process.
32572         Rewrite /proc handling to use *at functions.
32574 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
32576         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32577         specifies first scope to show.
32578         (dl_open_worker): Update callers.  Move printing scope of new
32579         object to before the relocation.
32580         * elf/rtld.c (dl_main): Update _dl_show_scope call.
32581         * sysdeps/generic/ldsodefs.h: Update declaration.
32583         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32584         string for the scope number.
32586 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
32588         * nscd/servicescache.c (cache_addserv): Make sure written is always
32589         initialized.
32591 2011-08-14  Roland McGrath  <roland@hack.frob.com>
32593         * sysdeps/i386/i486/bits/atomic.h
32594         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32595         statement expression, so as to suppress "set but not used" warning.
32596         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32598         * string/strncat.c (STRNCAT): Use prototype definition.
32600         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32601         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32602         -Iprograms here.
32603         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32604         (localedef-modules): Add localedef.
32605         (locale-modules): Add locale.
32607         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32608         * elf/rtld.c (dl_main): Invert order of assignment in last change,
32609         to avoid a warning.
32611 2011-08-14  David S. Miller  <davem@davemloft.net>
32613         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32614         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32616 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
32618         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32619         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32620         * elf/rtld.c (dl_main): Set l_name of vDSO.
32621         Call _dl_show_scope when DL_DEBUG_SCOPES.
32622         (process_dl_debug): Recognize scopes flag and also set it for all.
32623         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32624         Declare _dl_show_scope.
32626         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32627         (do_dlopen): Pass caller_dlopen to dl_open.
32628         (__libc_dlopen_mode): Initialize caller_dlopen.
32630         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32631         of libc.  Make tolower call locale-independent.  Optimize a bit by
32632         using isdigit instead of isalnum.
32633         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32635 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
32637         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32638         was a dependency or dynamically loaded.
32640 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
32642         * intl/l10nflist.c: Allow architecture-specific pop function.
32643         * sysdeps/x86_64/l10nflist.c: New file.
32645         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32646         classification.
32648 2011-08-10  Andreas Schwab  <schwab@redhat.com>
32650         * include/dirent.h: Add libc_hidden_proto for scandirat and
32651         scandirat64.  Don't declare __scandirat64.
32652         * dirent/scandirat.c: Add libc_hidden_def.
32653         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32654         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32656 2011-08-10  David S. Miller  <davem@davemloft.net>
32658         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32659         enum.
32660         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32661         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32662         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32664 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
32666         * Versions.def [libc]: Add GLIBC_2.15.
32667         * dirent/Makefile (routines): Add scandirat and scandirat64.
32668         * dirent/Versions [libc]: Export scandirat and scandirat64 for
32669         GLIBC_2.15.
32670         * dirent/dirent.h: Declare scandirat and scandirat64.
32671         * dirent/scandirat.c: New file.
32672         * dirent/scandirat64.c: New file.
32673         * sysdeps/wordsize-64/scandirat.c: New file.
32674         * sysdeps/wordsize-64/scandirat64.c: New file.
32675         * dirent/opendir.c: Define opendirat.
32676         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
32677         using scandirat.
32678         * dirent/scandir64.c: Adjust for scandir.c change.
32679         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
32680         __scandirat64, and __scandir_cancel_handler.
32681         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
32682         additional parameter and use openat instead of open (outside of ld.so).
32683         Add new __opendir as wrapper around __opendirat.
32684         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32685         here without requiring old scandirat implementation.
32687 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
32689         * dirent/scandir.c (cancel_handler): Renamed to
32690         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
32691         defined.  Adjust users.
32692         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32693         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32695 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
32697         * string/test-string.h (IMPL): Use __STRING to expand name and then
32698         stringify it.
32700         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
32701         of cleanups.
32703 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32705         * string/Makefile: Update.
32706         (strop-tests): Append strncat.
32707         * string/test-wcscmp.c: New file.
32708         New comprehensive test for wcscmp.
32709         * string/test-strcmp.c: Update.
32710         (WIDE): New define.
32712 2011-07-22  Andreas Schwab  <schwab@redhat.com>
32714         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32715         line.
32717 2011-07-26  Andreas Schwab  <schwab@redhat.com>
32719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32720         encoding to ACE if AI_IDN.
32722 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
32724         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32725         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32727 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32729         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32730         Fix overflow bug in strncat.
32731         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32733         * string/test-strncat.c: Update.
32734         Add new tests for checking overflow bugs.
32736 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32739         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32740         * sysdeps/i386/i686/multiarch/strcat.S: New file.
32741         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32742         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32743         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32744         * sysdeps/i386/i686/multiarch/strncat.S: New file.
32745         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32746         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32748         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32749         (USE_AS_STRCAT): Define.
32750         Add strcat and strncat support.
32751         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32753 2011-07-25  Andreas Schwab  <schwab@redhat.com>
32755         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32756         __n bigger than INT_MAX+1.
32757         (__strncmp_g): Likewise.
32759 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
32761         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32762         * libio/stido.h: Likewise.
32764         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32765         (AF_NFC): Define.
32766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32767         (AF_NFC): Define.
32769         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32770         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32771         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32772         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32773         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32775         [BZ #13021]
32776         * scripts/test-installation.pl: Don't expect libnss_test1 to be
32777         installed.
32779         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32780         typo.
32781         (_dl_x86_64_save_sse): Likewise.
32783 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
32785         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32786         OSXSAVE.
32787         (_dl_x86_64_save_sse): Likewise.
32789         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32791         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32793 2011-07-21  Andreas Schwab  <schwab@redhat.com>
32795         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32796         change.
32797         (_dl_x86_64_save_sse): Use correct AVX check.
32799 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32801         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32802         bug in strncpy/strncat.
32803         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32805 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
32807         * string/tester.c (test_strcat): Add tests for different alignments
32808         of source and destination.
32809         (test_strncat): Likewise.
32811 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32813         [BZ #12852]
32814         * posix/glob.c (glob): Check passed in values before using them in
32815         expressions to avoid some overflows.
32816         (glob_in_dir): Likewise.
32818         [BZ #13007]
32819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32820         check for AVX enablement so that we don't crash with old kernels and
32821         new hardware.
32822         * elf/tst-audit4.c: Add same checks here.
32823         * elf/tst-audit6.c: Likewise.
32825         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32827 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
32829         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32831 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32833         * po/cs.po: Update from translation team.
32834         * po/bg.po: Likewise.
32836 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
32838         * misc/sys/cdefs.h: Add support for const attribute.
32839         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32840         to gnu_dev_{major,minor,makedev} functions.
32842 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
32844         * intl/dcigettext.c (get_output_charset): Add missing bracket.
32846 2011-07-20  Andreas Schwab  <schwab@redhat.com>
32848         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32849         strlen results.
32851 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32854         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32855         register in order to avoid conflicts with the soft frame pointer
32856         being held in r11 when necessary.
32857         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32858         (INTERNAL_VSYSCALL_NCS): Likewise.
32860 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
32862         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32863         * elf/dl-fini.c (_dl_fini): Adjust caller.
32864         * elf/dl-close.c (_dl_close_worker): Likewise.
32865         * sysdeps/generic/ldsodefs.h: Adjust declaration.
32867 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32869         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32870         "aux_cache->nlibs < 0".
32872         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32873         in the reload-count case.
32875 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32878         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32879         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32880         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32881         * sysdeps/x86_64/multiarch/strcat.S: New file.
32882         * sysdeps/x86_64/multiarch/strncat.S: New file.
32883         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32884         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32885         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32886         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32887         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32888         (USE_AS_STRCAT): Define.
32889         Add strcat and strncat support.
32890         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32891         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32892         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32893         * string/strncat.c: Update.
32894         (USE_AS_STRNCAT): Define.
32895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32896         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32897         and i7.
32898         * sysdeps/x86_64/multiarch/init-arch.h
32899         (bit_Prefer_PMINUB_for_stringop): New.
32900         (index_Prefer_PMINUB_for_stringop): Likewise.
32901         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32902         bit_Prefer_PMINUB_for_stringop.
32904 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32906         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32907         buffer64.
32908         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32909         of casting of buffer.
32910         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32911         buffer32 and buffer64.
32912         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32913         writes instead of casting of buffer.
32914         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32915         buffer32.
32916         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32917         casting of buffer.
32919 2011-07-19  Andreas Schwab  <schwab@redhat.com>
32921         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32923 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32925         * nscd/nscd.c (termination_handler): Don't do anything for a database
32926         if it has not yet been initialized.
32928 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32930         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32932 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32934         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32936 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32938         * po/nl.po: Update from translation team.
32939         * po/sv.po: Likewise.
32941 2011-07-16  Roland McGrath  <roland@hack.frob.com>
32943         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32944         now disallowed by GCC.
32946         * configure.in (use-default-link): Default to yes if a test -shared
32947         link meets our qualifications.
32948         * configure: Regenerated.
32950         * config.make.in (output-format): New variable.
32951         * configure.in: Check for ld --print-output-format support.
32952         * configure: Regenerated.
32953         * Makerules ($(common-objpfx)format.lds)
32954         [$(output-format) != unknown]: Just use $(output-format),
32955         instead of the linker-script munging.
32957 2011-07-14  Roland McGrath  <roland@hack.frob.com>
32959         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32960         of $(common-objpfx)shlib.lds.
32961         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32963         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32964         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32966         * configure.in (-z relro check): Adjust test code to add a large
32967         writable data section after it.
32968         * configure: Regenerated.
32970 2011-07-11  Roland McGrath  <roland@hack.frob.com>
32972         * configure.in (-z relro check): Fix test code to make the variable
32973         truly const.
32974         * configure: Regenerated.
32976 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
32978         * nscd/nscd.h (struct traced_file): Define.
32979         (struct database_dyn): Remove inotify_descr, reset_res, and filename
32980         elements.  Add traced_files.
32981         (inotify_fd): Declare.
32982         (register_traced_file): Declare.
32983         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32984         (inotify_fd): Export.
32985         (resolv_conf_descr): Remove.
32986         (nscd_init): Move inotify descriptor creation to main.
32987         Don't register files for notification here.
32988         (register_traced_file): New function.
32989         (invalidate_cache): Don't use reset_res to determine whether to call
32990         res_init, go through the list of registered files.
32991         (main_loop_poll): The inotify descriptors are now stored in the
32992         structures for the traced files.
32993         (main_loop_epoll): Likewise
32994         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
32995         to __nss_disable_nscd.
32996         * nscd/cache.c (prune_cache): There is no single inotify descriptor
32997         for a database anymore.  Check the records for all the registered
32998         files instead.
32999         * nss/Makefile (libnss_files-routines): Add files-init.
33000         (libnss_db-routines): Add db-init.
33001         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33002         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33003         * nss/nss_db/db-init.c: New file.
33004         * nss/nss_files/files-init.c: New file.
33005         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
33006         __nss_lookup_function.
33007         (__nss_lookup_function): Call nss_load_library.
33008         (nss_load_all_libraries): New function.
33009         (__nss_disable_nscd): Take parameter with callback function for files
33010         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
33011         used for the cached services.
33012         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33013         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33014         options for features to all the files in nscd.
33016         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33018 2011-07-10  Roland McGrath  <roland@hack.frob.com>
33020         * csu/elf-init.c (__libc_csu_init): Comment typo.
33022 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
33024         * po/pl.po: Update from translation team.
33025         * po/ja.po: Likewise.
33026         * po/ru.po: Likewise.
33027         * po/ko.po: Likewise.
33028         * po/fr.po: Likewise.
33030 2011-07-09  Roland McGrath  <roland@hack.frob.com>
33032         * configure.in (.ctors/.dtors header and trailer check):
33033         Use an empirical test on a built program.
33034         * configure: Regenerated.
33036         * configure.in (-z relro check): Use an empirical test on a built DSO.
33037         Detect, but do not require, on ia64.
33038         * configure: Regenerated.
33040         * configure.in (READELF): Find it with AC_CHECK_TOOL.
33041         Update tests that use readelf to use $READELF instead.
33042         * configure: Regenerated.
33044 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
33046         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33047         if the result is not used.
33049 2011-07-05  Andreas Jaeger  <aj@suse.de>
33051         [BZ#9696]
33052         * stdlib/tst-strtod.c: Add testcase.
33054 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
33056         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33057         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33058         The latter has a higher limit.  Take additional parameter to pass to
33059         the new function.
33060         (__pathconf): Pass file to __statfs_link_max.
33061         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33062         __statfs_link_max.
33063         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33064         __statfs_link_max.
33066         [BZ #12868]
33067         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33068         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33069         Handle Lustre.
33070         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33071         (__statfs_filesize_max): Likewise.
33072         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33074 2011-07-05  Andreas Jaeger  <aj@suse.de>
33076         * resolv/res_comp.c (dn_skipname): Remove unused variable.
33078 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
33080         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33081         `status' variable.
33082         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33083         Likewise.
33085 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
33087         * Makefile (strop-tests): Add strncat.
33088         * string/test-strncat.c: New file.
33090 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
33092         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33094 2011-06-21  Andreas Jaeger  <aj@suse.de>
33096         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33097         Copy rule from iconvdata/Makefile.
33099 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33101         [BZ #12922]
33102         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33103         but no long options are defined, just return 'W'.
33105 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
33107         [BZ #9696]
33108         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33110 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33112         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33113         netgroups to read.
33114         (innetgr): Likewise.
33116 2011-07-05  Roland McGrath  <roland@hack.frob.com>
33118         * config.make.in (install_root): Default to $(DESTDIR).
33120 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
33122         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33124 2011-07-02  Roland McGrath  <roland@hack.frob.com>
33126         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33128         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33129         containing directory rather than embedding absolute directory names.
33131         * scripts/check-local-headers.sh: Rewritten using awk.
33132         Match by word, not by line.  Print error messages for matches.
33133         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33135         * Makerules [shlib-lds-flags empty]:
33136         ($(common-objpfx)libc_pic.opts): New target.
33137         ($(common-objpfx)libc_pic.os.clean): New target.
33138         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33140         * config.make.in (OBJCOPY): New variable.
33141         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33142         * configure: Regenerated.
33144         * config.make.in (use-default-link): New variable.
33145         * configure.in (use_default_link): Grok --with-default-link to set it.
33146         * configure: Regenerated.
33147         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33148         (shlib-lds, shlib-lds-flags): Define to empty.
33150         * Makerules (shlib-lds): New variable.
33151         (shlib-lds-flags): New variable.
33152         (build-shlib, build-moduile, build-module-asneeded): Use it.
33153         ($(common-objpfx)libc.so): Use $(shlib-lds).
33154         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33155         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33157         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33158         DT_FLAGS/DT_FLAGS_1 with zero flags.
33160         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33161         linker script munging.
33163 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
33165         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33166         as 128-bit value.
33167         * crypt/sha512.c (sha512_process_block): Perform total addition using
33168         128-bit if possible.
33169         (__sha512_finish_ctx): Likewise.
33170         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33171         as 64-bit value.
33172         * crypt/sha256.c (SWAP64): Define.
33173         (sha256_process_block): Perform total addition using 64-bit if
33174         possible.
33175         (__sha256_finish_ctx): Likewise.
33177 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
33179         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
33180         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33181         * nscd/hstcache.c (cache_addhst): Likewise.
33182         * nscd/grpcache.c (cache_addgr): Likewise.
33183         * nscd/aicache.c (addhstaiX): Likewise
33184         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33186 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
33188         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33189         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33190         * nscd/hstcache.c (cache_addhst): Likewise.
33191         * nscd/grpcache.c (cache_addgr): Likewise.
33192         * nscd/aicache.c (addhstaiX): Likewise
33194 2011-07-01  Andreas Schwab  <schwab@redhat.com>
33196         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33197         domain only when needed.
33199 2011-06-30  Andreas Schwab  <schwab@redhat.com>
33201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33202         is always restored.
33204 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
33206         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33207         are re-adding the entry.
33208         * nscd/servicescache.c (cache_addserv): Likewise.
33210 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
33212         * sysdeps/generic/dl-irel.h: fix protection against multiple
33213         inclusions.
33214         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33216 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
33218         [BZ #12935]
33219         * malloc/memusage.sh: Fix quoting in message.
33220         * debug/xtrace.sh: Likewise.
33222         * configure.in: Remove support for --experimental-malloc option, make
33223         it the default.
33224         * config.make.in: Likewise.
33225         * malloc/Makefile: Likewise.
33227 2011-06-27  Andreas Schwab  <schwab@redhat.com>
33229         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33230         two-byte characters.
33232 2011-06-27  Roland McGrath  <roland@hack.frob.com>
33234         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33235         AC_CACHE_CHECK invocation.
33236         * configure: Regenerated.
33238         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33240 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
33242         [BZ #12350]
33243         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
33244         bit from old_res_options.
33246         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33248         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33249         value type for setfct.
33251 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
33253         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33254         __gettimeofday instead of gettimeofday.
33256 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
33258         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33260 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33262         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33264         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33265         info.
33267 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33270         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33271         strcpy-sse2-unaligned strncpy-sse2-unaligned
33272         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33273         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33274         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33275         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33276         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33277         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33278         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33279         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33280         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33281         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33282         (STRCPY): Support SSE2 and SSSE3 versions.
33284 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
33286         [BZ #12874]
33287         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33288         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33289         kernels which artificially limit size of requests.
33291 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33293         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33294         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33295         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33296         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33297         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33298         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33299         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33300         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33301         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33302         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33303         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33304         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33305         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33306         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33307         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33309         Enable unaligned load optimization for Intel Core i3, i5 and i7
33310         processors.
33311         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33312         Define.
33313         (index_Fast_Unaligned_Load): Define.
33314         (HAS_FAST_UNALIGNED_LOAD): Define.
33316 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
33318         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33320 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33322         [BZ #12907]
33323         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33324         until it is clear that the information is realy needed.
33325         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33327 2011-06-22  Andreas Schwab  <schwab@redhat.com>
33329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33331 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33333         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33334         /sys/devices/system/cpu/online if it is usable.
33336         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33337         reading the information from the /proc filesystem to once a second.
33339 2011-06-21  Andreas Jaeger  <aj@suse.de>
33341         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33342         NULL after inclusion of kernel headers.
33344 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
33346         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33347         calls to internal_setent.
33349         [BZ #12885]
33350         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33351         addresses using gethostbyname4_r ignore IPv4 addresses.
33353         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33354         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
33356         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33358 2011-06-20  David S. Miller  <davem@davemloft.net>
33360         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33361         inclusions.
33362         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33364         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33365         (elf_irel): Use it.
33366         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33367         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33368         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33369         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33370         * sysdeps/x86_64/dl-irel.h: Likewise.
33372         * elf/dl-runtime.c: Use elf_ifunc_invoke.
33373         * elf/dl-sym.c: Likewise.
33375 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33377         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
33378         need to dereference resplen2.
33380 2011-06-14  Andreas Schwab  <schwab@redhat.com>
33382         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33384 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33386         * Makeconfig: Define vardbdir and inst_vardbdir.
33387         * nss/Makefile: Add rules to install db-Makefile.
33389         * nss/nss_db/db-XXX.c: Cleanup.
33391         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33392         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33393         GLIBC_PRIVATE.
33394         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33395         * nss/makedb.c: Implement -g option to specify that value strings
33396         are generated and should not be added to table iterated over for
33397         get*ent calls.
33398         * nss/nss_db/db-initgroups.c: New file.
33400         * nss/getent.c: Add support for initgroups lookups through getgrouplist
33401         interface.
33403         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33404         (internal_getgrouplist): Adjust to name change.
33405         Update use_initgroups_entry if this is not the first call.
33406         * nss/databases.def: Add initgroups entry.
33408         * nss/makedb.c (compute_tables): Check result of multiple hash table
33409         sizes to minimize maximum chain length.
33411 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
33413         * Versions.def: Add entry for libnss_db.
33414         * shlib-versions: Likewise.
33415         * nss/Makefile: Add rules to build libnss_db.
33416         * nss/Versions: Add libnss_db information.  Organize libnss_files
33417         entries better.
33418         * nss/db-Makefile: Add gshadow support.  Change rules for the new
33419         makedb progra.  Some minor improvements to generate smaller files.
33420         * nss/nss_db/nss_db.h: Move NSS database header data structures to
33421         here from...
33422         * nss/makedb.c: ...here.
33423         Improve database format to be smaller and require less memory at
33424         runtime.
33425         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
33426         db anymore.
33427         * nss/nss_db/db-netgrp.c: Likewise.
33428         * nss/nss_db/db-open.c: Likewise.
33429         * nss/nss_files/flies-XXX.x: Adjust comments.
33430         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33431         * nss/nss_files/files-grp.c: Likewise.
33432         * nss/nss_files/files-hosts.c: Likewise.
33433         * nss/nss_files/files-network.c: Likewise.
33434         * nss/nss_files/files-proto.c: Likewise.
33435         * nss/nss_files/files-pwd.c: Likewise.
33436         * nss/nss_files/files-rpc.c: Likewise.
33437         * nss/nss_files/files-service.c: Likewise.
33438         * nss/nss_files/files-sgrp.c: Likewise.
33439         * nss/nss_files/files-spwd.c: Likewise.
33440         * nss/nss_db/db-alias.c: Removed.
33441         * nss/nss_db/dummy-db.h: Removed.
33443 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
33445         * nss/makedb.c: Rewritten to not use database library.
33446         * nss/Makefile: Update to build new makedb program.
33448 2011-06-14  Andreas Jaeger  <aj@suse.de>
33450         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33451         memset declaration.
33453 2011-06-10  Andreas Schwab  <schwab@redhat.com>
33455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33456         tmpbuf.
33458 2011-06-10  Roland McGrath  <roland@hack.frob.com>
33460         * Makerules (shlib.lds): Fail if the linker script comes out empty.
33461         * elf/Makefile ($(objpfx)ld.so): Likewise.
33463         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33464         Don't list ld.so twice in dependencies.
33466         * posix/bug-regex31.c: Include <stdlib.h>.
33468         * nscd/hstcache.c (cache_addhst): Remove unused variable.
33470         * nis/nss_compat/compat-spwd.c
33471         (getspent_next_nss_netgr): Remove unused variable.
33472         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33474         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33475         nonmembers" output to use the right array.
33477         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33479         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33481         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33482         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33483         * catgets/gencat.c (read_input_file): Likewise.
33484         * locale/programs/locarchive.c (enlarge_archive): Likewise.
33486         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33487         variable definition inside #if's controlling its use.
33489         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33491         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33493         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33495         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33496         unreachable code.
33498         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33500         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33501         * configure: Regenerated.
33503         * Makerules: Revert last change.
33504         * elf/Makefile: Likewise.
33506 2011-06-09  Roland McGrath  <roland@hack.frob.com>
33508         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33509         * elf/Makefile ($(objpfx)librtld.os): Likewise.
33510         (reloc-link): Likewise.
33512 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
33514         * elf/Makefile: Add rules to build pldd.
33515         * elf/pldd.c: New file.
33516         * elf/pldd-xx.c: New file.
33518 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
33520         * version.h: Update for 2.15 development version.
33522 2011-06-07  David S. Miller  <davem@davemloft.net>
33524         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33525         ifuncs.
33526         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33527         elf_machine_lazy_rel): Likewise.
33528         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33529         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33530         elf_machine_lazy_rel): Likewise.
33531         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33532         dl_hwcap via passed in argument.
33533         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33534         Likewise.
33536 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33538         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
33540 2011-06-06  Roland McGrath  <roland@hack.frob.com>
33542         [BZ #12849]
33543         * manual/fdl-1.1.texi: New file, verbatim from:
33544         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33545         * manual/lgpl-2.1.texi: New file, verbatim from:
33546         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33547         * manual/Makefile (licenses): New variable, list those new file names.
33548         (texis): Use it.
33549         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33551         * manual/fdl.texi: File removed.
33552         * manual/lesser.texi: File removed.
33553         * manual/libc.texinfo (Copying, Documentation License):
33554         Use new @include file names, put @appendix directive before @include.
33556 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
33558         [BZ #12841]
33559         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33560         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33561         (mq_open): Add __NTH.
33563 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
33565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33566         Assume Intel Core i3/i5/i7 processor if AVX is available.
33568 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
33570         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33571         typo.
33573 2011-05-31  Andreas Schwab  <schwab@redhat.com>
33575         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33576         memory.  Use alloca_account.  Fix memory leak when retrying.
33578 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
33580         * version.h (RELEASE): Bump for 2.14 release.
33581         * include/features.h (__GLIBC_MINOR__): Bump to 14.
33583         * config.make.in (RANLIB): Remove entry.
33585 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
33587         * po/Makefile (po-sed-cmd): Add ksh to extensions.
33588         (libc.pot): Work around missing support for .ksh extension in xgettext.
33590         [BZ #12684]
33591         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33592         if both request failed.
33593         (send_dg): In case of server errors clear resplen or *resplen2.
33595         [BZ #12454]
33596         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33597         when there are multiple maps.
33598         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33599         (_dl_fini): Remove test here.
33601         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33603 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
33605         [BZ #12350]
33606         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33607         bit from old_res_options.
33608         (gaih_inet): Likewise.
33610         [BZ #11099]
33611         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33612         as signed.
33614         * resolv/res_init.c (res_setoptions): Make the code more compact.
33616         [BZ #11558]
33617         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33618         set RES_USEVC.
33620         [BZ #11634]
33621         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33623         * malloc/malloc.h: Mark malloc hook variables as deprecated.
33625         [BZ #11781]
33626         * malloc/malloc.h: Declare malloc hook variables as volatile.
33628         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33629         in last patch.
33631         [BZ #11799]
33632         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33633         raise in the comment.
33634         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33635         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33636         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33638 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
33640         [BZ #12811]
33641         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33642         grow the buffers more if it already has to be sufficient.
33643         (build_wcs_upper_buffer): Likewise.
33644         * posix/regexec.c (check_matching): Likewise.
33645         (clean_state_log_if_needed): Likewise.
33646         (extend_buffers): Don't enlarge buffers beyond size of the input
33647         buffer.
33648         Patches mostly by Emil Wojak <emil@wojak.eu>.
33649         * posix/bug-regex32.c: New file.
33650         * posix/Makefile (tests): Add bug-regex32.
33652         * locale/findlocale.c (_nl_find_locale): Return right away if
33653         _nl_explode_name failed.
33654         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33656         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33658         * debug/xtrace.sh: Unify messages.
33659         * malloc/memusage.sh: Likewise.
33661         [BZ #12813]
33662         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33663         time symbol from vDSO.  Substitute with vsyscall if not available.
33664         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33665         __vdso_time.
33667         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33668         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33669         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33670         Add sendmmsg and internal_sendmmsg.
33671         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33672         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33673         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33675         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33676         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33677         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33679 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
33681         [BZ #12813]
33682         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33683         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
33684         available.
33685         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33686         __vdso_getcpu.
33688         [BZ #12814]
33689         * iconvdata/Makefile (tests): Add bug-iconv9.
33690         * iconvdata/bug-iconv9.c: New file.
33692 2011-05-27  Andreas Schwab  <schwab@redhat.com>
33694         [BZ #12814]
33695         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33697 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
33699         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33700         (struct user_regs_struct): Change intcs field back to cs.
33702 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
33704         * po/ja.po: Update from translation team.
33706 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
33708         [BZ #12795]
33709         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33710         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33712 2011-05-20  Andreas Schwab  <schwab@redhat.com>
33714         * stdlib/longlong.h: Update from GCC.
33716 2011-05-23  Andreas Schwab  <schwab@redhat.com>
33718         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33719         parameter name.
33720         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33721         Add parameter name.
33722         (__sysconf): Pass it down.
33724 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
33726         [BZ #12671]
33727         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33728         some situations.
33729         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33730         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33731         add in in __libc_use_alloca calls.  Adjust callers.
33732         (glob): Use malloc in some situations.
33734         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33735         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33736         pltexit.
33738 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
33740         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33741         and CLOCK_BOOTTIME_ALARM.
33743         [BZ #12782]
33744         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33745         is returned.
33747         * string/_strerror.c (__strerror_r): Print negative errors as signed
33748         numbers.
33750         [BZ #12777]
33751         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33752         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33753         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33755         * configure.in: Fix typo in redirection and correct removal of test
33756         files in two cases.
33758         [BZ #12788]
33759         * locale/setlocale.c (new_composite_name): Fix test to check for
33760         identical name of all categories.
33762         [BZ #12792]
33763         * libio/filedoalloc.c (local_isatty): New function.
33764         (_IO_file_doallocate): Use local_isatty.
33765         * stdio-common/perror.c (perror): In case a new stream is used
33766         forward the stream error.
33767         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33768         error flag.
33770 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
33772         [BZ #11869]
33773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33774         alloca.
33775         * include/alloca.h (extend_alloca_account): Define.
33777         [BZ #11857]
33778         * posix/regex.h: Fix comments with documentation of user-accessible
33779         fields after compilation and describe correct free'ing of pattern
33780         after re_compile_pattern.
33781         Patch by Reuben Thomas <rrt@sc3d.org>.
33783 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
33785         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33786         and -mno-altivec to prevent the compiler from using Altivec and/or
33787         VSX instructions when the corresponding registers are not available.
33789 2011-05-19  Andreas Schwab  <schwab@redhat.com>
33791         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33793 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
33795         * libio/freopen.c (freopen): Use __dup2, not dup2.
33796         * libio/freopen64.c (freopen64): Likewise.
33798 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33800         [BZ #12775]
33801         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33802         * math/Makefile (tests): Add test-powl.
33803         (CFLAGS-test-powl.c): Define.
33804         * math/test-powl.c: New file.
33806 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33808         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33810 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
33812         [BZ #11837]
33813         * iconvdata/gb18030.c: Update to GB18020-2005.
33815 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
33817         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33818         RE_SYNTAX_POSIX_AWK): Update to match recent development.
33819         Patch by Aharon Robbins <arnold@skeeve.com>.
33821         [BZ #11892]
33822         * stdlib/putenv.c (putenv): Don't always create copy of the variable
33823         on the stack.
33825         [BZ #11895]
33826         * misc/pselect.c (__pselect): Handle timeout value errors hidden
33827         through underflows.
33829         [BZ #12766]
33830         * misc/error.c (error_at_line): Ensure file_name and old_file_name
33831         point to strings before performing equality test for error_one_per_line
33832         mode.
33834         [BZ #11697]
33835         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33837         [BZ #11820]
33838         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33839         (struct user_fpregs_struct): Avoid __uint*_t types.
33841         [BZ #6420]
33842         * malloc/mtrace.c (tr_where): Add additional parameter to point to
33843         symbol info.  Use it instead of calling _dl_addr locally.
33844         (lock_and_info): New function.
33845         (tr_freehook): Call lock_and_info and pass symbol info as additional
33846         parameter to tr_where.
33847         (tr_mallochook): Likewise.
33848         (tr_reallochook): Likewise.
33849         (tr_memalignhook): Likewise.
33851         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
33852         used and couldn't be at all thread-safe.
33854 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
33856         * libio/freopen.c (freopen): Don't close old file descriptor
33857         before the new one is opened.  Instead dup the new file descriptor
33858         to the old one after the new stream is created.
33859         * libio/freopen64.c (freopen64): Likewise.
33860         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33861         * libio/fileops.c (_IO_new_file_close_it): Handle new
33862         _IO_FLAGS2_NOCLOSE flag.
33863         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33864         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33865         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33866         _IO_FLAGS2_NOCLOSE flag.
33867         * include/unistd.h: Add hidden_proto for dup3.
33868         Define __have_dup3.
33869         * io/dup3.c: Define hidden symbol.
33870         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33872         [BZ #7101]
33873         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33874         when an incomplete long option is used.
33875         * posix/tst-getopt_long1.c: New file.
33876         * posix/Makefile (tests): Add tst-getopt_long1.
33878         [BZ #10138]
33879         * scripts/config.guess: Update from autoconf-2.68.
33880         * scripts/config.sub: Likewise.
33882         [BZ #10157]
33883         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33884         tests into ...
33885         (has_cpuclock): ...this.  New function.
33886         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33887         macro here based on has_cpuclock code.
33889         [BZ #10149]
33890         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33891         First byte (not low byte) is now always NUL.
33892         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33894         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33895         Use non-cancelable interfaces.
33897         [BZ #9809]
33898         * locale/iso-639.def: Add entry for Sorani.
33900         [BZ #11901]
33901         * include/stdlib.h: Move include protection to the right place.
33902         Define abort_msg_s.  Declare __abort_msg with it.
33903         * stdlib/abort.c (__abort_msg): Adjust type.
33904         * assert/assert.c (__assert_fail_base): New function.  Majority
33905         of code from __assert_fail.  Allocate memory for __abort_msg with
33906         mmap.
33907         (__assert_fail): Now call __assert_fail_base.
33908         * assert/assert-perr.c: Remove bulk of implementation.  Use
33909         __assert_fail_base.
33910         * include/assert.hL Declare __assert_fail_base.
33911         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33912         mmap.
33913         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33915 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
33917         [BZ #11952]
33918         [BZ #12453]
33919         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33920         until all modules are registered in the DTV.
33921         * elf/Makefile: Add rules to build and run tst-tls19.
33922         * elf/tst-tls19.c: New file.
33923         * elf/tst-tls19mod1.c: New file.
33924         * elf/tst-tls19mod2.c: New file.
33925         * elf/tst-tls19mod3.c: New file.
33926         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33928         [BZ #12083]
33929         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33930         correctly.
33932         [BZ #12601]
33933         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33934         two-byte sequence errors.
33935         * iconvdata/Makefile (tests): Add bug-iconv8.
33936         * iconvdata/bug-iconv8.c: New file.
33938         [BZ #12626]
33939         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33940         buf2 definition.
33942         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33944         [BZ #12432]
33945         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33946         (dummy_getcfa): New function.
33947         (init): Get _Unwind_GetCFA address, use dummy if not found.
33948         (backtrace_helper): In recursion check, also check whether CFA changes.
33949         (__backtrace): Completely initialize arg.
33951         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33952         storing incomplete byte sequence in state object.  Avoid testing for
33953         guaranteed too small input if we know there is enough data available.
33955 2011-05-11  Andreas Schwab  <schwab@redhat.com>
33957         * Makeconfig (+link-pie): Indent.
33958         * Rules (binaries-pie): Define if $(have-fpie) and
33959         $(build-shared).
33960         (binaries-shared): Also filter out $(binaries-pie).
33961         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33962         * nscd/Makefile (others-pie): Add nscd.
33963         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33964         ($(objpfx)nscd): Remove command override.
33965         * login/Makefile (others-pie): Add pt_chown.
33966         ($(objpfx)pt_chown): Remove command override.
33967         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33968         remove command overrides.
33970 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
33972         * libio/tst_putwc.c: Fix error messages.
33974         [BZ #12724]
33975         * libio/fileops.c (_IO_new_file_close_it): Always flush when
33976         currently writing and seek to current position when not.
33977         * libio/Makefile (tests): Add bug-fclose1.
33978         * libio/bug-fclose1.c: New file.
33980 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
33982         [BZ #12511]
33983         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33984         don't set DF_1_NODELETE here.
33985         (do_lookup_x): When entering new entry test for copy relocation
33986         and if necessary set DF_1_NODELETE flag.
33987         * elf/tst-unique4.cc: New file.
33988         * elf/tst-unique4.h: New file.
33989         * elf/tst-unique4lib.cc: New file.
33990         * elf/Makefile: Add rules to build and run tst-unique4.
33991         Patch by Piotr Bury <pbury@goahead.com>.
33993 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
33995         [BZ #12052]
33996         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33998         [BZ #12625]
33999         * misc/mntent_r.c (addmntent): Flush the stream after the output
34001         [BZ #12393]
34002         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34003         (is_trusted_path_normalize): Skip initial colon.  Append slash
34004         to empty buffer.  Duplicate is_trusted_path code but allow
34005         constructed patch to be prefix.
34006         (is_dst): Allow $ORIGIN followed by /.
34007         (_dl_dst_substitute): Correct clearing of check_for_trusted.
34008         Correct testing of result of is_trusted_path_normalize
34009         (decompose_rpath): Fix warning.
34011 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
34013         [BZ #11257]
34014         * grp/initgroups.c (internal_getgrouplist): When we found the service
34015         list through the initgroups entry in nsswitch.conf do not always
34016         continue on a successful lookup.  Don't always use the
34017         __nss_group_database value if it is set.
34018         * nss/nsswitch.conf (initgroups): Change action for successful db
34019         lookup to continue for compatibility.
34021 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
34023         [BZ #11532]
34024         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34025         and CP774 modules.
34026         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34027         and CP774 modules.
34028         * iconvdata/tst-tables.sh: Likewise.
34029         * iconvdata/cp770.c: New file.
34030         * iconvdata/cp771.c: New file.
34031         * iconvdata/cp772.c: New file.
34032         * iconvdata/cp773.c: New file.
34033         * iconvdata/cp774.c: New file.
34034         * iconvdata/testdata/CP770: New file.
34035         * iconvdata/testdata/CP770..UTF8: New file.
34036         * iconvdata/testdata/CP771: New file.
34037         * iconvdata/testdata/CP771..UTF8: New file.
34038         * iconvdata/testdata/CP772: New file.
34039         * iconvdata/testdata/CP772..UTF8: New file.
34040         * iconvdata/testdata/CP773: New file.
34041         * iconvdata/testdata/CP773..UTF8: New file.
34042         * iconvdata/testdata/CP774: New file.
34043         * iconvdata/testdata/CP774..UTF8: New file.
34045         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34046         END CHARMAP line.
34047         * iconvdata/gen-8bit-gap.sh: Likewise.
34048         * iconvdata/gen-8bit.sh: Likewise.
34050         * locale/iso-639.def: Add ary entry.
34052         [BZ #11258]
34053         * locale/C-translit.h.in: Add U20A1 transliteration.
34055         [BZ #12178]
34056         * locale/iso-639.def: Add wae entry.
34057         Patch by Kevin Bortis <bortis@translate-wae.ch>.
34059         [BZ #12545]
34060         * locale/programs/localedef.c (construct_output_path): Use ssize_t
34061         for n.
34063         [BZ #12711]
34064         * locale/C-translit.h.in: Add entry for U20B9.
34065         Patch by pravin.d.s@gmail.com.
34067 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
34069         [BZ #12713]
34070         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34071         ENAMETOOLONG use generic getcwd.
34072         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
34073         in rtld.  Use *stat64.
34074         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34075         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34076         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34077         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34078         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34079         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34080         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34081         __fstatat64 macros.
34082         * include/dirent.h: Add libc_hidden_proto for rewinddir.
34083         * dirent/rewinddir.c: Add libc_hidden_def.
34084         * sysdeps/mach/hurd/rewinddir.c: Likewise.
34085         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
34087         * include/dirent.h (__alloc_dir): Add flags parameter.
34088         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34089         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34090         __alloc_dir.
34091         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
34092         from fdopendir if O_CLOEXEC is already set.
34094 2011-03-15  Alan Modra  <amodra@gmail.com>
34096         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34097         l_tls_firstbyte_offset non-zero.  Save padding offset in
34098         l_tls_firstbyte_offset for later use.
34099         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34100         freeing static tls block.
34102 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
34104         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34105         where #ifdef was intended.  The intent is to prevent ARG_MAX from
34106         being defined by the kernel headers.
34108 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
34110         [BZ #12734]
34111         * resolv/resolv.h: Define RES_NOTLDQUERY.
34112         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34113         no-tld-query and set RES_NOTLDQUERY.
34114         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34115         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34116         modern BIND to search name as TLD unless forbidden.
34118 2011-05-07  Petr Baudis  <pasky@suse.cz>
34119             Ulrich Drepper  <drepper@gmail.com>
34121         [BZ #12393]
34122         * elf/dl-load.c (fillin_rpath): Move trusted path check...
34123         (is_trusted_path): ...to here.
34124         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34125         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34126         using is_trusted_path_normalize() in setuid scripts.
34128 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34130         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34131         __BEGIN/__END_DECLS.
34133 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
34135         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34136         NSS_STATUS_NOTFOUND if no record was found.
34138 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34140         * sunrpc/Makefile (headers): Add rpc/netdb.h.
34141         (headers-not-in-tirpc): Remove rpc/netdb.h
34142         * resolv/netdb.h: Revert last change.
34144 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34146         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34147         circular dependency between libgcc.a and libc.a.
34149 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34151         * resolv/netdb.h: Don't include <rpc/netdb.h>.
34152         * nis/Makefile: Don't install rpcsvc/*.
34153         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34154         instead of <rpc/types.h>.
34155         (MAXHOSTNAMELEN): Define.
34157 2011-05-03  Andreas Schwab  <schwab@redhat.com>
34159         * elf/ldconfig.c (add_dir): Don't crash on empty path.
34161 2011-04-28  Maciej Babinski  <mbabinski@google.com>
34163         [BZ #12714]
34164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34165         gethostbyname4_r when IPv6 results are possible.
34167 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
34169         [BZ #12723]
34170         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34171         _PC_PIPE_BUF handling.
34173 2011-04-30  Bruno Haible  <bruno@clisp.org>
34175         [BZ #12717]
34176         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34177         * resolv/netdb.h (getnameinfo): Change type of flags parameter
34178         to 'int'.
34179         * inet/getnameinfo.c (getnameinfo): Likewise.
34181 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
34183         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34184         to groups setting in database lookup.
34185         * nss/nsswitch.conf: Add initgroups entry.
34187 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
34189         [BZ #12685]
34190         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34191         mode string.
34192         Patch by Eric Blake <eblake@redhat.com>.
34194 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
34196         * sunrpc/Makefile (need-export-routines): Add svc_run.
34197         (routines): Remove svc_run.
34198         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34199         * sunrpc/clnt_perr.c (clnt_perrno): Export.
34200         * sunrpc/svc_run.c (svc_run): Likewise.
34201         * sunrpc/svc_udp.c (svcudp_create): Likewise.
34203 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
34205         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34206         problem in reallocation in last patch.
34208 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
34210         * sunrpc/Makefile: Move inclusion of Rules.
34212 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34214         * nss/nss_files/files-initgroups.c: New file.
34215         * nss/Makefile (libnss_files-routines): Add files-initgroups.
34216         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34217         _nss_files_initgroups_dyn.
34219 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
34221         * elf/elf.h (R_ARM_IRELATIVE): Define.
34223 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34225         * po/ru.po: Update from translation team.
34227 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34229         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34230         dependencies.
34232 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
34234         [BZ #12653]
34235         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34236         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34237         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34238         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34239         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34241 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
34243         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34244         differing bytes.
34245         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34246         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34247         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34249 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34251         [BZ #12420]
34252         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34253         storing it.
34254         * stdlib/bug-getcontext.c: New file.
34255         * stdlib/Makefile: Add rules to build and run bug-getcontext.
34257 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34259         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34260         instructions into .machine "z9-109".
34261         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34262         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34264 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34266         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34267         between environment variables and auxiliary vector.
34269 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
34271         * Makefile: Add rules to build linkobj/libc.so.
34272         * include/libc-symbols.h: Define libc_hidden_nolink.
34273         * include/rpc/auth.h: Mark functions which are to be hidden.
34274         * include/rpc/auth_des.h: Likewise.
34275         * include/rpc/auth_unix.h: Likewise.
34276         * include/rpc/clnt.h: Likewise.
34277         * include/rpc/des_crypt.h: Likewise.
34278         * include/rpc/key_prot.h: Likewise.
34279         * include/rpc/pmap_clnt.h: Likewise.
34280         * include/rpc/pmap_prot.h: Likewise.
34281         * include/rpc/pmap_rmt.h: Likewise.
34282         * include/rpc/rpc_msg.h: Likewise.
34283         * include/rpc/svc.h: Likewise.
34284         * include/rpc/svc_auth.h: Likewise.
34285         * include/rpc/xdr.h: Likewise.
34286         * nis/Makefile: Link all DSOs against linkobj/libc.so.
34287         * nss/Makefile: Likewise.
34288         * sunrpc/Makefile: Don't install headers.  Build library with normal
34289         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
34290         * sunrpc/auth_des.c: Hide exported symbols by default, export some
34291         for the compat linking library.  Remove use of INTDEF/INTUSE.
34292         * sunrpc/auth_none.c: Likewise.
34293         * sunrpc/auth_unix.c: Likewise.
34294         * sunrpc/authdes_prot.c: Likewise.
34295         * sunrpc/authuxprot.c: Likewise.
34296         * sunrpc/clnt_gen.c: Likewise.
34297         * sunrpc/clnt_perr.c: Likewise.
34298         * sunrpc/clnt_raw.c: Likewise.
34299         * sunrpc/clnt_simp.c: Likewise.
34300         * sunrpc/clnt_tcp.c: Likewise.
34301         * sunrpc/clnt_udp.c: Likewise.
34302         * sunrpc/clnt_unix.c: Likewise.
34303         * sunrpc/des_crypt.c: Likewise.
34304         * sunrpc/des_soft.c: Likewise.
34305         * sunrpc/get_myaddr.c: Likewise.
34306         * sunrpc/key_call.c: Likewise.
34307         * sunrpc/key_prot.c: Likewise.
34308         * sunrpc/netname.c: Likewise.
34309         * sunrpc/pm_getmaps.c: Likewise.
34310         * sunrpc/pm_getport.c: Likewise.
34311         * sunrpc/pmap_clnt.c: Likewise.
34312         * sunrpc/pmap_prot.c: Likewise.
34313         * sunrpc/pmap_prot2.c: Likewise.
34314         * sunrpc/pmap_rmt.c: Likewise.
34315         * sunrpc/publickey.c: Likewise.
34316         * sunrpc/rpc_cmsg.c: Likewise.
34317         * sunrpc/rpc_common.c: Likewise.
34318         * sunrpc/rpc_dtable.c: Likewise.
34319         * sunrpc/rpc_prot.c: Likewise.
34320         * sunrpc/rpc_thread.c: Likewise.
34321         * sunrpc/rtime.c: Likewise.
34322         * sunrpc/svc.c: Likewise.
34323         * sunrpc/svc_auth.c: Likewise.
34324         * sunrpc/svc_authux.c: Likewise.
34325         * sunrpc/svc_raw.c: Likewise.
34326         * sunrpc/svc_run.c: Likewise.
34327         * sunrpc/svc_simple.c: Likewise.
34328         * sunrpc/svc_tcp.c: Likewise.
34329         * sunrpc/svc_udp.c: Likewise.
34330         * sunrpc/svc_unix.c: Likewise.
34331         * sunrpc/svcauth_des.c: Likewise.
34332         * sunrpc/xcrypt.c: Likewise.
34333         * sunrpc/xdr.c: Likewise.
34334         * sunrpc/xdr_array.c: Likewise.
34335         * sunrpc/xdr_float.c: Likewise.
34336         * sunrpc/xdr_intXX_t.c: Likewise.
34337         * sunrpc/xdr_mem.c: Likewise.
34338         * sunrpc/xdr_rec.c: Likewise.
34339         * sunrpc/xdr_ref.c: Likewise.
34340         * sunrpc/xdr_sizeof.c: Likewise.
34341         * sunrpc/xdr_stdio.c: Likewise.
34343 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
34345         [BZ #12650]
34346         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34347         * sysdeps/ia64/dl-tls.h: Likewise.
34348         * sysdeps/powerpc/dl-tls.h: Likewise.
34349         * sysdeps/s390/dl-tls.h: Likewise.
34350         * sysdeps/sh/dl-tls.h: Likewise.
34351         * sysdeps/sparc/dl-tls.h: Likewise.
34352         * sysdeps/x86_64/dl-tls.h: Likewise.
34353         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34355 2011-03-14  Andreas Schwab  <schwab@redhat.com>
34357         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34358         rpath element also skip the following colon.
34359         (expand_dynamic_string_token): Add is_path parameter and pass
34360         down to DL_DST_REQUIRED and _dl_dst_substitute.
34361         (decompose_rpath): Call expand_dynamic_string_token with
34362         non-zero is_path.  Ignore empty rpaths.
34363         (_dl_map_object_from_fd): Call expand_dynamic_string_token
34364         with zero is_path.
34366 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
34368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34369         Make cancelable.
34371 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
34373         [BZ #12655]
34374         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34375         Patch by Filipe David Manana <fdmanana@apache.org>.
34377 2011-04-07  Andreas Schwab  <schwab@redhat.com>
34379         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34380         Maintain aligned stack.
34381         (CHECK_RSP): Remove unused macro.
34383 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
34385         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34386         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34388 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
34390         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34392         * include/features.h: Mention __USE_XOPEN2K8 in comment.
34394 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
34396         [BZ #12518]
34397         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34398         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34399         * sysdeps/x86_64/memmove.c: New file.
34400         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34401         (memcpy): Renamed to ...
34402         (__new_memcpy): This.
34403         (memcpy): Provide GLIBC_2_14 memcpy.
34404         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34405         (memcpy): Provide GLIBC_2_2_5 memcpy.
34407 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34409         [BZ #12631]
34410         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34412 2011-03-30  Andreas Schwab  <schwab@redhat.com>
34414         * misc/syncfs.c: New file.
34415         * misc/Makefile (routines): Add syncfs.
34416         * posix/unistd.h: Declare syncfs.
34417         * sysdeps/unix/syscalls.list: Add syncfs.
34419 2011-04-01  Andreas Schwab  <schwab@redhat.com>
34421         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34422         open_by_handle_at.
34423         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34424         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34425         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34426         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34428         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34429         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34431 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34433         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34434         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34435         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34436         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34437         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34439         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34441         * io/Makefile: Compile fallocate.c, fallocate64.c, and
34442         sync_file_range.c with -fexceptions.
34443         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34444         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34445         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34446         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34447         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34448         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34449         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34450         sync_file_range as cancellation point
34451         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
34452         now a wrapper around __call_sync_file_range with cancellation handling.
34453         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34454         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
34455         function name to __call_sync_file_range.
34456         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34457         Add call_sync_file_range.
34459 2011-04-01  Andreas Schwab  <schwab@redhat.com>
34461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34462         bits/timex.h.
34464 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34466         * iconv/iconv.h: Fix typo in comment.
34467         * io/fcntl.h: Likewise.
34468         * libio/stdio.h: Likewise.
34469         * posix/spawn.h: Likewise.
34470         * posix/unistd.h: Likewise.
34471         * stdlib/stdlib.h: Likewise.
34472         * time/time.h: Likewise.
34473         * wcsmbs/wchar.h: Likewise.
34475         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34476         open_by_handle): Add.
34477         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34478         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
34479         Augment a few comments.
34480         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34481         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34484         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34485         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34486         open_by_handle.
34488         * io/fcntl.h (AT_EMPTY_PATH): Define.
34490 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
34492         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34493         * sysdeps/unix/sysv/linux/bits/time.h: New file.
34494         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34495         to...
34496         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
34497         * Versions.def: Add GLIBC_2.14.
34498         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34499         Export.
34501 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
34503         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34504         round counter.
34505         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34507 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34509         [BZ #12597]
34510         * string/test-strncmp.c (do_page_test): New function.
34511         (check2): Likewise.
34512         (test_main): Call check2.
34513         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34515 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
34517         [BZ #12587]
34518         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34519         Handle cache information in CPU leaf 4.
34520         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34522 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
34524         [BZ #12583]
34525         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34526         character representation.
34527         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34529 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
34531         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34532         END(__isnan) to END(__isnanf) to match function entry point/label
34533         EALIGN(__isnanf,...).
34535 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
34537         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34539 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
34541         [BZ #12510]
34542         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34543         copy from the symbol referenced in the relocation to initialize the
34544         used variable.
34545         Patch by Piotr Bury <pbury@goahead.com>.
34546         * elf/Makefile: Add rules to build and tst-unique3.
34547         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34548         * elf/tst-unique3.cc: New file.
34549         * elf/tst-unique3.h: New file.
34550         * elf/tst-unique3lib.cc: New file.
34551         * elf/tst-unique3lib2.cc: New file.
34553         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34555 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
34557         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34558         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
34559         to _start.
34561 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
34563         * elf/dl-load.c (_dl_map_object): If we are looking for the first
34564         to-be-loaded object along a path to loader is ld.so.
34566 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
34567             Ulrich Drepper  <drepper@gmail.com>
34569         * sysdeps/x86_64/memset.S: After aligning destination, code
34570         branches to different locations depending on the value of
34571         misalignment, when multiarch is enabled. Fix this.
34573 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
34575         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34576         Set _x86_64_preferred_memory_instruction for AMD processsors.
34577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34578         Set bit_Prefer_SSE_for_memop for AMD processors.
34580 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
34582         * libio/fmemopen.c (fmemopen): Optimize a bit.
34584 2011-03-03  Andreas Schwab  <schwab@redhat.com>
34586         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34588 2011-03-03  Roland McGrath  <roland@redhat.com>
34590         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34592 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
34594         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34595         __bzero_ultra1 instead of __memset_ultra1.
34597 2011-02-23  Andreas Schwab  <schwab@redhat.com>
34598             Ulrich Drepper  <drepper@gmail.com>
34600         [BZ #12509]
34601         * include/link.h (struct link_map): Add l_orig_initfini.
34602         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34603         returning unsuccessfully.
34604         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34605         close of a file loaded at startup, restore the original l_initfini
34606         list.
34607         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34608         list, store the pointer.
34609         * elf/Makefile ($(objpfx)noload-mem): New rule.
34610         (noload-ENV): Define.
34611         (tests): Add $(objpfx)noload-mem.
34612         * elf/noload.c: Include <memcheck.h>.
34613         (main): Call mtrace.  Close all opened handles.
34615 2011-02-17  Andreas Schwab  <schwab@redhat.com>
34617         [BZ #12454]
34618         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34619         dependencies are missing.
34621 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34623         Fix __if_freereq crash: Unlike the generic version which uses free,
34624         Hurd needs munmap.
34625         * sysdeps/mach/hurd/ifreq.h: New file.
34627 2011-01-27  Petr Baudis  <pasky@suse.cz>
34628             Ulrich Drepper  <drepper@gmail.com>
34630         [BZ 12445]#
34631         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34632         to extend_alloca().
34633         * stdio-common/bug23.c: New file.
34634         * stdio-common/Makefile (tests): Add bug23.
34636 2010-09-28  Andreas Schwab  <schwab@redhat.com>
34637             Ulrich Drepper  <drepper@gmail.com>
34639         [BZ #12489]
34640         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34641         before performing relro protection.  At old place add assertion
34642         to make sure nothing changed.
34644 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
34645             Glauber de Oliveira Costa  <glommer@gmail.com>
34647         * elf/elf.h: Add new ARM TLS relocs.
34649 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
34651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34652         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34653         cast from r3.
34654         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
34655         'tests' variable.
34656         * sysdeps/wordsize-64/tst-writev.c: New file.
34658 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
34660         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34661         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34662         insns in _dl_start to prevent a TOC reference before relocs are
34663         resolved.
34665 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
34667         [BZ #12469]
34668         * Makeconfig: Remove RANLIB definition.
34669         * Makerules: Don't use RANLIB.
34670         * aclocal.m4: Remove ranlib test.
34671         * configure.in: No need to check for ranlib.
34672         * elf/rtld-Rules: Don't use RANLIB.
34674 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34676         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34677         protection macro.
34678         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34679         inclusion protection macro.
34681         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34682         SIGRTMIN and SIGRTMAX and print information in that case only when
34683         SIGRTMIN is defined.
34685 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
34687         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34688         arginfo fn returning -1.
34690         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34691         and thousands string is zero terminated.
34693 2011-02-03  Andreas Schwab  <schwab@redhat.com>
34695         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34696         sysdeps/unix/sysv/linux/bits/socket.h.
34698 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34700         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34701         (__CPU_COUNT): Remove old macros.
34702         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34703         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34704         (__CPU_ALLOC, __CPU_FREE): Add macros.
34705         (__sched_cpualloc, __sched_cpufree): Add declarations.
34707 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
34709         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34710         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34711         * nscd/aicache.c (addhstaiX): Return timeout of added value.
34712         (readdhstai): Return value of addhstaiX call.
34713         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34714         (addgrbyX): Return value returned by cache_addgr.
34715         (readdgrbyname): Return value returned by addgrbyX.
34716         (readdgrbygid): Likewise.
34717         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34718         (addpwbyX): Return value returned by cache_addpw.
34719         (readdpwbyname): Return value returned by addhstbyX.
34720         (readdpwbyuid): Likewise.
34721         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34722         (addservbyX): Return value returned by cache_addserv.
34723         (readdservbyname): Return value returned by addservbyX:
34724         (readdservbyport): Likewise.
34725         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34726         (addhstbyX): Return value returned by cache_addhst.
34727         (readdhstbyname): Return value returned by addhstbyX.
34728         (readdhstbyaddr): Likewise.
34729         (readdhstbynamev6): Likewise.
34730         (readdhstbyaddrv6): Likewise.
34731         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34732         (readdinitgroups): Return value returned by addinitgroupsX.
34733         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34734         (prune_cache): Keep track of timeout value of re-added entries.
34735         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34736         * nscd/nscd.h: Adjust prototypes of readd* functions.
34738 2011-02-04  Roland McGrath  <roland@redhat.com>
34740         * nis/nis_server.c (nis_servstate): Use the right name for 0.
34741         (nis_stats): Likewise.
34742         * nis/nis_modify.c (nis_modify): Likewise.
34743         * nis/nis_remove.c (nis_remove): Likewise.
34744         * nis/nis_add.c (nis_add): Likewise.
34746         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34748         * posix/fnmatch_loop.c: Add some consts.
34750         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34752 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
34754         [BZ #12460]
34755         * config.make.in (config-cflags-novzeroupper): Define.
34756         * configure.in: Substitute libc_cv_cc_novzeroupper.
34757         * elf/Makefile (AVX-CFLAGS): Define.
34758         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34759         (CFLAGS-tst-auditmod4a.c): Likewise.
34760         (CFLAGS-tst-auditmod4b.c): Likewise.
34761         (CFLAGS-tst-auditmod6b.c): Likewise.
34762         (CFLAGS-tst-auditmod6c.c): Likewise.
34763         (CFLAGS-tst-auditmod7b.c): Likewise.
34764         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34766 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
34768         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34769         function to the callback.
34770         Patch partly by Jiri Olsa <jolsa@redhat.com>.
34772 2011-02-02  Andreas Schwab  <schwab@redhat.com>
34774         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34775         of errno.
34777 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
34779         [BZ #11724]
34780         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34781         of constructors.
34782         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34783         of destructors.
34784         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34786         [BZ #11724]
34787         * elf/Makefile: Add rules to build and run new test.
34788         * elf/tst-initorder.c: New file.
34789         * elf/tst-initorder.exp: New file.
34790         * elf/tst-initordera1.c: New file.
34791         * elf/tst-initordera2.c: New file.
34792         * elf/tst-initordera3.c: New file.
34793         * elf/tst-initordera4.c: New file.
34794         * elf/tst-initorderb1.c: New file.
34795         * elf/tst-initorderb2.c: New file.
34796         * elf/tst-order-a1.c: New file.
34797         * elf/tst-order-a2.c: New file.
34798         * elf/tst-order-a3.c: New file.
34799         * elf/tst-order-a4.c: New file.
34800         * elf/tst-order-b1.c: New file.
34801         * elf/tst-order-b2.c: New file.
34802         * elf/tst-order-main.c: New file.
34803         New test case by George Gensure <werkt0@gmail.com>.
34805 2010-10-01  Andreas Schwab  <schwab@redhat.com>
34807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34808         decoding ACE if AI_CANONIDN.
34810 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
34812         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34814 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
34816         * version.h (RELEASE): Bump for 2.13 release.
34817         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34819         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34821         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34822         MADV_NOHUGEPAGE.
34823         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34824         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34825         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34826         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34827         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34828         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34830         * posix/getconf.c: Update copyright year.
34831         * catgets/gencat.c: Likewise.
34832         * csu/version.c: Likewise.
34833         * debug/catchsegv.sh: Likewise.
34834         * debug/xtrace.sh: Likewise.
34835         * elf/ldconfig.c: Likewise.
34836         * elf/ldd.bash.in: Likewise.
34837         * elf/sprof.c (print_version): Likewise.
34838         * iconv/iconv_prog.c: Likewise.
34839         * iconv/iconvconfig.c: Likewise.
34840         * locale/programs/locale.c: Likewise.
34841         * locale/programs/localedef.c: Likewise.
34842         * malloc/memusage.sh: Likewise.
34843         * malloc/mtrace.pl: Likewise.
34844         * nscd/nscd.c (print_version): Likewise.
34845         * nss/getent.c: Likewise.
34847         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34848         PF_CAIF, and PF_ALG.
34849         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34851 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
34853         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34854         (modules-names): Use them.
34855         (ifunc-test-modules, ifunc-pie-tests): Define.
34856         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34857         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34858         (test-extras): Likewise.
34859         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34860         $(compile-command.c).
34861         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34862         (all-built-dso): Define.
34863         (check-textrel.out, check-execstack.out): Depend on it.
34865         * configure.in: Don't override --enable-multi-arch.
34867 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
34869         [BZ #6812]
34870         * nscd/hstcache.c (tryagain): Define.
34871         (cache_addhst): Return tryagain not notfound for temporary errors.
34872         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34873         failed.
34875 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
34877         [BZ #10563]
34878         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34879         to make the syscall.
34880         * sysdeps/unix/sysv/linux/setgroups.c: New file.
34882         [BZ #12378]
34883         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34884         and fall back to matching as normal character if the string ends before
34885         the matching ']' is found.  This is what POSIX requires.
34886         * posix/testfnm.c: Adjust test result.
34887         * posix/globtest.sh: Adjust test result.  Add new test.
34888         * posix/tst-fnmatch.input: Likewise.
34889         * posix/tst-fnmatch2.c: Add new test.
34891 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
34893         * elf/Makefile (check-execstack): Revert last change.  Depend on
34894         check-execstack.h.
34895         (check-execstack.h): New target.
34896         (generated): Add check-execstack.h.
34897         * elf/check-execstack.c: Include "check-execstack.h".
34898         (main): Revert last change.
34899         (handle_file): Return zero if GNU_STACK is absent and
34900         DEFAULT_STACK_PERMS doesn't include PF_X.
34902 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
34904         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34905         in child fails because the descriptor is already closed.
34906         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34907         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34908         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34910         [BZ #12397]
34911         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34912         syscall.
34914         [BZ #10484]
34915         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34916         temporary buffer used to handle multi lookups locally.
34917         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34919 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34921         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34922         loader is ld.so.
34924 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
34926         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34927         alignment for SSE2.
34929 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34931         [BZ #12394]
34932         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34933         characters.  When rounding increased number of integer digits recompute
34934         number of groups.
34935         * stdio-common/tst-grouping.c: New file.
34936         * stdio-common/Makefile: Add rules to build and run tst-grouping.
34938 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
34940         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34941         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
34943         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34944         void.
34945         * bits/select.h: Likewise.
34947 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
34949         * po/ja.po: Update from translation team.
34951 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
34953         [BZ #11155]
34954         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34955         implementation just like for lxstat, fxstatat, et al.
34957 2010-12-27  Jim Meyering  <meyering@redhat.com>
34959         [BZ #12348]
34960         * posix/regexec.c (build_trtable): Return failure indication upon
34961         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
34963 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
34965         [BZ #12201]
34966         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34967         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34968         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34969         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34971         [BZ #12207]
34972         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34974         [BZ #12204]
34975         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34976         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34978 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
34980         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34981         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34982         script has SORT_BY_INIT_PRIORITY.
34983         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34984         NO_CTORS_DTORS_SECTIONS is defined.
34985         * elf/soinit.c: Likewise.
34986         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34987         NO_CTORS_DTORS_SECTIONS is defined.
34988         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34989         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34990         * sysdeps/sh/init-first.c: Likewise.
34991         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34993 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
34995         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34996         always use the slow path.
34998 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
35000         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35001         similar rule which adds the sysdep directories to the header search in
35002         order to pick up the correct platform stackinfo.h.
35003         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35004         perform test if it is, otherwise return successfully without testing.
35005         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35006         DEFAULT_STACK_PERMS define in stackinfo.h.
35007         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35008         defined in stackinfo.h.
35009         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35010         DEFAULT_STACK_PERMS defined in stackinfo.h.
35011         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35012         * sysdeps/ia64/stackinfo.h: Likewise.
35013         * sysdeps/s390/stackinfo.h: Likewise.
35014         * sysdeps/sh/stackinfo.h: Likewise.
35015         * sysdeps/sparc/stackinfo.h: Likewise.
35016         * sysdeps/x86_64/stackinfo.h: Likewise.
35017         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35018         PF_X for powerpc64.  Retain PF_X for powerpc32.
35020 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
35022         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35023         accurately.
35024         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35025         GETDENTS_64BIT_ALIGNED.
35027 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
35029         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35031 2010-12-10  Andreas Schwab  <schwab@redhat.com>
35033         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35034         _GNU_SOURCE.
35036         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35037         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35038         Remove __restrict.
35039         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35040         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35042 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
35044         [BZ #11655]
35045         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35046         are initialized.
35048 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
35050         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35052 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
35054         * po/it.po: Update from translation team.
35056 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
35058         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35059         unused codes.
35061 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
35063         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35065 2010-11-24  Andreas Schwab  <schwab@redhat.com>
35067         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35068         specially.
35069         (gaih_getanswer_slice): Likewise.
35071 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
35073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35075 2010-05-31  Petr Baudis  <pasky@suse.cz>
35077         [BZ #11149]
35078         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35079         silently even in the chroot mode.
35081 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
35083         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35084         last patch a bit.  Pretty printing
35086 2010-05-31  Petr Baudis <pasky@suse.cz>
35088         [BZ #10085]
35089         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35090         initialization of skip_initgroups_dyn.
35092 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
35094         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35095         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35097 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
35099         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35101 2010-11-11  Andreas Schwab  <schwab@redhat.com>
35103         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35104         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35105         (tst-fnmatch-ENV): Set MALLOC_TRACE.
35106         ($(objpfx)tst-fnmatch-mem): New rule.
35107         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35108         * posix/tst-fnmatch.c (main): Call mtrace.
35110 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
35112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35113         Support Intel processor model 6 and model 0x2c.
35115 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
35117         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35118           signed comparison.
35120 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
35122         [BZ #12205]
35123         * string/test-strncasecmp.c (check_result): New function.
35124         (do_one_test): Use it.
35125         (check1): New function.
35126         (test_main): Use it.
35127         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35128         Support strcasecmp and strncasecmp.
35130 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
35132         [BZ #12194]
35133         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35134         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35136 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35138         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35139         IFUNC support.
35140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35141         memset-x86-64.
35142         * sysdeps/x86_64/multiarch/bzero.S: New file.
35143         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35144         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35145         * sysdeps/x86_64/multiarch/memset.S: New file.
35146         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35148         Set bit_Prefer_SSE_for_memop for Intel processors.
35149         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35150         Define.
35151         (index_Prefer_SSE_for_memop): Define.
35152         (HAS_PREFER_SSE_FOR_MEMOP): Define.
35154 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
35156         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35157         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35159 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
35161         [BZ #12191]
35162         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35163         (__x86_64_raw_data_cache_size_half): Likewise.
35164         (__x86_64_raw_shared_cache_size): Likewise.
35165         (__x86_64_raw_shared_cache_size_half): Likewise.
35167         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35168         (__x86_64_raw_data_cache_size_half): Likewise.
35169         (__x86_64_raw_shared_cache_size): Likewise.
35170         (__x86_64_raw_shared_cache_size_half): Likewise.
35171         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35172         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35173         and __x86_64_raw_shared_cache_size_half.  Round
35174         __x86_64_data_cache_size_half, __x86_64_data_cache_size
35175         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35176         to multiple of 256 bytes.
35178 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
35180         [BZ #12167]
35181         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35182         of inacessible symlinks.  Verify result of symlink before returning it.
35183         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35184         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35186 2010-10-28  Erich Ritz  <erichritz@gmail.com>
35188         * math/math.h (isinf): Fix typo in comment.
35190 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
35192         * po/da.po: Update from translation team.
35194 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
35196         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35197         is added to the list.
35199 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35200             Ulrich Drepper  <drepper@gmail.com>
35202         * elf/dl-object.c (_dl_new_object): Don't append the new object to
35203         the global list here.  Move code to...
35204         (_dl_add_to_namespace_list): ...here.  New function.
35205         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35206         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35207         * elf/dl-load.c (lose): Don't remove the element from the list.
35208         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35209         (_dl_map_object): Likewise.
35211 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
35213         [BZ #12159]
35214         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35215         into all bytes of SSE register.
35216         Patch by Richard Li <richardpku@gmail.com>.
35218 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
35220         [BZ #12140]
35221         * malloc/malloc.c (_int_free): Fill correct number of bytes when
35222         perturbing.
35224 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
35226         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35227         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35228         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35229         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35231         submachine.
35232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35234 2010-10-22  Andreas Schwab  <schwab@redhat.com>
35236         * include/dlfcn.h (__RTLD_SECURE): Define.
35237         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
35238         mode & __RTLD_SECURE instead.
35239         (open_path): Rename preloaded parameter to secure.
35240         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35241         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35242         * elf/dl-deps.c (openaux): Likewise.
35243         * elf/rtld.c (struct map_args): Remove is_preloaded.
35244         (map_doit): Don't use it.
35245         (dl_main): Likewise.
35246         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35247         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35249 2010-09-09  Andreas Schwab  <schwab@redhat.com>
35251         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35252         (sysd-rules-targets): Remove duplicates.
35253         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35254         rtld-%.$o dependency.
35256 2010-10-18  Andreas Schwab  <schwab@redhat.com>
35258         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35259         _dl_map_object do it.
35261 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
35263         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35264         fast fma builtins, define the macros in the C99 standard.
35265         (FP_FAST_FMAF): Likewise.
35266         (FP_FAST_FMAL): Likewise.
35267         * sysdeps/x86_64/bits/mathdef.h: Likewise.
35269         * bits/mathdef.h: Update copyright year.
35270         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35272 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
35274         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35275         builtins, define the macros in the C99 standard.
35276         (FP_FAST_FMAF): Likewise.
35277         (FP_FAST_FMAL): Likewise.
35278         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35279         multiply/add.
35280         (FP_FAST_FMAF): Likewise.
35282 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
35284         [BZ #3268]
35285         * math/libm-test.inc (fma_test): Some new testcases.
35286         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35287         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35288         y and infinite z.  Do multiplication by C already in long double.
35289         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35291         y and infinite z.  Do bitwise or of inexact bit into u.d.
35292         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35293         * sysdeps/i386/fpu/s_fmaf.S: Removed.
35294         * sysdeps/i386/fpu/s_fma.S: Removed.
35295         * sysdeps/i386/fpu/s_fmal.S: Removed.
35297 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
35299         [BZ #3268]
35300         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35302         computation is not scheduled after fetestexcept.  Fix value
35303         of minimum denormal long double.
35305 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
35307         [BZ #3268]
35308         * math/libm-test.inc (fma_test): Add some more tests.
35309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35310         correctly.
35312 2010-10-15  Andreas Schwab  <schwab@redhat.com>
35314         * scripts/data/localplt-s390-linux-gnu.data: New file.
35315         * scripts/data/localplt-s390x-linux-gnu.data: New file.
35317 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
35319         [BZ #3268]
35320         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35321         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35322         instead of dbl-64.
35323         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35324         inlines.
35325         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35327         if one of x and y is very large and the other is subnormal.
35328         * sysdeps/s390/fpu/s_fmaf.c: New file.
35329         * sysdeps/s390/fpu/s_fma.c: New file.
35330         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35331         * sysdeps/powerpc/fpu/s_fma.S: New file.
35332         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35333         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35334         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35336 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
35338         [BZ #3268]
35339         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35340         fma tests.
35341         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35342         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35343         * sysdeps/i386/i686/multiarch/s_fma.c: Include
35344         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35345         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35346         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35347         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35349 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
35351         [BZ #12078]
35352         * posix/regcomp.c (parse_branch): One more memory leak plugged.
35353         * posix/bug-regex31.input: Add test case.
35355 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35357         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35358         * posix/bug-regex31.input: New file.
35360         [BZ #12078]
35361         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35362         (parse_sub_exp): Fix last change, use postorder.
35364         * posix/bug-regex31.c: New file.
35365         * posix/Makefile: Add rules to build and run bug-regex31.
35367         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35369         [BZ #12078]
35370         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35372         [BZ #12108]
35373         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35374         to have entries in sys_siglist.
35376         [BZ #12093]
35377         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35378         be NULL.
35380 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
35382         [BZ #3268]
35383         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35384         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35385         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35386         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35387         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35388         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35389         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35390         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35391         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35392         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35393         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35394         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35395         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35396         * math/ftestexcept.c (fetestexcept): Likewise.
35397         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35398         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35399         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35400         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35401         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35402         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35403         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35405 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35407         [BZ #12107]
35408         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35409         newline.
35411 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
35413         * string/bug-strstr1.c: New file.
35414         * string/Makefile: Add rules to build and run bug-strstr1.
35416 2010-10-05  Eric Blake  <eblake@redhat.com>
35418         [BZ #12092]
35419         * string/str-two-way.h (two_way_long_needle): Always clear memory
35420         when skipping input due to the shift table.
35422 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
35424         [BZ #12005]
35425         * malloc/mcheck.c: Handle large requests.
35427         [BZ #12077]
35428         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35429         for strncmp and strncasecmp.
35430         * string/stratcliff.c: Add tests for strcmp and strncmp.
35431         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35433 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35435         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35436         __set_fpscr.
35438 2010-09-30  Andreas Jaeger  <aj@suse.de>
35440         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35441         (CGROUP_SUPER_MAGIC): Define.
35442         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35443         Handle btrfs and cgroup file systems.
35444         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35445         Likewise.
35447 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
35449         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35450         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35452 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35454         [BZ #12067]
35455         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35456         trying to locate the ELF header.
35458 2010-09-27  Andreas Schwab  <schwab@redhat.com>
35460         [BZ #11611]
35461         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35462         Mask out sign-bit copies when constructing f_fsid.
35464 2010-09-24  Petr Baudis <pasky@suse.cz>
35466         * debug/stack_chk_fail_local.c: Add missing licence exception.
35467         * debug/warning-nop.c: Likewise.
35469 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
35471         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35472         implementing getdents64 using getdents syscall, set d_type if
35473         __ASSUME_GETDENTS32_D_TYPE.
35475 2010-09-16  Andreas Schwab  <schwab@redhat.com>
35477         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35478         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35480 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
35482         [BZ #12037]
35483         * posix/unistd.h: Undo change of feature selection for ftruncate from
35484         2010-01-11.
35486 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
35488         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35489         detection.
35491 2010-09-20  Andreas Schwab  <schwab@redhat.com>
35493         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35494         fanotify_mark.
35495         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35497 2010-09-14  Andreas Schwab  <schwab@redhat.com>
35499         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35500         variables after CHECK_SP call.
35501         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35503 2010-09-13  Andreas Schwab  <schwab@redhat.com>
35504             Ulrich Drepper  <drepper@redhat.com>
35506         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35507         re-relocationg ld.so.
35508         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35509         _dl_init_paths call.
35510         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
35511         here anymore.
35513 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
35515         * resolv/res_init.c (__res_vinit): Count the default server we added.
35517 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
35518             Ulrich Drepper  <drepper@redhat.com>
35520         [BZ #11968]
35521         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35522         (____longjmp_chk): Use %ebx for saving value across system call.
35523         Add unwind info.
35525 2010-09-06  Andreas Schwab  <schwab@redhat.com>
35527         * manual/Makefile: Don't mix pattern rules with normal rules.
35529 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35531         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35532         operation.
35533         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35534         * libio/iofopncook.c (_IO_cookie_init): Likewise.
35535         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35536         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35537         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35538         Likewise.
35540 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
35542         [BZ #11979]
35543         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35544         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35546 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
35548         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35549         * sysdeps/x86_64/addmul_1.S: Likewise.
35550         * sysdeps/x86_64/lshift.S: Likewise.
35551         * sysdeps/x86_64/mul_1.S: Likewise.
35552         * sysdeps/x86_64/rshift.S: Likewise.
35553         * sysdeps/x86_64/sub_n.S: Likewise.
35554         * sysdeps/x86_64/submul_1.S: Likewise.
35556 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35558         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35559         Define __sched_param instead of SCHED_* and sched_param when
35560         <bits/sched.h> is included with __need_schedparam defined.
35561         * bits/sched.h [__need_schedparam]
35562         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35563         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35564         (__defined_schedparam): Define to 1.
35565         (__sched_param): New structure, identical to sched_param.
35566         (__need_schedparam): Undefine.
35568 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
35570         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35571         (epoll_create1): Declare.
35573         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35575 2010-08-31  Andreas Schwab  <schwab@redhat.com>
35577         [BZ #7066]
35578         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35579         shifting retval into place.
35581 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
35583         * nis/rpcsvc/nis.h: Update copyright notice.
35584         * nis/rpcsvc/nis.x: Likewise.
35585         * nis/rpcsvc/nis_callback.h: Likewise.
35586         * nis/rpcsvc/nis_callback.x: Likewise.
35587         * nis/rpcsvc/nis_object.x: Likewise.
35588         * nis/rpcsvc/nis_tags.h: Likewise.
35589         * nis/rpcsvc/yp.h: Likewise.
35590         * nis/rpcsvc/yp.x: Likewise.
35591         * nis/rpcsvc/ypupd.h: Likewise.
35592         * nis/yp_xdr.c: Likewise.
35593         * nis/ypupdate_xdr.c: Likewise.
35595         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
35596         mainly the body of pmap_getport.  Add parameters to specify timeouts.
35597         (pmap_getport): Use __libc_rpc_getport.
35598         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35599         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35600         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35602 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
35604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35605         fanotify_mark.
35607 2010-08-27  Roland McGrath  <roland@redhat.com>
35609         * sysdeps/i386/i686/multiarch/Makefile
35610         (CFLAGS-varshift.c): New variable.
35612 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
35614         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35615         * sysdeps/i386/i686/multiarch/varshift.c: New file.
35617         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35619         * sysdeps/x86_64/strlen.S: Minimal code improvement.
35621 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
35623         * sysdeps/x86_64/strlen.S: Unroll the loop.
35624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35625         strlen-sse2 strlen-sse2-bsf.
35626         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35627         __strlen_no_bsf if bit_Slow_BSF is set.
35628         (__strlen_sse42): Removed.
35629         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35630         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35632 2010-08-25  Roland McGrath  <roland@redhat.com>
35634         * sysdeps/x86_64/multiarch/varshift.S: File removed.
35635         * sysdeps/x86_64/multiarch/varshift.c: New file.
35636         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35637         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35638         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35639         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35641 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
35643         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35644         strlen-sse2 strlen-sse2-bsf.
35645         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35646         __strlen_sse2_bsf if bit_Slow_BSF is unset.
35647         (__strlen_sse2): Removed.
35648         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35649         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35651         bit_Slow_BSF for Atom.
35652         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35653         (index_Slow_BSF): Define.
35654         (HAS_SLOW_BSF): Define.
35656 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
35658         [BZ #10851]
35659         * resolv/res_init.c (__res_vinit): When no server address at all
35660         is given default to loopback.
35662 2010-08-24  Roland McGrath  <roland@redhat.com>
35664         * configure.in: Remove config-name.h generation.
35665         * configure: Regenerated.
35666         * config-name.in: File removed.
35667         * scripts/config-uname.sh: New file.
35668         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35669         ($(objdir)config-name.h): New target.
35671         * sunrpc/rpc_parse.h: Avoid nested comment.
35673 2010-08-24  Richard Henderson  <rth@redhat.com>
35674             Ulrich Drepper  <drepper@redhat.com>
35675             H.J. Lu  <hongjiu.lu@intel.com>
35677         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35679         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35680         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
35681         _mm_alignr_epi8 with _mm_loadu_si128.
35682         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35683         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35684         (__m128i_shift_right): Removed.
35685         * sysdeps/i386/i686/multiarch/varshift.h: New file.
35686         * sysdeps/i386/i686/multiarch/varshift.S: New file.
35687         * sysdeps/x86_64/multiarch/varshift.h: New file.
35688         * sysdeps/x86_64/multiarch/varshift.S: New file.
35690 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
35692         * configure.in: Move assembler checks to before sysdep dir checking.
35694 2010-08-20  Petr Baudis  <pasky@suse.cz>
35696         * LICENSES: Sync the sunrpc license.
35698 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
35700         * sunrpc/auth_des.c: Update copyright notice once again.
35701         * sunrpc/auth_none.c: Likewise.
35702         * sunrpc/auth_unix.c: Likewise.
35703         * sunrpc/authdes_prot.c: Likewise.
35704         * sunrpc/authuxprot.c: Likewise.
35705         * sunrpc/bindrsvprt.c: Likewise.
35706         * sunrpc/clnt_gen.c: Likewise.
35707         * sunrpc/clnt_perr.c: Likewise.
35708         * sunrpc/clnt_raw.c: Likewise.
35709         * sunrpc/clnt_simp.c: Likewise.
35710         * sunrpc/clnt_tcp.c: Likewise.
35711         * sunrpc/clnt_udp.c: Likewise.
35712         * sunrpc/clnt_unix.c: Likewise.
35713         * sunrpc/des_crypt.c: Likewise.
35714         * sunrpc/des_soft.c: Likewise.
35715         * sunrpc/get_myaddr.c: Likewise.
35716         * sunrpc/getrpcport.c: Likewise.
35717         * sunrpc/key_call.c: Likewise.
35718         * sunrpc/key_prot.c: Likewise.
35719         * sunrpc/openchild.c: Likewise.
35720         * sunrpc/pm_getmaps.c: Likewise.
35721         * sunrpc/pm_getport.c: Likewise.
35722         * sunrpc/pmap_clnt.c: Likewise.
35723         * sunrpc/pmap_prot.c: Likewise.
35724         * sunrpc/pmap_prot2.c: Likewise.
35725         * sunrpc/pmap_rmt.c: Likewise.
35726         * sunrpc/rpc/auth.h: Likewise.
35727         * sunrpc/rpc/auth_unix.h: Likewise.
35728         * sunrpc/rpc/clnt.h: Likewise.
35729         * sunrpc/rpc/des_crypt.h: Likewise.
35730         * sunrpc/rpc/key_prot.h: Likewise.
35731         * sunrpc/rpc/netdb.h: Likewise.
35732         * sunrpc/rpc/pmap_clnt.h: Likewise.
35733         * sunrpc/rpc/pmap_prot.h: Likewise.
35734         * sunrpc/rpc/pmap_rmt.h: Likewise.
35735         * sunrpc/rpc/rpc.h: Likewise.
35736         * sunrpc/rpc/rpc_des.h: Likewise.
35737         * sunrpc/rpc/rpc_msg.h: Likewise.
35738         * sunrpc/rpc/svc.h: Likewise.
35739         * sunrpc/rpc/svc_auth.h: Likewise.
35740         * sunrpc/rpc/types.h: Likewise.
35741         * sunrpc/rpc/xdr.h: Likewise.
35742         * sunrpc/rpc_clntout.c: Likewise.
35743         * sunrpc/rpc_cmsg.c: Likewise.
35744         * sunrpc/rpc_common.c: Likewise.
35745         * sunrpc/rpc_cout.c: Likewise.
35746         * sunrpc/rpc_dtable.c: Likewise.
35747         * sunrpc/rpc_hout.c: Likewise.
35748         * sunrpc/rpc_main.c: Likewise.
35749         * sunrpc/rpc_parse.c: Likewise.
35750         * sunrpc/rpc_parse.h: Likewise.
35751         * sunrpc/rpc_prot.c: Likewise.
35752         * sunrpc/rpc_sample.c: Likewise.
35753         * sunrpc/rpc_scan.c: Likewise.
35754         * sunrpc/rpc_scan.h: Likewise.
35755         * sunrpc/rpc_svcout.c: Likewise.
35756         * sunrpc/rpc_tblout.c: Likewise.
35757         * sunrpc/rpc_util.c: Likewise.
35758         * sunrpc/rpc_util.h: Likewise.
35759         * sunrpc/rpcinfo.c: Likewise.
35760         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35761         * sunrpc/rpcsvc/key_prot.x: Likewise.
35762         * sunrpc/rpcsvc/klm_prot.x: Likewise.
35763         * sunrpc/rpcsvc/mount.x: Likewise.
35764         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35765         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35766         * sunrpc/rpcsvc/rex.x: Likewise.
35767         * sunrpc/rpcsvc/rstat.x: Likewise.
35768         * sunrpc/rpcsvc/rusers.x: Likewise.
35769         * sunrpc/rpcsvc/sm_inter.x: Likewise.
35770         * sunrpc/rpcsvc/spray.x: Likewise.
35771         * sunrpc/rpcsvc/yppasswd.x: Likewise.
35772         * sunrpc/rtime.c: Likewise.
35773         * sunrpc/svc.c: Likewise.
35774         * sunrpc/svc_auth.c: Likewise.
35775         * sunrpc/svc_authux.c: Likewise.
35776         * sunrpc/svc_raw.c: Likewise.
35777         * sunrpc/svc_run.c: Likewise.
35778         * sunrpc/svc_simple.c: Likewise.
35779         * sunrpc/svc_tcp.c: Likewise.
35780         * sunrpc/svc_udp.c: Likewise.
35781         * sunrpc/svc_unix.c: Likewise.
35782         * sunrpc/svcauth_des.c: Likewise.
35783         * sunrpc/xcrypt.c: Likewise.
35784         * sunrpc/xdr.c: Likewise.
35785         * sunrpc/xdr_array.c: Likewise.
35786         * sunrpc/xdr_float.c: Likewise.
35787         * sunrpc/xdr_mem.c: Likewise.
35788         * sunrpc/xdr_rec.c: Likewise.
35789         * sunrpc/xdr_ref.c: Likewise.
35790         * sunrpc/xdr_sizeof.c: Likewise.
35791         * sunrpc/xdr_stdio.c: Likewise.
35793         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35794         handling.
35796 2010-08-19  Andreas Schwab  <schwab@redhat.com>
35798         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35800 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
35802         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35803         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35804         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35805         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35806         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35807         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35808         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35809         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35810         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35811         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35812         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35813         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35814         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35815         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35817 2010-07-26  Anton Blanchard  <anton@samba.org>
35819         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35820         * malloc/arena.c (heap_trim): Likewise.
35822 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
35824         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35825         here.  Not...
35826         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35827         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35829 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35831         * sysdeps/i386/elf/Makefile: New file.
35833 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35835         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35836         from fanotify_init.
35837         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35838         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35840 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
35842         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35843         of strncasecmp_l.
35844         * sysdeps/multiarch/strcmp.S: Likewise.
35846 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
35848         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35849         strncase_l-nonascii.
35850         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35851         Add strncase_l-ssse3.
35852         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35853         * sysdeps/x86_64/strcmp.S: Likewise.
35854         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35855         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35856         * sysdeps/x86_64/strncase.S: New file.
35857         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35858         * sysdeps/x86_64/strncase_l.S: New file.
35859         * string/Makefile (strop-tests): Add strncasecmp.
35860         * string/test-strncasecmp.c: New file.
35862         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35863         warning.
35865         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35866         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35868 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35870         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35872 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
35874         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35875         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35876         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35878 2010-05-01  Alan Modra  <amodra@gmail.com>
35880         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35881         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35882         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35883         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35884         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35885         tidying.  Don't tail-call __sigjmp_save for static lib.
35886         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35887         save location.
35888         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35889         (CALL_MCOUNT): Add eh info, and nop after bl.
35890         (TAIL_CALL_SYSCALL_ERROR): New macro.
35891         (PSEUDO_RET): Use it.
35892         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35893         Correct save location of integer regs and cr.
35894         (_dl_profile_resolve): Correct cr save location.  Delete nops
35895         after bl when SHARED.  Reduce cfi size a little by better
35896         placement of cfi directives.
35897         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35898         make a stack frame.  Instead use parm save area as a temp.
35899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35900         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
35901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35902         Don't make a stack frame for parent, use parm save area.
35903         Increase child stack frame to 112 bytes.  Don't save unused reg,
35904         and adjust reg usage.  Set up cfi on error recovery and
35905         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35907         (__makecontext): Add dummy nop after jump to exit.
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35909         Use correct parm save area and cr save, reduce stack frame.
35910         Correct cfi for possible PSEUDO_RET frame setup.
35911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35912         Branch to local label emitted by PSEUDO_RET rather than
35913         __syscall_error.
35915 2010-08-12  Andreas Schwab  <schwab@redhat.com>
35917         [BZ #11904]
35918         * locale/programs/locale.c (print_assignment): New function.
35919         (show_locale_vars): Use it.
35921 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
35923         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35924         field.
35925         (struct statfs64): Likewise.
35926         (_STATFS_F_FLAGS): Define.
35927         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35928         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35929         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35930         (ST_VALID): Define locally.
35931         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35932         __statvfs_getflags, use the provided value.
35933         * sysdeps/unix/sysv/linux/kernel-features.h: Define
35934         __ASSUME_STATFS_F_FLAGS.
35936         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35938         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35939         Add sys/fanotify.h.
35940         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35941         fanotify_mask for GLIBC_2.13.
35942         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35943         fanotify_init and fanotify_mark.
35944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35945         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35947         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35948         Add prlimit.
35949         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35950         prlimit64 for GLIBC_2.13.
35951         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35952         prlimit64.
35953         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35954         syscall.
35955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35956         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35957         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35958         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35959         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
35960         add prlimit alias.
35961         * sysdeps/unix/sysv/linux/prlimit.c: New file.
35963         [BZ #11903]
35964         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35965         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35967         * nss/Makefile: Add rules to build and run tst-nss-test1.
35968         * shlib-versions: Add entry for libnss_test1.
35969         * nss/nss_test1.c: New file.
35970         * nss/tst-nss-test1.c: New file.
35972         * nss/nsswitch.c (__nss_database_custom): Define new variable.
35973         (__nss_configure_lookup): Set appropriate entry in
35974         __nss_configure_lookup to true.
35975         * nss/nsswitch.h: Define enum with indeces of databases in
35976         databases and __nss_database_custom arrays.  Declare
35977         __nss_database_custom.
35978         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35979         to avoid using nscd when custom rules are installed.
35980         * nss/getXXbyYY_r.c: Likewise.
35981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35983         * nss/nss_files/files-parse.c: Whitespace fixes.
35985 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
35987         [BZ #11883]
35988         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35989         * posix/fnmatch_loop.c: Likewise.
35991 2010-07-17  Andi Kleen  <ak@linux.intel.com>
35993         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35994         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35995         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35996         * Versions.def [GLIBC_2.13]: Add.
35998 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
36000         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36001         Also fail if tpwd after pwuid call is NULL.
36003 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36005         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36006         when converting to ms.
36008 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36010         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36011         EOPNOTSUPP errors with ENOTTY.
36012         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36013         EOPNOTSUPP errors with ENOTTY.
36015 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
36017         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36018         Add strcasecmp_l-ssse3.
36019         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36020         strcasecmp.
36021         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36022         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36023         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36025 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
36027         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36029         * string/Makefile (strop-tests): Add strcasecmp.
36030         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36031         strcasecmp_l-nonascii.
36032         (gen-as-const-headers): Add locale-defines.sym.
36033         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36034         * sysdeps/x86_64/strcasecmp.S: New file.
36035         * sysdeps/x86_64/strcasecmp_l.S: New file.
36036         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36037         * sysdeps/x86_64/locale-defines.sym: New file.
36038         * string/test-strcasecmp.c: New file.
36040         * string/test-strcasestr.c: Test both ends of the range of characters.
36041         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36043 2010-07-29  Roland McGrath  <roland@redhat.com>
36045         [BZ #11856]
36046         * manual/locale.texi (Yes-or-No Questions): Fix example code.
36048 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
36050         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36051         for ld.so.
36053 2010-07-27  Andreas Schwab  <schwab@redhat.com>
36055         * manual/memory.texi (Malloc Tunable Parameters): Document
36056         M_PERTURB.
36058 2010-07-26  Roland McGrath  <roland@redhat.com>
36060         [BZ #11840]
36061         * configure.in (-fgnu89-inline check): Set and substitute
36062         gnu89_inline, not libc_cv_gnu89_inline.
36063         * configure: Regenerated.
36064         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36066 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
36068         * string/test-strnlen.c: New file.
36069         * string/Makefile (strop-tests): Add strnlen.
36070         * string/tester.c (test_strnlen): Add a few more test cases.
36071         * string/tst-strlen.c: Better error reporting.
36073         * sysdeps/x86_64/strnlen.S: New file.
36075 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
36077         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36078         lower-latency instructions.
36080 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
36082         * string/test-strcasestr.c: New file.
36083         * string/test-strstr.c: New file.
36084         * string/Makefile (strop-tests): Add strstr and strcasestr.
36085         * string/str-two-way.h: Don't undefine MAX.
36086         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36088 2010-07-21  Andreas Schwab  <schwab@redhat.com>
36090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36091         strcasestr-nonascii.
36092         (CFLAGS-strcasestr-nonascii.c): Define.
36093         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36094         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36095         Remove unused attribute.
36097 2010-07-20  Roland McGrath  <roland@redhat.com>
36099         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36100         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
36101         ld.so.cache was broken.  With it, there is no way to disable dsocaps
36102         like LD_HWCAP_MASK can disable hwcaps.
36104 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36106         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36108 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
36110         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36111         call in strcasestr.
36112         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36113         __strcasestr_sse42_nonascii.
36114         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36115         strcasestr-nonascii.c.
36116         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36118 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
36120         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36121         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36122         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36123         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36125 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
36127         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36128         fcntl.
36130 2010-07-06  Andreas Schwab  <schwab@redhat.com>
36132         [BZ #11577]
36133         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36134         dl_signal_cerror.
36136 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
36138         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36139         _PC_PIPE_BUF using F_GETPIPE_SZ.
36141 2010-07-05  Roland McGrath  <roland@redhat.com>
36143         * manual/arith.texi (Rounding Functions): Fix rint description
36144         implicit in round description.
36146 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
36148         * elf/Makefile: Fix linking for a few tests to make recent linker
36149         happy.
36151 2010-06-30  Andreas Schwab  <schwab@redhat.com>
36153         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36154         $(common-objpfx)libc_nonshared.a.
36156 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
36158         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36159         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36160         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36161         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36162         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36163         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36164         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36165         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36180         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36181         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36182         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36183         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36184         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36185         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36186         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36187         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36188         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36189         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36190         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36191         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36207 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
36209         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36210         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
36211         * string/memmove.c (memmove): Renamed to ...
36212         (MEMMOVE): ...this.  Default to memmove.
36213         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36214         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36215         (END_CHK): Define.
36216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36217         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36218         mempcpy-ssse3-back memmove-ssse3-back.
36219         * sysdeps/x86_64/multiarch/bcopy.S: New file .
36220         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36221         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36222         * sysdeps/x86_64/multiarch/memcpy.S: New file.
36223         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36224         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36225         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36226         * sysdeps/x86_64/multiarch/memmove.c: New file.
36227         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36228         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36229         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36230         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36231         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36232         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36233         Define.
36234         (index_Fast_Copy_Backward): Define.
36235         (HAS_ARCH_FEATURE): Define.
36236         (HAS_FAST_REP_STRING): Define.
36237         (HAS_FAST_COPY_BACKWARD): Define.
36239 2010-06-21  Andreas Schwab  <schwab@redhat.com>
36241         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36242         Restore proper fallback handling.
36244 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
36246         [BZ #11701]
36247         * posix/group_member.c (__group_member): Correct checking loop.
36249         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36250         OOM in getpwuid_r correctly.  Return error number when the caller
36251         should return, otherwise -1.
36252         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36253         call returning > 0 value.
36254         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36256 2010-06-07  Andreas Schwab  <schwab@redhat.com>
36258         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36259         libc_nonshared.a from targets in modules-names.
36261 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
36263         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36264         requires it.
36266 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
36268         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36269         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36270         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36271         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36273 2010-06-02  Andreas Schwab  <schwab@redhat.com>
36275         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36277 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
36279         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36280         and F_GETPIPE_SZ.
36281         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36282         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36283         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36285         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36286         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36288 2010-06-14  Roland McGrath  <roland@redhat.com>
36290         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36292 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
36294         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36295         __REDIRECT followed by __THROW.
36296         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36297         * posix/getopt.h (getopt): Likewise.
36299 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36301         * hurd/lookup-at.c (__file_name_lookup_at): Accept
36302         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
36303         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36304         in AT_FLAGS.
36305         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36306         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36308 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
36310         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36312 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
36314         [BZ #11640]
36315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36316         Properly check family and model.
36318 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
36320         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36322 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
36324         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36326 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
36328         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36329         symbol reference.
36331 2010-05-19  Andreas Schwab  <schwab@redhat.com>
36333         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36334         symbol reference.
36336 2010-05-21  Andreas Schwab  <schwab@redhat.com>
36338         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36339         and internal_recvmmsg.
36340         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36341         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36342         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36343         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36345         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36346         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36347         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36349 2010-05-20  Andreas Schwab  <schwab@redhat.com>
36351         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36353 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
36355         POWER7 optimizations.
36356         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36357         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36359 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
36361         * version.h: Update for 2.13 development version.
36363 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
36365         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36366         exceptions.  Return 0.
36368 2010-05-07  Roland McGrath  <roland@redhat.com>
36370         * elf/ldconfig.c (main): Add a const.
36372 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
36374         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36375         (args_options): Add no-idn option.
36376         (ahosts_keys_int): Add idn_flags to ai_flags.
36377         (parse_option): Handle 'i' option to clear idn_flags.
36379         * malloc/malloc.c (_int_free): Possible race in the most recently
36380         added check.  Only act on the data if no current modification
36381         happened.
36383 See ChangeLog.17 for earlier changes.