Accept output arguments to benchmark functions
[glibc.git] / ChangeLog
blobdc38e5278ba050f8efd5b271def66c8e23b5712a
1 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * benchtests/README: Add note about output arguments.
4         * benchtests/bench-sincos.c: Remove file.
5         * benchtests/sincos-inputs: New file.
6         * scripts/bench.pl: Identify output arguments and define
7         static variables for them.
9         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11         [BZ #15941]
12         * Makefile (INSTALL): Add install-plain.texi as the primary
13         dependency.
14         * manual/install-plain.texi: New file.
15         * manual/install.texi: Include node directive only for
16         non-plaintext output.
18 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20         * stdlib/longlong.h: Update from GCC.
22         [BZ #6807]
23         [BZ #15901]
24         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25         * math/w_j0f.c (y0f): Likewise.
26         * math/w_j0l.c (__y0l): Likewise.
27         * math/w_j1.c (y1): Likewise.
28         * math/w_j1f.c (y1f): Likewise.
29         * math/w_j1l.c (__y1l): Likewise
30         * math/w_jn.c (yn): Likewise.
31         * math/w_jnf.c (ynf): Likewise.
32         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34         value for Bessel function domain errors outside _SVID_ mode.
35         Adjust sign of return value for yn (negative integer, 0).
36         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37         by zero in return for negative x and set sign appropriately for
38         negative n.
39         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42         expectations in error cases.
43         (y1_test_data): Likewise.
44         (yn_test_data): Likewise.
45         * sysdeps/i386/fpu/libm-test-ulps: Update.
46         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51         "64" to "64-v1".  Add "64-v2".
52         (abi-64-options): Rename to ...
53         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54         (abi-64-condition): Rename to ...
55         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56         (abi-64-ld-soname): Rename to ...
57         (abi-64-v1-ld-soname): ... this.
58         (abi-64-v2-options): Define.
59         (abi-64-v2-condition): Likewise.
60         (abi-64-v2-ld-soname): Likewise.
61         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
62         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
63         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
64         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
65         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
67 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
68             Alan Modra  <amodra@gmail.com>
70         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
71         New versions for use with the ELFv2 ABI.
72         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
73         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
74         declaration.
75         (struct La_ppc64v2_retval): Likewise.
76         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
77         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
78         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
79         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
80         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
81         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82         Do not save or restore CR.
83         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
84         (_dl_profile_resolve): Do no save or restore CR.  Support extended
85         return values for ELFv2 ABI.  Fix location of FPR return registers.
86         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
87         updated values for _CALL_ELF == 2.
88         (La_regs, La_retval, int_retval): Likewise.
90 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
92         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
93         (FRAME_MIN_SIZE_PARM): Likewise.
94         (FRAME_BACKCHAIN): Likewise.
95         (FRAME_CR_SAVE): Likewise.
96         (FRAME_LR_SAVE): Likewise.
97         (FRAME_TOC_SAVE): Likewise.
98         (FRAME_PARM_SAVE): Likewise.
99         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
100         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
101         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
102         (call_mcount_parm_offset): New macro.
103         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
104         (PROF): Use symbolic stack frame offsets.
105         (TAIL_CALL_SYSCALL_ERROR): Likewise.
106         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
107         Redefine in terms of FRAME_MIN_SIZE.
108         (_dl_runtime_resolve): Use symbolic stack frame offsets.
109         (_dl_profile_resolve): Likewise.  Update comment.
110         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
111         symbols stack frame offsets.
112         (__sigsetjmp): Likewise.
113         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
114         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
115         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
116         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
119         (FRAME_BACKCHAIN): Remove.
120         (FRAME_CR_SAVE): Likewise.
121         (FRAME_LR_SAVE): Likewise.
122         (FRAME_COMPILER_DW): Likewise.
123         (FRAME_LINKER_DW): Likewise.
124         (FRAME_TOC_SAVE): Likewise.
125         (FRAME_PARM_SAVE): Likewise.
126         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
127         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
128         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
130         (CHECK_SP): Use symbolic stack frame offsets.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
132         zone" instead of caller's parameter save area for temp storage.
133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
134         Likewise.  Also, use symbolic stack frame offsets.
135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
136         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
137         our own stack frame instead of the caller's.
138         (__socket): Use symbolic stack frame offsets.
140 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
141             Alan Modra  <amodra@gmail.com>
143         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
144         Define.
145         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
146         PPC64_LOCAL_ENTRY_OFFSET): Define.
147         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
148         New function.
149         (elf_machine_fixup_plt): Call it.
150         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
151         reloc arguments.
152         (elf_machine_rela): Update call to elf_machine_plt_conflict.
153         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
154         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
155         r2 before calling target.
157 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
158             Alan Modra  <amodra@gmail.com>
160         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
161         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
162         versions of macros to support ELFv2 ABI.
163         (LOCALENTRY): New macro.
164         (ENTRY, EALIGN): Use it.
165         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
166         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
167         fall through into ENTRY entry point.
168         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
169         Only define if _CALL_ELF != 2.
171         (elf_machine_matches_host): Verify ABI version matches.
172         (RTLD_START): Use LOCALENTRY.
173         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
174         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
175         (PLT_ENTRY_WORDS): New macro.
176         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
177         (elf_machine_runtime_setup): Support ELFv2 ABI.
178         (elf_machine_fixup_plt): Likewise.
179         (elf_machine_plt_conflict): Likewise.
180         (resolve_ifunc): Likewise.
181         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
182         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
183         Likewise.
184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
185         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
187         (makecontext): Support ELFv2 ABI.
188         * elf/elf.h (EF_PPC64_ABI): Define.
190 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
192         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
193         New assembler macro.
194         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
195         [ASSEMBLER] (ENTRY): ... but instead here ...
196         [ASSEMBLER] (EALIGN): ... and here.
197         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
198         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
199         [!ASSEMBLER] (ENTRY_2): Use it.
200         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
201         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
202         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
203         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
204         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
206         Use PPC64_LOAD_FUNCPTR.
208 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
210         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
212 2013-12-04  Alan Modra  <amodra@gmail.com>
214         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
215         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
216         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
217         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
219         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
220         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
221         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
222         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
223         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
224         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
226 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
229         (__makecontext): Fix incorrect CFI when backtracing out of
230         context created via makecontext.
231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
232         (__setcontext): Fix incorrect CFI during switch to new context.
233         (__novec_setcontext): Likewise.
235 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
237         [BZ #4772]
238         * time/strptime_l.c (__strptime_internal): Allow modifiers
239         in strptime.
240         * time/tst-strptime.c (day_tests): Add testcase.
243 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
245         * scripts/bench.pl: Skip over blank lines.
247 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
249         [BZ #926]
250         * manual/time.texi (Calendar Time): Clarify what timezone functions
251         use.
253 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
257 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
259         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
260         implementation.
261         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
262         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
263         * debug/memset_chk.c (__memset_chk): Likewise.
264         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
265         * debug/strncpy_chk.c: Likewise.
267 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
269         [BZ #15268]
270         [BZ #15425]
271         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
272         (__ieee754_exp): For possibly underflowing results, check size of
273         result and force underflow exception if required.
274         * math/auto-libm-test-in: Add more tests of exp.
275         * math/auto-libm-test-out: Regenerated.
276         * sysdeps/i386/fpu/libm-test-ulps: Update.
277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
279         [BZ #16283]
280         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
281         * math/w_exp2f.c (__exp2f): Likewise.
282         * math/w_exp2l.c (__exp2l): Likewise.
283         * math/auto-libm-test-in: Do not allow missing errno on exp2
284         underflow.
285         * math/auto-libm-test-out: Regenerated.
287 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
289         [BZ #16274]
290         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
291         handle filename validation.
292         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
293         (do_open): Delete.
295 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
297         [BZ #6786]
298         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
299         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
300         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
301         <float.h>.
302         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
303         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
304         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
305         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
306         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
307         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
308         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
309         * math/auto-libm-test-in: Don't allow missing errno from erfc.
310         Add more erfc tests.
311         * math/auto-libm-test-out: Regenerated.
312         * sysdeps/i386/fpu/libm-test-ulps: Update.
313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
315         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
316         exp2, expm1, j0 and j1.
317         * math/auto-libm-test-out: Regenerated.
318         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
319         (erfc_test_data): Likewise.
320         (exp_test_data): Likewise.
321         (exp_tonearest_test_data): Likewise.
322         (exp_towardzero_test_data): Likewise.
323         (exp_downward_test_data): Likewise.
324         (exp_upward_test_data): Likewise.
325         (exp10_test_data): Likewise.
326         (exp2_test_data): Likewise.
327         (expm1_test_data): Likewise.
328         (j0_test_data): Likewise.
329         (j1_test_data): Likewise.
330         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
331         (input_flag_type): Add flag_xfail_rounding.
332         (input_flags): Add xfail-rounding.
333         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
334         (output_for_one_input_case): Handle flag_xfail_rounding.
335         * sysdeps/i386/fpu/libm-test-ulps: Update.
336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
338 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
340         [BZ #16289]
341         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
342         division by 0.
344 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
346         [BZ #16195]
347         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
348         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
349         (STAP_PROBE0): New macro.
350         (STAP_PROBE1): Likewise.
351         (STAP_PROBE2): Likewise.
352         (STAP_PROBE3): Likewise.
353         (STAP_PROBE4): Likewise.
355 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
357         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
359 2013-12-02  Steve Ellcey  <sellcey@mips.com>
361         * benchtests/Makefile (bench): Add sqrt.
362         (LDLIBS-bench-sqrt): New.
363         * benchtests/sqrt-input: New.
365 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
367         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
368         (GAIH_EAI): Likewise.
369         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
370         (gaih_inet): Likewise.
371         (getaddrinfo): Don't use GAIH_EAI.
373         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
374         (struct gaih): Remove definition.
376 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
378         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
379         Use HERRNOP directly.
381 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
385 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
387         * math/gen-auto-libm-tests.c (test_functions): Add more
388         single-argument functions.
389         (special_fill_pi_2): New function.
390         (special_fill_minus_pi_2): Likewise.
391         (special_fill_pi_6): Likewise.
392         (special_fill_minus_pi_6): Likewise.
393         (special_fill_pi_3): Likewise.
394         (special_fill_2pi_3): Likewise.
395         (special_fill_e): Likewise.
396         (special_fill_1_e): Likewise.
397         (special_fill_e_minus_1): Likewise.
398         (special_real_inputs): Add more special inputs.
399         (output_for_one_input_case): Do not require ERANGE on underflow to
400         zero if round-to-nearest result does not underflow to zero, unless
401         exact results required.
402         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
403         atan, atanh, cbrt, cos and cosh.
404         * math/auto-libm-test-out: Regenerated.
405         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
406         (acos_tonearest_test_data): Likewise.
407         (acos_towardzero_test_data): Likewise.
408         (acos_downward_test_data): Likewise.
409         (acos_upward_test_data): Likewise.
410         (acosh_test_data): Likewise.
411         (asin_test_data): Likewise.
412         (asin_tonearest_test_data): Likewise.
413         (asin_towardzero_test_data): Likewise.
414         (asin_upward_test_data): Likewise.
415         (asinh_test_data): Likewise.
416         (atan_test_data): Likewise.
417         (atanh_test_data): Likewise.
418         (cbrt_test_data): Likewise.
419         (cos_test_data): Likewise.
420         (cos_tonearest_test_data): Likewise.
421         (cos_towardzero_test_data): Likewise.
422         (cos_downward_test_data): Likewise.
423         (cos_upward_test_data): Likewise.
424         (cosh_test_data): Likewise.
425         (cosh_tonearest_test_data): Likewise.
426         (cosh_towardzero_test_data): Likewise.
427         (cosh_downward_test_data): Likewise.
428         (cosh_upward_test_data): Likewise.
429         * sysdeps/i386/fpu/libm-test-ulps: Update.
430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
432 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
434         [BZ #6787]
435         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
436         * math/w_exp10f.c (__exp10f): Likewise.
437         * math/w_exp10l.c (__exp10l): Likewise.
438         * math/libm-test.inc (exp10_test_data): Add more tests and expect
439         errno settings in existing tests.
441         [BZ #14032]
442         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
443         precision control set to double precision.
444         * sysdeps/i386/fpu/w_sqrt.c: New file.
445         * math/auto-libm-test-in: Add more tests.
446         * math/auto-libm-test-out: Update.
448         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
449         (sqrt_test_tonearest): New function.
450         (sqrt_towardzero_test_data): New variable.
451         (sqrt_test_towardzero): New function.
452         (sqrt_downward_test_data): New variable.
453         (sqrt_test_downward): New function.
454         (sqrt_upward_test_data): New variable.
455         (sqrt_test_upward): New function.
456         (main): Call the new functions.
458         * math/gen-auto-libm-tests.c: New file.
459         * math/auto-libm-test-in: Likewise.
460         * math/auto-libm-test-out: New generated file.
461         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
462         variables.
463         (%beautify): Add generated representations of zero.
464         (top level): Set $auto_input and call parse_auto_input.
465         (beautify): Remove trailing "f" from hex float constants.
466         (parse_args): Handle XFAIL_TEST.
467         (convert_condition): New function.
468         (or_value): Likewise.
469         (or_cond_value): Likewise.
470         (generate_testfile): Handle AUTO_TESTS_* lines.
471         (parse_auto_input): New function.
472         * math/libm-test.inc (XFAIL_TEST): New macro.
473         (ERRNO_UNCHANGED): Update value.
474         (ERRNO_EDOM): Likewise.
475         (ERRNO_ERANGE): Likewise.
476         (IGNORE_RESULT): Likewise.
477         (TEST_COND_flt_32): New macro.
478         (TEST_COND_dbl_64): Likewise.
479         (TEST_COND_ldbl_96_intel): Likewise.
480         (TEST_COND_ldbl_96_m68k): Likewise.
481         (TEST_COND_ldbl_128): Likewise.
482         (TEST_COND_ldbl_128ibm): Likewise.
483         (TEST_COND_long32): Likewise.
484         (TEST_COND_long64): Likewise.
485         (TEST_COND_before_rounding): Likewise.
486         (TEST_COND_after_rounding): Likewise.
487         (enable_test): Handle XFAIL_TEST flag.
488         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
489         with finite results.
490         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
491         auto-libm-test-out.
493 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
494             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
496         [BZ #16214]
497         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
498         __tls_get_addr_internal instead of __tls_get_offset in order to
499         avoid GOT pointer dependency.  Make rtld export
500         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
501         __tls_get_addr since we are a __tls_get_offset platform.
502         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
503         GOT pointer being set up before.
504         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
506 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
508         * manual/math.texi (Errors in Math Functions): Document accuracy
509         goals.
511         [BZ #15004]
512         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
513         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
514         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
515         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
516         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
517         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
518         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
519         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
520         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
521         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
522         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
523         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
524         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
525         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
526         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
527         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
529         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
530         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
531         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
532         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
533         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
534         Likewise.
535         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
536         Likewise.
537         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
538         Likewise.
539         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
540         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
541         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
542         atomic-feupdateenv and flt-rounds.
543         * sysdeps/powerpc/nofpu/Versions (libc): Add
544         __atomic_feholdexcept, __atomic_feclearexcept,
545         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
546         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
547         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
548         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
549         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
550         here.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
552         Update.
554         * manual/arith.texi (FP Exceptions): Document that exceptions may
555         not be raised when matherr is used.
556         (Math Error Reporting): Document overflow in directed rounding
557         modes.  Document that errno may not be set when finite values are
558         returned on overflow.  Document intent to set errno on underflow
559         only for underflow to zero.
561         [BZ #16271]
562         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
563         round-to-nearest then adjust result for other rounding modes.
564         * include/fenv.h (fegetround): Use libm_hidden_proto.
565         * math/fegetround.c (fegetround): Use libm_hidden_def.
566         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
567         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
568         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
569         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
570         Likewise.
571         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
572         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
573         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
574         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
576 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
578         [BZ #16077]
579         * nss/Versions (libnss_files): Add
580         _nss_files_gethostbyname3_r.
581         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
582         New function.
583         (HOST_DB_LOOKUP): Remove macro.
584         (_nss_files_gethostbyname_r): Implement function without the
585         HOST_DB_LOOKUP macro.
586         (_nss_files_gethostbyname2_r): Likewise.
588 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
590         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
592 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
594         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
595         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
596         warning.
598 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
600         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
601         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
602         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
603         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
604         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
605         __fe_nomask_env_priv and attribute_hidden.
606         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
607         (libc_feupdateenv_test_ppc): Likewise.
608         (libc_feresetround_ppc): Likewise.
609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
610         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
611         compat_symbol macro.
612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
613         (__fe_nomask_env): Likewise.
614         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
616 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
618         * string/Makefile: Remove ifunc tests.
619         * string/test-string.h: Define TEST_IFUNC.
620         * string/test-bcopy-ifunc.c: Remove.
621         * string/test-bzero-ifunc.c: Likewise.
622         * string/test-memccpy-ifunc.c: Likewise.
623         * string/test-memchr-ifunc.c: Likewise.
624         * string/test-memcmp-ifunc.c: Likewise.
625         * string/test-memcpy-ifunc.c: Likewise.
626         * string/test-memmem-ifunc.c: Likewise.
627         * string/test-memmove-ifunc.c: Likewise.
628         * string/test-mempcpy-ifunc.c: Likewise.
629         * string/test-memrchr-ifunc.c: Likewise.
630         * string/test-memset-ifunc.c: Likewise.
631         * string/test-rawmemchr-ifunc.c: Likewise.
632         * string/test-stpcpy-ifunc.c: Likewise.
633         * string/test-stpncpy-ifunc.c: Likewise.
634         * string/test-strcasecmp-ifunc.c: Likewise.
635         * string/test-strcasestr-ifunc.c: Likewise.
636         * string/test-strcat-ifunc.c: Likewise.
637         * string/test-strchr-ifunc.c: Likewise.
638         * string/test-strchrnul-ifunc.c: Likewise.
639         * string/test-strcmp-ifunc.c: Likewise.
640         * string/test-strcpy-ifunc.c: Likewise.
641         * string/test-strcspn-ifunc.c: Likewise.
642         * string/test-strlen-ifunc.c: Likewise.
643         * string/test-strncasecmp-ifunc.c: Likewise.
644         * string/test-strncat-ifunc.c: Likewise.
645         * string/test-strncmp-ifunc.c: Likewise.
646         * string/test-strncpy-ifunc.c: Likewise.
647         * string/test-strnlen-ifunc.c: Likewise.
648         * string/test-strpbrk-ifunc.c: Likewise.
649         * string/test-strrchr-ifunc.c: Likewise.
650         * string/test-strspn-ifunc.c: Likewise.
651         * string/test-strstr-ifunc.c: Likewise.
653 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
655         * benchtests/Makefile: Remove ifunc tests.
656         * benchtests/bench-string.h: Define TEST_IFUNC.
657         * benchtests/bench-bcopy-ifunc.c: Remove.
658         * benchtests/bench-bzero-ifunc.c: Likewise.
659         * benchtests/bench-memccpy-ifunc.c: Likewise.
660         * benchtests/bench-memchr-ifunc.c: Likewise.
661         * benchtests/bench-memcmp-ifunc.c: Likewise.
662         * benchtests/bench-memcpy-ifunc.c: Likewise.
663         * benchtests/bench-memmem-ifunc.c: Likewise.
664         * benchtests/bench-memmove-ifunc.c: Likewise.
665         * benchtests/bench-mempcpy-ifunc.c: Likewise.
666         * benchtests/bench-memrchr-ifunc.c: Likewise.
667         * benchtests/bench-memset-ifunc.c: Likewise.
668         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
669         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
670         * benchtests/bench-stpcpy-ifunc.c: Likewise.
671         * benchtests/bench-stpncpy-ifunc.c: Likewise.
672         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
673         * benchtests/bench-strcasestr-ifunc.c: Likewise.
674         * benchtests/bench-strcat-ifunc.c: Likewise.
675         * benchtests/bench-strchr-ifunc.c: Likewise.
676         * benchtests/bench-strchrnul-ifunc.c: Likewise.
677         * benchtests/bench-strcmp-ifunc.c: Likewise.
678         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
679         * benchtests/bench-strcpy-ifunc.c: Likewise.
680         * benchtests/bench-strcspn-ifunc.c: Likewise.
681         * benchtests/bench-strlen-ifunc.c: Likewise.
682         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
683         * benchtests/bench-strncat-ifunc.c: Likewise.
684         * benchtests/bench-strncmp-ifunc.c: Likewise.
685         * benchtests/bench-strncpy-ifunc.c: Likewise.
686         * benchtests/bench-strnlen-ifunc.c: Likewise.
687         * benchtests/bench-strpbrk-ifunc.c: Likewise.
688         * benchtests/bench-strrchr-ifunc.c: Likewise.
689         * benchtests/bench-strsep-ifunc.c: Likewise.
690         * benchtests/bench-strspn-ifunc.c: Likewise.
691         * benchtests/bench-strstr-ifunc.c: Likewise.
693 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
695         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
697 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
699         * resolv/netdb.h: Use __glibc_reserved instead __unused.
700         * rt/aio.h: Likewise.
701         * sysdeps/gnu/bits/utmp.h: Likewise.
702         * sysdeps/gnu/bits/utmpx.h: Likewise.
703         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
704         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
705         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
706         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
707         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
708         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
709         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
710         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
711         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
713         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
714         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
715         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
717         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
718         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
719         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
720         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
721         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
722         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
723         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
724         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
725         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
726         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
727         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
729         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
730         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
731         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
732         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
733         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
734         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
735         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
736         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
737         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
738         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
739         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
740         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
741         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
742         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
743         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
744         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
746 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
748         [BZ #16245]
749         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
750         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
752 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
754         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
756         Likewise.
758 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
761         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
762         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
763         (__fesetround): Remove define.
764         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
765         rounding and exceptions handling.
766         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
767         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
768         (__fe_nomask_env): Likewise.
769         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
770         __fegetround instead of fegetround.
771         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
772         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
774 2013-11-21  Roland McGrath  <roland@hack.frob.com>
776         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
777         it's there.
779         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
781 2013-11-21  Meador Inge  <meadori@codesourcery.com>
783         [BZ #11157]
784         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
785         (encrypt_r): Likewise.
786         * malloc/obstack.h (obstack_free): Likewise.
787         * posix/unistd.h (encrypt): Likewise.
789 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
791         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
792         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
793         DL_CALL_DT_FINI() that call the functions directly.
794         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
795         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
796         * elf/dl-fini.c: Likewise.
798 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
800         * malloc/hooks.c (memalign_check): Add alignment rounding.
801         * malloc/malloc.c (_mid_memalign): New function.
802         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
803         Implement by calling _mid_memalign.
804         * manual/probes.texi (Memory Allocation Probes): Remove
805         memory_valloc_retry and memory_pvalloc_retry.
807 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
809         * locale/programs/locarchive.c (open_archive): Add const
810         qualifier to ARCHIVEFNAME and copy default fname to
811         DEFAULT_FNAME.
813         [BZ #15601]
814         * libio/tst-widetext.input: Rename Oriya to Odia.
815         * locale/iso-639.def: Likewise.
817         * manual/probes.texi (Mathematical Function Probes): Add
818         documentation for sin, cos, asin and acos probes.
819         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
820         (__sin32): Add slowasin probe.
821         (__cos32): Add slowacos probe.
822         (__mpsin): Add slowsin probe.
823         (__mpcos): Add slowcos probe.
825 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
827         [BZ #15483]
828         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
829         thread-local __sim_exceptions_thread and global
830         __sim_exceptions_global.
831         (__sim_disabled_exceptions): Change to thread-local
832         __sim_disabled_exceptions_thread and global
833         __sim_disabled_exceptions_global.
834         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
835         and global __sim_round_mode_global.
836         (__simulate_exceptions): Use thread-local floating-point state and
837         set global state from it as needed.
838         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
839         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
840         __sim_round_mode_thread.
841         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
842         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
843         and global __sim_exceptions_global.
844         (__sim_disabled_exceptions): Change to thread-local
845         __sim_disabled_exceptions_thread and global
846         __sim_disabled_exceptions_global.
847         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
848         and global __sim_round_mode_global.
849         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
850         (SIM_SET_GLOBAL): Likewise.
851         * sysdeps/powerpc/soft-fp/sfp-machine.h
852         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
853         __sim_round_mode_thread.
854         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
855         __sim_disabled_exceptions_thread.
856         (__sim_exceptions): Change to __sim_exceptions_thread.
857         (__sim_disabled_exceptions): Change to
858         __sim_disabled_exceptions_thread.
859         (__sim_round_mode): Change to __sim_round_mode_thread.
860         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
861         thread-local floating-point state and set global state from it as
862         needed.
863         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
864         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
865         (__sim_disabled_exceptions): Remove extern declaration.
866         (feenableexcept): Use thread-local floating-point state and set
867         global state from it as needed.
868         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
869         extern declaration.
870         (__sim_disabled_exceptions): Likewise.
871         (__sim_round_mode): Likewise.
872         (__fegetenv): Use thread-local floating-point state.
873         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
874         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
875         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
876         floating-point state and set global state from it as needed.
877         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
878         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
879         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
880         Likewise.
881         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
882         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
883         Likewise.
884         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
885         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
886         Use __sim_round_mode_thread.
887         * math/test-fenv-tls.c: New file.
888         * math/Makefile (tests): Add test-fenv-tls.
889         ($(objpfx)test-fenv-tls): Depend on
890         $(common-objpfx)nptl/libpthread.so.
892 2013-11-19  Andreas Schwab  <schwab@suse.de>
894         * locale/programs/locale.c (show_info): Decode wordarray elements.
895         * locale/categories.def (LC_MONETARY): Add element for
896         _NL_MONETARY_CRNCYSTR.
897         * locale/C-monetary.c (conversion_rate): New variable.
898         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
899         element.
901 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
903         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
904         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
906 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
908         * elf/Makefile (tst-auxv): New test.
909         * elf/tst-auxv.c: New
910         * elf/rtld.c (dl_main): Adjust AT_EXECFN
912 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
914         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
915         (hidden_proto): Caller changed.
916         (hidden_tls_proto): New macro.
917         (libc_hidden_tls_proto): Likewise.
918         (rtld_hidden_tls_proto): Likewise.
919         (libm_hidden_tls_proto): Likewise.
920         (libresolv_hidden_tls_proto): Likewise.
921         (librt_hidden_tls_proto): Likewise.
922         (libdl_hidden_tls_proto): Likewise.
923         (libnss_files_hidden_tls_proto): Likewise.
924         (libnsl_hidden_tls_proto): Likewise.
925         (libnss_nisplus_hidden_tls_proto): Likewise.
926         (libutil_hidden_tls_proto): Likewise.
928 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
930         [BZ #10253]
931         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
932         (decompose_rpath): Defer expansion to fillin_rpath.
933         (_dl_init_paths): Pass linkmap to fillin_rpath.
935 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
937         * benchtests/Makefile: Add strsep.
938         * benchtests/bench-strsep.c: New file: strsep benchtest.
939         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
941 2013-11-18  Andreas Schwab  <schwab@suse.de>
943         * locale/programs/locale.c (show_info) [case byte]: Check for
944         '\377' instead of '\177'.
945         * locale/C-monetary.c (not_available): Always use "\377".
946         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
947         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
948         detect unavailable sign_posn locale elements.
949         * locale/localeconv.c (__localeconv): For grouping and
950         mon_grouping handle "\177" and "\377" like no grouping.
951         (INT_ELEM): New macro.  Use it to set all numeric members.
952         * locale/programs/ld-monetary.c (monetary_read)
953         <tok_mon_grouping>: Normalize single -1 to the empty string.
954         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
955         Likewise.
957 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
959         [BZ #16055]
960         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
961         when we match (nil).
962         * stdio-common/tst-sscanf.c (struct test): Add testcase.
964 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
966         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
967         (NO_TEST_INLINE): Update value.
968         (ERRNO_UNCHANGED): Likewise.
969         (ERRNO_EDOM): Likewise.
970         (ERRNO_ERANGE): Likewise.
971         (IGNORE_RESULT): Likewise.
972         (check_float_internal): Check signs of NaN results if
973         TEST_NAN_SIGN used.
974         (check_complex): Pass TEST_NAN_SIGN flag through to second
975         check_float_internal call.
976         (copysign_test_data): Add tests with quiet NaNs as second
977         argument.  Use TEST_NAN_SIGN.
978         (fabs_test_data): Add test of negative quiet NaN argument.  Use
979         TEST_NAN_SIGN.
980         (signbit_test_data): Add tests of quiet NaN argument.
981         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
983         * math/gen-libm-test.pl (show_exceptions): Take extra argument
984         $ignore_result.
985         (parse_args): Handle function results specified as IGNORE.
986         * math/libm-test.inc (IGNORE_RESULT): New macro.
987         (check_float_internal): Do not check numerical result if flag
988         IGNORE_RESULT set.
989         (check_complex): Pass through IGNORE_RESULT to second
990         check_float_internal call.
991         (check_int): Do not check numerical result if flag IGNORE_RESULT
992         set.
993         (check_long): Likewise.
994         (check_bool): Likewise.
995         (check_longlong): Likewise.
996         (lrint_test_data): Add tests of infinite and NaN arguments.
997         (lrint_tonearest_test_data): Likewise.
998         (lrint_towardzero_test_data): Likewise.
999         (lrint_downward_test_data): Likewise.
1000         (lrint_upward_test_data): Likewise.
1001         (llrint_test_data): Likewise.
1002         (llrint_tonearest_test_data): Likewise.
1003         (llrint_towardzero_test_data): Likewise.
1004         (llrint_downward_test_data): Likewise.
1005         (llrint_upward_test_data): Likewise.
1006         (lround_test_data): Likewise.
1007         (llround_test_data): Likewise.
1009         * math/libm-test.inc (NO_TEST_INLINE): New macro.
1010         (ERRNO_UNCHANGED): Update value.
1011         (ERRNO_EDOM): Likewise.
1012         (ERRNO_ERANGE): Likewise.
1013         (NO_TEST_INLINE_FLOAT): New macro.
1014         (NO_TEST_INLINE_DOUBLE): Likewise.
1015         (enable_test): New function.
1016         (RUN_TEST_f_f): Check enable_test before running test.
1017         (RUN_TEST_2_f): Likewise.
1018         (RUN_TEST_fff_f): Likewise.
1019         (RUN_TEST_c_f): Likewise.
1020         (RUN_TEST_f_f1): Likewise.
1021         (RUN_TEST_fF_f1): Likewise.
1022         (RUN_TEST_fI_f1): Likewise.
1023         (RUN_TEST_ffI_f1): Likewise.
1024         (RUN_TEST_c_c): Likewise.
1025         (RUN_TEST_cc_c): Likewise.
1026         (RUN_TEST_f_i): Likewise.
1027         (RUN_TEST_f_i_tg): Likewise.
1028         (RUN_TEST_ff_i_tg): Likewise.
1029         (RUN_TEST_f_b): Likewise.
1030         (RUN_TEST_f_b_tg): Likewise.
1031         (RUN_TEST_f_l): Likewise.
1032         (RUN_TEST_f_L): Likewise.
1033         (RUN_TEST_fFF_11): Likewise.
1034         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1035         conditionals.
1036         (cosh_test_data): Likewise.
1037         (exp_test_data): Likewise.
1038         (expm1_test_data): Likewise.
1039         (hypot_test_data): Likewise.
1040         (pow_test_data): Likewise.
1041         (sinh_test_data): Likewise.
1042         (tanh_test_data): Likewise.
1043         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1044         flags argument.
1046         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1047         tests with quiet NaN input and output.
1048         (acosh_test_data): Likewise.
1049         (asin_test_data): Likewise.
1050         (asinh_test_data): Likewise.
1051         (atan_test_data): Likewise.
1052         (atanh_test_data): Likewise.
1053         (atan2_test_data): Likewise.
1054         (cbrt_test_data): Likewise.
1055         (cos_test_data): Likewise.
1056         (cosh_test_data): Likewise.
1057         (erf_test_data): Likewise.
1058         (erfc_test_data): Likewise.
1059         (exp_test_data): Likewise.
1060         (exp10_test_data): Likewise.
1061         (exp2_test_data): Likewise.
1062         (expm1_test_data): Likewise.
1063         (hypot_test_data): Likewise.
1064         (j0_test_data): Likewise.
1065         (j1_test_data): Likewise.
1066         (jn_test_data): Likewise.
1067         (lgamma_test_data): Likewise.
1068         (log_test_data): Likewise.
1069         (log10_test_data): Likewise.
1070         (log1p_test_data): Likewise.
1071         (log2_test_data): Likewise.
1072         (pow_test_data): Likewise.
1073         (scalb_test_data): Likewise.
1074         (sin_test_data): Likewise.
1075         (sincos_test_data): Likewise.
1076         (sinh_test_data): Likewise.
1077         (tan_test_data): Likewise.
1078         (tanh_test_data): Likewise.
1079         (tgamma_test_data): Likewise.
1080         (y0_test_data): Likewise.
1081         (y1_test_data): Likewise.
1082         (yn_test_data): Likewise.
1084         [BZ #16167]
1085         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1086         argument being NaN and avoid computations with second argument in
1087         that case.
1088         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1089         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1090         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1092 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
1094         * locale/iso-639.def: Add Chitwani Tharu (the).
1096 2013-11-14  Andreas Schwab  <schwab@suse.de>
1098         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1099         word instead of empty string.
1101 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1104         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1106         (__fe_nomask_env): Likewise.
1108 2013-11-13  Steve Ellcey  <sellcey@mips.com>
1110         * benchtests/bench-timing.h: Include time.h.
1112 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1114         [BZ #15997]
1115         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1116         to 3.4.0 for x32.
1117         * sysdeps/unix/sysv/linux/configure: Regenerated.
1119 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
1121         [BZ #16151]
1122         * stdlib/strtod_l.c (round_and_return): Do not consider
1123         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1124         exponent one less than half the least subnormal exponent.
1125         * stdlib/test-strtod-round-data: Add more tests.
1126         * stdlib/tst-strtod-round.c (tests): Regenerated.
1128 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1130         [BZ #14143]
1131         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1132         (__fe_mask_env): Likewise.
1133         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1134         libm_hidden_proto and add function prototype.
1135         (__fe_mask_env): Add function prototype.
1136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1137         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1139         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1141         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1143 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1145         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1146         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1148 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1150         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1151         of htab_find_slot().
1153 2013-11-11  David S. Miller  <davem@davemloft.net>
1155         [BZ #16150]
1156         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1157         symbol in the non-vis3 case in static builds.
1158         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1159         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1160         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1161         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1163 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1165         [BZ #387]
1166         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1167         it is empty.
1169 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1171         * benchtests/Makefile: Add bench-strtod.
1172         * benchtests/bench-strtod.c: New file: strtod benchtest
1174 2013-11-11  Andreas Schwab  <schwab@suse.de>
1176         [BZ #16153]
1177         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1178         terminating NUL in key length.
1180 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1182         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1183         Add artificial ODP entry for vDSO symbol for PPC64.
1184         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1185         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1187 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
1189         [BZ #15374]
1190         * nss/getent.c (services_keys): Recognize services starting with digit.
1192 2013-11-06  David S. Miller  <davem@davemloft.net>
1194         [BZ #15985]
1195         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1196         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1198 2013-11-06  Will Newton  <will.newton@linaro.org>
1200         * manual/memory.texi (Malloc Examples): Remove register
1201         keyword from examples.
1203 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
1205         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1207 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
1209         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1210         depending on [__GCC_IEC_559 > 0].
1211         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1212         depending on [__GCC_IEC_559_COMPLEX > 0].
1214 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
1216         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1217         to iso-639.def.
1219 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
1221         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1223 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
1225         [BZ #16112]
1226         * malloc/malloc (malloc_info): Do not handle first bin as
1227         special case.
1229 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
1231         * locale/iso-639.def: Add Central Nahuatl (nhn).
1233 2013-11-01  Bruno Haible  <bruno@clisp.org>
1235         [BZ #7003]
1236         * manual/math.texi (BSD Random): Specify range upper bound as
1237         in POSIX.
1239 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
1241         * locale/iso-639.def: Add Meadow Mari (mhr).
1243 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
1245         [BZ #14752], [BZ #15763]
1246         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1247         Validate name.
1248         * rt/tst_shm.c: Add test for escaping directory.
1250 2013-10-31  Andreas Schwab  <schwab@suse.de>
1252         [BZ #15917]
1253         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1254         followed by 'x' as part of digit sequence.
1255         * stdio-common/tst-sscanf.c (double_tests2): New tests.
1257 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1259         [BZ #16037]
1260         * configure.ac: allow GNU Make 4.0 and greater.
1261         * configure: Regenerated.
1263 2013-10-30  Will Newton  <will.newton@linaro.org>
1265         [BZ #16038]
1266         * malloc/hooks.c (memalign_check): Limit alignment to the
1267         maximum representable power of two.
1268         * malloc/malloc.c (__libc_memalign): Likewise.
1269         * malloc/tst-memalign.c (do_test): Add test for very
1270         large alignment values.
1271         * malloc/tst-posix_memalign.c (do_test): Likewise.
1273 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
1275         [BZ #11087]
1276         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1277         (munmap_chunk): Likewise.
1278         (mremap_chunk): Likewise.
1280 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
1282         [BZ #15799]
1283         * stdlib/div.c (div): Remove obsolete code.
1284         * stdlib/ldiv.c (ldiv): Likewise.
1285         * stdlib/lldiv.c (lldiv): Likewise.
1287 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1289         [BZ #16071]
1290         * nss/nss_files/files-XXX.c (get_contents_ret): New
1291         enumerator.
1292         (get_contents): New function.
1293         (internal_getent): Use it.  Expand size of LINEBUFLEN.
1295 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
1297         * configure.in: Moved to ...
1298         * configure.ac: ... here. Change reference to configure.in
1299         to configure.ac.
1300         * sysdeps/arm/preconfigure.ac: ... here.
1301         configure.in to configure.ac.
1302         * sysdeps/gnu/configure.in: Moved to ...
1303         * sysdeps/gnu/configure.ac: ... here.
1304         * sysdeps/i386/configure.in: Moved to ...
1305         * sysdeps/i386/configure.ac: ... here.
1306         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1307         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1308         * sysdeps/mach/configure.in: Moved to ...
1309         * sysdeps/mach/configure.ac: ... here.
1310         * sysdeps/mach/hurd/configure.in: Moved to ...
1311         * sysdeps/mach/hurd/configure.ac: ... here.
1312         * sysdeps/powerpc/configure.in: Moved to ...
1313         * sysdeps/powerpc/configure.ac: ... here.
1314         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1315         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1316         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1317         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1318         * sysdeps/s390/s390-32/configure.in: Moved to ...
1319         * sysdeps/s390/s390-32/configure.ac: ... here.
1320         * sysdeps/s390/s390-64/configure.in: Moved to ...
1321         * sysdeps/s390/s390-64/configure.ac: ... here.
1322         * sysdeps/sh/configure.in: Moved to ...
1323         * sysdeps/sh/configure.ac: ... here.
1324         * sysdeps/sparc/configure.in: Moved to ...
1325         * sysdeps/sparc/configure.ac: ... here.
1326         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1327         * sysdeps/unix/sysv/linux/configure.ac: ... here.
1328         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1329         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1330         * sysdeps/x86_64/configure.in: Moved to ...
1331         * sysdeps/x86_64/configure.ac: ... here.
1332         * sysdeps/x86_64/preconfigure.in: Moved to ...
1333         * sysdeps/x86_64/preconfigure.ac: ... here.
1334         * aclocal.m4: Change reference to configure.in to configure.ac.
1335         * config.h.in: Likewise.
1336         * manual/install.texi: Likewise.
1337         * manual/maint.texi: Likewise.
1338         * Makefile: Likewise.
1339         * malloc/Makefile: Likewise.
1340         * nscd/Makefile: Likewise.
1341         * Makeconfig: Change reference to configure.in and
1342         preconfigure.in to configure.ac and preconfigure.ac
1343         respectively.
1344         * INSTALL: Regenerated.
1345         * configure: Likewise.
1346         * sysdeps/gnu/configure: Likewise.
1347         * sysdeps/i386/configure: Likewise.
1348         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1349         * sysdeps/mach/configure: Likewise.
1350         * sysdeps/mach/hurd/configure: Likewise.
1351         * sysdeps/powerpc/configure: Likewise.
1352         * sysdeps/powerpc/powerpc32/configure: Likewise.
1353         * sysdeps/powerpc/powerpc64/configure: Likewise.
1354         * sysdeps/s390/s390-32/configure: Likewise.
1355         * sysdeps/s390/s390-64/configure: Likewise.
1356         * sysdeps/sh/configure: Likewise.
1357         * sysdeps/sparc/configure: Likewise.
1358         * sysdeps/unix/sysv/linux/configure: Likewise.
1359         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1360         * sysdeps/x86_64/configure: Likewise.
1361         * sysdeps/x86_64/preconfigure: Likewise.
1363 2013-10-29  Andreas Schwab  <schwab@suse.de>
1365         * stdio-common/Makefile (tst-swscanf-ENV): Define.
1367 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1369         * benchtests/pow-inputs: Add new inputs.
1371         * benchtests/exp-inputs: Add new inputs.
1373         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1374         conditional check for return value.
1375         (__cos32): Likewise.
1377 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1379         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1380         to provide a boost for large inputs with word alignment.
1381         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1382         implementation based on optimized PPC64 strcpy.
1383         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1384         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1385         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1386         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1388 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1390         [BZ #2801]
1391         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1393 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1395         [BZ #14876]
1396         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1397         * time/tst-strptime.c (day_tests): Add testcase.
1399 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1401         [BZ #14029]
1402         * manual/pattern.texi: Acknowledge that fnmatch can fail.
1404 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
1406         [BZ #16074]
1407         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1408         MAP_FAILED on error.
1410 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1412         [BZ #16072]
1413         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1414         heap for large requests.
1416 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
1418         [BZ #9954]
1419         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1420         result if the result has no associated interface.
1421         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1422         interface for all 127.X.Y.Z addresses.
1424 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
1426         * locale/iso-639.def: Add Ligurian (lij)
1428 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
1430         [BZ #15825]
1431         * sunrpc/rpc_main.c: Document rpcgen -5.
1433 2013-10-19  Michael Stahl  <mstahl@redhat.com>
1435         * elf/rtld.c (do_preload): Print the reason why preloading failed.
1437 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1439         [BZ #10278]
1440         * posix/glob.c: Match only directories when trailing slash is present.
1441         * posix/tst-gnuglob.c (my_opendir): Do not open files.
1442         (main): Add testcase.
1444 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1446         [BZ #15670]
1447         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1449 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
1451         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1452         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1453         AUTH_DES and cindex for FIPS 140-2.
1454         (DES Encryption): Add cindex FIPS 46-3.
1456         * locale/locarchive.h (struct locarhandle): Add fname.
1457         * locale/programs/localedef.c (main): Pass ARGV[remaining]
1458         if an optional argument was specified to --list-archive,
1459         otherwise NULL.
1460         * locale/programs/locarchive.c (show_archive_content): Take new
1461         argument fname and pass it via ah.fname to open_archive.
1462         * locale/programs/localedef.h: Update decl.
1463         (open_archive): If AH->fname is non-null, open that file
1464         rather than the default file name, and don't ignore ENOENT.
1465         (create_archive): Set AH.fname to NULL.
1466         (delete_locales_from_archive): Likewise.
1467         (add_locales_to_archive): Likewise.
1468         * locale/programs/locfile.c (write_all_categories): Likewise.
1470 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
1471             Aldy Hernandez  <aldyh@redhat.com>
1473         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1474         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1475         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1476         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1477         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1478         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1479         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1480         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1481         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1482         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1483         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1484         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1485         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1486         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1487         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1488         Likewise.
1489         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1490         Likewise.
1491         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1492         Likewise.
1493         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1494         Likewise.
1495         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1496         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1497         Likewise.
1498         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1499         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1500         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1501         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1502         Likewise.
1503         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1504         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1505         * sysdeps/powerpc/preconfigure: Likewise.
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1507         Likewise.
1508         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1509         Replace contents of file by #include of <fenv_libc.h>.
1510         * sysdeps/powerpc/soft-fp/sfp-machine.h
1511         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1512         and <sys/prctl.h>.
1513         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1524         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1526         Allow copysignl PLT reference to be missing.
1528 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
1529             Joseph Myers  <joseph@codesourcery.com
1531         [BZ #15948]
1532         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1533         single character.
1534         (add_to_tablewc): Assert sequence of wide characters is nonempty.
1536 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1538         * elf/tst-tls-dlinfo.c: Don't include tls.h.
1539         * elf/tst-tls1.c: Likewise.
1540         * elf/tst-tls10.h: Likewise.
1541         * elf/tst-tls14.c: Likewise.
1542         * elf/tst-tls2.c: Likewise.
1543         * elf/tst-tls3.c: Likewise.
1544         * elf/tst-tls4.c: Likewise.
1545         * elf/tst-tls5.c: Likewise.
1546         * elf/tst-tls6.c: Likewise.
1547         * elf/tst-tls7.c: Likewise.
1548         * elf/tst-tls8.c: Likewise.
1549         * elf/tst-tls9.c: Likewise.
1550         * elf/tst-tlsmod1.c: Likewise.
1551         * elf/tst-tlsmod13.c: Likewise.
1552         * elf/tst-tlsmod13a.c: Likewise.
1553         * elf/tst-tlsmod14a.c: Likewise.
1554         * elf/tst-tlsmod16a.c: Likewise.
1555         * elf/tst-tlsmod16b.c: Likewise.
1556         * elf/tst-tlsmod2.c: Likewise.
1557         * elf/tst-tlsmod3.c: Likewise.
1558         * elf/tst-tlsmod4.c: Likewise.
1559         * elf/tst-tlsmod5.c: Likewise.
1560         * elf/tst-tlsmod6.c: Likewise.
1562 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
1564         [BZ #12486]
1565         * malloc/malloc.c: remove checks for statistics.
1567 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1569         [BZ #15277]
1570         * inet/inet_net.c (inet_network): Detect additional invalid strings.
1571         * inet/tst-network.c: Add testcase.
1573 2013-10-17  Andreas Schwab  <schwab@suse.de>
1575         [BZ #15218]
1576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1577         to determine canonical name.
1579 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1581         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1582         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1583         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1584         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1586         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1587         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1588         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1589         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1590         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1591         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1592         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1593         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1594         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1595         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1596         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1598         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1599         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1600         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1601         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1603         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1604         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1605         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1606         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1607         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1608         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1609         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1610         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1611         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1612         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1613         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1614         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1615         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1616         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1617         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1618         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1619         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1620         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1621         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1622         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1623         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1624         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1625         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1626         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1627         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1628         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1629         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1630         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1631         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1632         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1633         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1634         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1635         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1636         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1637         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1638         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1640 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
1642         [BZ #16041]
1643         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1644         make result into a quiet NaN.
1646 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
1648         * soft-fp/adddf3.c: Fix horizontal whitespace.
1649         * soft-fp/addsf3.c: Likewise.
1650         * soft-fp/addtf3.c: Likewise.
1651         * soft-fp/divdf3.c: Likewise.
1652         * soft-fp/divsf3.c: Likewise.
1653         * soft-fp/divtf3.c: Likewise.
1654         * soft-fp/double.h: Likewise.
1655         * soft-fp/eqdf2.c: Likewise.
1656         * soft-fp/eqsf2.c: Likewise.
1657         * soft-fp/eqtf2.c: Likewise.
1658         * soft-fp/extenddftf2.c: Likewise.
1659         * soft-fp/extended.h: Likewise.
1660         * soft-fp/extendsfdf2.c: Likewise.
1661         * soft-fp/extendsftf2.c: Likewise.
1662         * soft-fp/extendxftf2.c: Likewise.
1663         * soft-fp/fixdfdi.c: Likewise.
1664         * soft-fp/fixdfsi.c: Likewise.
1665         * soft-fp/fixdfti.c: Likewise.
1666         * soft-fp/fixsfdi.c: Likewise.
1667         * soft-fp/fixsfsi.c: Likewise.
1668         * soft-fp/fixsfti.c: Likewise.
1669         * soft-fp/fixtfdi.c: Likewise.
1670         * soft-fp/fixtfsi.c: Likewise.
1671         * soft-fp/fixtfti.c: Likewise.
1672         * soft-fp/fixunsdfdi.c: Likewise.
1673         * soft-fp/fixunsdfsi.c: Likewise.
1674         * soft-fp/fixunsdfti.c: Likewise.
1675         * soft-fp/fixunssfdi.c: Likewise.
1676         * soft-fp/fixunssfsi.c: Likewise.
1677         * soft-fp/fixunssfti.c: Likewise.
1678         * soft-fp/fixunstfdi.c: Likewise.
1679         * soft-fp/fixunstfsi.c: Likewise.
1680         * soft-fp/fixunstfti.c: Likewise.
1681         * soft-fp/floatdidf.c: Likewise.
1682         * soft-fp/floatdisf.c: Likewise.
1683         * soft-fp/floatditf.c: Likewise.
1684         * soft-fp/floatsidf.c: Likewise.
1685         * soft-fp/floatsisf.c: Likewise.
1686         * soft-fp/floatsitf.c: Likewise.
1687         * soft-fp/floattidf.c: Likewise.
1688         * soft-fp/floattisf.c: Likewise.
1689         * soft-fp/floattitf.c: Likewise.
1690         * soft-fp/floatundidf.c: Likewise.
1691         * soft-fp/floatundisf.c: Likewise.
1692         * soft-fp/floatunditf.c: Likewise.
1693         * soft-fp/floatunsidf.c: Likewise.
1694         * soft-fp/floatunsisf.c: Likewise.
1695         * soft-fp/floatunsitf.c: Likewise.
1696         * soft-fp/floatuntidf.c: Likewise.
1697         * soft-fp/floatuntisf.c: Likewise.
1698         * soft-fp/floatuntitf.c: Likewise.
1699         * soft-fp/fmadf4.c: Likewise.
1700         * soft-fp/fmasf4.c: Likewise.
1701         * soft-fp/fmatf4.c: Likewise.
1702         * soft-fp/gedf2.c: Likewise.
1703         * soft-fp/gesf2.c: Likewise.
1704         * soft-fp/getf2.c: Likewise.
1705         * soft-fp/ledf2.c: Likewise.
1706         * soft-fp/lesf2.c: Likewise.
1707         * soft-fp/letf2.c: Likewise.
1708         * soft-fp/muldf3.c: Likewise.
1709         * soft-fp/mulsf3.c: Likewise.
1710         * soft-fp/multf3.c: Likewise.
1711         * soft-fp/negdf2.c: Likewise.
1712         * soft-fp/negsf2.c: Likewise.
1713         * soft-fp/negtf2.c: Likewise.
1714         * soft-fp/op-1.h: Likewise.
1715         * soft-fp/op-2.h: Likewise.
1716         * soft-fp/op-4.h: Likewise.
1717         * soft-fp/op-8.h: Likewise.
1718         * soft-fp/op-common.h: Likewise.
1719         * soft-fp/quad.h: Likewise.
1720         * soft-fp/single.h: Likewise.
1721         * soft-fp/soft-fp.h: Likewise.
1722         * soft-fp/sqrtdf2.c: Likewise.
1723         * soft-fp/sqrtsf2.c: Likewise.
1724         * soft-fp/sqrttf2.c: Likewise.
1725         * soft-fp/subdf3.c: Likewise.
1726         * soft-fp/subsf3.c: Likewise.
1727         * soft-fp/subtf3.c: Likewise.
1728         * soft-fp/truncdfsf2.c: Likewise.
1729         * soft-fp/trunctfdf2.c: Likewise.
1730         * soft-fp/trunctfsf2.c: Likewise.
1731         * soft-fp/trunctfxf2.c: Likewise.
1732         * soft-fp/unorddf2.c: Likewise.
1733         * soft-fp/unordsf2.c: Likewise.
1734         * soft-fp/unordtf2.c: Likewise.
1736 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
1738         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1739         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1741 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
1743         * elf/dl-libc.c: Clear initfini list after freeing.
1745 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
1747         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1748         * soft-fp/addsf3.c: Likewise.
1749         * soft-fp/addtf3.c: Likewise.
1750         * soft-fp/divdf3.c: Likewise.
1751         * soft-fp/divsf3.c: Likewise.
1752         * soft-fp/divtf3.c: Likewise.
1753         * soft-fp/double.h: Likewise.
1754         * soft-fp/eqdf2.c: Likewise.
1755         * soft-fp/eqsf2.c: Likewise.
1756         * soft-fp/eqtf2.c: Likewise.
1757         * soft-fp/extenddftf2.c: Likewise.
1758         * soft-fp/extended.h: Likewise.
1759         * soft-fp/extendsfdf2.c: Likewise.
1760         * soft-fp/extendsftf2.c: Likewise.
1761         * soft-fp/extendxftf2.c: Likewise.
1762         * soft-fp/fixdfdi.c: Likewise.
1763         * soft-fp/fixdfsi.c: Likewise.
1764         * soft-fp/fixdfti.c: Likewise.
1765         * soft-fp/fixsfdi.c: Likewise.
1766         * soft-fp/fixsfsi.c: Likewise.
1767         * soft-fp/fixsfti.c: Likewise.
1768         * soft-fp/fixtfdi.c: Likewise.
1769         * soft-fp/fixtfsi.c: Likewise.
1770         * soft-fp/fixtfti.c: Likewise.
1771         * soft-fp/fixunsdfdi.c: Likewise.
1772         * soft-fp/fixunsdfsi.c: Likewise.
1773         * soft-fp/fixunsdfti.c: Likewise.
1774         * soft-fp/fixunssfdi.c: Likewise.
1775         * soft-fp/fixunssfsi.c: Likewise.
1776         * soft-fp/fixunssfti.c: Likewise.
1777         * soft-fp/fixunstfdi.c: Likewise.
1778         * soft-fp/fixunstfsi.c: Likewise.
1779         * soft-fp/fixunstfti.c: Likewise.
1780         * soft-fp/floatdidf.c: Likewise.
1781         * soft-fp/floatdisf.c: Likewise.
1782         * soft-fp/floatditf.c: Likewise.
1783         * soft-fp/floatsidf.c: Likewise.
1784         * soft-fp/floatsisf.c: Likewise.
1785         * soft-fp/floatsitf.c: Likewise.
1786         * soft-fp/floattidf.c: Likewise.
1787         * soft-fp/floattisf.c: Likewise.
1788         * soft-fp/floattitf.c: Likewise.
1789         * soft-fp/floatundidf.c: Likewise.
1790         * soft-fp/floatundisf.c: Likewise.
1791         * soft-fp/floatunsidf.c: Likewise.
1792         * soft-fp/floatunsisf.c: Likewise.
1793         * soft-fp/floatuntidf.c: Likewise.
1794         * soft-fp/floatuntisf.c: Likewise.
1795         * soft-fp/floatuntitf.c: Likewise.
1796         * soft-fp/fmadf4.c: Likewise.
1797         * soft-fp/fmasf4.c: Likewise.
1798         * soft-fp/fmatf4.c: Likewise.
1799         * soft-fp/gedf2.c: Likewise.
1800         * soft-fp/gesf2.c: Likewise.
1801         * soft-fp/getf2.c: Likewise.
1802         * soft-fp/ledf2.c: Likewise.
1803         * soft-fp/lesf2.c: Likewise.
1804         * soft-fp/letf2.c: Likewise.
1805         * soft-fp/muldf3.c: Likewise.
1806         * soft-fp/mulsf3.c: Likewise.
1807         * soft-fp/multf3.c: Likewise.
1808         * soft-fp/negdf2.c: Likewise.
1809         * soft-fp/negsf2.c: Likewise.
1810         * soft-fp/negtf2.c: Likewise.
1811         * soft-fp/op-1.h: Likewise.
1812         * soft-fp/op-2.h: Likewise.
1813         * soft-fp/op-4.h: Likewise.
1814         * soft-fp/op-8.h: Likewise.
1815         * soft-fp/op-common.h: Likewise.
1816         * soft-fp/quad.h: Likewise.
1817         * soft-fp/single.h: Likewise.
1818         * soft-fp/soft-fp.h: Likewise.
1819         * soft-fp/sqrtdf2.c: Likewise.
1820         * soft-fp/sqrtsf2.c: Likewise.
1821         * soft-fp/sqrttf2.c: Likewise.
1822         * soft-fp/subdf3.c: Likewise.
1823         * soft-fp/subsf3.c: Likewise.
1824         * soft-fp/subtf3.c: Likewise.
1825         * soft-fp/truncdfsf2.c: Likewise.
1826         * soft-fp/trunctfdf2.c: Likewise.
1827         * soft-fp/trunctfsf2.c: Likewise.
1828         * soft-fp/trunctfxf2.c: Likewise.
1829         * soft-fp/unorddf2.c: Likewise.
1830         * soft-fp/unordsf2.c: Likewise.
1831         * soft-fp/unordtf2.c: Likewise.
1833 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1835         [BZ #15672]
1836         * misc/error.c (error_tail): Fix possible buffer overflow.
1838 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1840         [BZ #13028]
1841         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1842         address.
1844 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1846         [BZ #832]
1847         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1848         testing pipefail option.
1850 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1852         * soft-fp/double.h: Indent preprocessor directives inside #if.
1853         * soft-fp/extended.h: Likewise.
1854         * soft-fp/op-2.h: Likewise.
1855         * soft-fp/op-4.h: Likewise.
1856         * soft-fp/op-common.h: Likewise.
1857         * soft-fp/quad.h: Likewise.
1858         * soft-fp/single.h: Likewise.
1859         * soft-fp/soft-fp.h: Likewise.
1861 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1863         * iconv/iconv_prog.c: Fix typos.
1864         * stdio-common/psiginfo-data.h: Likewise.
1866 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1868         [BZ #15764]
1869         * locale/setlocale.c: Fix typo.
1871 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1873         [BZ #16036]
1874         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1875         signaling NaN arguments.
1876         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1877         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1879         [BZ #14910]
1880         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1881         unordered operands.
1882         * soft-fp/gesf2.c (__gesf2): Likewise.
1883         * soft-fp/getf2.c (__getf2): Likewise.
1884         * soft-fp/ledf2.c (__ledf2): Likewise.
1885         * soft-fp/lesf2.c (__lesf2): Likewise.
1886         * soft-fp/letf2.c (__letf2): Likewise.
1888         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1889         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1890         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1891         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1892         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1893         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1894         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1895         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1896         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1897         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1898         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1899         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1900         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1901         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1902         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1903         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1904         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1905         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1906         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1907         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1908         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1909         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1910         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1911         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1912         * soft-fp/floattidf.c (__floattidf): Likewise.
1913         * soft-fp/floattisf.c (__floattisf): Likewise.
1914         * soft-fp/floattitf.c (__floattitf): Likewise.
1915         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1916         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1917         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1918         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1919         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1920         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1921         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1922         * soft-fp/gesf2.c (__gesf2): Likewise.
1923         * soft-fp/getf2.c (__getf2): Likewise.
1924         * soft-fp/ledf2.c (__ledf2): Likewise.
1925         * soft-fp/lesf2.c (__lesf2): Likewise.
1926         * soft-fp/letf2.c (__letf2): Likewise.
1928         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1929         Undefine and redefine.
1930         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1931         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1932         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1933         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1934         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1935         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1936         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1937         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1938         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1939         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1940         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1941         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1942         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1943         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1944         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1946         [BZ #16032]
1947         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1948         without decrementing exponent if mantissa >= that for the
1949         denominator, not >.
1950         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1951         denominator, not >.  Decrement exponent in < case instead of
1952         incrementing in >= case.
1953         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1954         without decrementing exponent if mantissa >= that for the
1955         denominator, not >.
1957         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1958         computing saturated result for unsigned overflow.
1960 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1961             Jeff Law  <law@redhat.com>
1963         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1964         (atan2Mp): Add systemtap probe marker.
1965         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1966         (__ieee754_log): Add systemtap probe marker.
1967         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1968         (atanMp): Add systemtap probe marker.
1969         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1970         (tanMp): Add systemtap probe marker.
1971         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1972         (__slowexp): Add systemtap probe marker.
1973         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1974         (__slowpow): Add systemtap probe marker.
1975         * manual/probes.texi: Document probes.
1977 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1979         [BZ #15362]
1980         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1981         written.
1982         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1983         written.
1984         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1985         written to buffer but not flushed.
1986         * libio/iofwrite_u.c:  Likewise.
1987         * libio/iopadn.c:  Return bytes returned even if EOF was
1988         encountered.
1989         * libio/iowpadn.c:  Likewise.
1990         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1991         if _IO_padn does not write the whole buffer.
1992         [!COMPILE_WPRINTF] (PAD): Likewise.
1994 2013-10-10  David S. Miller  <davem@davemloft.net>
1996         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1997         directory block.
1999 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2001         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
2002         instead of FSF address.
2003         * soft-fp/fixdfti.c: Likewise.
2004         * soft-fp/fixsfti.c: Likewise.
2005         * soft-fp/fixtfti.c: Likewise.
2006         * soft-fp/fixunsdfti.c: Likewise.
2007         * soft-fp/fixunssfti.c: Likewise.
2008         * soft-fp/fixunstfti.c: Likewise.
2009         * soft-fp/floattidf.c: Likewise.
2010         * soft-fp/floattisf.c: Likewise.
2011         * soft-fp/floattitf.c: Likewise.
2012         * soft-fp/floatuntidf.c: Likewise.
2013         * soft-fp/floatuntisf.c: Likewise.
2014         * soft-fp/floatuntitf.c: Likewise.
2015         * soft-fp/trunctfxf2.c: Likewise.
2017         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
2018         * soft-fp/fixdfti.c: Likewise.
2019         * soft-fp/fixsfti.c: Likewise.
2020         * soft-fp/fixtfti.c: Likewise.
2021         * soft-fp/fixunsdfti.c: Likewise.
2022         * soft-fp/fixunssfti.c: Likewise.
2023         * soft-fp/fixunstfti.c: Likewise.
2024         * soft-fp/floattidf.c: Likewise.
2025         * soft-fp/floattisf.c: Likewise.
2026         * soft-fp/floattitf.c: Likewise.
2027         * soft-fp/floatuntidf.c: Likewise.
2028         * soft-fp/floatuntisf.c: Likewise.
2029         * soft-fp/floatuntitf.c: Likewise.
2030         * soft-fp/trunctfxf2.c: Likewise.
2032 2013-10-10  David S. Miller  <davem@davemloft.net>
2034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2036 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
2038         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2039         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2040         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2041         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2042         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2043         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2044         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2046         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2047         for NaNs before doing comparisons on argument.
2048         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2049         Likewise.
2051 2013-10-10  Will Newton  <will.newton@linaro.org>
2053         * malloc/hooks.c (memalign_check): Ensure the value of bytes
2054         passed to _int_memalign does not overflow.
2056 2013-10-10  Torvald Riegel  <triegel@redhat.com>
2058         * scripts/bench.pl: Add include-sources directive.
2059         * benchtests/README: Update documentation.
2061 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2063         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2064         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2065         instead of FP_INIT_ROUNDMODE.
2066         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2067         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2069         [BZ #16034]
2070         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
2071         copy class of input value.
2072         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
2073         not handle exceptions.
2074         * soft-fp/negsf2.c (__negsf2): Likewise.
2075         * soft-fp/negtf2.c (__negtf2): Likewise.
2076         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2078 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
2080         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2081         semicolon.  From Linux kernel.
2083 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
2085         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2087 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
2089         [BZ #156]
2090         * manual/socket.texi: Added statement about buffer
2091         for gethostbyname2_r.
2093 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
2095         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2096         Use .p2align directive instead, throughout.
2097         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2098         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2099         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2101         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2102         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2103         * sysdeps/x86_64/strchr.S: Likewise.
2104         * sysdeps/x86_64/strrchr.S: Likewise.
2106 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2108         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2110         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2112         * sysdeps/generic/math_private.h (__mpsin1): Remove
2113         declaration.
2114         (__mpcos1): Likewise.
2115         (__mpsin): New argument __range_reduce.
2116         (__mpcos): Likewise.
2117         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2118         (slow): Use __mpsin and __mpcos.
2119         (slow1): Likewise.
2120         (slow2): Likewise.
2121         (sloww): Likewise.
2122         (sloww1): Likewise.
2123         (sloww2): Likewise.
2124         (bsloww): Likewise.
2125         (bsloww1): Likewise.
2126         (bsloww2): Likewise.
2127         (cslow2): Likewise.
2128         (csloww): Likewise.
2129         (csloww1): Likewise.
2130         (csloww2): Likewise.
2131         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2132         range_reduce.  Merge in __mpsin1.
2133         (__mpcos): Likewise.
2134         (__mpsin1): Remove.
2135         (__mpcos1): Likewise.
2137 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
2139         * locale/loadlocale.c (_nl_intern_locale_data): Use
2140         LOCFILE_ALIGNED_P.
2141         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2142         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2143         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2144         obstack data is appropriately aligned.
2145         (obstack_int32_grow_fast): Likewise.
2146         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2147         * locale/programs/locfile.c (add_locale_uint32): Likewise.
2148         (add_locale_uint32_array): Likewise.
2150 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
2152         * benchtests/Makefile: Remove ARGLIST and RET variables.
2153         ($(objpfx)bench-%.c): Pass only function name to the script.
2154         * benchtests/README: Update documentation.
2155         * benchtests/acos-inputs: Add new directives.
2156         * benchtests/acosh-inputs: Likewise.
2157         * benchtests/asin-inputs: Likewise.
2158         * benchtests/asinh-inputs: Likewise.
2159         * benchtests/atan-inputs: Likewise.
2160         * benchtests/atanh-inputs: Likewise.
2161         * benchtests/cos-inputs: Likewise.
2162         * benchtests/cosh-inputs: Likewise.
2163         * benchtests/exp-inputs: Likewise.
2164         * benchtests/log-inputs: Likewise.
2165         * benchtests/pow-inputs: Likewise.
2166         * benchtests/rint-inputs: Likewise.
2167         * benchtests/sin-inputs: Likewise.
2168         * benchtests/sinh-inputs: Likewise.
2169         * benchtests/tan-inputs: Likewise.
2170         * benchtests/tanh-inputs: Likewise.
2171         * scripts/bench.pl: Add support for new directives.
2173 2013-10-07  Alan Modra  <amodra@gmail.com>
2175         * README: Fix careless merge.
2177 2013-10-05  Alan Modra  <amodra@gmail.com>
2179         * NEWS: Mention powerpc64le support and bugs fixed.
2180         * README: Both big-endian and little-endian powerpc64 supported.
2182 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2184         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2185         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2186         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2187         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2189 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
2191         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2192         match prototype.
2194 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
2196         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2197         Move -mhard-float appending from
2198         ports/sysdeps/powerpc/powerpc32/Makefile.
2199         [$(with-fp) = yes] (ASFLAGS): Likewise.
2200         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2201         * sysdeps/powerpc/nofpu: Move directory from
2202         ports/sysdeps/powerpc/nofpu.
2203         * sysdeps/powerpc/soft-fp: Move directory from
2204         ports/sysdeps/powerpc/soft-fp.
2205         * sysdeps/powerpc/powerpc32/405: Move directory from
2206         ports/sysdeps/powerpc/powerpc32/405.
2207         * sysdeps/powerpc/powerpc32/440: Move directory from
2208         ports/sysdeps/powerpc/powerpc32/440.
2209         * sysdeps/powerpc/powerpc32/464: Move directory from
2210         ports/sysdeps/powerpc/powerpc32/464.
2211         * sysdeps/powerpc/powerpc32/476: Move directory from
2212         ports/sysdeps/powerpc/powerpc32/476.
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2214         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2216         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2218         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2220         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2222         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2223         * README: Update for powerpc-*-linux-gnu software floating point
2224         support in libc.
2226         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2227         case to powerpc/powerpc32*.
2228         * sysdeps/unix/sysv/linux/configure: Regenerated.
2230         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2231         (_FPU_MASK_OM): Define as 0x04.
2232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2234         0x00c10080.
2235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2236         0x0000003c.
2237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2240         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2241         getcontext_e500.
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2243         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2244         setcontext_e500.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2246         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2247         and setcontext_e500.
2249 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
2251         * locale/iso-3166.def: Update iso-1366.def and related occurrences
2253 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2255         * manual/threads.texi (Default Thread Attributes): Fix typo.
2257 2013-10-04  Will Newton  <will.newton@linaro.org>
2259         * malloc/Makefile: Add tst-memalign.
2260         * malloc/tst-memalign.c: New file.
2262         * malloc/tst-posix_memalign.c: Add comments.
2263         (do_test): Add comments and call free on all potentially
2264         allocated pointers. Add space after cast.
2266         * malloc/tst-pvalloc.c: Add comments.
2267         (do_test): Add comments and call free on all potentially
2268         allocated pointers. Remove duplicate check for NULL pointer.
2269         Add space after cast.
2271         * malloc/tst-valloc.c: Add comments.
2272         (do_test): Add comments and call free on all potentially
2273         allocated pointers. Remove duplicate check for NULL pointer.
2274         Add space after cast.
2276 2013-10-04  Alan Modra  <amodra@gmail.com>
2278         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2279         Use stdint types in rather than __attribute__((mode())).
2280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2282 2013-10-04  Alan Modra  <amodra@gmail.com>
2284         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2285         Correct handling of unaligned relocs for little-endian.
2286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2288 2013-10-04  Alan Modra  <amodra@gmail.com>
2290         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2291         * configure: Regenerate.
2292         * nptl/shlib-versions: Powerpc*le starts at 2.18.
2293         * shlib-versions: Likewise.
2295 2013-10-04  Alan Modra  <amodra@gmail.com>
2297         * string/tester.c (test_memrchr): Increment reported test cycle.
2299 2013-10-04  Alan Modra  <amodra@gmail.com>
2301         * string/test-memcpy.c (do_one_test): When reporting errors, print
2302         string address and don't overrun end of string.
2304 2013-10-04  Alan Modra  <amodra@gmail.com>
2306         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2307         insrdi.  Make better use of reg selection to speed exit slightly.
2308         Schedule entry path a little better.  Remove useless "are we done"
2309         checks on entry to main loop.  Handle wrapping around zero address.
2310         Correct main loop count.  Handle single left-over word from main
2311         loop inline rather than by using loop_small.  Remove extra word
2312         case in loop_small caused by wrong loop count.  Add little-endian
2313         support.
2314         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2315         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
2316         cache hint.
2317         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2318         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2319         support.  Avoid rlwimi.
2320         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2322 2013-10-04  Alan Modra  <amodra@gmail.com>
2324         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2325         insrdi.  Formatting.
2326         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2327         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2328         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2329         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2330         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2331         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2333 2013-10-04  Alan Modra  <amodra@gmail.com>
2335         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2336         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2337         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2338         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2339         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2340         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2341         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2342         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2343         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
2344         use of regs.  Use power7 mtocrf.  Tidy function tails.
2346 2013-10-04  Alan Modra  <amodra@gmail.com>
2348         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2349         Formatting.  Consistently use rXXX register defines or rN defines.
2350         Use early exit labels that avoid restoring unused non-volatile regs.
2351         Make cr field use more consistent with rWORDn compares.  Rename
2352         regs used as shift registers for unaligned loop, using rN defines
2353         for short lifetime/multiple use regs.
2354         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2355         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
2356         addi 1,1,64 to pop stack frame.  Simplify return value code.
2357         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2359 2013-10-04  Alan Modra  <amodra@gmail.com>
2361         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2362         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
2363         rather than rlwimi.
2364         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2365         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2366         little-endian support.  Correct typos.
2367         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
2368         rather than rlwimi.
2369         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
2370         in loop and entry code to keep "and." results.
2371         (strchr): Add little-endian support.  Comment.  Move cntlzd
2372         earlier in tail.
2373         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2375 2013-10-04  Alan Modra  <amodra@gmail.com>
2377         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2378         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2379         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2380         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2382 2013-10-04  Alan Modra  <amodra@gmail.com>
2384         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2385         (rTMP): Define as r11.
2386         (strcmp): Add little-endian support.  Optimise tail.
2387         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2388         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2389         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2390         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2391         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2392         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2393         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2395 2013-10-04  Alan Modra  <amodra@gmail.com>
2397         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2398         little-endian support.  Remove unnecessary "are we done" tests.
2399         Handle "s" wrapping around zero and extremely large "size".
2400         Correct main loop count.  Handle single left-over word from main
2401         loop inline rather than by using small_loop.  Correct comments.
2402         Delete "zero" tail, use "end_max" instead.
2403         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2405 2013-10-04  Alan Modra  <amodra@gmail.com>
2407         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2408         support.  Don't branch over align.
2409         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2410         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2411         support.  Rearrange tmp reg use to suit.  Comment.
2412         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2414 2013-10-04  Alan Modra  <amodra@gmail.com>
2416         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2418 2013-10-04  Alan Modra  <amodra@gmail.com>
2420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2421         conditional form of branch and link when obtaining pc.
2422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2424 2013-10-04  Alan Modra  <amodra@gmail.com>
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2427         HIWORD/LOWORD.
2428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2431 2013-10-04  Alan Modra  <amodra@gmail.com>
2433         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2434         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2435         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2436         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2437         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2438         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2439         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2440         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2441         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2442         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2444 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2445             Alistair Popple <alistair@ozlabs.au.ibm.com>
2446             Alan Modra <amodra@gmail.com>
2448         [BZ #15723]
2449         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2450         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2451         _dl_hwcap access for little-endian.
2452         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
2453         destroy vmx regs when saving unaligned.
2454         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2455         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
2456         destroy vmx regs when saving unaligned.
2458 2013-10-04  Alan Modra  <amodra@gmail.com>
2460         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2461         Don't use a union to pack hi/low value.
2463 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2465         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2466         for little-endian.
2467         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2468         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2469         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2470         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2471         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2473 2013-10-04  Alan Modra  <amodra@gmail.com>
2475         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2476         constants to usual value for .cst8 section, and remove redundant
2477         high address load.
2478         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2479         constant for 0x1p52.  Load little-endian words of double from
2480         correct stack offsets.
2482 2013-10-04  Alan Modra  <amodra@gmail.com>
2484         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2485         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2486         words of double from correct stack offsets.
2487         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2488         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2489         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2490         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2491         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2492         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2493         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2494         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2495         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2498         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2499         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2500         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2501         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2502         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2503         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2505 2013-10-04  Alan Modra  <amodra@gmail.com>
2507         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2508         64-bit int/double union.
2509         (_FPU_SETCW): Likewise.
2510         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2511         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2513 2013-10-04  Alan Modra  <amodra@gmail.com>
2515         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2516         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2518 2013-10-04  Alan Modra  <amodra@gmail.com>
2520         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2521         use vector int constants.
2522         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2524 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2526         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2527         array with long long.
2528         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2529         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2530         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2531         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2532         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2533         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2534         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2535         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2536         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2537         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2538         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2539         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2540         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2542 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2544         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2545         (__signbit): Likewise.  Correct for little-endian.
2546         (__signbitl): Call __signbit.
2547         (lrint): Correct for little-endian.
2548         (lrintf): Call lrint.
2550 2013-10-04  Alan Modra  <amodra@gmail.com>
2552         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2553         union 32-bit int array member with 64-bit int array.
2554         (t515, tm256): Double rather than long double.
2555         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2557 2013-10-04  Alan Modra  <amodra@gmail.com>
2559         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2560         Delete.
2561         (IEEE854_LONG_DOUBLE_BIAS): Delete.
2562         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2563         version of math_ldbl.h.
2565 2013-10-04  Alan Modra  <amodra@gmail.com>
2567         [BZ #15734], [BZ #15735]
2568         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2569         all uses of ieee875 long double macros and unions.  Simplify test
2570         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
2571         ldbl_extract_mantissa value for ix,iy exponents.  Properly
2572         normalize after ldbl_extract_mantissa, and don't add hidden bit
2573         already handled.  Don't treat low word of ieee854 mantissa like
2574         low word of IBM long double and mask off bit when testing for
2575         zero.
2576         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2577         all uses of ieee875 long double macros and unions.  Simplify tests
2578         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
2579         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
2580         two1022, instead use their values.  Recognise that tests for large
2581         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
2582         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2583         Rewrite all uses of ieee875 long double macros and unions.  Simplify
2584         test for 0.0L and nan.  Correct negation.
2585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2586         ieee875 long double macros and unions.  Correct output for large
2587         magnitude x.  Correct absolute value calculation.
2588         (__erfcl): Likewise.
2589         * math/libm-test.inc: Add tests for errors discovered in IBM long
2590         double versions of fmodl, remainderl, erfl and erfcl.
2592 2013-10-04  Alan Modra  <amodra@gmail.com>
2594         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2595         all uses of ieee854 long double macros and unions.  Simplify tests
2596         for long doubles that are fully specified by the high double.
2597         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2598         Likewise.
2599         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2600         Remove dead code too.
2601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2602         (__ieee754_ynl): Likewise.
2603         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2604         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2605         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2606         Remove dead code too.
2607         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2608         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2609         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2610         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2611         Simplify.
2612         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2613         Simplify.
2614         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2615         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2616         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2617         Comment on variable precision.
2618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2619         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2620         Likewise.
2621         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2622         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2623         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2624         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2625         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2627 2013-10-04  Alan Modra  <amodra@gmail.com>
2629         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2630         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2631         all uses of ieee854 long double macros and unions.
2632         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2633         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2634         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2635         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2636         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2637         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2638         Likewise.
2639         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2640         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2641         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2642         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2643         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2644         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2645         Simplify sign and nan test too.
2646         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2647         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2648         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2649         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2650         Likewise.
2651         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2652         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2653         Likewise.
2654         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2655         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2656         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2657         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2658         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2659         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2661 2013-10-04  Alan Modra  <amodra@gmail.com>
2663         * stdio-common/printf_size.c (__printf_size): Don't use
2664         union ieee854_long_double in fpnum union.
2665         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
2666         signbit macro to retrieve sign from long double.
2667         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2668         retrieve sign from long double.
2669         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2670         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2671         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2672         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2673         * math/test-misc.c (main): Don't use union ieee854_long_double.
2675 2013-10-04  Alan Modra  <amodra@gmail.com>
2677         [BZ #15680]
2678         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2679         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2680         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2681         calculation.  Remove unnecessary test for denormal exponent.
2682         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2683         Correct handling of denormals.  Avoid undefined shift behaviour.
2684         Correct normalisation of low mantissa when low double is denormal.
2685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2686         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
2687         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2688         Correct normalisation of low mantissa.  Test for overflow of high
2689         mantissa and normalise.
2690         (ldbl_nearbyint): Use more readable constant for two52.
2691         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2692         (__mpn_construct_long_double): Fix test for overflow of high
2693         mantissa and correct normalisation.  Avoid undefined shift.
2695 2013-10-04  Alan Modra  <amodra@gmail.com>
2697         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2698         (union ibm_extended_long_double): Define as an array of ieee754_double.
2699         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2700         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2701         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2702         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2703         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2704         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2705         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2706         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2707         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2708         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2709         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2711 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
2713         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2714         page size instead of calling getpagesize.
2716         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2717         (LOCFILE_ALIGN_MASK): Likewise.
2718         (LOCFILE_ALIGN_UP): Likewise.
2719         (LOCFILE_ALIGNED_P): Likewise.
2720         * locale/programs/ld-collate.c (collate_output): Use the new
2721         macros instead of __alignof__ (int32_t).
2722         * locale/weight.h (findidx): Likewise.
2724 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
2726         [BZ #431]
2727         * manual/string.texi: Fix strncat and wcsncat.
2729 2013-10-03  Brooks Moses  <bmoses@google.com>
2731         [BZ #15915]
2732         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2733         * Makerules: ...here, and adjust associated comments.
2735 2013-10-02  Will Newton  <will.newton@linaro.org>
2737         * malloc/Makefile: Add tst-pvalloc.
2738         * malloc/tst-pvalloc.c: New file.
2740 2013-10-02  Will Newton  <will.newton@linaro.org>
2742         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2743         improve test coverage.
2745 2013-10-02  Will Newton  <will.newton@linaro.org>
2747         * malloc/Makefile: Add tst-posix_memalign.
2748         * malloc/tst-posix_memalign.c: New file.
2750 2013-10-01  Eric Blake  <eblake@redhat.com>
2752         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2753         Use __THROWNL rather than __THROW on static functions.
2755 2013-09-30  Petr Machata  <pmachata@redhat.com>
2757         * elf/elf.h (R_AARCH64_ABS16): New macro.
2758         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2759         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2760         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2761         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2762         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2763         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2764         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2765         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2766         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2767         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2768         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2769         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2770         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2771         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2772         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2773         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2774         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2775         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2776         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2777         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2778         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2779         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2780         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2781         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2782         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2783         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2784         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2785         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2786         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2787         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2788         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2789         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2790         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2791         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2792         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2793         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2794         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2795         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2796         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2797         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2798         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2799         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2800         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2801         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2802         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2803         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2804         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2805         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2806         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2807         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2808         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2809         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2810         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2811         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2812         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2813         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2814         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2815         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2816         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2817         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2818         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2819         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2820         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2821         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2822         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2823         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2824         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2825         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2826         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2827         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2828         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2829         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2830         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2831         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2832         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2833         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2834         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2835         (R_AARCH64_TLSDESC_LDR): Likewise.
2836         (R_AARCH64_TLSDESC_ADD): Likewise.
2837         (R_AARCH64_TLSDESC_CALL): Likewise.
2839 2013-09-30  Andreas Schwab  <schwab@suse.de>
2841         [BZ #15048]
2842         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2843         the nss database lookup.
2844         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2847 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2849         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2851 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2853         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2854         ${Bash-specific parameter/pattern/string} parameter expansion.
2855         * sysdeps/unix/make-syscalls.sh: Likewise.
2857 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2859         * sysdeps/sh/stackguard-macros.h: New file.
2861 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2865         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2866         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2867         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2868         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2870 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2872         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2873         Fix thread ID register.
2875 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2877         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2878         [POSIX || UNIX98]: Require rather than permitting all symbols from
2879         <time.h>.
2880         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2881         element of struct sched_param.
2882         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2883         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2884         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2885         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2886         constant.
2888 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2890         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2891         argument calculation.
2893 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2895         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2896         Expect macro.
2897         [POSIX] (pthread_attr_t): Do not require type.
2898         [POSIX] (pthread_cond_t): Likewise.
2899         [POSIX] (pthread_condattr_t): Likewise.
2900         [POSIX] (pthread_key_t): Likewise.
2901         [POSIX] (pthread_mutex_t): Likewise.
2902         [POSIX] (pthread_mutexattr_t): Likewise.
2903         [POSIX] (pthread_once_t): Likewise.
2904         [POSIX] (pthread_t): Likewise.
2905         [POSIX-based standards] (pthread_atfork): Expect function.
2907 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2908             Richard Sandiford  <richard@codesourcery.com>
2910         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2911         (swap_endianness_p): New extern variable.
2912         (set_big_endian): New inline function.
2913         (maybe_swap_uint32): Likewise.
2914         (maybe_swap_uint32_array): Likewise.
2915         (maybe_swap_uint32_obstack): Likewise.
2916         * locale/programs/locfile.c: Include <stdbool.h>.
2917         (swap_endianness_p): New variable.
2918         (add_locale_uint32): Call maybe_swap_uint32.
2919         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2920         (write_locale_data): Call maybe_swap_uint32_array.
2921         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2922         maybe_swap_uint32.
2923         (obstack_int32_grow_fast): Likewise.
2924         (output_weightwc): Call maybe_swap_uint32_obstack.
2925         (collate_output): Likewise.
2926         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2927         (OPT_LITTLE_ENDIAN): Likewise.
2928         (options): Add --little-endian and --big-endian options.
2929         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2930         * locale/programs/locarchive.c: Include "locfile.h".
2931         (GET): New macro.
2932         (SET): Likewise.
2933         (INC): Likewise.
2934         (create_archive): Use the new macros to access fields of
2935         structures directly mapped from or written to locale archives.
2936         (oldlocrecentcmp): Likewise.
2937         (enlarge_archive): Likewise.
2938         (insert_name): Likewise.
2939         (add_alias): Likewise.
2940         (add_locale): Likewise.
2941         (delete_locales_from_archive): Likewise.
2942         (show_archive_content): Likewise.
2943         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2944         locale data.
2946 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2948         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2949         http://www.gnu.org/doc/freemanuals.texi.
2950         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2952 2013-09-24  Will Newton  <will.newton@linaro.org>
2954         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2955         macro.
2957 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2959         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2960         unsigned char.
2962 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2964         * manual/threads.texi (POSIX Threads): Fix a typo.
2966 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2968         [BZ #14547]
2969         * string/tst-strcoll-overflow.c: New test case.
2970         * string/Makefile (xtests): Add tst-strcoll-overflow.
2971         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2972         cache if string sizes may cause integer overflow.
2974         [BZ #14547]
2975         * string/strcoll_l.c (coll_seq): New members rule, idx,
2976         save_idx and back_us.
2977         (get_next_seq_nocache): New function.
2978         (do_compare_nocache): New function.
2979         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2980         when malloc fails.
2982 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2984         [BZ #15754]
2985         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2986         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2987         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2989         [BZ #15754]
2990         * elf/Makefile (tests): Add tst-ptrguard1.
2991         (tests-static): Add tst-ptrguard1-static.
2992         (tst-ptrguard1-ARGS): Define.
2993         (tst-ptrguard1-static-ARGS): Define.
2994         * elf/tst-ptrguard1.c: New file.
2995         * elf/tst-ptrguard1-static.c: New file.
2996         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2997         * sysdeps/i386/stackguard-macros.h: Likewise.
2998         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2999         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3000         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3001         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3002         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3003         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3005 2013-09-23  Hector Marco  <hecmargi@upv.es>
3006             Ismael Ripoll  <iripoll@disca.upv.es>
3007             Carlos O'Donell  <carlos@redhat.com>
3009         [BZ #15754]
3010         * sysdeps/generic/stackguard-macros.h: Define
3011         __pointer_chk_guard_local and POINTER_CHK_GUARD.
3012         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3013         Define __pointer_chk_guard_local.
3014         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3015         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3017 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
3019         [BZ #15859]
3020         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3022 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
3024         * include/string.h (__ffs): Declare as hidden.
3025         * string/ffs.c (__ffs): Define as hidden.
3026         * sysdeps/i386/ffs.c (__ffs): Likewise.
3027         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3028         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3029         * sysdeps/s390/ffs.c (__ffs): Likewise.
3030         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3032 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
3034         * NEWS: Mention malloc probes.
3036         * malloc/arena.c (new_heap): New memory_heap_new probe.
3037         (grow_heap): New memory_heap_more probe.
3038         (shrink_heap): New memory_heap_less probe.
3039         (heap_trim): New memory_heap_free probe.
3040         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3041         (systrim): New memory_sbrk_less probe.
3042         * manual/probes.texi: Document them.
3044         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3045         * manual/probes.texi: Document it.
3047         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3048         (__libc_realloc): Add memory_realloc_retry probe.
3049         (__libc_memalign): Add memory_memalign_retry probe.
3050         (__libc_valloc): Add memory_valloc_retry probe.
3051         (__libc_pvalloc): Add memory_pvalloc_retry probe.
3052         (__libc_calloc): Add memory_calloc_retry probe.
3053         * manual/probes.texi: Document them.
3055         * malloc/arena.c (get_free_list): Add probe
3056         memory_arena_reuse_free_list.
3057         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3058         and memory_arena_reuse.
3059         (arena_get2) [!PER_THREAD]: Likewise.
3060         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3061         memory_arena_reuse_realloc.
3062         * manual/probes.texi: Document them.
3064         * malloc/malloc.c (__libc_free): Add
3065         memory_mallopt_free_dyn_thresholds probe.
3066         (__libc_mallopt): Add multiple memory_mallopt probes.
3067         * manual/probes.texi: Document them.
3069         * malloc/malloc.c: Include stap-probe.h.
3070         (__libc_mallopt): Add memory_mallopt probe.
3071         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3072         * manual/probes.texi: New.
3073         * manual/Makefile (chapters): Add probes.
3074         * manual/threads.texi: Set next node.
3076 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
3078         [BZ #15963, #13985]
3079         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3080         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3081         Add `Chinese' to `nan' entry name.
3083 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3085         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3086         (POLYNOMIAL): Likewise.
3087         (TAYLOR_SINCOS): Likewise.
3088         (TAYLOR_SLOW): Likewise.
3089         (__sin): Use TAYLOR_SINCOS.
3090         (__cos): Likewise.
3091         (slow): Use TAYLOR_SLOW.
3092         (sloww): Likewise.
3093         (bsloww): Likewise.
3094         (csloww): Likewise.
3096 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3098         * stdlib/strtod_l.c: Fix buffer overrun.
3100 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3102         * benchtests/Makefile (bench): Add sincos.
3103         * benchtests/bench-sincos.c: New file.
3105         * math/libm-test.inc (cos_test_data): New test inputs.
3106         (sin_test_data): Likewise.
3108         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3109         macro.
3110         (__sin): Use it.
3111         (__cos): Likewise.
3112         (slow1): Likewise.
3113         (slow2): Likewise.
3114         (sloww1): Likewise.
3115         (sloww2): Likewise.
3116         (bsloww1): Likewise.
3117         (bsloww2): Likewise.
3118         (cslow2): Likewise.
3119         (csloww1): Likewise.
3120         (csloww2): Likewise.
3122         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3123         function.
3124         (__sin): Use it.
3125         (__cos): Likewise.
3127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3128         gotos.
3129         (__cos): Likewise.
3131 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
3133         * config.h.in (HAVE_MIPS_NAN2008): New macro.
3134         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3135         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3136         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3137         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3138         * elf/cache.c (print_entry): Handle the new cache flags.
3140 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
3141             Aldy Hernandez  <aldyh@redhat.com>
3143         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3144         Change condition to [_SOFT_FLOAT].
3145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3157         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3160         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3161         declaration.
3163 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
3165         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3166         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3167         (__longjmp): Use LOAD_GP to load saved GPRs.
3168         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3169         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3170         (__sigsetjmp): Use SAVE_GP to save GPRs.
3172         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3173         Do not append -msoft-float.
3174         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3176 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3178         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3180 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
3182         [BZ #15966]
3183         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3184         (_FPU_GETCW): Use initial "__" on variable and field names but not
3185         on macro parameter name.
3186         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
3187         parentheses around reference to macro parameter.
3189 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
3191         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3192         prototype.
3193         (ctype_startup): Use uint32_t in cast and sizeof for
3194         ctype->charnames.
3196 2013-09-11  Jia Liu  <proljc@gmail.com>
3198         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3199         __daddr_t_defined.
3200         [__FreeBSD__]: Likewise.
3202 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
3204         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3205         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3206         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3207         (strchr): Remove __strchr_sse42 ifunc selection.
3208         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3209         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3211 2013-09-11  Will Newton  <will.newton@linaro.org>
3213         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3214         parameter to RES. Remove hardcoded 1000 value.
3215         * benchtests/bench-skeleton.c (main): Pass RES parameter
3216         to TIMING_INIT and multiply result by 1000.
3218 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3222 2013-09-11  Andreas Schwab  <schwab@suse.de>
3224         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3225         if not defined.
3226         (O_TMPFILE) [__USE_GNU]: Define.
3227         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3228         Define.
3230 2013-09-11  Will Newton  <will.newton@linaro.org>
3232         [BZ #15857]
3233         * malloc/malloc.c (__libc_memalign): Check the value of bytes
3234         does not overflow.
3236 2013-09-11  Will Newton  <will.newton@linaro.org>
3238         [BZ #15856]
3239         * malloc/malloc.c (__libc_valloc): Check the value of bytes
3240         does not overflow.
3242 2013-09-11  Will Newton  <will.newton@linaro.org>
3244         [BZ #15855]
3245         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3246         does not overflow.
3248 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
3250         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3251         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3252         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3253         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3254         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3256 2013-09-10  Allan McRae  <allan@archlinux.org>
3258         [BZ #15748]
3259         * manual/arith.texi (Parsing of Floats): Clarify
3260         cross-reference.
3262         [BZ #15849]
3263         * manual/install.texi (Running make install): Mention
3264         --enable-pt-chown.
3265         * INSTALL: Regenerated.
3267 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
3269         * csu/init-first.c (_init): Remove the !SHARED condition around
3270         FPU control word initialization.
3271         * elf/dl-support.c (_dl_fpu_control): New variable.
3272         (_dl_aux_init) <AT_FPUCW>: Initialize it.
3273         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3274         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3275         * math/test-fpucw-static.c: New file.
3276         * math/test-fpucw-ieee.c: New file.
3277         * math/test-fpucw-ieee-static.c: New file.
3278         * math/Makefile (tests): Add `test-fpucw-ieee' and
3279         `$(tests-static)'.
3280         (tests-static): New variable.
3281         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3282         dependency to...
3283         [($(build-shared),yes)]
3284         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3285         ... this.
3286         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3287         New dependency.
3289 2013-09-09  Allan McRae  <allan@archlinux.org>
3291         [BZ #15939]
3292         * manual/string.texi (Collation Functions): Fix typo in
3293         strcoll example.
3294         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3296         [BZ #15893]
3297         * stdlib/isomac.c (get_null_defines): Fix memory leak.
3299         [BZ #15892]
3300         * libio/memstream.c (open_memstream): Fix memory leak.
3301         * libio/wmemstream.c (open_wmemstream): Likewise.
3303         [BZ #15895]
3304         * nscd/netgroupcache.c: Fix nesting of ifdefs.
3306 2013-09-09  Will Newton  <will.newton@linaro.org>
3308         * malloc/Makefile: Add tst-realloc to tests.
3309         * malloc/tst-realloc.c: New file.
3311 2013-09-09  Allan McRae  <allan@archlinux.org>
3313         [BZ #15844]
3314         * COPYING: Update from GNU website to fix FSF address.
3315         * COPYING.LIB: Likewise.
3317 2013-09-06  David S. Miller  <davem@davemloft.net>
3319         * po/zh_TW.po: Update Chinese (traditional) translation from
3320         translation project.
3322 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
3323             Joseph Myers  <joseph@codesourcery.com>
3325         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3326         "localeinfo.h".
3327         (obstack_chunk_alloc): New macro.
3328         (obstack_chunk_free): Likewise.
3329         (record_offset): New function.
3330         (init_locale_data): Likewise.
3331         (align_locale_data): Likewise.
3332         (add_locale_empty): Likewise.
3333         (add_locale_raw_data): Likewise.
3334         (add_locale_raw_obstack): Likewise.
3335         (add_locale_string): Likewise.
3336         (add_locale_wstring): Likewise.
3337         (add_locale_uint32): Likewise.
3338         (add_locale_uint32_array): Likewise.
3339         (add_locale_char): Likewise.
3340         (start_locale_structure): Likewise.
3341         (end_locale_structure): Likewise.
3342         (start_locale_prelude): Likewise.
3343         (end_locale_prelude): Likewise.
3344         (write_locale_data): Take locale_file structure rather than an
3345         iovec.
3346         * locale/programs/locfile.h: Include "obstack.h".
3347         (struct locale_file): Change to store locale file contents instead
3348         of header.
3349         (init_locale_data): New prototype.
3350         (align_locale_data): Likewise.
3351         (add_locale_empty): Likewise.
3352         (add_locale_raw_data): Likewise.
3353         (add_locale_raw_obstack): Likewise.
3354         (add_locale_string): Likewise.
3355         (add_locale_wstring): Likewise.
3356         (add_locale_uint32): Likewise.
3357         (add_locale_uint32_array): Likewise.
3358         (add_locale_char): Likewise.
3359         (start_locale_structure): Likewise.
3360         (end_locale_structure): Likewise.
3361         (start_locale_prelude): Likewise.
3362         (end_locale_prelude): Likewise.
3363         (write_locale_data): Update prototype.
3364         * locale/programs/3level.h (struct TABLE): Remove result field.
3365         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3366         Use new locale_file interface.
3367         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3368         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3369         * locale/programs/ld-address.c (address_output): Use new
3370         locale_file interface.
3371         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3372         NO_ADD_LOCALE.
3373         (collate_finish): Don't call collseq_table_finalize.
3374         (collate_output): Use new locale_file interface.
3375         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3376         in file.
3377         (NO_FINALIZE): Change to NO_ADD_LOCALE.
3378         (TABLE): Move defines earlier in file.
3379         (ELEMENT): Likewise.
3380         (DEFAULT): Likewise.
3381         (wctrans_table_add): Move macro and inline function earlier in
3382         file.
3383         (struct wctype_table): Move type earlier in file.
3384         (add_locale_wctype_table): New static prototype.
3385         (struct locale_ctype_t): Use logical types instead of struct iovec
3386         pointers for members.
3387         (ctype_output): Use new locale_file interface.
3388         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
3389         new locale_file interface.
3390         (allocate_arrays): Update for use of new locale_file interface.
3391         * locale/programs/ld-identification.c (identification_output): Use
3392         new locale_file interface.
3393         * locale/programs/ld-measurement.c (measurement_output): Likewise.
3394         * locale/programs/ld-messages.c (messages_output): Likewise.
3395         * locale/programs/ld-monetary.c (monetary_output): Likewise.
3396         * locale/programs/ld-name.c (name_output): Likewise.
3397         * locale/programs/ld-numeric.c (numeric_output): Likewise.
3398         * locale/programs/ld-paper.c (paper_output): Likewise.
3399         * locale/programs/ld-telephone.c (telephone_output): Likewise.
3400         * locale/programs/ld-time.c (time_output): Likewise.
3402 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3404         * benchtests/Makefile: Add memrchr benchmark.
3405         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3406         benchmark as memrchr.
3407         * benchtests/bench-memrchr-ifunc.c: New file.
3408         * benchtests/bench-memrchr.c: New file.
3410 2013-09-06   Will Newton  <will.newton@linaro.org>
3412         * benchtests/Makefile (string-bench): Add memcpy.
3414 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
3415             Cong Wang  <amwang@redhat.com>
3417         * sysdeps/unix/sysv/linux/bits/in.h
3418         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3419         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3420         before __USE_KERNEL_IPV6_DEFS uses.
3421         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3422         IPPROTO_BEETPH.
3423         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3424         sockaddr_in6, or ipv6_mreq.
3426 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3428         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3429         memory access for final bytes in some large inputs.
3430         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3432 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3434         * string/test-memrchr.c: New file.
3435         * string/test-memrchr-ifunc.c: New file.
3436         * string/Makefile: Add new memrchr testcase.
3438 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
3440         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3441         fanotify_init returns EPERM.
3443 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3445         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3446         errors.
3447         (top level): Treat second token from macro or constant entries for
3448         allowed headers as allowed.
3449         * include/complex.h: Condition internal declarations on
3450         [!_ISOMAC].
3451         * include/fenv.h: Condition include of <stdbool.h> and internal
3452         declarations on [!_ISOMAC].
3454 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
3456         [BZ #15923]
3457         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3459 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3461         * configure.in (--enable-versioning): Remove configure option.
3462         (libc_cv_asm_symver_directive): Remove configure test.
3463         (libc_cv_ld_version_script_option): Likewise.
3464         (VERSIONING): Remove variable and AC_SUBST.
3465         (DO_VERSIONING): Remove AC_DEFINE.
3466         * configure: Regenerated.
3467         * config.h.in (DO_VERSIONING): Remove macro.
3468         * Makerules [$(versioning) = yes]: Change conditionals to
3469         [$(build-shared) = yes].
3470         * config.make.in (versioning): Remove variable.
3471         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3472         [$(build-shared) = yes].
3473         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3474         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3475         * elf/Makefile [$(versioning) = yes]: Change conditionals to
3476         [$(build-shared) = yes].
3477         * extra-lib.mk [$(versioning) = yes]: Likewise.
3478         * hurd/Makefile [$(versioning) = yes]: Likewise.
3479         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3480         [SHARED].
3481         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3482         [SHARED].
3483         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3484         [SHARED && !NO_HIDDEN].
3485         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3486         [SHARED].
3487         [SHARED && DO_VERSIONING]: Likewise..
3488         * libio/Makefile [$(versioning) = yes]: Change conditionals to
3489         [$(build-shared) = yes].
3490         * manual/install.texi (--disable-versioning): Remove
3491         documentation.
3492         * INSTALL: Regenerated.
3493         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3494         to [SHARED].
3495         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3496         [$(build-shared) = yes].
3497         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3498         * sysdeps/i386/i686/multiarch/strstr-c.c
3499         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3500         [SHARED && !NO_HIDDEN].
3501         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3502         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3503         * sysdeps/powerpc/powerpc32/dl-machine.c
3504         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3505         * sysdeps/powerpc/powerpc32/sysdep.h
3506         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3507         to [SHARED && PIC && !NO_HIDDEN].
3508         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3509         conditional to [SHARED].
3511 2013-09-04   Will Newton  <will.newton@linaro.org>
3513         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3514         * benchtests/bench-string.h: Include bench-timing.h instead
3515         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3516         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3517         call to HP_TIMING_DIFF_INIT.
3518         * benchtests/bench-memccpy.c: Use bench-timing.h macros
3519         instead of hp-timing.h macros.
3520         * benchtests/bench-memchr.c: Likewise.
3521         * benchtests/bench-memcmp.c: Likewise.
3522         * benchtests/bench-memcpy.c: Likewise.
3523         * benchtests/bench-memmem.c: Likewise.
3524         * benchtests/bench-memmove.c: Likewise.
3525         * benchtests/bench-memset.c: Likewise.
3526         * benchtests/bench-rawmemchr.c: Likewise.
3527         * benchtests/bench-strcasecmp.c: Likewise.
3528         * benchtests/bench-strcasestr.c: Likewise.
3529         * benchtests/bench-strcat.c: Likewise.
3530         * benchtests/bench-strchr.c: Likewise.
3531         * benchtests/bench-strcmp.c: Likewise.
3532         * benchtests/bench-strcpy.c: Likewise.
3533         * benchtests/bench-strcpy_chk.c: Likewise.
3534         * benchtests/bench-strlen.c: Likewise.
3535         * benchtests/bench-strncasecmp.c: Likewise.
3536         * benchtests/bench-strncat.c: Likewise.
3537         * benchtests/bench-strncmp.c: Likewise.
3538         * benchtests/bench-strncpy.c: Likewise.
3539         * benchtests/bench-strnlen.c: Likewise.
3540         * benchtests/bench-strpbrk.c: Likewise.
3541         * benchtests/bench-strrchr.c: Likewise.
3542         * benchtests/bench-strspn.c: Likewise.
3543         * benchtests/bench-strstr.c: Likewise.
3545 2013-09-04  Will Newton  <will.newton@linaro.org>
3547         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3549 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
3551         [BZ #15427]
3552         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3553         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3554         * math/libm-test.inc (lgamma_test_data): Add more tests.
3555         * sysdeps/i386/fpu/libm-test-ulps: Update.
3556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3558 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
3560         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3561         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3562         Add ifunc.
3563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3564         Add strcmp-sse2-unaligned
3565         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3567 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3569         * Versions.def (libc): Add GLIBC_2.19.
3571 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3573         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3574         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3576 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
3578         [BZ #14155]
3579         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3580         intermediate calculations in recurrence.
3581         (__ieee754_ynf): Likewise.
3582         * math/libm-test.inc (jn_test_data): Do not allow spurious
3583         underflow exception.  Add more tests.
3584         (yn_test_data): Add more tests.
3585         * sysdeps/i386/fpu/libm-test-ulps: Update.
3586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3588 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
3590         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3592 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3594         * csu/init-first.c: Fix then/than typos.
3595         * locale/programs/ld-collate.c: Likewise.
3596         * locale/programs/linereader.h: Likewise.
3597         * manual/charset.texi: Likewise.
3598         * manual/filesys.texi: Likewise.
3599         * manual/stdio.texi: Likewise.
3600         * manual/string.texi: Likewise.
3601         * stdlib/fmtmsg.c: Likewise.
3602         * sysdeps/i386/stpncpy.S: Likewise.
3603         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3604         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3605         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3606         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3608 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3610         * elf/dl-open.c: Fix typos.
3611         * iconvdata/gbbig5.c: Likewise.
3612         * iconvdata/iso-2022-jp.c: Likewise.
3613         * iconv/gconv_int.h: Likewise.
3614         * iconv/loop.c: Likewise.
3615         * nis/rpcsvc/nis.h: Likewise.
3616         * resolv/ns_name.c: Likewise.
3617         * stdio-common/vfscanf.c: Likewise.
3618         * streams/stropts.h: Likewise.
3619         * sunrpc/rpc_thread.c: Likewise.
3620         * sysdeps/i386/strpbrk.S: Likewise.
3621         * sysdeps/ieee754/k_standard.c: Likewise.
3622         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3623         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3624         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3625         * sysdeps/mach/hurd/profil.c: Likewise.
3626         * sysdeps/s390/dl-procinfo.h: Likewise.
3627         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3628         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3629         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3630         * sysdeps/x86_64/dl-trampoline.S: Likewise.
3631         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3633 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
3635         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3638 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
3640         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3641         aix specific files.
3642         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3643         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3644         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3645         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3646         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3647         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3648         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3649         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3651 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3652             Roland McGrath  <roland@hack.frob.com>
3654         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3655         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3657 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3659         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3660         __executable_start symbol instead of _start.
3662 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3664         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3665         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3666         Move macros to...
3667         * sysdeps/gnu/ldsodefs.h: ... this new file.
3669         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3670         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3671         instead of ELFOSABI_LINUX.
3673         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3674         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3675         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3676         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3677         Likewise.
3678         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3679         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3680         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3681         Likewise.
3682         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3683         (ibm_extended_long_double): Add ieee_nan member.
3684         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3685         (do_test): New function.
3687         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3688         TEST_TRUNC.
3689         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3690         functions, renamed from truncdfsf_test, trunctfsf_test,
3691         trunctfdf_test.
3692         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3693         functions.
3694         (do_test): Run all these.
3696 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
3698         * argp/argp-help.c: Fix typos.
3699         * argp/argp-parse.c: Likewise.
3700         * debug/backtracesyms.c: Likewise.
3701         * elf/elf.h: Likewise.
3702         * malloc/malloc.c: Likewise.
3703         * nis/nis_print.c: Likewise.
3704         * resolv/res_comp.c: Likewise.
3705         * stdlib/stdlib.h: Likewise.
3706         * sunrpc/clnt_tcp.c: Likewise.
3707         * sunrpc/clnt_udp.c: Likewise.
3708         * sunrpc/clnt_unix.c: Likewise.
3709         * sysdeps/unix/bsd/ptsname.c: Likewise.
3710         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3711         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3713         Likewise.
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3715         Likewise.
3716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3717         Likewise.
3718         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3720 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3722         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3725 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
3727         [BZ #15897]
3728         * dlfcn/Makefile (tests): Add bug-dl-leaf.
3729         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3730         ($(objpfx)bug-dl-leaf): New rule.
3731         ($(objpfx)bug-dl-leaf.so): Likewise.
3732         ($(objpfx)bug-dl-leaf.out): Likewise.
3733         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3734         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3735         * dlfcn/bug-dl-leaf.c: New test.
3736         * dlfcn/bug-dl-leaf-lib.c: Likewise.
3737         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3738         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3739         (dlclose): Likewise.
3740         (dlmopen): Likewise.
3742 2013-08-27  Roland McGrath  <roland@hack.frob.com>
3744         * include/netdb.h [!_ISOMAC]:
3745         Don't include <tls.h>.
3746         (h_errno, __libc_h_errno): Move declaration and macros out of
3747         [_LIBC_REENTRANT].
3749         * include/resolv.h [_RESOLV_H_]:
3750         Don't include <tls.h>.
3751         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3752         * resolv/res_libc.c: Don't include <tls.h>.
3753         (_res): Use __attribute__ ((nocommon)) in place of
3754         __attribute__ ((section (".bss"))).
3756         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3757         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3759         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3761         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3762         only under [SIOCGIFCONF && SIOCGIFNETMASK].
3764         * resolv/res_mkquery.c: Include <sys/time.h>.
3766         * inet/ifreq.c: Moved to ...
3767         * sysdeps/unix/ifreq.c: ... here.
3768         * inet/ifreq.c: New file, true stub version.
3770         * socket/sa_len.c: New file.
3771         * socket/Makefile (aux): Add it.
3772         * sysdeps/unix/sysv/linux/Makefile
3773         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3774         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3775         and #include <socket/sa_len.c>.
3776         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3777         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3779         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3780         * bits/socket.h: ... here.
3782         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3783         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3784         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3786 2013-08-27  Andreas Schwab  <schwab@suse.de>
3788         [BZ #15736]
3789         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3790         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3791         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3792         * string/test-strcasecmp.c (test_main): Run tests in several
3793         locales.
3794         * string/test-strncasecmp.c (test_main): Likewise.
3796         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3797         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3798         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3799         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3800         (__strncasecmp_ssse3) [PIC]: Likewise.
3802 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3804         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3806         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3807         instead of explicitly declaring xdecrypt.
3808         * nis/nss_nis/nis-publickey.c: Likewise.
3810 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3812         [BZ #15890]
3813         * nscd/aicache.c: Include res_hconf.h.
3814         (addhstaiX): Initialize res_hconf.
3816 2013-08-26  Andreas Schwab  <schwab@suse.de>
3818         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3819         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3821 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3823         * nscd/aicache.c (addhstaiX): Fix indentation.
3825 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3827         * configure.ac: Quote $build_pt_chown test.
3828         * configure: Regenerated.
3830 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3832         [BZ #15532]
3833         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3834         * math/s_cexpf.c (__cexpf): Likewise.
3835         * math/s_cexpl.c (__cexpl): Likewise.
3836         * math/libm-test.inc (cexp_test_data): Correct expected return
3837         value for NaN + i0.  Add another test.
3839 2013-08-22  David S. Miller  <davem@davemloft.net>
3841         * po/ca.po: Update Catalan translation from translation project.
3842         * po/uk.po: Add Ukrainian translations from translation project.
3844 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3846         [BZ #15797]
3847         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3848         is infinite, not alongside NaN test.
3849         * math/s_fdimf.c (__fdimf): Likewise.
3850         * math/s_fdiml.c (__fdiml): Likewise.
3851         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3852         errno is unchanged.
3854 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3856         * argp/argp-help.c: Fix typos.
3857         * crypt/speeds.c: Likewise.
3858         * csu/check_fds.c: Likewise.
3859         * elf/dl-load.c: Likewise.
3860         * elf/dl-open.c: Likewise.
3861         * elf/reldep3.c: Likewise.
3862         * elf/reldep.c: Likewise.
3863         * elf/sprof.c: Likewise.
3864         * iconv/iconv_charmap.c: Likewise.
3865         * iconv/skeleton.c: Likewise.
3866         * iconv/strtab.c: Likewise.
3867         * io/lockf64.c: Likewise.
3868         * libio/libioP.h: Likewise.
3869         * resolv/gai_notify.c: Likewise.
3870         * resolv/ns_name.c: Likewise.
3871         * resolv/ns_samedomain.c: Likewise.
3872         * resolv/res_send.c: Likewise.
3873         * stdlib/random.c: Likewise.
3874         * sunrpc/rpc/xdr.h: Likewise.
3875         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3876         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3877         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3878         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3879         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3880         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3882         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3883         * sysdeps/mach/hurd/check_fds.c: Likewise.
3884         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3885         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3886         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3887         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3888         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3889         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3890         * sysdeps/pthread/aio_notify.c: Likewise.
3891         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3892         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3893         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3894         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3895         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3897 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3899         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3900         version if bit_Slow_SSE4_2 is set.
3901         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3902         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3904 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3906         [BZ #15867]
3907         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3908         trampoline stack frame information.
3909         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3910         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3911         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3912         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3913         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3914         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3915         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3916         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3917         sa_flags value.
3918         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3919         interrupting a syscall and set with option SA_SIGINFO.
3921 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3923         [BZ #15531]
3924         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3925         argument is infinite.
3926         * math/s_cprojf.c (__cprojf): Likewise.
3927         * math/s_cprojl.c (__cprojl): Likewise.
3928         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3929         * math/libm-test.inc (cproj_test_data): Add more tests.
3931         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3933         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3934         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3935         size.  Use __ffs to determine corresponding shift.
3937 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3938             Roland McGrath  <roland@hack.frob.com>
3940         * Makefile (INSTALL): Remove trailing blank lines from output of
3941         makeinfo.
3943 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3945         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3946         Align 32 bit compat elf_greg to 8 bytes.
3948 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3950         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3952 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3954         * string/strcoll_l.c (coll_seq): New structure.
3955         (get_next_seq_cached): New function.
3956         (get_next_seq): New function.
3957         (do_compare): New function.
3958         (STRCOLL): Use GNU style definition.  Simplify implementation
3959         by using get_next_seq, get_next_seq_cached and do_compare.
3961 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3963         [BZ #14699]
3964         CVE-2013-4237
3965         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3966         member.
3967         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3968         member.
3969         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3970         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3971         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3972         conditional.
3973         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3974         GETDENTS_64BIT_ALIGNED.
3975         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3976         * manual/filesys.texi (Reading/Closing Directory): Document
3977         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3978         strongly.
3979         * manual/conf.texi (Limits for Files): Add portability note to
3980         NAME_MAX, PATH_MAX.
3981         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3983 2013-08-13  Andreas Schwab  <schwab@suse.de>
3985         [BZ #15749]
3986         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3987         of fabs.
3988         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3989         LDBL_MAX_EXP >= 16384]: Add tests for it.
3991 2013-08-12  David S. Miller  <davem@davemloft.net>
3993         * version.h (RELEASE): Set to "development".
3994         (VERSION): Set to "2.18.90".
3995         * NEWS: Add 2.19 section.
3997 2013-08-03  David S. Miller  <davem@davemloft.net>
3999         * po/ko.po: Update Korean translation from translation project.
4001 2013-08-01  David S. Miller  <davem@davemloft.net>
4003         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
4004         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4005         Bilka.
4007 2013-07-30  David S. Miller  <davem@davemloft.net>
4009         * po/fr.po: Update French translation from translation project.
4011 2013-07-28  David S. Miller  <davem@davemloft.net>
4013         * po/cs.po: Update Czech translation from translation project.
4015         * po/sv.po: Update Swedish translation from translation project.
4017 2013-07-27  David S. Miller  <davem@davemloft.net>
4019         * po/eo.po: Update Esperanto translation from translation project.
4021         * po/vi.po: Update Vietnamese translation from translation project.
4023         * po/de.po: Update German translation from translation project.
4025 2013-07-26  David S. Miller  <davem@davemloft.net>
4027         * po/bg.po: Update Bulgarian translation from translation project.
4029         * po/nl.po: Update Dutch translation from translation project.
4030         * po/pl.po: Update Polish translation from translation project.
4031         * po/ru.po: Update Russian translation from translation project.
4033 2013-07-24  David S. Miller  <davem@davemloft.net>
4035         * po/libc.pot: Update.
4037 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4039         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4040         variable page size.
4041         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4042         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4043         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4045 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4047         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4049 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4050             Andreas Schwab  <schwab@suse.de>
4051             Roland McGrath  <roland@hack.frob.com>
4052             Joseph Myers  <joseph@codesourcery.com>
4053             Carlos O'Donell  <carlos@redhat.com>
4055         [BZ #15755]
4056         * config.h.in: Define HAVE_PT_CHOWN.
4057         * config.make.in (build-pt-chown): New variable.
4058         * configure.in (--enable-pt_chown): New configure option.
4059         * configure: Regenerate.
4060         * login/Makefile: Include Makeconfig.  Build pt_chown only if
4061         build-pt-chown is enabled.
4062         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4063         pt_chown to fix pty ownership.
4064         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4065         CLOSE_ALL_FDS.
4066         * manual/install.texi (Configuring and compiling): Mention
4067         --enable-pt_chown. Add @findex for grantpt.
4068         * INSTALL: Regenerate.
4070 2013-07-20  David S. Miller  <davem@davemloft.net>
4072         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4073         difference between 32-bit and 64-bit.
4075 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
4077         [BZ #15711]
4078         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4079         Avoid system header dependency with -ffreestanding.
4080         ($(objpfx)bits/syscall%d): Likewise.
4082 2013-07-13  David S. Miller  <davem@davemloft.net>
4084         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4085         underflows from atanl/atan2l due to bug 15319.
4086         (casinh_test_data): Likewise.
4088 2013-07-07  David S. Miller  <davem@davemloft.net>
4090         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4092 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
4094         * sysdeps/i386/fpu/libm-test-ulps: Update.
4095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4097 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4099         * configure.in (--enable-lock-elision): Fix message text.
4100         * INSTALL: Regenerate.
4101         * configure: Regenerate.
4103 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4107 2013-07-03  Andreas Jaeger  <aj@suse.de>
4109         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4110         define.
4111         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4112         (ptrace_peeksiginfo_args): Add.
4113         (__ptrace_peeksiginfo_flags): Add.
4114         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4115         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4116         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4118 2013-07-03  Allan McRae  <allan@archlinux.org>
4120         * sysdeps/i386/fpu/libm-test-ulps: Update.
4122 2013-07-02  David S. Miller  <davem@davemloft.net>
4124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4126 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
4128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4130 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4132         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4135 2013-07-02  Andi Kleen <ak@linux.intel.com>
4137         * config.h.in (ENABLE_LOCK_ELISION): Add.
4138         * configure.in (--enable-lock-elision): Add option.
4139         * manual/install.texi: Document --enable lock elision.
4140         * configure: Regenerate
4141         * INSTALL: Regenerate.
4143 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4145         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4146         SSE4.2 strcasecmp for libc.a.
4147         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4149 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4151         [BZ #13304]
4152         * soft-fp/op-common.h (_FP_FMA): New macro.
4153         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4154         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
4155         (_FP_MUL_MEAT_1_imm): ... here.
4156         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
4157         (_FP_MUL_MEAT_1_wide): ... here.
4158         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
4159         (_FP_MUL_MEAT_1_hard): ... here.
4160         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4161         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
4162         (_FP_MUL_MEAT_2_wide): ... here.
4163         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
4164         (_FP_MUL_MEAT_2_wide_3mul): ... here.
4165         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
4166         (_FP_MUL_MEAT_2_gmp): ... here.
4167         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4168         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
4169         (_FP_MUL_MEAT_4_wide): ... here.
4170         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
4171         (_FP_MUL_MEAT_4_gmp): ... here.
4172         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4173         (_FP_WFRACBITS_DW_S): Likewise.
4174         (_FP_WFRACXBITS_DW_S): Likewise.
4175         (_FP_HIGHBIT_DW_S): Likewise.
4176         (FP_FMA_S): Likewise.
4177         (_FP_FRAC_HIGH_DW_S): Likewise.
4178         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4179         (_FP_WFRACBITS_DW_D): Likewise.
4180         (_FP_WFRACXBITS_DW_D): Likewise.
4181         (_FP_HIGHBIT_DW_D): Likewise.
4182         (FP_FMA_D): Likewise.
4183         (_FP_FRAC_HIGH_DW_D): Likewise.
4184         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4185         (_FP_WFRACBITS_DW_E): Likewise.
4186         (_FP_WFRACXBITS_DW_E): Likewise.
4187         (_FP_HIGHBIT_DW_E): Likewise.
4188         (FP_FMA_E): Likewise.
4189         (_FP_FRAC_HIGH_DW_E): Likewise.
4190         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4191         (_FP_WFRACBITS_DW_Q): Likewise.
4192         (_FP_WFRACXBITS_DW_Q): Likewise.
4193         (_FP_HIGHBIT_DW_Q): Likewise.
4194         (FP_FMA_Q): Likewise.
4195         (_FP_FRAC_HIGH_DW_Q): Likewise.
4196         * soft-fp/fmasf4.c: New file.
4197         * soft-fp/fmadf4.c: Likewise.
4198         * soft-fp/fmatf4.c: Likewise.
4200 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4203         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4204         Silvermont.
4205         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4206         macro.
4207         (index_Slow_SSE4_2): Likewise.
4208         (index_Prefer_PMINUB_for_stringop): Likewise.
4209         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4210         bit_Slow_SSE4_2 is set.
4211         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4212         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4214 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4216         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4217         rtld_global._dl_hwcap2.
4218         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4219         POWER8.
4220         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4221         POWER8 feature descriptions defined in _dl_hwcap2.
4222         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4223         string handling for POWER8 feature bits.
4224         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4225         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4226         _dl_powerpc_cap_flags.
4227         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4228         * sysdeps/powerpc/rtld-global-offsets.sym
4229         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4230         _dl_hwcap2 in the rtld_global_ro structure.
4232 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4234         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4235         hardware capabilities in support of AT_HWCAP2.
4236         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4237         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4238         GLRO(dl_hwcap2).
4239         (_dl_show_auxv): Add support for calling _dl_procinfo to display
4240         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
4241         explicitly the unknown a_type display mechanism is used.
4242         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4243         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4244         struct member.
4245         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4246         to macro prototype for AT_HWCAP2 support.
4247         * sysdeps/i386/dl-procinfo.h: Likewise.
4248         * sysdeps/s390/dl-procinfo.h: Likewise.
4249         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4250         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
4251         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
4252         return -1 for unknown a_type display fallback.
4253         * sysdeps/sparc/dl-procinfo.h: Likewise.
4254         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4255         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4257 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
4259         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4260         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4262 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
4264         [BZ #12492]
4265         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4266         mprotect making __stack_prot writable.
4268 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
4269             Joseph Myers  <joseph@codesourcery.com>
4271         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4272         as being properly aligned.
4274 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
4276         * dlfcn/modstatic5.c: New file.
4277         * dlfcn/tststatic5.c: New file.
4278         * dlfcn/Makefile (tests): Add tststatic5.
4279         (tests-static): Likewise.
4280         (modules-names): Add modstatic5.
4281         (tststatic5-ENV): New variable.
4282         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4284         [BZ #15022]
4285         * elf/dl-support.c (_dl_main_map): New variable.
4286         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4287         (_dl_nns, _dl_load_adds): Set to 1.
4288         (_dl_initial_searchlist): Refer to _dl_main_map.
4289         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4290         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4291         call to _dl_get_origin.
4292         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4293         around call_map.
4294         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4295         * dlfcn/modstatic3.c: New file.
4296         * dlfcn/tststatic3.c: New file.
4297         * dlfcn/tststatic4.c: New file.
4298         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4299         (tests-static): Likewise.
4300         (modules-names): Add modstatic3.
4301         (tststatic3-ENV, tststatic4-ENV): New variables.
4302         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4303         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4305 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
4307         * configure.in (CC): Require GCC version 4.4 or later.
4308         * configure: Regenerated.
4309         * manual/install.texi (Tools for Compilation): Update GCC version
4310         requirement.
4311         * INSTALL: Regenerated.
4313 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4315         [BZ #15674]
4316         * string/test-memcmp.c (check2): New.
4317         (main): Call check2.
4319         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4321 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
4323         [BZ #15022]
4324         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4325         over to...
4326         (dl_open_worker) [!SHARED]: ... here.
4328 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4330         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4332 2013-06-25  Richard Henderson  <rth@redhat.com>
4334         * locale/programs/locarchive.c: Include <libc-internal.h>
4336 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
4338         * manual/texinfo.tex: Update to version 2013-06-21.17, with
4339         trailing whitespace removed.
4341 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4343         [BZ #10283]
4344         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4345         * locale/programs/locarchive.c: Include libc-mmap.h.
4346         (prepare_address_space): Take two new outputs (the mmap base and len).
4347         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
4348         values.
4349         (create_archive): Declare new mmap base and len values for
4350         prepare_address_space, and store the result in ah.
4351         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4352         (enlarge_archive): If ah->mmap_base is not NULL, use that and
4353         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4354         Declare new mmap base and len values for
4355         prepare_address_space, and store the result in new_ah.
4356         (open_archive): Declare new mmap base and len values for
4357         prepare_address_space, and store the result in ah.
4358         (close_archive): If ah->mmap_base is not NULL, use that and
4359         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4360         * sysdeps/generic/libc-mmap.h: New file.
4362 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4364         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4365         (ALIGN_UP): Likewise.
4366         (PTR_ALIGN_DOWN): Likewise.
4367         (PTR_ALIGN_UP): Likewise.
4369 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4371         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4372         entry mapped to PPC_PLATFORM_POWER8.
4373         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4374         POWER8.
4375         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4376         (_dl_string_platform): Add case for exporting platform position for
4377         POWER8.
4378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4379         search path to sysdeps/powerpc/powerpc32/power8 directory.
4380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4381         search path to sysdeps/powerpc/powerpc64/power8 directory.
4382         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4383         power7 directories.
4384         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4385         power7 directories.
4387 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4389         * INSTALL: Regenerate.
4391         * nscd/connections.c (nscd_init): Fix comment.
4393 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
4395         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4397         [BZ #15667]
4398         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4399         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4401 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4403         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4404         DL_DST_REQ_STATIC.
4405         (DL_DST_REQ_STATIC): Remove macro.
4407 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4409         [BZ #7006]
4410         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4411         with a shift of 0 bits.
4413 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4415         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4416         $(tststatic-ENV).
4418 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4420         [BZ #15655]
4421         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4423 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4425         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4426         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4427         accepts -fno-tree-loop-distribute-patterns.
4428         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4429         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4430         recursive call.
4431         * string/memset.c (memset): Likewise.
4432         * string/test-memmove.c (simple_memmove): Disable loop transformation
4433         to library calls.
4434         * string/test-memset.c (simple_memset): Likewise.
4435         * benchtests/bench-memmove.c (simple_memmove): Likewise.
4436         * benchtests/bench-memset.c (simple_memset): Likewise.
4437         * configure: Regenerated.
4439 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
4441         * math/test-misc.c (main): Ignore fesetround failure when failures
4442         of subsequent rounding tests would be ignored.
4444         [BZ #15654]
4445         * math/fedisblxcpt.c (fedisableexcept): Return 0.
4446         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4447         * math/fegetenv.c (__fegetenv): Return 0.
4448         * math/fegetexcept.c (fegetexcept): Return 0.
4449         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4450         FE_TONEAREST.
4451         * math/feholdexcpt.c (feholdexcept): Return 0.
4452         * math/fesetenv.c (__fesetenv): Return 0.
4453         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4454         argument FE_TONEAREST.
4455         * math/feupdateenv.c (__feupdateenv): Return 0.
4456         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4458 2013-06-18  Roland McGrath  <roland@hack.frob.com>
4460         * elf/rtld-Rules (rtld-compile-command.S): New variable.
4461         (rtld-compile-command.s, rtld-compile-command.c): New variables.
4462         ($(objpfx)rtld-%.os rules): Use them.
4464 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4466         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4467         fields.
4469 2013-06-17  Roland McGrath  <roland@hack.frob.com>
4471         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4472         length of target pattern, then descending length of dependency pattern.
4473         * configure.in (AWK): Require gawk 3.1.2 or newer.
4474         * manual/install.texi (Tools for Compilation): Say that we do.
4475         * configure: Regenerated.
4477         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4478         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4479         * scripts/sysd-rules.awk: ... this new script.
4480         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4481         than a glob-style pattern.
4483 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
4485         * math/test-misc.c (main): Do not treat incorrectly rounded
4486         conversions as failure unless ROUNDING_TESTS passes.
4488 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
4490         [BZ #15631]
4491         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4492         restore exception state around main square root computation, then
4493         check for inexactness explicitly.
4495         * math/libm-test.inc (fma_test_data): Add another test.
4497 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4499         * manual/threads.texi (Non-POSIX Extensions): New document
4500         node.  Document pthread_getattr_default_np and
4501         pthread_setattr_default_np.
4503         * Versions.def (libpthread): Add GLIBC_2.18.
4504         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4506         Likewise.
4507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4508         Likewise.
4509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4510         Likewise.
4511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4512         Likewise.
4513         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4514         Likewise.
4515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4516         Likewise.
4517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4518         Likewise.
4519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4520         Likewise.
4521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4522         Likewise.
4524 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4527         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4529 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4530             H.J. Lu  <hjl.tools@gmail.com>
4532         [BZ #15627]
4533         * sysdeps/x86_64/rtld-memset.c: Remove file.
4534         * sysdeps/x86_64/rtld-memset.S: New file.
4536 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
4538         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4539         (test_in_one_mode): Take arguments for whether the rounding mode
4540         is supported for each floating-point type.
4541         (do_test): Pass new arguments to test_in_one_mode using
4542         ROUNDING_TESTS.
4544 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4546         * posix/tst-waitid.c (do_test): Distinguish different instances of
4547         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
4548         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4549         before entering the kernel for waitpid.
4551 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4553         * NEWS: Fix note on clock function precision.  Text by Roland
4554         McGrath.
4556 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4558         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4559         it into place only when and if the sanity check passes.
4561 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
4563         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4564         output for whether conversion result is exact.  Take argument
4565         indicating whether type is IBM long double.
4566         (round_for_all): Change need_exact field to ibm_ld.
4567         * stdlib/tst-strtod-round.c (struct exactness): New type.
4568         (struct test): Change bool ld_ok field to struct exactness exact.
4569         (TEST): Update all definitions for change to field.
4570         (tests): Regenerate array contents.
4571         (test_in_one_mode): Take pointer to new field instead of old ld_ok
4572         field value.  Check for IBM long double here.
4573         (do_test): Update calls to test_in_one_mode.
4575 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4577         [BZ #12515]
4578         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4579         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4581 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4583         [BZ #15605]
4584         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4585         generated by the compiler on loop optimizations.
4586         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4587         general definitions.
4589 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
4591         * math/bug-nextafter.c: Include <math-tests.h>.
4592         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4593         the relevant type.
4594         * math/bug-nexttoward.c: Include <math-tests.h>.
4595         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4596         the relevant type.
4597         * math/test-misc.c: Include <math-tests.h>.
4598         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4599         the relevant type.
4601 2013-06-12  Andreas Jaeger  <aj@suse.de>
4603         * po/ia.po: Update Interlingua translation from translation
4604         project.
4606 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4608         * include/fenv.h: Include stdbool.h.
4609         (struct rm_ctx): New structure.
4610         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4611         Define macro.
4612         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4613         (SET_RESTORE_ROUNDF): Likewise.
4614         (SET_RESTORE_ROUNDL): Likewise.
4615         (SET_RESTORE_ROUND_NOEX): Likewise.
4616         (SET_RESTORE_ROUND_NOEXF): Likewise.
4617         (SET_RESTORE_ROUND_NOEXL): Likewise.
4618         (SET_RESTORE_ROUND_53BIT): Likewise.
4619         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4620         (libc_feresetround_noexf_ctx): Likewise.
4621         (libc_feresetround_noexl_ctx): Likewise.
4622         (libc_feholdsetround_53bit_ctx): Likewise.
4623         (libc_feresetround_53bit_ctx): Likewise.
4624         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4625         (libc_feholdexcept_setround_sse_ctx): New function.
4626         (libc_fesetenv_sse_ctx): Likewise.
4627         (libc_feupdateenv_sse_ctx): Likewise.
4628         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4629         (libc_feholdexcept_setround_387_ctx): Likewise.
4630         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4631         (libc_feholdsetround_387_prec_ctx): Likewise.
4632         (libc_feholdsetround_387_ctx): Likewise.
4633         (libc_feholdsetround_387_53bit_ctx): Likewise.
4634         (libc_feholdsetround_sse_ctx): Likewise.
4635         (libc_feresetround_sse_ctx): Likewise.
4636         (libc_feresetround_387_ctx): Likewise.
4637         (libc_feupdateenv_387_ctx): Likewise.
4638         (libc_feholdexcept_setroundf_ctx): Define macro.
4639         (libc_fesetenvf_ctx): Likewise.
4640         (libc_feupdateenvf_ctx): Likewise.
4641         (libc_feholdsetroundf_ctx): Likewise.
4642         (libc_feresetroundf_ctx): Likewise.
4643         (libc_feholdexcept_setround_ctx): Likewise.
4644         (libc_fesetenv_ctx): Likewise.
4645         (libc_feupdateenv_ctx): Likewise.
4646         (libc_feholdsetround_ctx): Likewise.
4647         (libc_feresetround_ctx): Likewise.
4648         (libc_feholdexcept_setroundl_ctx): Likewise.
4649         (libc_feupdateenvl_ctx): Likewise.
4650         (libc_feholdsetroundl_ctx): Likewise.
4651         (libc_feresetroundl_ctx): Likewise.
4652         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4653         (libc_feresetround_53bit_ctx): Likewise.
4655 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4657         * locale/iso-639.def: Convert to UTF-8.
4659 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
4661         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4662         (EXCEPTION_TESTS_double): Likewise.
4663         (EXCEPTION_TESTS_long_double): Likewise.
4664         (EXCEPTION_TESTS): Likewise.
4665         * math/libm-test.inc (test_exceptions): Only test exceptions if
4666         EXCEPTION_TESTS (FLOAT).
4668 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4670         * benchtests/Makefile (string-bench): Add strcpy_chk and
4671         stpcpy_chk.
4672         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4673         * benchtests/bench-stpcpy_chk.c: New file.
4674         * benchtests/bench-strcpy_chk-ifunc.c: New file.
4675         * benchtests/bench-strcpy_chk.c: New file.
4676         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4677         code.
4678         (do_test): Likewise.
4680 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4682         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4683         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4684         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4685         with tabs where appropriate.
4686         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4687         dl-procinfo.h.
4688         [PPC_PLATFORM_PPC440]: Likewise.
4689         [PPC_PLATFORM_PPC464]: Likewise.
4690         [PPC_PLATFORM_PPC476]: Likewise.
4691         (_dl_string_platform): Add support for detecting ppc405, ppc440,
4692         ppc464, and ppc476 platform strings merging from ports/
4693         dl-procinfo.h.
4695 2013-06-11  Andreas Schwab  <schwab@suse.de>
4697         [BZ #14991]
4698         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4699         (from_ucs4_idx): Regenerate.
4700         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4701         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4702         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4703         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4704         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4705         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4706         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4707         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4708         from FROM_LOOP and TO_LOOP specific macros.
4709         (BODY): Handle combining characters.
4710         * iconvdata/BIG5HKSCS.irreversible: Update.
4711         * iconvdata/BIG5HKSCS.precomposed: New file.
4712         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4713         characters.
4714         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4718         * include/sys/time.h: Fix indentation and add copyright header.
4720         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4721         (do_test): Likewise.
4722         * string/test-memchr.c (do_one_test): Likewise.
4723         (do_test): Likewise.
4724         * string/test-memcmp.c (do_one_test): Likewise.
4725         (do_test): Likewise.
4726         * string/test-memcpy.c (do_one_test): Likewise.
4727         (do_test): Likewise.
4728         * string/test-memmem.c (do_one_test): Likewise.
4729         (do_test): Likewise.
4730         (do_random_tests): Likewise.
4731         * string/test-memmove.c (do_one_test): Likewise.
4732         (do_test): Likewise.
4733         * string/test-memset.c (do_one_test): Likewise.
4734         (do_test): Likewise.
4735         * string/test-rawmemchr.c (do_one_test): Likewise.
4736         (do_test): Likewise.
4737         * string/test-strcasecmp.c (do_one_test): Likewise.
4738         (do_test): Likewise.
4739         * string/test-strcasestr.c (do_one_test): Likewise.
4740         (do_test): Likewise.
4741         * string/test-strcat.c (do_one_test): Likewise.
4742         (do_test): Likewise.
4743         * string/test-strchr.c (do_one_test): Likewise.
4744         (do_test): Likewise.
4745         * string/test-strcmp.c (do_one_test): Likewise.
4746         (do_test): Likewise.
4747         * string/test-strcpy.c (do_one_test): Likewise.
4748         (do_test): Likewise.
4749         * string/test-string.h: Likewise.
4750         (test_init): Likewise.
4751         * string/test-strlen.c (do_one_test): Likewise.
4752         (do_test): Likewise.
4753         * string/test-strncasecmp.c (do_one_test): Likewise.
4754         (do_test): Likewise.
4755         * string/test-strncat.c (do_one_test): Likewise.
4756         (do_test): Likewise.
4757         * string/test-strncmp.c (do_one_test): Likewise.
4758         (do_test_limit): Likewise.
4759         (do_test): Likewise.
4760         * string/test-strncpy.c (do_one_test): Likewise.
4761         (do_test): Likewise.
4762         * string/test-strnlen.c (do_one_test): Likewise.
4763         (do_test): Likewise.
4764         * string/test-strpbrk.c (do_one_test): Likewise.
4765         (do_test): Likewise.
4766         * string/test-strrchr.c (do_one_test): Likewise.
4767         (do_test): Likewise.
4768         * string/test-strspn.c (do_one_test): Likewise.
4769         (do_test): Likewise.
4770         * string/test-strstr.c (do_one_test): Likewise.
4771         (do_test): Likewise.
4773         * benchtests/Makefile (string-bench): Add string benchmarks.
4774         * benchtests/bench-bcopy-ifunc.c: New file.
4775         * benchtests/bench-bcopy.c: New file.
4776         * benchtests/bench-bzero-ifunc.c: New file.
4777         * benchtests/bench-bzero.c: New file.
4778         * benchtests/bench-memccpy-ifunc.c: New file.
4779         * benchtests/bench-memccpy.c: New file.
4780         * benchtests/bench-memchr-ifunc.c: New file.
4781         * benchtests/bench-memchr.c: New file.
4782         * benchtests/bench-memcmp-ifunc.c: New file.
4783         * benchtests/bench-memcmp.c: New file.
4784         * benchtests/bench-memmem-ifunc.c: New file.
4785         * benchtests/bench-memmem.c: New file.
4786         * benchtests/bench-memmove-ifunc.c: New file.
4787         * benchtests/bench-memmove.c: New file.
4788         * benchtests/bench-mempcpy-ifunc.c: New file.
4789         * benchtests/bench-mempcpy.c: New file.
4790         * benchtests/bench-memset-ifunc.c: New file.
4791         * benchtests/bench-memset.c: New file.
4792         * benchtests/bench-rawmemchr-ifunc.c: New file.
4793         * benchtests/bench-rawmemchr.c: New file.
4794         * benchtests/bench-stpcpy-ifunc.c: New file.
4795         * benchtests/bench-stpcpy.c: New file.
4796         * benchtests/bench-stpncpy-ifunc.c: New file.
4797         * benchtests/bench-stpncpy.c: New file.
4798         * benchtests/bench-strcasecmp-ifunc.c: New file.
4799         * benchtests/bench-strcasecmp.c: New file.
4800         * benchtests/bench-strcasestr-ifunc.c: New file.
4801         * benchtests/bench-strcasestr.c: New file.
4802         * benchtests/bench-strcat-ifunc.c: New file.
4803         * benchtests/bench-strcat.c: New file.
4804         * benchtests/bench-strchr-ifunc.c: New file.
4805         * benchtests/bench-strchr.c: New file.
4806         * benchtests/bench-strchrnul-ifunc.c: New file.
4807         * benchtests/bench-strchrnul.c: New file.
4808         * benchtests/bench-strcmp-ifunc.c: New file.
4809         * benchtests/bench-strcmp.c: New file.
4810         * benchtests/bench-strcpy-ifunc.c: New file.
4811         * benchtests/bench-strcpy.c: New file.
4812         * benchtests/bench-strcspn-ifunc.c: New file.
4813         * benchtests/bench-strcspn.c: New file.
4814         * benchtests/bench-strlen-ifunc.c: New file.
4815         * benchtests/bench-strlen.c: New file.
4816         * benchtests/bench-strncasecmp-ifunc.c: New file.
4817         * benchtests/bench-strncasecmp.c: New file.
4818         * benchtests/bench-strncat-ifunc.c: New file.
4819         * benchtests/bench-strncat.c: New file.
4820         * benchtests/bench-strncmp-ifunc.c: New file.
4821         * benchtests/bench-strncmp.c: New file.
4822         * benchtests/bench-strncpy-ifunc.c: New file.
4823         * benchtests/bench-strncpy.c: New file.
4824         * benchtests/bench-strnlen-ifunc.c: New file.
4825         * benchtests/bench-strnlen.c: New file.
4826         * benchtests/bench-strpbrk-ifunc.c: New file.
4827         * benchtests/bench-strpbrk.c: New file.
4828         * benchtests/bench-strrchr-ifunc.c: New file.
4829         * benchtests/bench-strrchr.c: New file.
4830         * benchtests/bench-strspn-ifunc.c: New file.
4831         * benchtests/bench-strspn.c: New file.
4832         * benchtests/bench-strstr-ifunc.c: New file.
4833         * benchtests/bench-strstr.c: New file.
4835         * benchtests/Makefile: Disable parallel execution of targets.
4836         (string-bench): Add memcpy.
4837         (benchset): New variable to store a list of benchmark sets.
4838         (bench-func): Renamed from bench.
4839         (bench-set): New target.
4840         (bench): Depend on bench-func and bench-set.
4841         * benchtests/README: Add section on benchmark sets.
4842         * benchtests/bench-memcpy-ifunc.c: New file.
4843         * benchtests/bench-memcpy.c: New file.
4844         * benchtests/bench-string.h: New file.
4846 2013-06-11  Andreas Schwab  <schwab@suse.de>
4848         [BZ #15577]
4849         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4850         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4851         values in the triple.
4852         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4853         terminator in the group key.
4855 2013-06-11  Andreas Jaeger  <aj@suse.de>
4857         * po/zh_TW.po: Update Chinese (traditional) translation from
4858         translation project.
4860 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4862         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4863         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4864         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4865         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4866         (clock_getcpuclockid): Likewise.
4867         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4868         Add weak_alias and libc_hidden_def.
4869         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4870         * rt/clock_gettime.c (clock_gettime): Rename to
4871         __clock_gettime.  Add weak_alias and libc_hidden_def.
4872         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4873         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4874         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4875         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4876         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4877         Likewise.
4878         * rt/clock_settime.c (clock_settime): Rename to
4879         __clock_settime.  Add weak_alias and libc_hidden_def.
4880         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4882 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4884         * mach/err_boot.sub: Remove trailing whitespace.
4885         * mach/err_ipc.sub: Likewise.
4886         * mach/err_mach.sub: Likewise.
4888         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4889         (ROUNDING_TESTS_double): Likewise.
4890         (ROUNDING_TESTS_long_double): Likewise.
4891         (ROUNDING_TESTS): Likewise.
4892         * math/libm-test.inc: Include <math-tests.h>.
4893         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4894         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4895         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4896         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4898 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4900         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4901         of assigning.
4903 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4905         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4906         otherwise empty TRANS lines.
4907         * sysdeps/gnu/errlist.c: Regenerated.
4909         * catgets/gencat.c (error_print): Use (void) in function
4910         definition.
4911         * crypt/crypt_util.c (__init_des): Likewise.
4912         * crypt/speeds.c (Stop): Likewise.
4913         (main): Likewise.
4914         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4915         * inet/ruserpass.c (token): Likewise.
4916         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4917         * intl/localealias.c (extend_alias_table): Likewise.
4918         * intl/plural-exp.c (init_germanic_plural): Likewise.
4919         * libio/fcloseall.c (__fcloseall): Likewise.
4920         * libio/genops.c (_IO_flush_all): Likewise.
4921         (_IO_flush_all_linebuffered): Likewise.
4922         (_IO_cleanup): Likewise.
4923         (_IO_iter_begin): Likewise.
4924         (_IO_iter_end): Likewise.
4925         (_IO_list_lock): Likewise.
4926         (_IO_list_unlock): Likewise.
4927         (_IO_list_resetlock): Likewise.
4928         * libio/getchar.c (getchar): Likewise.
4929         * libio/getchar_u.c (getchar_unlocked): Likewise.
4930         * libio/getwchar.c (getwchar): Likewise.
4931         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4932         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4933         * login/getpt.c (__getpt): Likewise.
4934         * login/tst-utmp.c (main): Likewise.
4935         * malloc/hooks.c (__malloc_check_init): Likewise.
4936         * malloc/malloc.c (__malloc_stats): Likewise.
4937         * malloc/mtrace.c (tr_break): Likewise.
4938         (mtrace): Likewise.
4939         (muntrace): Likewise.
4940         * misc/fstab.c (endfsent): Likewise.
4941         * misc/getclktck.c (__getclktck): Likewise.
4942         * misc/getdtsz.c (__getdtablesize): Likewise.
4943         * misc/gethostid.c (gethostid): Likewise.
4944         * misc/getpagesize.c (__getpagesize): Likewise.
4945         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4946         (__get_nprocs): Likewise.
4947         (__get_phys_pages): Likewise.
4948         (__get_avphys_pages): Likewise.
4949         * misc/getttyent.c (getttyent): Likewise.
4950         (setttyent): Likewise.
4951         (endttyent): Likewise.
4952         * misc/getusershell.c (getusershell): Likewise.
4953         (endusershell): Likewise.
4954         (setusershell): Likewise.
4955         (initshells): Likewise.
4956         * misc/hsearch.c (__hdestroy): Likewise.
4957         * misc/sync.c (sync): Likewise.
4958         * misc/syslog.c (closelog_internal): Likewise.
4959         (closelog): Likewise.
4960         * misc/ttyslot.c (ttyslot): Likewise.
4961         * misc/vhangup.c (vhangup): Likewise.
4962         * posix/fork.c (__fork): Likewise.
4963         * posix/getegid.c (__getegid): Likewise.
4964         * posix/geteuid.c (__geteuid): Likewise.
4965         * posix/getgid.c (__getgid): Likewise.
4966         * posix/getpid.c (__getpid): Likewise.
4967         * posix/getppid.c (__getppid): Likewise.
4968         * posix/getuid.c (__getuid): Likewise.
4969         * posix/pause.c (pause): Likewise.
4970         * posix/setpgrp.c (setpgrp): Likewise.
4971         * posix/setsid.c (__setsid): Likewise.
4972         * posix/test-vfork.c (noop): Likewise.
4973         * resolv/gethnamaddr.c (_endhtent): Likewise.
4974         (_gethtent): Likewise.
4975         (ht_endhostent): Likewise.
4976         (gethostent): Likewise.
4977         (dns_service): Likewise.
4978         * stdlib/drand48.c (drand48): Likewise.
4979         * stdlib/lrand48.c (lrand48): Likewise.
4980         * stdlib/mrand48.c (mrand48): Likewise.
4981         * stdlib/rand.c (rand): Likewise.
4982         * stdlib/random.c (__random): Likewise.
4983         * stdlib/setenv.c (clearenv): Likewise.
4984         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4985         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4986         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4987         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4988         (__get_nprocs): Likewise.
4989         (__get_phys_pages): Likewise.
4990         (__get_avphys_pages): Likewise.
4991         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4992         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4993         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4994         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4995         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4996         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4997         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4998         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4999         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5000         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5001         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5002         * sysdeps/mach/hurd/sync.c (sync): Likewise.
5003         * sysdeps/posix/clock.c (clock): Likewise.
5004         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5005         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5006         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5007         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5008         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5010         (__get_nprocs_conf): Likewise.
5011         (__get_phys_pages): Likewise.
5012         (__get_avphys_pages): Likewise.
5013         * time/clock.c (clock): Likewise.
5014         * time/tzset.c (__tzname_max): Likewise.
5016 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
5018         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5019         (__bswap_32): Do not use "register".
5020         * crypt/crypt.c (_ufc_doit_r): Likewise.
5021         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5022         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5023         * gmon/gmon.c (__monstartup): Likewise.
5024         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5025         * hurd/hurdmalloc.c (more_memory): Likewise.
5026         (malloc): Likewise.
5027         (free): Likewise.
5028         (realloc): Likewise.
5029         (malloc_fork_prepare): Likewise.
5030         (malloc_fork_parent): Likewise.
5031         (malloc_fork_child): Likewise.
5032         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5033         (_svcauth_des): Likewise.
5034         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5035         * inet/inet_net.c (inet_network): Likewise.
5036         * inet/inet_netof.c (inet_netof): Likewise.
5037         * inet/rcmd.c (__validuser2_sa): Likewise.
5038         * io/fts.c (fts_open): Likewise.
5039         (fts_load): Likewise.
5040         (fts_close): Likewise.
5041         (fts_read): Likewise.
5042         (fts_children): Likewise.
5043         (fts_build): Likewise.
5044         (fts_stat): Likewise.
5045         (fts_sort): Likewise.
5046         (fts_alloc): Likewise.
5047         (fts_lfree): Likewise.
5048         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5049         (_IO_file_xsgetn): Likewise.
5050         (_IO_file_xsgetn_mmap): Likewise.
5051         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5052         (_IO_cookie_write): Likewise.
5053         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5054         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5055         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5056         * malloc/obstack.c (_obstack_begin): Likewise.
5057         (_obstack_begin_1): Likewise.
5058         (_obstack_newchunk): Likewise.
5059         (_obstack_allocated_p): Likewise.
5060         (obstack_free): Likewise.
5061         (_obstack_memory_used): Likewise.
5062         * misc/getttyent.c (getttynam): Likewise.
5063         (getttyent): Likewise.
5064         (skip): Likewise.
5065         (value): Likewise.
5066         * misc/getusershell.c (initshells): Likewise.
5067         * misc/syslog.c (__vsyslog_chk): Likewise.
5068         * misc/ttyslot.c (ttyslot): Likewise.
5069         * nis/nis_hash.c (__nis_hash): Likewise.
5070         * posix/fnmatch_loop.c (FCT): Likewise.
5071         * posix/getconf.c (print_all): Likewise.
5072         (main): Likewise.
5073         * posix/getopt.c (exchange): Likewise.
5074         * posix/glob.c (globfree): Likewise.
5075         (prefix_array): Likewise.
5076         (__glob_pattern_type): Likewise.
5077         * resolv/arpa/nameser.h (NS_GET16): Likewise.
5078         (NS_GET32): Likewise.
5079         (NS_PUT16): Likewise.
5080         (NS_PUT32): Likewise.
5081         * resolv/gethnamaddr.c (getanswer): Likewise.
5082         (gethostbyname2): Likewise.
5083         (gethostbyaddr): Likewise.
5084         (_gethtent): Likewise.
5085         (_gethtbyname2): Likewise.
5086         (_gethtbyaddr): Likewise.
5087         * resolv/ns_print.c (dst_s_get_int16): Likewise.
5088         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5089         * resolv/res_init.c (__res_vinit): Likewise.
5090         (net_mask): Likewise.
5091         * resolv/res_mkquery.c (outchar): Likewise.
5092         (PRINT): Likewise.
5093         * stdio-common/printf_fp.c (outchar): Likewise.
5094         (PRINT): Likewise.
5095         * stdio-common/printf_fphex.c (outchar): Likewise.
5096         (PRINT): Likewise.
5097         * stdio-common/printf_size.c (outchar): Likewise.
5098         (PRINT): Likewise.
5099         * stdio-common/test_rdwr.c (main): Likewise.
5100         * stdio-common/tfformat.c (matches): Likewise.
5101         * stdio-common/vfprintf.c (outchar): Likewise.
5102         (printf_unknown): Likewise.
5103         (buffered_vfprintf): Likewise.
5104         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5105         * stdio-common/xbug.c (AppendToBuffer): Likewise.
5106         (ReadFile): Likewise.
5107         * stdlib/qsort.c (SWAP): Likewise.
5108         (_quicksort): Likewise.
5109         * stdlib/setenv.c (__add_to_environ): Likewise.
5110         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5111         * stdlib/strtol_l.c (__strtol_l): Likewise.
5112         * stdlib/tst-strtod.c (main): Likewise.
5113         * stdlib/tst-strtol.c (main): Likewise.
5114         * stdlib/tst-strtoll.c (main): Likewise.
5115         * string/bits/string2.h (__strcmp_cc): Likewise.
5116         (__strcmp_cg): Likewise.
5117         (__strcspn_c1): Likewise.
5118         (__strcspn_c2): Likewise.
5119         (__strcspn_c3): Likewise.
5120         (__strspn_c1): Likewise.
5121         (__strspn_c2): Likewise.
5122         (__strspn_c3): Likewise.
5123         (__strsep_1c): Likewise.
5124         (__strsep_2c): Likewise.
5125         (__strsep_3c): Likewise.
5126         * string/memccpy.c (__memccpy): Likewise.
5127         * string/stpcpy.c (__stpcpy): Likewise.
5128         * string/strcmp.c (strcmp): Likewise.
5129         * string/strrchr.c (strrchr): Likewise.
5130         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5131         Likewise.
5132         * sysdeps/mach/hurd/getcwd.c
5133         (_hurd_canonicalize_directory_name_internal): Likewise.
5134         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5135         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5136         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5137         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5138         Likewise, in both definitions.
5139         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5140         definitions.
5141         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5142         64] (__bswap_64): Likewise.
5143         * time/test_time.c (main): Likewise.
5144         * time/tzfile.c (__tzfile_read): Likewise.
5145         (__tzfile_compute): Likewise.
5146         * time/tzset.c (__tzset_parse_tz): Likewise.
5147         (tzset_internal): Likewise.
5148         (compute_change): Likewise.
5149         * wcsmbs/wcscat.c (__wcscat): Likewise.
5150         * wcsmbs/wcschr.c (wcschr): Likewise.
5151         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5152         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5153         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5154         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5155         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5156         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5157         * wcsmbs/wmemchr.c (wmemchr): Likewise.
5158         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5159         * wcsmbs/wmemset.c (wmemset): Likewise.
5161 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
5163         * scripts/config.guess: Update to version 2013-05-16.
5164         * scripts/config.sub: Update to version 2013-04-24.
5165         * scripts/install-sh: Update to version 2011-11-20.07.
5166         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5167         * scripts/move-if-change: Update to version 2012-01-06 07:23.
5169 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
5171         * debug/fgetws_u_chk.c: Fix leading whitespaces.
5172         * elf/sln.c: Likewise.
5173         * hurd/hurd/ioctl.h: Likewise.
5174         * hurd/hurdmalloc.c: Likewise.
5175         * hurd/xattr.c: Likewise.
5176         * include/shlib-compat.h: Likewise.
5177         * inet/ruserpass.c: Likewise.
5178         * libio/iofgets_u.c: Likewise.
5179         * libio/iofgetws_u.c: Likewise.
5180         * locale/programs/ld-identification.c: Likewise.
5181         * locale/programs/ld-time.c: Likewise.
5182         * mach/msg-destroy.c: Likewise.
5183         * nss/nss_files/files-netgrp.c: Likewise.
5184         * resolv/res_data.c: Likewise.
5185         * soft-fp/op-1.h: Likewise.
5186         * soft-fp/op-2.h: Likewise.
5187         * soft-fp/op-4.h: Likewise.
5188         * soft-fp/op-common.h: Likewise.
5189         * stdio-common/printf_fphex.c: Likewise.
5190         * stdlib/strtod_l.c: Likewise.
5191         * sunrpc/rpc/clnt.h: Likewise.
5192         * sysdeps/generic/framestate.c: Likewise.
5193         * sysdeps/i386/bsd-_setjmp.S: Likewise.
5194         * sysdeps/i386/bsd-setjmp.S: Likewise.
5195         * sysdeps/i386/__longjmp.S: Likewise.
5196         * sysdeps/i386/setjmp.S: Likewise.
5197         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5198         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5199         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5200         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5201         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5202         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5203         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5204         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5205         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5206         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5207         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5208         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5209         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5210         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5211         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5212         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5213         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5214         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5215         * sysdeps/ieee754/support.c: Likewise.
5216         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5217         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5218         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5219         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5220         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5221         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5222         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5223         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5224         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5225         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5226         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5227         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5228         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5229         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5230         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5231         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5232         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5235 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
5237         * posix/transbug.c: Remove executable mode.
5239 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
5241         * crypt/speeds.c: Remove trailing whitespace.
5242         * dlfcn/default.c: Likewise.
5243         * elf/ifuncdep2.c: Likewise.
5244         * elf/ifuncmain1.c: Likewise.
5245         * elf/ifuncmain1vis.c: Likewise.
5246         * elf/testobj.h: Likewise.
5247         * elf/tst-stackguard1.c: Likewise.
5248         * gmon/sys/gmon.h: Likewise.
5249         * hurd/hurdmsg.c: Likewise.
5250         * hurd/new-fd.c: Likewise.
5251         * hurd/ports-get.c: Likewise.
5252         * iconvdata/ibm1008_420.c: Likewise.
5253         * inet/tst-getni1.c: Likewise.
5254         * inet/tst-getni2.c: Likewise.
5255         * libio/ioungetc.c: Likewise.
5256         * libio/wfiledoalloc.c: Likewise.
5257         * manual/libm-err-tab.pl: Likewise.
5258         * math/w_dremf.c: Likewise.
5259         * misc/ftruncate.c: Likewise.
5260         * posix/bug-glob2.c: Likewise.
5261         * posix/tst-pcre.c: Likewise.
5262         * posix/wait4.c: Likewise.
5263         * resolv/README: Likewise.
5264         * resolv/res_debug.h: Likewise.
5265         * resolv/tst-inet_ntop.c: Likewise.
5266         * setjmp/bug269-setjmp.c: Likewise.
5267         * soft-fp/extended.h: Likewise.
5268         * soft-fp/op-1.h: Likewise.
5269         * soft-fp/op-2.h: Likewise.
5270         * soft-fp/op-4.h: Likewise.
5271         * soft-fp/op-8.h: Likewise.
5272         * soft-fp/testit.c: Likewise.
5273         * stdio-common/bug16.c: Likewise.
5274         * stdlib/random.c: Likewise.
5275         * sunrpc/rpcsvc/rquota.x: Likewise.
5276         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5277         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5278         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5279         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5280         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5281         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5282         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5283         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5284         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5285         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5286         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5287         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5288         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5289         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5290         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5291         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5292         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5293         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5294         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5295         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5296         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5297         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5298         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5299         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5300         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5301         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5302         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5303         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5304         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5305         * sysdeps/ieee754/s_lib_version.c: Likewise.
5306         * sysdeps/mach/hurd/check_fds.c: Likewise.
5307         * sysdeps/mach/hurd/getsockname.c: Likewise.
5308         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5309         * sysdeps/mach/hurd/recvfrom.c: Likewise.
5310         * sysdeps/powerpc/bits/link.h: Likewise.
5311         * sysdeps/powerpc/dl-procinfo.c: Likewise.
5312         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5313         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5314         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5315         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5316         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5317         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5318         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5319         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5320         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5321         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5322         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5323         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5324         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5325         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5326         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5328         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5329         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5330         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5331         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5332         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5333         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5334         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5335         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5336         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5337         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5338         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5339         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5340         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5341         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5342         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5343         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5344         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5345         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5346         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5347         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5348         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5349         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5350         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5351         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5352         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5353         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5354         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5355         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5356         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5357         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5358         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5359         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5360         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5362         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5363         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5364         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5365         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5366         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5367         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5368         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5369         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5370         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5371         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5372         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5373         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5374         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5375         * sysdeps/powerpc/sysdep.h: Likewise.
5376         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5377         * sysdeps/s390/s390-64/sub_n.S: Likewise.
5378         * sysdeps/sh/dl-trampoline.S: Likewise.
5379         * sysdeps/sh/memset.S: Likewise.
5380         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5381         * sysdeps/sh/strlen.S: Likewise.
5382         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5383         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5384         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5385         * sysdeps/sparc/sparc32/rem.S: Likewise.
5386         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5387         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5388         * sysdeps/sparc/sparc32/strchr.S: Likewise.
5389         * sysdeps/sparc/sparc32/udiv.S: Likewise.
5390         * sysdeps/sparc/sparc32/urem.S: Likewise.
5391         * sysdeps/sparc/sparc64/add_n.S: Likewise.
5392         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5393         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5394         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5395         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5396         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5397         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5398         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5399         * sysdeps/unix/bsd/times.c: Likewise.
5400         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5401         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5405         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5406         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5407         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5408         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5409         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5410         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5411         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5412         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5413         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5414         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5415         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5416         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5417         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5418         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5419         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5420         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5421         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5422         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5423         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5424         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5425         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5426         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5427         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5428         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5429         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5430         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5431         * sysdeps/x86_64/strcspn.S: Likewise.
5433 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5435         * locale/C-translit.h: Revert #include <stdint.h> because this is a
5436         generated file.  Regenerate properly from gen-translit.pl.
5437         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
5438         locale/C-translit.h.
5440 2013-06-05  Andreas Schwab  <schwab@suse.de>
5442         [BZ #15100]
5443         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5444         week as 6 instead of -1.
5445         * time/tst-strptime.c (day_tests): Add test case.
5447 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5449         * sysdeps/generic/math_private.h
5450         (libc_feholdexcept_setround_53bit): Replace with
5451         libc_feholdsetround_53bit.
5452         (libc_feupdateenv_53bit): Replace with
5453         libc_feresetround_53bit.
5454         (SET_RESTORE_ROUND_53BIT): Adjust.
5456 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5458         * string/test-strchrnul.c: Add copyright header.
5460         * posix/tst-getaddrinfo4.c: Increase test timeout.
5462 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
5464         [BZ #15536]
5465         * math/libm-test.inc (MAX_EXP): Remove
5466         (MIN_EXP): Define.
5467         (ulp): Use MIN_EXP - MANT_DIG.
5468         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5470 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
5472         * po/be.po: Revert last change.
5473         * po/zh_CN.po: Likewise.
5474         * po/header.pot: Likewise.
5476 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
5478         * Makefile ($(common-objpfx)linkobj/libc.so): Define
5479         link-libc-deps to empty as target-specific variable.
5480         * Makerules (link-libc-args): New variable.
5481         (libc-for-link): Likewise.
5482         (link-libc-deps): Likewise.
5483         (lib%.so): Depend on $(link-libc-deps).  Link with
5484         $(link-libc-args).
5485         (build-module): Link with $(link-libc-args).
5486         (build-module-asneeded): Likewise.
5487         (build-module-helper-objlist): Filter out $(link-libc-deps) from
5488         list of objects.
5489         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5490         target-specific variable.
5491         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5492         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5493         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5494         libc.
5495         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5496         libc and ld.so.
5497         ($(objpfx)libpcprofile.so): Likewise.
5498         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5499         libc_nonshared.a.
5500         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5501         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5502         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5503         $(link-libc-deps).
5504         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5505         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5506         * login/Makefile ($(objpfx)libutil.so): Likewise.
5507         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5508         * math/Makefile ($(objpfx)libm.so): Likewise.
5509         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5510         $(objpfx)libnsl.so): Define libc-for-link as target-specific
5511         variable instead of depending directly on libc.
5512         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5513         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5514         $(link-libc-deps).
5515         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5516         libc.
5517         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5518         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5519         ($(objpfx)libanl.so): Likewise.
5520         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5521         ld.so.
5522         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5523         $(link-libc-deps).
5524         * sysdeps/i386/fpu/Makefile: Remove file.
5525         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5526         ($(objpfx)libm.so): Remove dependency on ld.so.
5528 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
5530         [BZ # 15553]
5531         * nis/yp_xdr.c (XDRMAXNAME): Define.
5532         (XDRMAXRECORD): Define.
5533         (xdr_domainname): Use XDRMAXNAME.
5534         (xdr_mapname): Likewise.
5535         (xdr_peername): Likewise.
5536         (xdr_keydat): Use XDRMAXRECORD.
5537         (xdr_valdat): Likewise.
5539 2013-05-30  Jeff Law  <law@redhat.com>
5541         [BZ #14256]
5542         * manual/errno.texi (ESTALE): Update to account for more than
5543         just NFS file systems.
5544         * sysdeps/gnu/errlist.c: Regenerated.
5546 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5548         [BZ #15465]
5549         * elf/Makefile (tests): Add tst-null-argv.
5550         (modules-names):  Add tst-null-argv-lib.
5551         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5552         (tst-null-argv-ENV): Set environment for tst-null-argv.
5553         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5554         (RTLD_PROGNAME): New macro.
5555         * elf/tst-null-argv.c: New test case.
5556         * elf/tst-null-argv-lib.c: Library for test case.
5557         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5558         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5559         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5560         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5561         * elf/dl-init.c (call_init): Likewise.
5562         (_dl_init): Likewise.
5563         * elf/dl-load.c (print_search_path): Likewise.
5564         (_dl_map_object): Likewise.
5565         * elf/dl-lookup.c (do_lookup_x): Likewise.
5566         (add_dependency): Likewise.
5567         (_dl_lookup_symbol_x): Likewise.
5568         (_dl_debug_bindings): Likewise.
5569         * elf/dl-open.c (_dl_show_scope): Likewise.
5570         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5571         * elf/dl-version.c (match_symbol): Likewise.
5572         (_dl_check_map_versions): Likewise.
5573         * elf/rtld.c (dl_main): Likewise.
5574         (print_unresolved): Use RTLD_PROGNAME.
5575         (print_missing_version): Likewise.
5576         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5577         (elf_machine_rela): Likewise.
5578         * sysdeps/powerpc/powerpc32/dl-machine.c
5579         (__process_machine_rela): Likewise.
5580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5581         Likewise.
5582         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5583         Likewise.
5584         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5585         Likewise.
5586         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5587         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5588         Likewise.
5589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5590         Likewise.
5591         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5593 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
5595         * po/be.po: Add descriptive title.
5596         * po/zh_CN.po: Likewise.
5597         * po/header.pot: Likewise.
5599 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
5601         * locale/programs/locarchive.c (create_archive): Inlucde fname in
5602         error message.
5603         (enlarge_archive): Likewise.
5605 2013-05-28  Ben North  <ben@redfrontdoor.org>
5607         * manual/arith.texi (frexp): It is the magnitude of the return
5608         value which lies in [0.5, 1), not the return value itself.
5610 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5614 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
5616         * stdio-common/bug26.c (main): Correct fscanf template.
5618         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5619         declare _dl_skip_args.
5621         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5622         Don't declare.
5624         * manual/platform.texi: Add missing @end deftypefun.
5626 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5628         [BZ #15529]
5629         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5630         bit of mantissa of 2^16382.
5631         * math/libm-test.inc (hypot_test_data): Add more tests.
5633         * math/libm-test.inc: Add drem and pow10 to list of tested
5634         functions.
5635         (pow10_test): New function.
5636         (drem_test): Likewise.
5637         (drem_test_tonearest): Likewise.
5638         (drem_test_towardzero): Likewise.
5639         (drem_test_downward): Likewise.
5640         (drem_test_upward): Likewise.
5641         (main): Call the new functions.
5643         * math/libm-test.inc (finite_test_data): Remove.
5644         (finite_test): Run tests from isfinite_test_data.
5645         (gamma_test_data): Remove.
5646         (gamma_test): Run tests from lgamma_test_data.
5647         * sysdeps/i386/fpu/libm-test-ulps: Update.
5648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5652         * manual/platform.texi: Add PowerPC PPR function set documentation.
5653         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5654         implementation.
5656 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
5658         * math/libm-test.inc (MAX_EXP): Define.
5659         (ULPDIFF): Define.
5660         (ulp): New function.
5661         (check_float_internal): Use ULPDIFF.
5662         (cpow_test): Disable failing test.
5663         (check_ulp): Test ulp() implemetnation.
5664         (main): Call check_ulp before starting tests.
5666 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5668         * math/gen-libm-test.pl (generate_testfile): Do not handle
5669         START_DATA and END_DATA.
5670         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5671         END_DATA.
5672         (acos_tonearest_test_data): Likewise.
5673         (acos_towardzero_test_data): Likewise.
5674         (acos_downward_test_data): Likewise.
5675         (acos_upward_test_data): Likewise.
5676         (acosh_test_data): Likewise.
5677         (asin_test_data): Likewise.
5678         (asin_tonearest_test_data): Likewise.
5679         (asin_towardzero_test_data): Likewise.
5680         (asin_downward_test_data): Likewise.
5681         (asin_upward_test_data): Likewise.
5682         (asinh_test_data): Likewise.
5683         (atan_test_data): Likewise.
5684         (atanh_test_data): Likewise.
5685         (atan2_test_data): Likewise.
5686         (cabs_test_data): Likewise.
5687         (cacos_test_data): Likewise.
5688         (cacosh_test_data): Likewise.
5689         (carg_test_data): Likewise.
5690         (casin_test_data): Likewise.
5691         (casinh_test_data): Likewise.
5692         (catan_test_data): Likewise.
5693         (catanh_test_data): Likewise.
5694         (cbrt_test_data): Likewise.
5695         (ccos_test_data): Likewise.
5696         (ccosh_test_data): Likewise.
5697         (ceil_test_data): Likewise.
5698         (cexp_test_data): Likewise.
5699         (cimag_test_data): Likewise.
5700         (clog_test_data): Likewise.
5701         (clog10_test_data): Likewise.
5702         (conj_test_data): Likewise.
5703         (copysign_test_data): Likewise.
5704         (cos_test_data): Likewise.
5705         (cos_tonearest_test_data): Likewise.
5706         (cos_towardzero_test_data): Likewise.
5707         (cos_downward_test_data): Likewise.
5708         (cos_upward_test_data): Likewise.
5709         (cosh_test_data): Likewise.
5710         (cosh_tonearest_test_data): Likewise.
5711         (cosh_towardzero_test_data): Likewise.
5712         (cosh_downward_test_data): Likewise.
5713         (cosh_upward_test_data): Likewise.
5714         (cpow_test_data): Likewise.
5715         (cproj_test_data): Likewise.
5716         (creal_test_data): Likewise.
5717         (csin_test_data): Likewise.
5718         (csinh_test_data): Likewise.
5719         (csqrt_test_data): Likewise.
5720         (ctan_test_data): Likewise.
5721         (ctan_tonearest_test_data): Likewise.
5722         (ctan_towardzero_test_data): Likewise.
5723         (ctan_downward_test_data): Likewise.
5724         (ctan_upward_test_data): Likewise.
5725         (ctanh_test_data): Likewise.
5726         (ctanh_tonearest_test_data): Likewise.
5727         (ctanh_towardzero_test_data): Likewise.
5728         (ctanh_downward_test_data): Likewise.
5729         (ctanh_upward_test_data): Likewise.
5730         (erf_test_data): Likewise.
5731         (erfc_test_data): Likewise.
5732         (exp_test_data): Likewise.
5733         (exp_tonearest_test_data): Likewise.
5734         (exp_towardzero_test_data): Likewise.
5735         (exp_downward_test_data): Likewise.
5736         (exp_upward_test_data): Likewise.
5737         (exp10_test_data): Likewise.
5738         (exp2_test_data): Likewise.
5739         (expm1_test_data): Likewise.
5740         (fabs_test_data): Likewise.
5741         (fdim_test_data): Likewise.
5742         (finite_test_data): Likewise.
5743         (floor_test_data): Likewise.
5744         (fma_test_data): Likewise.
5745         (fma_towardzero_test_data): Likewise.
5746         (fma_downward_test_data): Likewise.
5747         (fma_upward_test_data): Likewise.
5748         (fmax_test_data): Likewise.
5749         (fmin_test_data): Likewise.
5750         (fmod_test_data): Likewise.
5751         (fpclassify_test_data): Likewise.
5752         (frexp_test_data): Likewise.
5753         (gamma_test_data): Likewise.
5754         (hypot_test_data): Likewise.
5755         (ilogb_test_data): Likewise.
5756         (isfinite_test_data): Likewise.
5757         (isgreater_test_data): Likewise.
5758         (isgreaterequal_test_data): Likewise.
5759         (isinf_test_data): Likewise.
5760         (isless_test_data): Likewise.
5761         (islessequal_test_data): Likewise.
5762         (islessgreater_test_data): Likewise.
5763         (isnan_test_data): Likewise.
5764         (isnormal_test_data): Likewise.
5765         (issignaling_test_data): Likewise.
5766         (isunordered_test_data): Likewise.
5767         (j0_test_data): Likewise.
5768         (j1_test_data): Likewise.
5769         (jn_test_data): Likewise.
5770         (ldexp_test_data): Likewise.
5771         (lgamma_test_data): Likewise.
5772         (lrint_test_data): Likewise.
5773         (lrint_tonearest_test_data): Likewise.
5774         (lrint_towardzero_test_data): Likewise.
5775         (lrint_downward_test_data): Likewise.
5776         (lrint_upward_test_data): Likewise.
5777         (llrint_test_data): Likewise.
5778         (llrint_tonearest_test_data): Likewise.
5779         (llrint_towardzero_test_data): Likewise.
5780         (llrint_downward_test_data): Likewise.
5781         (llrint_upward_test_data): Likewise.
5782         (log_test_data): Likewise.
5783         (log10_test_data): Likewise.
5784         (log1p_test_data): Likewise.
5785         (log2_test_data): Likewise.
5786         (logb_test_data): Likewise.
5787         (logb_downward_test_data): Likewise.
5788         (lround_test_data): Likewise.
5789         (llround_test_data): Likewise.
5790         (modf_test_data): Likewise.
5791         (nearbyint_test_data): Likewise.
5792         (nextafter_test_data): Likewise.
5793         (nexttoward_test_data): Likewise.
5794         (pow_test_data): Likewise.
5795         (pow_tonearest_test_data): Likewise.
5796         (pow_towardzero_test_data): Likewise.
5797         (pow_downward_test_data): Likewise.
5798         (pow_upward_test_data): Likewise.
5799         (remainder_test_data): Likewise.
5800         (remainder_tonearest_test_data): Likewise.
5801         (remainder_towardzero_test_data): Likewise.
5802         (remainder_downward_test_data): Likewise.
5803         (remainder_upward_test_data): Likewise.
5804         (remquo_test_data): Likewise.
5805         (rint_test_data): Likewise.
5806         (rint_tonearest_test_data): Likewise.
5807         (rint_towardzero_test_data): Likewise.
5808         (rint_downward_test_data): Likewise.
5809         (rint_upward_test_data): Likewise.
5810         (round_test_data): Likewise.
5811         (scalb_test_data): Likewise.
5812         (scalbn_test_data): Likewise.
5813         (scalbln_test_data): Likewise.
5814         (signbit_test_data): Likewise.
5815         (sin_test_data): Likewise.
5816         (sin_tonearest_test_data): Likewise.
5817         (sin_towardzero_test_data): Likewise.
5818         (sin_downward_test_data): Likewise.
5819         (sin_upward_test_data): Likewise.
5820         (sincos_test_data): Likewise.
5821         (sinh_test_data): Likewise.
5822         (sinh_tonearest_test_data): Likewise.
5823         (sinh_towardzero_test_data): Likewise.
5824         (sinh_downward_test_data): Likewise.
5825         (sinh_upward_test_data): Likewise.
5826         (sqrt_test_data): Likewise.
5827         (tan_test_data): Likewise.
5828         (tan_tonearest_test_data): Likewise.
5829         (tan_towardzero_test_data): Likewise.
5830         (tan_downward_test_data): Likewise.
5831         (tan_upward_test_data): Likewise.
5832         (tanh_test_data): Likewise.
5833         (tgamma_test_data): Likewise.
5834         (trunc_test_data): Likewise.
5835         (y0_test_data): Likewise.
5836         (y1_test_data): Likewise.
5837         (yn_test_data): Likewise.
5838         (significand_test_data): Likewise.
5840         * math/gen-libm-test.pl (@functions): Remove variable.
5841         (generate_testfile): Don't handle START and END lines.
5842         * math/libm-test.inc (START): New macro.
5843         (END): Likewise.
5844         (END_COMPLEX): Likewise.
5845         (acos_test): Use END macro without arguments.
5846         (acos_test_tonearest): Likewise.
5847         (acos_test_towardzero): Likewise.
5848         (acos_test_downward): Likewise.
5849         (acos_test_upward): Likewise.
5850         (acosh_test): Likewise.
5851         (asin_test): Likewise.
5852         (asin_test_tonearest): Likewise.
5853         (asin_test_towardzero): Likewise.
5854         (asin_test_downward): Likewise.
5855         (asin_test_upward): Likewise.
5856         (asinh_test): Likewise.
5857         (atan_test): Likewise.
5858         (atanh_test): Likewise.
5859         (atan2_test): Likewise.
5860         (cabs_test): Likewise.
5861         (cacos_test): Use END_COMPLEX macro without arguments.
5862         (cacosh_test): Likewise.
5863         (carg_test): Use END macro without arguments.
5864         (casin_test): Use END_COMPLEX macro without arguments.
5865         (casinh_test): Likewise.
5866         (catan_test): Likewise.
5867         (catanh_test): Likewise.
5868         (cbrt_test): Use END macro without arguments.
5869         (ccos_test): Use END_COMPLEX macro without arguments.
5870         (ccosh_test): Likewise.
5871         (ceil_test): Use END macro without arguments.
5872         (cexp_test): Use END_COMPLEX macro without arguments.
5873         (cimag_test): Use END macro without arguments.
5874         (clog_test): Use END_COMPLEX macro without arguments.
5875         (clog10_test): Likewise.
5876         (conj_test): Likewise.
5877         (copysign_test): Use END macro without arguments.
5878         (cos_test): Likewise.
5879         (cos_test_tonearest): Likewise.
5880         (cos_test_towardzero): Likewise.
5881         (cos_test_downward): Likewise.
5882         (cos_test_upward): Likewise.
5883         (cosh_test): Likewise.
5884         (cosh_test_tonearest): Likewise.
5885         (cosh_test_towardzero): Likewise.
5886         (cosh_test_downward): Likewise.
5887         (cosh_test_upward): Likewise.
5888         (cpow_test): Use END_COMPLEX macro without arguments.
5889         (cproj_test): Likewise.
5890         (creal_test): Use END macro without arguments.
5891         (csin_test): Use END_COMPLEX macro without arguments.
5892         (csinh_test): Likewise.
5893         (csqrt_test): Likewise.
5894         (ctan_test): Likewise.
5895         (ctan_test_tonearest): Likewise.
5896         (ctan_test_towardzero): Likewise.
5897         (ctan_test_downward): Likewise.
5898         (ctan_test_upward): Likewise.
5899         (ctanh_test): Likewise.
5900         (ctanh_test_tonearest): Likewise.
5901         (ctanh_test_towardzero): Likewise.
5902         (ctanh_test_downward): Likewise.
5903         (ctanh_test_upward): Likewise.
5904         (erf_test): Use END macro without arguments.
5905         (erfc_test): Likewise.
5906         (exp_test): Likewise.
5907         (exp_test_tonearest): Likewise.
5908         (exp_test_towardzero): Likewise.
5909         (exp_test_downward): Likewise.
5910         (exp_test_upward): Likewise.
5911         (exp10_test): Likewise.
5912         (exp2_test): Likewise.
5913         (expm1_test): Likewise.
5914         (fabs_test): Likewise.
5915         (fdim_test): Likewise.
5916         (finite_test): Likewise.
5917         (floor_test): Likewise.
5918         (fma_test): Likewise.
5919         (fma_test_towardzero): Likewise.
5920         (fma_test_downward): Likewise.
5921         (fma_test_upward): Likewise.
5922         (fmax_test): Likewise.
5923         (fmin_test): Likewise.
5924         (fmod_test): Likewise.
5925         (fpclassify_test): Likewise.
5926         (frexp_test): Likewise.
5927         (gamma_test): Likewise.
5928         (hypot_test): Likewise.
5929         (ilogb_test): Likewise.
5930         (isfinite_test): Likewise.
5931         (isgreater_test): Likewise.
5932         (isgreaterequal_test): Likewise.
5933         (isinf_test): Likewise.
5934         (isless_test): Likewise.
5935         (islessequal_test): Likewise.
5936         (islessgreater_test): Likewise.
5937         (isnan_test): Likewise.
5938         (isnormal_test): Likewise.
5939         (issignaling_test): Likewise.
5940         (isunordered_test): Likewise.
5941         (j0_test): Likewise.
5942         (j1_test): Likewise.
5943         (jn_test): Likewise.
5944         (ldexp_test): Likewise.
5945         (lgamma_test): Likewise.
5946         (lrint_test): Likewise.
5947         (lrint_test_tonearest): Likewise.
5948         (lrint_test_towardzero): Likewise.
5949         (lrint_test_downward): Likewise.
5950         (lrint_test_upward): Likewise.
5951         (llrint_test): Likewise.
5952         (llrint_test_tonearest): Likewise.
5953         (llrint_test_towardzero): Likewise.
5954         (llrint_test_downward): Likewise.
5955         (llrint_test_upward): Likewise.
5956         (log_test): Likewise.
5957         (log10_test): Likewise.
5958         (log1p_test): Likewise.
5959         (log2_test): Likewise.
5960         (logb_test): Likewise.
5961         (logb_test_downward): Likewise.
5962         (lround_test): Likewise.
5963         (llround_test): Likewise.
5964         (modf_test): Likewise.
5965         (nearbyint_test): Likewise.
5966         (nextafter_test): Likewise.
5967         (nexttoward_test): Likewise.
5968         (pow_test): Likewise.
5969         (pow_test_tonearest): Likewise.
5970         (pow_test_towardzero): Likewise.
5971         (pow_test_downward): Likewise.
5972         (pow_test_upward): Likewise.
5973         (remainder_test): Likewise.
5974         (remainder_test_tonearest): Likewise.
5975         (remainder_test_towardzero): Likewise.
5976         (remainder_test_downward): Likewise.
5977         (remainder_test_upward): Likewise.
5978         (remquo_test): Likewise.
5979         (rint_test): Likewise.
5980         (rint_test_tonearest): Likewise.
5981         (rint_test_towardzero): Likewise.
5982         (rint_test_downward): Likewise.
5983         (rint_test_upward): Likewise.
5984         (round_test): Likewise.
5985         (scalb_test): Likewise.
5986         (scalbn_test): Likewise.
5987         (scalbln_test): Likewise.
5988         (signbit_test): Likewise.
5989         (sin_test): Likewise.
5990         (sin_test_tonearest): Likewise.
5991         (sin_test_towardzero): Likewise.
5992         (sin_test_downward): Likewise.
5993         (sin_test_upward): Likewise.
5994         (sincos_test): Likewise.
5995         (sinh_test): Likewise.
5996         (sinh_test_tonearest): Likewise.
5997         (sinh_test_towardzero): Likewise.
5998         (sinh_test_downward): Likewise.
5999         (sinh_test_upward): Likewise.
6000         (sqrt_test): Likewise.
6001         (tan_test): Likewise.
6002         (tan_test_tonearest): Likewise.
6003         (tan_test_towardzero): Likewise.
6004         (tan_test_downward): Likewise.
6005         (tan_test_upward): Likewise.
6006         (tanh_test): Likewise.
6007         (tgamma_test): Likewise.
6008         (trunc_test): Likewise.
6009         (y0_test): Likewise.
6010         (y1_test): Likewise.
6011         (yn_test): Likewise.
6012         (significand_test): Likewise.
6014 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
6016         [BZ #15381]
6017         * libio/genops.c (_IO_no_init): Initialize wide struct info.
6019 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6021         [BZ #14894]
6022         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6023         __ppc_mdoio and __ppc_mdoom.
6024         * manual/platform.texi: Document new functions __ppc_yield,
6025         __ppc_mdoio and __ppc_mdoom.
6027 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
6029         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6030         (main): Mention "tls" pseudo-hwcap is legacy.
6031         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6033 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6035         * math/gen-libm-test.pl (parse_args): Output only string of
6036         arguments as text for test name, not full call or descriptions of
6037         tests for extra outputs.
6038         (generate_testfile): Do not pass function name to parse_args.
6039         Generate this_func variable from START.
6040         * math/libm-test.inc (struct test_f_f_data): Rename test_name
6041         field to arg_str.
6042         (struct test_ff_f_data): Likewise.
6043         (test_ff_f_data_nexttoward): Likewise.
6044         (struct test_fi_f_data): Likewise.
6045         (struct test_fl_f_data): Likewise.
6046         (struct test_if_f_data): Likewise.
6047         (struct test_fff_f_data): Likewise.
6048         (struct test_c_f_data): Likewise.
6049         (struct test_f_f1_data): Likewise.  Remove field extra_name.
6050         (struct test_fF_f1_data): Likewise.
6051         (struct test_ffI_f1_data): Likewise.
6052         (struct test_c_c_data): Rename test_name field to arg_str.
6053         (struct test_cc_c_data): Likewise.
6054         (struct test_f_i_data): Likewise.
6055         (struct test_ff_i_data): Likewise.
6056         (struct test_f_l_data): Likewise.
6057         (struct test_f_L_data): Likewise.
6058         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
6059         and extra2_name.
6060         (COMMON_TEST_SETUP): New macro.
6061         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6062         (COMMON_TEST_CLEANUP): Likewise.
6063         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6064         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
6065         macros.
6066         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6067         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
6068         macros.
6069         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6070         (RUN_TEST_fff_f): Take argument string.  Call new setup and
6071         cleanup macros.
6072         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6073         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
6074         macros.
6075         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6076         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
6077         macros.
6078         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6079         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
6080         cleanup macros.
6081         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6082         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
6083         cleanup macros.
6084         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6085         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
6086         cleanup macros.
6087         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6088         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
6089         macros.
6090         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6091         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
6092         macros.
6093         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6094         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
6095         macros.
6096         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6097         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
6098         cleanup macros.
6099         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6100         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
6101         cleanup macros.
6102         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6103         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
6104         macros.
6105         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6106         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
6107         cleanup macros.
6108         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6109         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
6110         macros.
6111         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6112         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
6113         macros.
6114         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6115         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
6116         cleanup macros.
6117         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6119 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
6121         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6122         to _sifields.sigfault.
6123         (si_addr_lsb): Define new macro.
6124         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6125         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6126         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6128 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
6130         [BZ #15441]
6131         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6132         returns -1.
6133         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6134         null return -1.
6135         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6136         loading the domain.
6138 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6140         * math/gen-libm-test.pl (parse_args): Do not include expected
6141         result in test name.
6142         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6143         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6144         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6145         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6146         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6149 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6151         * benchtests/Makefile: Sort function entries.
6153         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6154         tanh, asinh, acosh, atanh.
6155         * benchtests/acos-inputs: New file.
6156         * benchtests/acosh-inputs: New file.
6157         * benchtests/asin-inputs: New file.
6158         * benchtests/asinh-inputs: New file.
6159         * benchtests/atanh-inputs: New file.
6160         * benchtests/cosh-inputs: New file.
6161         * benchtests/log-inputs: New file.
6162         * benchtests/sinh-inputs: New file.
6163         * benchtests/tanh-inputs: New file.
6165 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
6167         [BZ #15339]
6168         * posix/tst-getaddrinfo4.c: New test.
6169         * posix/Makefile (tests): Add it.
6171 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6173         [BZ #15339]
6174         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6175         when no services were used.
6176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6177         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6179 2013-05-21  Andreas Schwab  <schwab@suse.de>
6181         [BZ #15014]
6182         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6183         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6184         successful.
6185         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6186         redundant variable declarations and reallocation of buffer when
6187         parsing as IPv6 address.  Always set NSS status when called from
6188         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
6189         buffer too small.  Correct computation of needed size.
6190         * nss/Makefile (tests): Add test-digits-dots.
6191         * nss/test-digits-dots.c: New test.
6193 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6195         * benchtests/Makefile: Remove instructions for adding
6196         benchmark tests.
6197         * benchtests/README: New file to explain how to execute and
6198         enhance the benchmark tests.
6200 2013-05-21  Andreas Schwab  <schwab@suse.de>
6202         [BZ #15493]
6203         * setjmp/Makefile (tests): Add tst-sigsetjmp.
6204         * setjmp/tst-sigsetjmp.c: New test.
6206 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
6208         * sysdeps/x86_64/memset.S (memset): New implementation.
6209         (__bzero): Likewise.
6210         (__memset_tail): New function.
6212 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
6214         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6215         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6216         __memcpy_sse2_unaligned ifunc selection.
6217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6218         Add memcpy-sse2-unaligned.S.
6219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6220         Add: __memcpy_sse2_unaligned.
6222 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
6224         [BZ #15490]
6225         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6226         math_force_eval before restoring floating-point envrionment.
6227         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6229         Likewise.
6230         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6231         <math_private.h>.
6232         (__nearbyintl): Use math_force_eval before restoring
6233         floating-point environment.
6234         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6236         * math/gen-libm-test.pl (special_functions): Remove.
6237         (parse_args): Don't handle TEST_extra.  Handle functions with no
6238         return value.
6239         * math/libm-test.inc (struct test_sincos_data): Replace with
6240         struct test_fFF_11_data.
6241         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6242         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6243         (sincos_test_data): Change element type to struct
6244         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
6245         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6246         RUN_TEST_LOOP_sincos.
6247         * math/README.libm-test: Don't mention special handling of
6248         individual functions.
6249         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6250         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6251         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6252         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6253         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6256         * math/gen-libm-test.pl (get_variable): Remove function.
6257         (parse_args): Don't show pointer parameters to call in test
6258         names.  Use "extra output N" in test names for extra outputs
6259         rather than naming variables.
6261 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
6263         [BZ #15488]
6264         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6265         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6266         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6267         double tests.
6268         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6269         disable.
6270         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6271         check_long_double.
6273         * math/gen-libm-test.pl (@tests): Remove variable.
6274         ($count): Likewise.
6275         (new_test): Remove function.
6276         (show_exceptions): New function.
6277         (special_functions): Use show_exceptions instead of new_test.
6278         (parse_args): Likewise.
6279         (generate_testfile): Pass only function name in generated call to
6280         print_max_error or print_complex_max_error.
6281         (get_ulps): Do not handle complex tests specially.
6282         (output_test): Rename to ...
6283         (get_all_ulps_for_test): ... this.  Return a string rather than
6284         printing to a file.  Require ulps to be present.
6285         (output_ulps): Generate arrays rather than #defines.
6286         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6287         (struct ulp_data): New type.
6288         (BUILD_COMPLEX_ULP): Remove macro.
6289         (compare_ulp_data): New function.
6290         (find_ulps): Likewise.
6291         (find_test_ulps): Likewise.
6292         (find_function_ulps): Likewise.
6293         (find_complex_function_ulps): Likewise.
6294         (print_max_error): Determine allowed ulps using
6295         find_function_ulps.
6296         (print_complex_max_error): Determine allowed ulps using
6297         find_complex_function_ulps.
6298         (check_float_internal): Determine max ulps using find_test_ulps.
6299         (check_float): Do not take max_ulp parameter.  Update call to
6300         check_float_internal.
6301         (check_complex): Likewise.
6302         (check_int): Do not take max_ulp parameter.
6303         (check_long): Likewise.
6304         (check_bool): Likewise.
6305         (check_longlong): Likewise.
6306         (struct test_f_f_data): Remove max_ulp field.
6307         (struct test_ff_f_data): Likewise.
6308         (struct test_ff_f_data_nexttoward): Likewise.
6309         (struct test_fi_f_data): Likewise.
6310         (struct test_fl_f_data): Likewise.
6311         (struct test_if_f_data): Likewise.
6312         (struct test_fff_f_data): Likewise.
6313         (struct test_c_f_data): Likewise.
6314         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6315         (struct test_fF_f1_data): Likewise.
6316         (struct test_ffI_f1_data): Likewise.
6317         (struct test_c_c_data): Remove max_ulp field.
6318         (struct test_cc_c_data): Likewise.
6319         (struct test_f_i_data): Likewise.
6320         (struct test_ff_i_data): Likewise.
6321         (struct test_f_l_data): Likewise.
6322         (struct test_f_L_data): Likewise.
6323         (struct test_sincos_data): Likewise.
6324         (RUN_TEST_f_f): Do not handle ulps.
6325         (RUN_TEST_LOOP_f_f): Likewise.
6326         (RUN_TEST_2_f): Likewise.
6327         (RUN_TEST_LOOP_2_f): Likewise.
6328         (RUN_TEST_fff_f): Likewise.
6329         (RUN_TEST_LOOP_fff_f): Likewise.
6330         (RUN_TEST_c_f): Likewise.
6331         (RUN_TEST_LOOP_c_f): Likewise.
6332         (RUN_TEST_f_f1): Likewise.
6333         (RUN_TEST_LOOP_f_f1): Likewise.
6334         (RUN_TEST_fF_f1): Likewise.
6335         (RUN_TEST_LOOP_fF_f1): Likewise.
6336         (RUN_TEST_fI_f1): Likewise.
6337         (RUN_TEST_LOOP_fI_f1): Likewise.
6338         (RUN_TEST_ffI_f1): Likewise.
6339         (RUN_TEST_LOOP_ffI_f1): Likewise.
6340         (RUN_TEST_c_c): Likewise.
6341         (RUN_TEST_LOOP_c_c): Likewise.
6342         (RUN_TEST_cc_c): Likewise.
6343         (RUN_TEST_LOOP_cc_c): Likewise.
6344         (RUN_TEST_f_i): Likewise.
6345         (RUN_TEST_LOOP_f_i): Likewise.
6346         (RUN_TEST_f_i_tg): Likewise.
6347         (RUN_TEST_LOOP_f_i_tg): Likewise.
6348         (RUN_TEST_ff_i_tg): Likewise.
6349         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6350         (RUN_TEST_f_b): Likewise.
6351         (RUN_TEST_LOOP_f_b): Likewise.
6352         (RUN_TEST_f_b_tg): Likewise.
6353         (RUN_TEST_LOOP_f_b_tg): Likewise.
6354         (RUN_TEST_f_l): Likewise.
6355         (RUN_TEST_LOOP_f_l): Likewise.
6356         (RUN_TEST_f_L): Likewise.
6357         (RUN_TEST_LOOP_f_L): Likewise.
6358         (RUN_TEST_sincos): Likewise.
6359         (RUN_TEST_LOOP_sincos): Likewise.
6361 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
6363         [BZ #15480]
6364         [BZ #15485]
6365         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6366         main case of finite arguments, set rounding mode to FE_TONEAREST
6367         and discard exceptions.
6368         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6369         exceptions.
6370         (remainder_tonearest_test_data): New variable.
6371         (remainder_test_tonearest): New function.
6372         (remainder_towardzero_test_data): New variable.
6373         (remainder_test_towardzero): New function.
6374         (remainder_downward_test_data): New variable.
6375         (remainder_test_downward): New function.
6376         (remainder_upward_test_data): New variable.
6377         (remainder_test_upward): New function.
6378         (main): Call the new test functions.
6380         * math/libm-test.inc (struct test_f_f1_data): Remove field
6381         extra_init.
6382         (struct test_fF_f1_data): Likewise.
6383         (struct test_ffI_f1_data): Likewise.
6384         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
6385         based on value of EXTRA_EXPECTED.
6386         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6387         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
6388         EXTRA_VAR based on value of EXTRA_EXPECTED.
6389         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6390         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
6391         EXTRA_VAR based on value of EXTRA_EXPECTED.
6392         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6393         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
6394         EXTRA_VAR based on value of EXTRA_EXPECTED.
6395         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6396         * math/gen-libm-test.pl (parse_args): Don't output initializers
6397         for extra output values.
6399         * math/libm-test.inc (check_int): Expect result to be exactly
6400         equal to expected value and do not handle ulps.
6401         (check_long): Likewise.
6402         (check_longlong): Likewise.
6404         * math/libm-test.inc (ceil_test_data): Test for "inexact"
6405         exceptions.
6406         (cimag_test_data): Likewise.
6407         (conj_test_data): Likewise.
6408         (copysign_test_data): Likewise.
6409         (cproj_test_data): Likewise.
6410         (creal_test_data): Likewise.
6411         (fabs_test_data): Likewise.
6412         (fdim_test_data): Likewise.
6413         (finite_test_data): Likewise.
6414         (floor_test_data): Likewise.
6415         (fmax_test_data): Likewise.
6416         (fmin_test_data): Likewise.
6417         (fmod_test_data): Likewise.
6418         (fpclassify_test_data): Likewise.
6419         (frexp_test_data): Likewise.
6420         (ilogb_test_data): Likewise.
6421         (isfinite_test_data): Likewise.
6422         (isgreater_test_data): Likewise.
6423         (isgreaterequal_test_data): Likewise.
6424         (isinf_test_data): Likewise.
6425         (isless_test_data): Likewise.
6426         (islessequal_test_data): Likewise.
6427         (islessgreater_test_data): Likewise.
6428         (isnan_test_data): Likewise.
6429         (isnormal_test_data): Likewise.
6430         (issignaling_test_data): Likewise.
6431         (isunordered_test_data): Likewise.
6432         (ldexp_test_data): Likewise.
6433         (lrint_test_data): Likewise.
6434         (lrint_test_data) [TEST_FLOAT]: Disable one test.
6435         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6436         (lrint_tonearest_test_data): Test for "inexact" exceptions.
6437         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6438         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6439         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6440         test input.
6441         (lrint_towardzero_test_data): Test for "inexact" exceptions.
6442         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6443         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6444         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6445         that test input.
6446         (lrint_downward_test_data): Test for "inexact" exceptions.
6447         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6448         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6449         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6450         test input.
6451         (lrint_upward_test_data): Test for "inexact" exceptions.
6452         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6453         test input.
6454         (llrint_test_data): Test for "inexact" exceptions.
6455         (llrint_test_data) [TEST_FLOAT]: Disable one test.
6456         (llrint_tonearest_test_data): Test for "inexact" exceptions.
6457         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6458         (llrint_towardzero_test_data): Test for "inexact" exceptions.
6459         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6460         (llrint_downward_test_data): Test for "inexact" exceptions.
6461         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6462         (llrint_upward_test_data): Test for "inexact" exceptions.
6463         (logb_test_data): Likewise.
6464         (logb_downward_test_data): Likewise.
6465         (nextafter_test_data): Likewise.
6466         (nexttoward_test_data): Likewise.
6467         (remainder_test_data): Likewise.
6468         (remquo_test_data): Likewise.
6469         (scalbn_test_data): Likewise.
6470         (scalbln_test_data): Likewise.
6471         (signbit_test_data): Likewise.
6472         (sqrt_test_data): Likewise.
6473         (significand_test_data): Likewise.
6475 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6477         [BZ #15424]
6478         * benchtests/bench-modf.c (struct args): Mark arg0 as
6479         volatile.
6480         * scripts/bench.pl: Mark members of struct args as volatile.
6482 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6484         [BZ # 15497]
6485         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6486         negative infinity on POWER6 or lower.
6487         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6489 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6491         [BZ #15442]
6492         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6493         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6494         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6495         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6496         (_FP_SETQNAN): New macro.
6497         (_FP_SETQNAN_SEMIRAW): Likewise.
6498         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6499         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6500         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6501         (FP_EXTEND): Use _FP_FRAC_SNANP.
6502         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6503         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6504         into account.
6505         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6506         New macro.
6507         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6508         Likewise.
6510 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6512         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6513         with DIVIDE_BY_ZERO_EXCEPTION.
6514         (gamma_test_data): Likewise.
6515         (lgamma_test_data): Likewise.
6516         (log_test_data): Likewise.
6517         (log10_test_data): Likewise.
6518         (log2_test_data): Likewise.
6519         (tgamma_test_data): Likewise.
6521         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6522         (acos_test_tonearest): Likewise.
6523         (acos_test_towardzero): Likewise.
6524         (acos_test_downward): Likewise.
6525         (acos_test_upward): Likewise.
6526         (acosh_test): Likewise.
6527         (asin_test): Likewise.
6528         (asin_test_tonearest): Likewise.
6529         (asin_test_towardzero): Likewise.
6530         (asin_test_downward): Likewise.
6531         (asin_test_upward): Likewise.
6532         (asinh_test): Likewise.
6533         (atan_test): Likewise.
6534         (atanh_test): Likewise.
6535         (atan2_test): Likewise.
6536         (cabs_test): Likewise.
6537         (cacos_test): Likewise.
6538         (cacosh_test): Likewise.
6539         (casin_test): Likewise.
6540         (casinh_test): Likewise.
6541         (catan_test): Likewise.
6542         (catanh_test): Likewise.
6543         (cbrt_test): Likewise.
6544         (ccos_test): Likewise.
6545         (ccosh_test): Likewise.
6546         (cexp_test): Likewise.
6547         (clog_test): Likewise.
6548         (clog10_test): Likewise.
6549         (cos_test): Likewise.
6550         (cos_test_tonearest): Likewise.
6551         (cos_test_towardzero): Likewise.
6552         (cos_test_downward): Likewise.
6553         (cos_test_upward): Likewise.
6554         (cosh_test): Likewise.
6555         (cosh_test_tonearest): Likewise.
6556         (cosh_test_towardzero): Likewise.
6557         (cosh_test_downward): Likewise.
6558         (cosh_test_upward): Likewise.
6559         (cpow_test): Likewise.
6560         (csin_test): Likewise.
6561         (csinh_test): Likewise.
6562         (csqrt_test): Likewise.
6563         (ctan_test): Likewise.
6564         (ctan_test_tonearest): Likewise.
6565         (ctan_test_towardzero): Likewise.
6566         (ctan_test_downward): Likewise.
6567         (ctan_test_upward): Likewise.
6568         (ctanh_test): Likewise.
6569         (ctanh_test_tonearest): Likewise.
6570         (ctanh_test_towardzero): Likewise.
6571         (ctanh_test_downward): Likewise.
6572         (ctanh_test_upward): Likewise.
6573         (erf_test): Likewise.
6574         (erfc_test): Likewise.
6575         (exp_test): Likewise.
6576         (exp_test_tonearest): Likewise.
6577         (exp_test_towardzero): Likewise.
6578         (exp_test_downward): Likewise.
6579         (exp_test_upward): Likewise.
6580         (exp10_test): Likewise.
6581         (exp2_test): Likewise.
6582         (expm1_test): Likewise.
6583         (fmod_test): Likewise.
6584         (gamma_test): Likewise.
6585         (hypot_test): Likewise.
6586         (j0_test): Likewise.
6587         (j1_test): Likewise.
6588         (jn_test): Likewise.
6589         (lgamma_test): Likewise.
6590         (log_test): Likewise.
6591         (log10_test): Likewise.
6592         (log1p_test): Likewise.
6593         (log2_test): Likewise.
6594         (logb_test_downward): Likewise.
6595         (pow_test): Likewise.
6596         (pow_test_tonearest): Likewise.
6597         (pow_test_towardzero): Likewise.
6598         (pow_test_downward): Likewise.
6599         (pow_test_upward): Likewise.
6600         (remainder_test): Likewise.
6601         (remquo_test): Likewise.
6602         (sin_test): Likewise.
6603         (sin_test_tonearest): Likewise.
6604         (sin_test_towardzero): Likewise.
6605         (sin_test_downward): Likewise.
6606         (sin_test_upward): Likewise.
6607         (sincos_test): Likewise.
6608         (sinh_test): Likewise.
6609         (sinh_test_tonearest): Likewise.
6610         (sinh_test_towardzero): Likewise.
6611         (sinh_test_downward): Likewise.
6612         (sinh_test_upward): Likewise.
6613         (sqrt_test): Likewise.
6614         (tan_test): Likewise.
6615         (tan_test_tonearest): Likewise.
6616         (tan_test_towardzero): Likewise.
6617         (tan_test_downward): Likewise.
6618         (tan_test_upward): Likewise.
6619         (tanh_test): Likewise.
6620         (tgamma_test): Likewise.
6621         (y0_test): Likewise.
6622         (y1_test): Likewise.
6623         (yn_test): Likewise.
6625         * math/gen-libm-test.pl (adjust_arg): Remove function.
6626         (special_function): Remove argument $in_func.  Only handle
6627         generating output for tables of tests, not inside functions.
6628         (parse_args): Likewise.
6629         (generate_testfile): Remove variable $in_func.  Update call to
6630         parse_args.
6631         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6632         (MINUS_ZERO_INIT): Rename macro to minus_zero.
6633         (PLUS_INFTY_INIT): Rename macro to plus_infty.
6634         (MINUS_INFTY_INIT): Rename macro to minus_infty.
6635         (QNAN_VALUE_INIT): Rename macro to qnan_value.
6636         (MAX_VALUE_INIT): Rename macro to max_value.
6637         (MIN_VALUE_INIT): Rename macro to min_value.
6638         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6639         (plus_zero): Remove variable.
6640         (minus_zero): Likewise.
6641         (plus_infty): Likewise.
6642         (minus_infty): Likewise.
6643         (qnan_value): Likewise.
6644         (max_value): Likewise.
6645         (min_value): Likewise.
6646         (min_subnorm_value): Likewise.
6648 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6650         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6651         uint64_t or uint32_t usage.
6652         * crypt/sha256-block.c: Likewise.
6653         * crypt/sha256-crypt.c: Likewise.
6654         * crypt/sha256.c: Likewise.
6655         * crypt/sha512-block.c: Likewise.
6656         * crypt/sha512-crypt.c: Likewise.
6657         * crypt/sha512.c: Likewise.
6658         * debug/backtrace-tst.c: Likewise.
6659         * debug/pcprofiledump.c: Likewise.
6660         * elf/cache.c: Likewise.
6661         * elf/dl-cache.c: Likewise.
6662         * elf/dl-misc.c: Likewise.
6663         * elf/dl-profile.c: Likewise.
6664         * elf/dl-support.c: Likewise.
6665         * elf/ldconfig.c: Likewise.
6666         * elf/sprof.c: Likewise.
6667         * iconv/dummy-repertoire.c: Likewise.
6668         * iconv/iconv_charmap.c: Likewise.
6669         * iconv/skeleton.c: Likewise.
6670         * iconvdata/8bit-generic.c: Likewise.
6671         * iconvdata/cp737.h: Likewise.
6672         * iconvdata/cp775.h: Likewise.
6673         * iconvdata/ibm1008.h: Likewise.
6674         * iconvdata/ibm1025.h: Likewise.
6675         * iconvdata/ibm1046.h: Likewise.
6676         * iconvdata/ibm1097.h: Likewise.
6677         * iconvdata/ibm1112.h: Likewise.
6678         * iconvdata/ibm1122.h: Likewise.
6679         * iconvdata/ibm1123.h: Likewise.
6680         * iconvdata/ibm1124.h: Likewise.
6681         * iconvdata/ibm1129.h: Likewise.
6682         * iconvdata/ibm1130.h: Likewise.
6683         * iconvdata/ibm1132.h: Likewise.
6684         * iconvdata/ibm1133.h: Likewise.
6685         * iconvdata/ibm1137.h: Likewise.
6686         * iconvdata/ibm1140.h: Likewise.
6687         * iconvdata/ibm1141.h: Likewise.
6688         * iconvdata/ibm1142.h: Likewise.
6689         * iconvdata/ibm1143.h: Likewise.
6690         * iconvdata/ibm1144.h: Likewise.
6691         * iconvdata/ibm1145.h: Likewise.
6692         * iconvdata/ibm1146.h: Likewise.
6693         * iconvdata/ibm1147.h: Likewise.
6694         * iconvdata/ibm1148.h: Likewise.
6695         * iconvdata/ibm1149.h: Likewise.
6696         * iconvdata/ibm1153.h: Likewise.
6697         * iconvdata/ibm1154.h: Likewise.
6698         * iconvdata/ibm1155.h: Likewise.
6699         * iconvdata/ibm1156.h: Likewise.
6700         * iconvdata/ibm1157.h: Likewise.
6701         * iconvdata/ibm1158.h: Likewise.
6702         * iconvdata/ibm1160.h: Likewise.
6703         * iconvdata/ibm1161.h: Likewise.
6704         * iconvdata/ibm1162.h: Likewise.
6705         * iconvdata/ibm1163.h: Likewise.
6706         * iconvdata/ibm1164.h: Likewise.
6707         * iconvdata/ibm1166.h: Likewise.
6708         * iconvdata/ibm1167.h: Likewise.
6709         * iconvdata/ibm12712.h: Likewise.
6710         * iconvdata/ibm1390.h: Likewise.
6711         * iconvdata/ibm1399.h: Likewise.
6712         * iconvdata/ibm16804.h: Likewise.
6713         * iconvdata/ibm4517.h: Likewise.
6714         * iconvdata/ibm4899.h: Likewise.
6715         * iconvdata/ibm4909.h: Likewise.
6716         * iconvdata/ibm4971.h: Likewise.
6717         * iconvdata/ibm5347.h: Likewise.
6718         * iconvdata/ibm803.h: Likewise.
6719         * iconvdata/ibm856.h: Likewise.
6720         * iconvdata/ibm901.h: Likewise.
6721         * iconvdata/ibm902.h: Likewise.
6722         * iconvdata/ibm9030.h: Likewise.
6723         * iconvdata/ibm9066.h: Likewise.
6724         * iconvdata/ibm921.h: Likewise.
6725         * iconvdata/ibm922.h: Likewise.
6726         * iconvdata/ibm9448.h: Likewise.
6727         * iconvdata/isiri-3342.h: Likewise.
6728         * iconvdata/jis0201.h: Likewise.
6729         * include/link.h: Likewise.
6730         * include/netdb.h: Likewise.
6731         * inet/check_native.c: Likewise.
6732         * inet/check_pf.c: Likewise.
6733         * inet/getipv4sourcefilter.c: Likewise.
6734         * inet/getnameinfo.c: Likewise.
6735         * inet/getsourcefilter.c: Likewise.
6736         * inet/htonl.c: Likewise.
6737         * inet/setipv4sourcefilter.c: Likewise.
6738         * inet/setsourcefilter.c: Likewise.
6739         * inet/test-inet6_opt.c: Likewise.
6740         * inet/tst-network.c: Likewise.
6741         * locale/C-collate.c: Likewise.
6742         * locale/C-ctype.c: Likewise.
6743         * locale/C-time.c: Likewise.
6744         * locale/C-translit.h: Likewise.
6745         * locale/loadarchive.c: Likewise.
6746         * locale/programs/3level.h: Likewise.
6747         * locale/programs/charmap.c: Likewise.
6748         * locale/programs/charmap.h: Likewise.
6749         * locale/programs/ld-address.c: Likewise.
6750         * locale/programs/ld-collate.c: Likewise.
6751         * locale/programs/ld-ctype.c: Likewise.
6752         * locale/programs/ld-identification.c: Likewise.
6753         * locale/programs/ld-measurement.c: Likewise.
6754         * locale/programs/ld-messages.c: Likewise.
6755         * locale/programs/ld-monetary.c: Likewise.
6756         * locale/programs/ld-name.c: Likewise.
6757         * locale/programs/ld-numeric.c: Likewise.
6758         * locale/programs/ld-paper.c: Likewise.
6759         * locale/programs/ld-telephone.c: Likewise.
6760         * locale/programs/ld-time.c: Likewise.
6761         * locale/programs/linereader.c: Likewise.
6762         * locale/programs/locale.c: Likewise.
6763         * locale/programs/locarchive.c: Likewise.
6764         * locale/programs/locfile.h: Likewise.
6765         * locale/programs/repertoire.c: Likewise.
6766         * locale/programs/simple-hash.c: Likewise.
6767         * locale/programs/simple-hash.h: Likewise.
6768         * malloc/memusage.c: Likewise.
6769         * malloc/memusagestat.c: Likewise.
6770         * nis/nis_defaults.c: Likewise.
6771         * nis/nis_hash.c: Likewise.
6772         * nis/nis_print.c: Likewise.
6773         * nis/nis_xdr.c: Likewise.
6774         * nscd/connections.c: Likewise.
6775         * nscd/hstcache.c: Likewise.
6776         * nscd/nscd_gethst_r.c: Likewise.
6777         * nscd/nscd_getserv_r.c: Likewise.
6778         * nscd/nscd_helper.c: Likewise.
6779         * nscd/servicescache.c: Likewise.
6780         * nss/makedb.c: Likewise.
6781         * nss/nss_db/db-XXX.c: Likewise.
6782         * nss/nss_db/db-initgroups.c: Likewise.
6783         * nss/nss_db/db-netgrp.c: Likewise.
6784         * nss/nss_files/files-network.c: Likewise.
6785         * nss/nss_files/files-parse.c: Likewise.
6786         * posix/bug-regex5.c: Likewise.
6787         * posix/fnmatch_loop.c: Likewise.
6788         * posix/regcomp.c: Likewise.
6789         * posix/regexec.c: Likewise.
6790         * posix/tst-rfc3484-2.c: Likewise.
6791         * posix/tst-rfc3484-3.c: Likewise.
6792         * posix/tst-rfc3484.c: Likewise.
6793         * resolv/nss_dns/dns-canon.c: Likewise.
6794         * resolv/nss_dns/dns-network.c: Likewise.
6795         * resolv/res_init.c: Likewise.
6796         * resolv/res_mkquery.c: Likewise.
6797         * resolv/tst-aton.c: Likewise.
6798         * stdlib/cxa_atexit.c: Likewise.
6799         * stdlib/cxa_finalize.c: Likewise.
6800         * stdlib/gen-fpioconst.c: Likewise.
6801         * stdlib/strtol_l.c: Likewise.
6802         * string/tst-endian.c: Likewise.
6803         * sunrpc/auth_des.c: Likewise.
6804         * sunrpc/clnt_udp.c: Likewise.
6805         * sunrpc/rtime.c: Likewise.
6806         * sunrpc/svcauth_des.c: Likewise.
6807         * sunrpc/xdr.c: Likewise.
6808         * sunrpc/xdr_intXX_t.c: Likewise.
6809         * sunrpc/xdr_rec.c: Likewise.
6810         * sysdeps/generic/ldconfig.h: Likewise.
6811         * sysdeps/generic/ldsodefs.h: Likewise.
6812         * sysdeps/generic/memusage.h: Likewise.
6813         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6814         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6815         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6816         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6817         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6818         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6819         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6820         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6821         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6822         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6823         * sysdeps/posix/getaddrinfo.c: Likewise.
6824         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6825         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6826         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6827         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6828         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6829         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6830         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6831         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6832         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6833         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6834         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6835         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6836         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6837         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6838         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6839         * sysdeps/x86_64/dl-tls.h: Likewise.
6840         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6841         * time/alt_digit.c: Likewise.
6842         * time/era.c: Likewise.
6843         * wcsmbs/tst-c16c32-1.c: Likewise.
6845 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6847         * math/libm-test.inc (struct test_sincos_data): New type.
6848         (RUN_TEST_LOOP_sincos): New macro.
6849         (sincos_test_data): New variable.
6850         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6852 2013-05-16  Richard Henderson  <rth@redhat.com>
6854         * math/atest-exp2.c (LIMB64): New macro.
6855         (CONSTSZ): New macro.
6856         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6857         (hexdig): Move ...
6858         (print_mpn_fp): ... to function scope.
6859         (read_mpn_hex): Remove.
6860         (get_log2): Remove.
6861         (exp2_mpn): Use mp_log2.
6862         (main): Use mp_exp1.
6864 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6866         * math/libm-test.inc: Remove comment about not testing "inexact"
6867         exceptions.
6868         (INEXACT_EXCEPTION): New macro.
6869         (NO_INEXACT_EXCEPTION): Likewise.
6870         (INVALID_EXCEPTION_OK): Update value.
6871         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6872         (OVERFLOW_EXCEPTION_OK): Likewise.
6873         (UNDERFLOW_EXCEPTION_OK): Likewise.
6874         (IGNORE_ZERO_INF_SIGN): Likewise.
6875         (ERRNO_UNCHANGED): Likewise.
6876         (ERRNO_EDOM): Likewise.
6877         (ERRNO_ERANGE): Likewise.
6878         (test_exceptions): Handle testing "inexact" exceptions.
6879         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6880         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6881         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6882         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6883         INEXACT_EXCEPTION.
6884         (rint_towardzero_test_data): Likewise.
6885         (rint_downward_test_data): Likewise.
6886         (rint_upward_test_data): Likewise.
6888         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6889         with OVERFLOW_EXCEPTION.
6890         (exp10_test_data): Likewise.
6891         (exp2_test_data): Likewise.
6892         (expm1_test_data): Likewise.
6893         (lgamma_test_data): Likewise.
6894         (pow_test_data): Likewise.
6895         (tgamma_test_data): Likewise.
6896         (yn_test_data): Remove duplicate test of overflow.
6898         * math/libm-test.inc (struct test_cc_c_data): New type.
6899         (RUN_TEST_LOOP_cc_c): New macro.
6900         (cpow_test_data): New variable.
6901         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6903         * math/libm-test.inc (struct test_f_L_data): New type.
6904         (RUN_TEST_LOOP_f_L): New macro.
6905         (llrint_test_data): New variable.
6906         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6907         (llrint_tonearest_test_data): New variable.
6908         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6909         (llrint_towardzero_test_data): New variable.
6910         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6911         (llrint_downward_test_data): New variable.
6912         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6913         (llrint_upward_test_data): New variable.
6914         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6915         (llround_test_data): New variable.
6916         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6918 2013-05-13  Peter Collingbourne  <pcc@google.com>
6920         * math/atest-exp2.c (get_log2): Remove const attribute.
6922 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6924         * math/libm-test.inc (struct test_f_l_data): New type.
6925         (RUN_TEST_LOOP_f_l): New macro.
6926         (lrint_test_data): New variable.
6927         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6928         (lrint_tonearest_test_data): New variable.
6929         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6930         (lrint_towardzero_test_data): New variable.
6931         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6932         (lrint_downward_test_data): New variable.
6933         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6934         (lrint_upward_test_data): New variable.
6935         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6936         (lround_test_data): New variable.
6937         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6939 2013-05-15  Peter Collingbourne  <pcc@google.com>
6941         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6942         (EXTRACT_WORDS64) Use where appropriate.
6943         (INSERT_WORDS64) Likewise.
6945         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6946         constraints with x constraints.
6947         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6949         * malloc/obstack.c (_obstack_compat): Add initializer.
6951 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6953         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6954         si_trapno and add si_addr_lsb to _sifields.sigfault.
6955         (si_trapno): Remove macro.
6956         (si_addr_lsb): Define new macro.
6957         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6959 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6961         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6962         instead of TEST_f_l.
6963         (llrint_test_tonearest): Likewise.
6964         (llrint_test_towardzero): Likewise.
6965         (llrint_test_downward): Likewise.
6966         (llrint_test_upward): Likewise.
6967         (llround_test): Likewise.
6969         * math/libm-test.inc (struct test_f_i_data): Add comment.
6970         (RUN_TEST_LOOP_f_b): New macro.
6971         (RUN_TEST_LOOP_f_b_tg): Likewise.
6972         (finite_test_data): New variable.
6973         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6974         (isfinite_test_data): New variable.
6975         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6976         (isinf_test_data): New variable.
6977         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6978         (isnan_test_data): New variable.
6979         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6980         (isnormal_test_data): New variable.
6981         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6982         (issignaling_test_data): New variable.
6983         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6984         (signbit_test_data): New variable.
6985         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6987         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6988         with INVALID_EXCEPTION.
6989         (acosh_test_data): Likewise.
6990         (asin_test_data): Likewise.
6991         (atanh_test_data): Likewise.
6992         (fmod_test_data): Likewise.
6993         (log_test_data): Likewise.
6994         (log10_test_data): Likewise.
6995         (log2_test_data): Likewise.
6996         (pow_test_data): Likewise.
6997         (sqrt_test_data): Likewise.
6998         (y0_test_data): Likewise.
6999         (y1_test_data): Likewise.
7000         (yn_test_data): Likewise.
7002         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7003         function contents.
7005         * math/libm-test.inc (struct test_ff_i_data): New type.
7006         (RUN_TEST_LOOP_ff_i_tg): New macro.
7007         (isgreater_test_data): New variable.
7008         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7009         (isgreaterequal_test_data): New variable.
7010         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7011         (isless_test_data): New variable.
7012         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7013         (islessequal_test_data): New variable.
7014         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7015         (islessgreater_test_data): New variable.
7016         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7017         (isunordered_test_data): New variable.
7018         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7020 2013-05-14  David S. Miller  <davem@davemloft.net>
7022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7024 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
7026         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7028         * math/libm-test.inc (struct test_fF_f1_data): Change type of
7029         extra_test to int.
7030         (struct test_f_i_data): Change type of max_ulp to int.
7032         * math/libm-test.inc (test_ffI_f1_data): New type.
7033         (RUN_TEST_LOOP_ffI_f1): New macro.
7034         (remquo_test_data): New variable.
7035         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7037         * setjmp/tst-setjmp-fp.c: New file.
7038         * setjmp/Makefile (tests): Add tst-setjmp-fp.
7039         (link-libm): New variable.
7040         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7042         * math/libm-test.inc (struct test_f_i_data): New type.
7043         (RUN_TEST_LOOP_f_i): New macro.
7044         (RUN_TEST_LOOP_f_i_tg): Likewise.
7045         (fpclassify_test_data): New variable.
7046         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7047         (ilogb_test_data): New variable.
7048         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7050         * math/libm-test.inc (scalbln_test): Correct function name in END
7051         call.
7053         * math/libm-test.inc (struct test_f_f1_data): Add comment.
7054         (RUN_TEST_LOOP_fI_f1): New macro.
7055         (frexp_test_data): New variable.
7056         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7058         * math/libm-test.inc (struct test_fF_f1_data): New type.
7059         (RUN_TEST_LOOP_fF_f1): New macro.
7060         (modf_test_data): New variable.
7061         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7063         * math/libm-test.inc (struct test_f_f1_data): New type.
7064         (RUN_TEST_LOOP_f_f1): New macro.
7065         (gamma_test_data): New variable.
7066         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7067         (lgamma_test_data): New variable.
7068         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7070 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
7072         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7073         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7074         (main): Comment "tls" pseudo-hwcap.
7076 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
7078         * math/libm-test.inc (struct test_fl_f_data): New type.
7079         (RUN_TEST_LOOP_fl_f): New variable.
7080         (scalbln_test_data): New variable.
7081         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7083         * math/libm-test.inc (struct test_fi_f_data): New type.
7084         (RUN_TEST_LOOP_fi_f): New macro.
7085         (ldexp_test_data): New variable.
7086         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7087         (scalbn_test_data): New variable.
7088         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7090         * math/libm-test.inc (struct test_c_f_data): New type.
7091         (RUN_TEST_LOOP_c_f): New macro.
7092         (cabs_test_data): New variable.
7093         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7094         (carg_test_data): New variable.
7095         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7096         (cimag_test_data): New variable.
7097         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7098         (creal_test_data): New variable.
7099         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7101         * math/libm-test.inc (struct test_if_f_data): New type.
7102         (RUN_TEST_LOOP_if_f): New macro.
7103         (jn_test_data): New variable.
7104         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7105         (yn_test_data): New variable.
7106         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7108         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7110 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7112         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7113         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7115 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7117         * benchtests/Makefile (CPPFLAGS-nonlib): Add
7118         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7119         (bench-deps): Add bench-timing.h.
7120         * benchtests-bench-skeleton.c: Include bench-timing.h.
7121         (main): Use TIMING_* macros instead of clock_gettime.
7122         * benchtests/bench-timing.h: New file.
7124         [BZ #14582]
7125         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7126         Renamed from _LIB_VERSION.
7127         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7129 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
7131         * math/libm-test.inc (struct test_fff_f_data): New type.
7132         (RUN_TEST_LOOP_fff_f): New macro.
7133         (fma_test_data): New variable.
7134         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7135         (fma_towardzero_test_data): New variable.
7136         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7137         (fma_downward_test_data): New variable.
7138         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7139         (fma_upward_test_data): New variable.
7140         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7142         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7143         (struct test_c_c_data): New type.
7144         (RUN_TEST_LOOP_c_c): New macro.
7145         (cacos_test_data): New variable.
7146         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7147         (cacosh_test_data): New variable.
7148         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7149         (casin_test_data): New variable.
7150         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7151         (casinh_test_data): New variable.
7152         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7153         (catan_test_data): New variable.
7154         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7155         (catanh_test_data): New variable.
7156         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7157         (ccos_test_data): New variable.
7158         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7159         (ccosh_test_data): New variable.
7160         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7161         (cexp_test_data): New variable.
7162         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7163         (clog_test_data): New variable.
7164         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7165         (clog10_test_data): New variable.
7166         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7167         (conj_test_data): New variable.
7168         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7169         (cproj_test_data): New variable.
7170         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7171         (csin_test_data): New variable.
7172         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7173         (csinh_test_data): New variable.
7174         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7175         (csqrt_test_data): New variable.
7176         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7177         (ctan_test_data): New variable.
7178         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7179         (ctan_tonearest_test_data): New variable.
7180         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7181         (ctan_towardzero_test_data): New variable.
7182         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7183         (ctan_downward_test_data): New variable.
7184         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7185         (ctan_upward_test_data): New variable.
7186         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7187         (ctanh_test_data): New variable.
7188         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7189         (ctanh_tonearest_test_data): New variable.
7190         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7191         (ctanh_towardzero_test_data): New variable.
7192         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7193         (ctanh_downward_test_data): New variable.
7194         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7195         (ctanh_upward_test_data): New variable.
7196         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7197         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7198         of BUILD_COMPLEX.
7200         * math/libm-test.inc (struct test_ff_f_data): New type.
7201         (struct test_ff_f_data_nexttoward): Likewise.
7202         (RUN_TEST_LOOP_2_f): New macro.
7203         (RUN_TEST_LOOP_ff_f): Likewise.
7204         (atan2_test_data): New variable.
7205         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7206         (copysign_test_data): New variable.
7207         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7208         (fdim_test_data): New variable.
7209         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7210         (fmax_test_data): New variable.
7211         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7212         (fmin_test_data): New variable.
7213         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7214         (fmod_test_data): New variable.
7215         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7216         (hypot_test_data): New variable.
7217         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7218         (nextafter_test_data): New variable.
7219         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7220         (nexttoward_test_data): New variable.
7221         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7222         (pow_test_data): New variable.
7223         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7224         (pow_tonearest_test_data): New variable.
7225         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7226         (pow_towardzero_test_data): New variable.
7227         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7228         (pow_downward_test_data): New variable.
7229         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7230         (pow_upward_test_data): New variable.
7231         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7232         (remainder_test_data): New variable.
7233         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7234         (scalb_test_data): New variable.
7235         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7236         * sysdeps/i386/fpu/libm-test-ulps: Update.
7238 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
7240         * math/libm-test.inc (fma_test): Use max_value instead of local
7241         variable fltmax.
7242         (nextafter_test): Likewise.
7244         * math/libm-test.inc (acos_towardzero_test_data): New variable.
7245         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7246         (acos_downward_test_data): New variable.
7247         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7248         (acos_upward_test_data): New variable.
7249         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7250         (acosh_test_data): New variable.
7251         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7252         (asin_test_data): New variable.
7253         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7254         (asin_tonearest_test_data): New variable.
7255         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7256         (asin_towardzero_test_data): New variable.
7257         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7258         (asin_downward_test_data): New variable.
7259         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7260         (asin_upward_test_data): New variable.
7261         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7262         (asinh_test_data): New variable.
7263         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7264         (atan_test_data): New variable.
7265         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7266         (atanh_test_data): New variable.
7267         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7268         (cbrt_test_data): New variable.
7269         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7270         (ceil_test_data): New variable.
7271         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7272         (cos_test_data): New variable.
7273         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7274         (cos_tonearest_test_data): New variable.
7275         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7276         (cos_towardzero_test_data): New variable.
7277         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7278         (cos_downward_test_data): New variable.
7279         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7280         (cos_upward_test_data): New variable.
7281         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7282         (cosh_test_data): New variable.
7283         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7284         (cosh_tonearest_test_data): New variable.
7285         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7286         (cosh_towardzero_test_data): New variable.
7287         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7288         (cosh_downward_test_data): New variable.
7289         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7290         (cosh_upward_test_data): New variable.
7291         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7292         (erf_test_data): New variable.
7293         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7294         (erfc_test_data): New variable.
7295         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7296         (exp_test_data): New variable.
7297         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7298         (exp_tonearest_test_data): New variable.
7299         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7300         (exp_towardzero_test_data): New variable.
7301         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7302         (exp_downward_test_data): New variable.
7303         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7304         (exp_upward_test_data): New variable.
7305         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7306         (exp10_test_data): New variable.
7307         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7308         (exp2_test_data): New variable.
7309         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7310         (expm1_test_data): New variable.
7311         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7312         (fabs_test_data): New variable.
7313         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7314         (floor_test_data): New variable.
7315         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7316         (j0_test_data): New variable.
7317         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7318         (j1_test_data): New variable.
7319         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7320         (log_test_data): New variable.
7321         (log_test): Run tests with RUN_TEST_LOOP_f_f.
7322         (log10_test_data): New variable.
7323         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7324         (log1p_test_data): New variable.
7325         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7326         (log2_test_data): New variable.
7327         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7328         (logb_test_data): New variable.
7329         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7330         (logb_downward_test_data): New variable.
7331         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7332         (nearbyint_test_data): New variable.
7333         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7334         (rint_test_data): New variable.
7335         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7336         (rint_tonearest_test_data): New variable.
7337         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7338         (rint_towardzero_test_data): New variable.
7339         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7340         (rint_downward_test_data): New variable.
7341         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7342         (rint_upward_test_data): New variable.
7343         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7344         (round_test_data): New variable.
7345         (round_test): Run tests with RUN_TEST_LOOP_f_f.
7346         (sin_test_data): New variable.
7347         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7348         (sin_tonearest_test_data): New variable.
7349         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7350         (sin_towardzero_test_data): New variable.
7351         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7352         (sin_downward_test_data): New variable.
7353         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7354         (sin_upward_test_data): New variable.
7355         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7356         (sinh_test_data): New variable.
7357         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7358         (sinh_tonearest_test_data): New variable.
7359         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7360         (sinh_towardzero_test_data): New variable.
7361         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7362         (sinh_downward_test_data): New variable.
7363         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7364         (sinh_upward_test_data): New variable.
7365         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7366         (sqrt_test_data): New variable.
7367         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7368         (tan_test_data): New variable.
7369         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7370         (tan_tonearest_test_data): New variable.
7371         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7372         (tan_towardzero_test_data): New variable.
7373         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7374         (tan_downward_test_data): New variable.
7375         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7376         (tan_upward_test_data): New variable.
7377         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7378         (tanh_test_data): New variable.
7379         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7380         (tgamma_test_data): New variable.
7381         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7382         (trunc_test_data): New variable.
7383         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7384         (y0_test_data): New variable.
7385         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7386         (y1_test_data): New variable.
7387         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7388         (significand_test_data): New variable.
7389         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7391 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
7393         [BZ #12387]
7394         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7396 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7398         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7400 2013-05-10  Andreas Jaeger  <aj@suse.de>
7402         [BZ #15448]
7403         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7404         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7406 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7408         * math/gen-libm-test.pl (adjust_arg): New function.
7409         (special_functions): Handle generating output in both functions
7410         and arrays.
7411         (parse_args): Likewise.
7412         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
7413         $in_func argument to parse_args.
7414         * math/libm-test.inc (struct test_f_f_data): New type.
7415         (IF_ROUND_INIT_): New macro.
7416         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7417         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7418         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7419         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7420         (ROUND_RESTORE_): Likewise.
7421         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7422         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7423         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7424         (ROUND_RESTORE_FE_UPWARD): Likewise.
7425         (RUN_TEST_LOOP_f_f): New macro.
7426         (acos_test_data): New variable.
7427         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7428         (acos_tonearest_test_data): New variable.
7429         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7431 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7433         * benchtests/bench-skeleton.c (startup): Fix coding style.
7435 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7437         [BZ #6809]
7438         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7439         negative infinity argument.
7440         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7441         negative infinity argument.
7442         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7443         negative infinity argument.
7444         * math/libm-test.inc (tgamma_test): Expect errno to be set for
7445         domain errors.
7447 2013-05-10  Florian Weimer  <fweimer@redhat.com>
7449         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7450         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7451         * iconv/iconv_prog.c (main): Likewise.
7452         * locale/programs/charmap-dir.c (charmap_readdir)
7453         (fopen_uncompressed): Likewise.
7454         * locale/programs/locfile.c (siblings_uncached)
7455         (write_locale_data): Use lstat64 instead of lstat.
7456         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7457         stat.
7459 2013-05-10  Andreas Jaeger  <aj@suse.de>
7461         [BZ #15395]
7462         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7463         localization.
7464         Include <locale.h>.
7466 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
7468         * elf/dl-close.c (_dl_close_worker): Add comments.
7470 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
7472         [BZ #15359]
7473         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7474         high part of pi/2.
7475         (__ieee754_rem_pio2l): Update comments.
7477         [BZ #15429]
7478         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7479         high part of pi/2.
7480         (__ieee754_rem_pio2l): Update comments.
7482         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7483         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7485         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7486         M_PI_4l.
7488         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7489         (M_PI_34_LOG10El): Likewise.
7490         (M_PI2_LOG10El): Likewise.
7491         (M_PI4_LOG10El): Likewise.
7492         (M_PI_LOG10El): Likewise.
7494 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7498 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
7500         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7501         (MINUS_ZERO_INIT): Likewise.
7502         (PLUS_INFTY_INIT): Likewise.
7503         (MINUS_INFTY_INIT): Likewise.
7504         (QNAN_VALUE_INIT): Likewise.
7505         (MAX_VALUE_INIT): Likewise.
7506         (MIN_VALUE_INIT): Likewise.
7507         (MIN_SUBNORM_VALUE_INIT): Likewise.
7508         (plus_zero): Initialize with PLUS_ZERO_INIT.
7509         (minus_zero): Initialize with MINUS_ZERO_INIT.
7510         (plus_infty): Initialize with PLUS_INFTY_INIT.
7511         (minus_infty): Initialize with MINUS_INFTY_INIT.
7512         (qnan_value): Initialize with QNAN_VALUE_INIT.
7513         (max_value): Initialize with MAX_VALUE_INIT.
7514         (min_value): Initialize with MIN_VALUE_INIT.
7515         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7517         * math/libm-test.inc (RUN_TEST_if_f): New macro.
7518         (jn_test): Use TEST_if_f instead of TEST_ff_f.
7519         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7520         (yn_test): Use TEST_if_f instead of TEST_ff_f.
7522         * math/libm-test.inc (RUN_TEST_f_f): New macro.
7523         (RUN_TEST_2_f): Likewise.
7524         (RUN_TEST_ff_f): Likewise.
7525         (RUN_TEST_fi_f): Likewise.
7526         (RUN_TEST_fl_f): Likewise.
7527         (RUN_TEST_fff_f): Likewise.
7528         (RUN_TEST_c_f): Likewise.
7529         (RUN_TEST_f_f1): Likewise.
7530         (RUN_TEST_fF_f1): Likewise.
7531         (RUN_TEST_fI_f1): Likewise.
7532         (RUN_TEST_ffI_f1): Likewise.
7533         (RUN_TEST_c_c): Likewise.
7534         (RUN_TEST_cc_c): Likewise.
7535         (RUN_TEST_f_i): Likewise.
7536         (RUN_TEST_f_i_tg): Likewise.
7537         (RUN_TEST_ff_i_tg): Likewise.
7538         (RUN_TEST_f_b): Likewise.
7539         (RUN_TEST_f_b_tg): Likewise.
7540         (RUN_TEST_f_l): Likewise.
7541         (RUN_TEST_f_L): Likewise.
7542         (RUN_TEST_sincos): Likewise.
7543         * math/gen-libm-test.pl (new_test): Take new argument to indicate
7544         whether to show exceptions.  Do not include ");\n" in return
7545         value.
7546         (special_functions): Output call to RUN_TEST_sincos instead of
7547         check_float calls.  Update calls to new_test.
7548         (parse_args): Output call to single RUN_TEST_* macro instead of
7549         check_* calls and other assignments.  Update calls to new_test.
7551         [BZ #2546]
7552         [BZ #2560]
7553         [BZ #5159]
7554         [BZ #15426]
7555         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7556         input to result for tgamma overflow.
7557         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7558         (gamma_coeff): New variable.
7559         (NCOEFF): New macro.
7560         (gamma_positive): New function.
7561         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7562         underflow here.  Use gamma_positive instead of exp (lgamma) for
7563         other arguments.
7564         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7565         (gamma_coeff): New variable.
7566         (NCOEFF): New macro.
7567         (gammaf_positive): New function.
7568         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7569         underflow here.  Use gamma_positive instead of exp (lgamma) for
7570         other arguments.
7571         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7572         (gamma_coeff): New variable.
7573         (NCOEFF): New macro.
7574         (gammal_positive): New function.
7575         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7576         underflow here.  Use gamma_positive instead of exp (lgamma) for
7577         other arguments.
7578         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7579         (gamma_coeff): New variable.
7580         (NCOEFF): New macro.
7581         (gammal_positive): New function.
7582         (__ieee754_gammal_r): Handle positive infinity, overflow and
7583         underflow here.  Handle NaN the same as positive infinity.  Remove
7584         check x < 0xffffffff for negative integers.  Use gamma_positive
7585         instead of exp (lgamma) for other arguments.
7586         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7587         (gamma_coeff): New variable.
7588         (NCOEFF): New macro.
7589         (gammal_positive): New function.
7590         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7591         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7592         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7593         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7594         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7595         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7596         * sysdeps/generic/math_private.h (__gamma_productf): New
7597         prototype.
7598         (__gamma_product): Likewise.
7599         (__gamma_productl): Likewise.
7600         * math/Makefile (libm-calls): Add gamma_product.
7601         * math/libm-test.inc (tgamma_test): Add more tests.
7602         * sysdeps/i386/fpu/libm-test-ulps: Update.
7603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
7607         * benchtests/bench-skeleton.c (main): Preheat CPU.
7609 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
7611         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7613 2013-05-07  Roland McGrath  <roland@hack.frob.com>
7615         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7616         and _dl_skip_args_internal.
7618 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
7620         * manual/message.texi (Message Translation): Talk about users.
7621         Message to key mapping impacts design.
7623 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7625         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7627         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7629         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7630         * sysdeps/wordsize-64/glob64.c: ... here.
7632         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7633         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7634         New macros.
7636         * debug/getlogin_r_chk.c: Moved to ...
7637         * login/getlogin_r_chk.c: ... here.
7638         * debug/Makefile (routines): Move getlogin_r_chk to ...
7639         * login/Makefile (routines): ... here.
7640         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7641         * login/Versions (libc: GLIBC_2.4): ... here.
7643         * io/poll.c (__poll): Renamed from poll.
7644         Add libc_hidden_def.
7645         (poll): Define as weak alias.
7647         * debug/ptsname_r_chk.c: Moved to ...
7648         * login/ptsname_r_chk.c: ... here.
7649         * debug/Makefile (routines): Move ptsname_r_chk to ...
7650         * login/Makefile (routines): ... here.
7651         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7652         * login/Versions (libc: GLIBC_2.4): ... here.
7654         * posix/getlogin.c: Moved to ...
7655         * login/getlogin.c: ... here.
7656         * posix/getlogin_r.c: Moved to ...
7657         * login/getlogin_r.c: ... here.
7658         * posix/getlogin_r.c: Moved to ...
7659         * login/getlogin_r.c: ... here.
7660         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7661         * login/Makefile (routines): ... here.
7662         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7663         * login/Versions (libc: GLIBC_2.0): ... here.
7665         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7666         (setrlimit): Define as weak alias.
7668         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7669         Call __ names for open, ftruncate, and close.
7670         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7671         (truncate): Define as weak alias.
7673 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
7675         * math/gen-libm-test.pl (parse_args): Initialize x before each
7676         test of frexp, modf and remquo.
7678         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7679         test signgam value.
7681 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7683         [BZ #15418]
7684         [BZ #15419]
7685         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7686         internal tests.
7687         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7689 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7691         * elf/dl-writev.h: New file.
7692         * elf/dl-misc.c: Include it.
7693         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7694         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7696 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
7698         * math/libm-test.inc (noXFails): Remove variable.
7699         (noXPasses): Likewise.
7700         (BUILD_COMPLEX_INT): Remove macro.
7701         (print_screen): Remove xfail argument.
7702         (print_screen_max_error): Likewise.
7703         (update_stats): Likewise.
7704         (print_max_error): Likewise.  Update calls to other affected
7705         functions.
7706         (print_complex_max_error): Likewise.
7707         (test_single_exception): Update calls to print_screen.
7708         (test_single_errno): Likewise.
7709         (check_float_internal): Remove xfail argument.  Update calls to
7710         other affected functions.
7711         (check_float): Likewise.
7712         (check_complex): Likewise.
7713         (check_int): Likewise.
7714         (check_long): Likewise.
7715         (check_bool): Likewise.
7716         (check_longlong): Likewise.
7717         (main): Don't print noXFails and noXPasses.
7718         * math/gen-libm-test.pl (top level): Don't mention expected
7719         failure handling in comment.
7720         (new_test): Don't handle expected failures.
7721         (parse_args): Don't mention expected failure handling in comment.
7722         (generate_testfile): Don't handle expected failures.
7723         (parse_ulps): Likewise.
7724         (print_ulps_file): Likewise.
7725         (get_failure): Remove function.
7726         (output_test): Don't handle expected failures.
7727         * make/README.libm-test: Don't mention expected failure handling.
7729         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
7730         (minus_zero): Likewise.
7731         (plus_infty): Likewise.
7732         (minus_infty): Likewise.
7733         (qnan_value): Likewise.
7734         (max_value): Likewise.
7735         (min_value): Likewise.
7736         (min_subnorm_value): Likewise.
7737         (initialize): Do not initialize those variables dynamically.
7739 2013-05-03  Roland McGrath  <roland@hack.frob.com>
7741         * io/open.c (__open_2): Moved to ...
7742         * io/open_2.c: ... this new file.
7743         * io/open64.c (__open64_2): Moved to ...
7744         * io/open64_2.c: ... this new file.
7745         * io/openat.c (__openat_2): Moved to ...
7746         * io/openat_2.c: ... this new file.
7747         * io/openat64.c (__openat64_2): Moved to ...
7748         * io/openat64_2.c: ... this new file.
7749         * io/Makefile (routines): Add them.
7750         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7751         * sysdeps/unix/sysv/linux/open_2.c: File removed.
7752         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7753         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7754         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7755         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7756         (__openat64): Add hidden_ver.
7757         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7758         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7760         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7761         Separately conditionalize setting of GLRO(dl_sysinfo) so
7762         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7763         as well, but the actual setting is only under [NEED_DL_SYSINFO].
7765 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7767         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7768         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7769         definition.
7770         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7771         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7772         (_libc_vdso_platform_setup): Add __vdso_time initialization.
7773         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7774         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7776 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
7778         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7779         test signgam value.
7781         * math/libm-test.inc (hypot_test): Do not use
7782         IGNORE_ZERO_INF_SIGN.
7784 2013-05-03  Andreas Jaeger  <aj@suse.de>
7786         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7787         Linux 3.9.
7788         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7789         (PF_MAX): Adjust for VSOCK change.
7791 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7795 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7797         [BZ #15264]
7798         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7799         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7800         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7802 2013-05-02  David S. Miller  <davem@davemloft.net>
7804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7806 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7808         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7810 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7812         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7814 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7816         [BZ #14952]
7817         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7818         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7819         Use __attribute__ ((__gnu_inline__)).
7820         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7821         Don't use __attribute__ ((__gnu_inline__)).
7823 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7825         [BZ #15423]
7826         * math/s_catan.c (__catan): Handle small real or imaginary part of
7827         input specially to avoid spurious underflow.
7828         * math/s_catanf.c (__catanf): Likewise.
7829         * math/s_catanh.c (__catanh): Likewise.
7830         * math/s_catanhf.c (__catanhf): Likewise.
7831         * math/s_catanhl.c (__catanhl): Likewise.
7832         * math/s_catanl.c (__catanl): Likewise.
7833         * math/libm-test.inc (catan_test): Add more tests.
7834         (catanh_test): Likewise.
7835         * sysdeps/i386/fpu/libm-test-ulps: Update.
7836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7838 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7842 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7844         [BZ #15416]
7845         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7846         accurately for denominator in atan2.
7847         * math/s_catanf.c (__catanf): Likewise.
7848         * math/s_catanh.c (__catanh): Likewise.
7849         * math/s_catanhf.c (__catanhf): Likewise.
7850         * math/s_catanhl.c (__catanhl): Likewise.
7851         * math/s_catanl.c (__catanl): Likewise.
7852         * math/libm-test.inc (catan_test): Add more tests.
7853         (catanh_test): Likewise.
7854         * sysdeps/i386/fpu/libm-test-ulps: Update.
7855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7857 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7859         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7861         * benchtests/Makefile (bench): Remove slow benchmarks.
7862         * benchtests/atan-inputs: Add slow benchmark inputs.
7863         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7864         (BENCH_FUNC): Accept variant offset.
7865         (VARIANT): Define.
7866         * benchtests/bench-skeleton.c (main): Run benchmark for each
7867         variant.
7868         * benchtests/cos-inputs: Add slow benchmark inputs.
7869         * benchtests/exp-inputs: Likewise.
7870         * benchtests/pow-inputs: Likewise.
7871         * benchtests/sin-inputs: Likewise.
7872         * benchtests/slowatan-inputs: Remove.
7873         * benchtests/slowatan.c: Remove.
7874         * benchtests/slowcos-inputs: Remove.
7875         * benchtests/slowcos.c: Remove.
7876         * benchtests/slowexp-inputs: Remove.
7877         * benchtests/slowexp.c: Remove.
7878         * benchtests/slowpow-inputs: Remove.
7879         * benchtests/slowpow.c: Remove.
7880         * benchtests/slowsin-inputs: Remove.
7881         * benchtests/slowsin.c: Remove.
7882         * benchtests/slowtan-inputs: Remove.
7883         * benchtests/slowtan.c: Remove.
7884         * benchtests/tan-inputs: Add slow benchmark inputs.
7885         * scripts/bench.pl: Parse comments and directives.
7887         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7888         in CPPFLAGS.
7889         ($(objpfx)bench-%.c): Remove *-ITER.
7890         * benchtests/bench-modf.c: Remove definition of ITER.
7891         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7892         (main): Loop for DURATION seconds instead of fixed number of
7893         iterations.
7894         * scripts/bench.pl: Don't expect iterations in parameters.
7896 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7898         * io/fchdir.c (__fchdir): Renamed from fchdir.
7899         (fchdir): Define as weak alias.
7901 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7903         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7904         (ERRNO_EDOM): Likewise.
7905         (ERRNO_ERANGE): Likewise.
7906         (noErrnoTests): New variable.
7907         (init_max_error): Set errno to 0.
7908         (test_single_errno): New function.
7909         (test_errno): Likewise.
7910         (check_float_internal): Call test_errno.  Set errno to 0.
7911         (check_complex): Refer to errno tests in comment.
7912         (check_int): Call test_errno.  Set errno to 0.
7913         (check_long): Likewise.
7914         (check_bool): Likewise.
7915         (check_longlong): Likewise.
7916         (cos_test): Use ERRNO_* flags for errno tests instead of
7917         check_int.
7918         (expm1_test): Likewise.
7919         (fmod_test): Likewise.
7920         (ilogb_test): Likewise.
7921         (lgamma_test): Likewise.
7922         (pow_test): Likewise.
7923         (remainder_test): Likewise.
7924         (sin_test): Likewise.
7925         (tan_test): Likewise.
7926         (yn_test): Likewise.
7927         (initialize): Set errno to 0.
7928         (main): Print number of errno tests.
7929         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7931 2013-04-29  Andreas Jaeger  <aj@suse.de>
7933         [BZ #15084]
7934         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7935         and RES_USEVC.
7937         [BZ #15085]
7938         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7939         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7940         unimplemented.
7942         [BZ #15380]
7943         * stdlib/random.c (__initstate): Return NULL if
7944         __initstate fails.
7946         [BZ #15086]
7947         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7948         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7949         RES_SNGLKUPREOP.
7951 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7955 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7957         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7958         of individual tests.
7959         (casin_test): Likewise.
7960         (casinh_test): Likewise.
7962 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7964         [BZ #15409]
7965         * math/s_catan.c (__catan): Handle arguments with large real or
7966         imaginary part separately without squaring.
7967         * math/s_catanf.c (__catanf): Likewise.
7968         * math/s_catanh.c (__catanh): Likewise.
7969         * math/s_catanhf.c (__catanhf): Likewise.
7970         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7971         and redefine.
7972         (__catanhl): Handle arguments with large real or imaginary part
7973         separately without squaring.
7974         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7975         and redefine.
7976         (__catanl): Handle arguments with large real or imaginary part
7977         separately without squaring.
7978         * math/libm-test.inc (catan_test): Add more tests.
7979         (catanh_test): Likewise.
7980         * sysdeps/i386/fpu/libm-test-ulps: Update.
7981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7983 2013-04-27  Andreas Jaeger  <aj@suse.de>
7985         [BZ #15007]
7986         * stdlib/stdlib.h: Update guards for qecvt.
7987         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7988         <stdlib.h>.
7990 2013-04-27  Allan McRae  <allan@archlinux.org>
7992         * sysdeps/i386/fpu/libm-test-ulps: Update.
7994 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7996         [BZ #15406]
7997         * math/s_catan.c: Include <float.h>.
7998         (__catan): Ensure underflow exception occurs for underflowed
7999         result.
8000         * math/s_catanf.c: Include <float.h>.
8001         (__catanf): Ensure underflow exception occurs for underflowed
8002         result.
8003         * math/s_catanh.c: Include <float.h>.
8004         (__catanh): Ensure underflow exception occurs for underflowed
8005         result.
8006         * math/s_catanhf.c: Include <float.h>.
8007         (__catanhf): Ensure underflow exception occurs for underflowed
8008         result.
8009         * math/s_catanhl.c: Include <float.h>.
8010         (__catanhl): Ensure underflow exception occurs for underflowed
8011         result.
8012         * math/s_catanl.c: Include <float.h>.
8013         (__catanl): Ensure underflow exception occurs for underflowed
8014         result.
8015         * math/libm-test.inc (catan_test): Add more tests.
8016         (catanh_test): Likewise.
8018         [BZ #15405]
8019         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8020         underflowed result.
8021         * math/s_ccoshf.c (__ccoshf): Likewise.
8022         * math/s_ccoshl.c (__ccoshl): Likewise.
8023         * math/s_csin.c (__csin): Likewise.
8024         * math/s_csinf.c (__csinf): Likewise.
8025         * math/s_csinh.c (__csinh): Likewise.
8026         * math/s_csinhf.c (__csinhf): Likewise.
8027         * math/s_csinhl.c (__csinhl): Likewise.
8028         * math/s_csinl.c (__csinl): Likewise.
8029         * math/libm-test.inc (ccos_test): Add more tests.
8030         (ccosh_test): Likewise.
8031         (csin_test): Likewise.
8032         (csinh_test): Likewise.
8034 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8036         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8037         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8038         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8039         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8040         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8041         powerpc/power5+/fpu folders.
8042         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8045 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8049 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
8051         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8052         additions to variable.
8053         [$(config-machine) = x86_64] (modules-names): Likewise.
8054         ($(objpfx)tst-audit3): Remove dependency.
8055         ($(objpfx)tst-audit3.out): Likewise.
8056         ($(objpfx)tst-audit4): Likewise.
8057         ($(objpfx)tst-audit4.out): Likewise.
8058         ($(objpfx)tst-audit5): Likewise.
8059         ($(objpfx)tst-audit5.out): Likewise.
8060         ($(objpfx)tst-audit6): Likewise.
8061         ($(objpfx)tst-audit6.out): Likewise.
8062         ($(objpfx)tst-audit7): Likewise.
8063         ($(objpfx)tst-audit7.out): Likewise.
8064         (tst-audit3-ENV): Remove variable.
8065         (tst-audit4-ENV): Likewise.
8066         (tst-audit5-ENV): Likewise.
8067         (tst-audit6-ENV): Likewise.
8068         (tst-audit7-ENV): Likewise.
8069         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8070         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8071         addition to variable.
8072         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8073         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8074         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8075         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8076         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8077         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8078         tst-audit3, tst-audit4 and tst-audit5.
8079         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8080         tst-audit6 and tst-audit7.
8081         [$(subdir) = elf] (modules-names): Add audit modules for those
8082         tests.
8083         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8084         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8085         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8086         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8087         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8088         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8089         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8090         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8091         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8092         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8093         [$(subdir) = elf] (tst-audit3-ENV): New variable.
8094         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8095         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8096         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8097         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8098         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8099         Likewise.
8100         [$(subdir) = elf && $(config-cflags-avx) = yes]
8101         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8102         [$(subdir) = elf && $(config-cflags-avx) = yes]
8103         (CFLAGS-tst-auditmod4a.c): Likewise.
8104         [$(subdir) = elf && $(config-cflags-avx) = yes]
8105         (CFLAGS-tst-auditmod4b.c): Likewise.
8106         [$(subdir) = elf && $(config-cflags-avx) = yes]
8107         (CFLAGS-tst-auditmod6b.c): Likewise.
8108         [$(subdir) = elf && $(config-cflags-avx) = yes]
8109         (CFLAGS-tst-auditmod6c.c): Likewise.
8110         [$(subdir) = elf && $(config-cflags-avx) = yes]
8111         (CFLAGS-tst-auditmod7b.c): Likewise.
8112         * elf/tst-audit3.c: Move to ...
8113         * sysdeps/x86_64/tst-audit3.c: ... here.
8114         * elf/tst-audit4.c: Move to ...
8115         * sysdeps/x86_64/tst-audit4.c: ... here.
8116         * elf/tst-audit5.c: Move to ...
8117         * sysdeps/x86_64/tst-audit5.c: ... here.
8118         * elf/tst-audit6.c: Move to ...
8119         * sysdeps/x86_64/tst-audit6.c: ... here.
8120         * elf/tst-audit7.c: Move to ...
8121         * sysdeps/x86_64/tst-audit7.c: ... here.
8122         * elf/tst-auditmod3a.c: Move to ...
8123         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8124         * elf/tst-auditmod3b.c: Move to ...
8125         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8126         * elf/tst-auditmod4a.c: Move to ...
8127         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8128         * elf/tst-auditmod4b.c: Move to ...
8129         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8130         * elf/tst-auditmod5a.c: Move to ...
8131         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8132         * elf/tst-auditmod5b.c: Move to ...
8133         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8134         * elf/tst-auditmod6a.c: Move to ...
8135         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8136         * elf/tst-auditmod6b.c: Move to ...
8137         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8138         * elf/tst-auditmod6c.c: Move to ...
8139         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8140         * elf/tst-auditmod7a.c: Move to ...
8141         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8142         * elf/tst-auditmod7b.c: Move to ...
8143         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8145 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
8147         [BZ #15366]
8148         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8149         define unconditionally.
8150         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8151         define unconditionally.
8152         (INT8_C, INT16_C, etc.): Likewise.
8154 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
8156         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8157         __ehdr_start with hidden visibility.
8159         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8161 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
8163         * math/libm-test.inc (cos_test): Use accurate hex constants.
8164         (sincost_test): Likewise.
8166 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
8168         * math/libm-test.inc (catan_test): Add more tests.
8169         (catanh_test): Likewise.
8171         * math/s_catanf.c (__catanf): Use suffixed floating-point
8172         constants.
8173         * math/s_catanhf.c (__catanhf): Likewise.
8174         * math/s_catanhl.c (__catanhl): Likewise.
8175         * math/s_catanl.c (__catanl): Likewise.
8177         [BZ #15394]
8178         * math/s_catan.c (__catan): Calculate imaginary part of result
8179         with log1p not log unless computing log of number close to 0.
8180         * math/s_catanf.c (__catanf): Likewise.
8181         * math/s_catanl.c (__catanl): Likewise.
8182         * math/s_catanh.c (__catanh): Calculate real part of result with
8183         log1p not log unless computing log of number close to 0.
8184         * math/s_catanhf.c (__catanhf): Likewise.
8185         * math/s_catanhl.c (__catanhl): Likewise.
8186         * math/libm-test.inc (catan_test): Add more tests.
8187         (catanh_test): Likewise.
8188         * sysdeps/i386/fpu/libm-test-ulps: Update.
8189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8191 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8193         * benchtests/Makefile: Mention files in which fast and slow
8194         paths of math functions are implemented.
8196 2013-04-23  Roland McGrath  <roland@hack.frob.com>
8198         * sysdeps/posix/timespec_get.c: New file.
8200 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8202         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8203         POWER.
8204         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8205         for POWER.
8206         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8207         powerpc/power5/fpu folders.
8208         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8209         * benchtests/Makefile: Add modf testcase.
8210         * benchtests/bench-modf.c: New file: Benchmark test for mo
8212 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8214         [BZ #14888]
8215         * time/Makefile (tests): Add tst-strptime-whitespace.
8216         * time/strptime_l.c (get_number): Use ISSPACE.
8217         (__strptime_internal): Likewise.
8218         * time/tst-strptime-whitespace.c: New test case.
8220 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
8222         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8223         member.
8224         (_nss_files_init): Set it here.
8226 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
8228         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8229         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8230         unsigned.
8232 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
8234         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8236 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8238         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8239         size just once.
8241 2013-04-21  David S. Miller  <davem@davemloft.net>
8243         * po/ru.po: Update Russion translation from translation project.
8245 2013-04-17  Adam Conrad  <adconrad@0c3.net>
8247         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8248         and setfsgid.
8250 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
8252         * configure.in: Remove i386 configure warning. Remove i386 case.
8253         * configure: Regenerate.
8254         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8255         Add example to error message.
8256         * sysdeps/i386/configure: Regenerate.
8258 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8260         * benchtests/Makefile (bench): Add cos, tan, slowcos and
8261         slowtan.
8262         * benchtests/cos-inputs: New file.
8263         * benchtests/slowcos-inputs: New file.
8264         * benchtests/slowcos.c: New file.
8265         * benchtests/slowtan-inputs: New file.
8266         * benchtests/slowtan.c: New file.
8267         * benchtests/tan-inputs: New file.
8269 2013-04-16  Roland McGrath  <roland@hack.frob.com>
8271         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8272         considered kosher.
8274 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8276         * benchtests/Makefile: Include cppflags-iterator.mk to add
8277         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8279         * Makefile.in (bench-clean): New target.
8280         * benchtests/Makefile (bench-clean): Likewise.
8282 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
8284         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8286 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
8288         * stdio-common/tstdiomisc.c: Fix coding-style violation.
8290 2013-04-15  Andreas Schwab  <schwab@suse.de>
8292         * nscd/grpcache.c (cache_addgr): Properly check for short write.
8293         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8294         * nscd/pwdcache.c (cache_addpw): Likewise.
8295         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
8296         more than recsize.
8298 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8300         * benchtests/Makefile (bench): Write all output to
8301         bench-out.tmp together.
8303 2013-04-15  Andreas Schwab  <schwab@suse.de>
8305         * nscd/nscd.c (main): Don't fork again after closing files.
8307 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8309         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8311         * benchtests/Rules (bench-deps): Collect dependencies into a
8312         single variable.  Add Makefile to dependencies.
8313         ($(objpfx)bench-%.c): Depend on bench-deps.
8315 2013-04-12  Roland McGrath  <roland@hack.frob.com>
8316             Xavier Roche  <roche+kml2@exalead.com>
8318         [BZ #15361]
8319         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8320         just that it's a file descriptor.
8321         * manual/llio.texi (Synchronizing AIO Operations): Update description
8322         for EBADF error from aio_fsync.
8324 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8326         * Rules (bench): Move target definition...
8327         * benchtests/Makefile: ... here.
8329 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
8331         * math/libm-test.inc (cos_test): Fix PI/2 test.
8332         (sincos_test): Likewise.
8333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8334         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8336 2013-04-11  Andreas Schwab  <schwab@suse.de>
8338         [BZ #13988]
8339         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8340         accept exponent character only when digits were seen.
8341         * stdio-common/Makefile (tests): Add bug26.
8342         * stdio-common/bug26.c: New file.
8344         [BZ #14293]
8345         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8346         non-freeable.
8348 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8350         * Makeconfig (rtld-prefix): Define built linker prefix.
8351         * Rules (run-bench): Use it.
8352         * math/Makefile (run-regen-ulps): Likewise.
8354         * Rules (bench): Remove eval.
8356 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8357             Roland McGrath  <roland@hack.frob.com>
8358             Ondrej Bilka  <neleai@seznam.cz>
8360         [BZ #15346]
8361         * time/getdate.c: Include ctype.h and alloca.h.
8362         (__getdate_r): Trim leading and trailing spaces of input.
8363         * time/tst-getdate.c (tests): Add tests with leading and
8364         trailing spaces.
8366 2013-04-08  Roland McGrath  <roland@hack.frob.com>
8368         [BZ #14280]
8369         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8370         when computing value.
8372 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8374         * math/README.libm-test (How can I generate "libm-test-ulps"?):
8375         Use testrun.sh to run libm tests.
8377         [BZ #15309]
8378         * elf/dl-open.c (dl_open_worker): memset all of seen array.
8380 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
8382         [BZ #15264]
8383         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8385 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8387         * Makefile.in (regen-ulps): New target.
8388         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8389         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8390         [ifneq (no,$(PERL)] (regen-ulps): New target.
8391         [ifeq (no,$(PERL)] (regen-ulps): New target.
8392         * math/libm-test.inc (ulps_file_name): Define.
8393         (output_dir): New variable.
8394         (options): Add "output-dir" option.
8395         (parse_opt): Handle 'o' case.
8396         (main): If output_dir is non-NULL use it as a prefix
8397         otherwise use "".
8398         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8400 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8402         [BZ #10060, #10062]
8403         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8404         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8405         fail configure if __sync_val_compare_and_swap is not inlined.
8406         * sysdeps/i386/configure: Regenerate.
8407         * configure.in: Build for i686 when configured for i386.
8408         * configure: Regenerate.
8409         * README: Remove i386 reference.
8411 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8413         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8414         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8416 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8418         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8419         (lmsnanval): New variables.
8420         (F): Add conversion tests.
8421         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8422         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8424         * stdio-common/tstdiomisc.c (F): Properly collect individual
8425         tests' results.
8427         [BZ #14686, #15336]
8428         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8429         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8430         Instead, use input NaN values or generate a qNaN by arithmetic
8431         operation.  Also fix bugs to comply with the standard.
8432         * math/libm-test.inc (remainder_test): Add more tests.
8434         [BZ #15335, #15342]
8435         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8436         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8437         input NaN values or generate a qNaN by arithmetic operation.
8439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8440         unreachable code.
8442         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8443         definitions.
8445 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
8447         [BZ #14478]
8448         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8449         underflowed result.
8450         * math/s_cexpf.c (__cexpf): Likewise.
8451         * math/s_cexpl.c (__cexpl): Likewise.
8452         * math/libm-test.inc (cexp_test): Add more tests.
8454 2013-04-03  Andreas Schwab  <schwab@suse.de>
8456         [BZ #15330]
8457         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8458         order arrays from heap if bigger than alloca cutoff.
8460 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
8462         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8463         (SNAN_TESTS_double): Refer to GCC PR56831.
8464         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8465         GCC PR56828.
8467 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8469         * Rules (bench): Move bench.out after the run is complete.
8471         * Rules (bench): Echo currently running benchmark.
8473         * benchtests/Makefile (bench): Add atan and slowatan.
8474         * benchtests/atan-inputs: New file.
8475         * benchtests/slowatan-inputs: New file.
8476         * benchtests/slowatan.c: New file.
8478         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8479         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8480         its value.
8482         [BZ #15305]
8483         * sysdeps/unix/sysv/linux/kernel-features.h
8484         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8485         __ASSUME_XFS_RESTRICTED_CHOWN.
8486         * sysdeps/unix/sysv/linux/pathconf.c
8487         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8488         Save and restore errno.
8490 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
8492         [BZ #15327]
8493         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8494         arguments using __kernel_casinh.
8495         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8496         arguments using __kernel_casinhf.
8497         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8498         arguments using __kernel_casinhl.
8499         * math/libm-test.inc (cacosh_test): Add more tests.
8500         * sysdeps/i386/fpu/libm-test-ulps: Update.
8501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8503 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8505         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8506         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8508         * bench/Makefile (bench): Add sin and slowsin.
8509         * benchtests/sin-inputs: New file.
8510         * benchtests/slowsin-inputs: New file.
8511         * benchtests/slowsin.c: New file.
8513         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8514         (bench): Add slowexp and slowpow.
8515         (exp-ITER): Increase iterations.
8516         (pow-ITER): Likewise.
8517         * benchtests/exp-inputs: Change input.
8518         * benchtests/pow-inputs: Likewise.
8519         * benchtests/slowexp-inputs: New file.
8520         * benchtests/slowexp.c: New file.
8521         * benchtests/slowpow-inputs: New file.
8522         * benchtests/slowpow.c: New file.
8524 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8526         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8527         instructions.
8528         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8529         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8530         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8531         * benchtests/Makefile: Add rint benchtest.
8532         * benchtests/rint-inputs: Input for rint benchtest.
8534 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8536         * Versions.def (libm): Add GLIBC_2.18.
8537         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8538         hidden libm prototypes.
8539         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8540         * math/Makefile (libm-calls): Add s_issignaling.
8541         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8542         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
8543         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8544         declaration.
8545         * math/math.h [__USE_GNU] (issignaling): New macro.
8546         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8547         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8548         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8549         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8550         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8551         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8552         * manual/arith.texi (issignaling): New section.
8553         * manual/libm-err-tab.pl (@all_functions): Update comment.
8554         * math/gen-libm-test.pl (parse_args): Apply special handling for
8555         issignaling.
8556         * math/libm-test.inc (print_float, issignaling_test): New
8557         functions.
8558         (check_float_internal): Add issignaling checks.
8559         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8560         default definition.
8561         * sysdeps/powerpc/math-tests.h: New file.
8562         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8563         tests.
8564         * math/test-snan.c (TEST_FUNC): Likewise.
8566 2013-03-30  David S. Miller  <davem@davemloft.net>
8568         * po/de.po: Update from translation team.
8570 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
8572         [BZ #10357]
8573         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8574         imaginary part less than 1.0 and real part less than 0.5
8575         specially.
8576         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8577         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8578         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8579         (cacos_test): Add more tests.
8580         (casin_test): Likewise.
8581         (casinh_test): Likewise.
8582         * sysdeps/i386/fpu/libm-test-ulps: Update.
8583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8587         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8588         ONE with its value.
8590         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8591         (__pow_mp): Replace ONE and MONE with their values.
8592         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8593         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8594         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8595         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8596         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8597         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8599         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8601         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8602         (__pow_mp): Replace ZERO and MZERO with their values.
8603         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8604         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8605         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8607         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8608         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8609         (__sqr): Likewise.
8611         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8613         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8615 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8617         * include/stdlib.h [!SHARED] (__call_tls_dtors):
8618         Declare with __attribute__ ((weak)).
8619         * stdlib/exit.c (__libc_atexit) [!SHARED]:
8620         Call __call_tls_dtors only if it's not NULL.
8622 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8624         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8625         didn't do it already, then set _dl_phdr and _dl_phnum based on the
8626         magic __ehdr_start linker symbol if it's defined.
8627         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8628         them up here if it was already done.
8630         * elf/dl-support.c (_dl_phdr): Make pointer to const.
8631         (_dl_aux_init): Use const in cast when setting it.
8632         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8633         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8634         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8636         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8637         Declare them here.
8638         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8639         * csu/libc-tls.c: Nor here.
8640         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8642         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8643         (__libc_message): Never call vsyslog.
8645 2013-03-28  Alan Modra  <amodra@gmail.com>
8647         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8648         Define as empty.
8649         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8650         Likewise.
8652 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8654         [BZ #15214]
8655         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8656         underflow.
8657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8659 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8661         [BZ #15304]
8662         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8663         Don't add gid passed as argument.
8665         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8667 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
8669         [BZ #15307]
8670         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8671         imaginary part between 1.0 and 1.5 and real part less than 0.5
8672         specially.
8673         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8674         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8675         * math/libm-test.inc (cacos_test): Add more tests.
8676         (casin_test): Likewise.
8677         (casinh_test): Likewise.
8678         * sysdeps/i386/fpu/libm-test-ulps: Update.
8679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8681 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8683         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8684         constants.
8685         (norm): Likewise.
8686         (denorm): Likewise.
8687         (__dbl_mp): Likewise.
8688         (add_magnitudes): Likewise.
8689         (sub_magnitudes): Likewise.
8690         (__add): Likewise.
8691         (__sub): Likewise.
8692         (__mul): Likewise.
8693         (__sqr): Likewise.
8694         (__inv): Likewise.
8695         (__dvd): Likewise.
8697         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8698         commented code.
8699         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8700         (__dubcos): Likewise.
8701         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8702         (__ieee754_acos): Likewise.
8703         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8704         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8705         (__exp1): Likewise.
8706         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8707         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8708         (log1): Likewise.
8709         (my_log2): Likewise.
8710         (checkint): Likewise.
8711         * sysdeps/ieee754/dbl-64/e_remainder.c
8712         (__ieee754_remainder): Likewise.
8713         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8715         (bsloww): Likewise.
8716         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8718         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8719         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8720         MANTISSA_STORE_T to store computations on mantissa.  Use
8721         macros for rounding and division.
8722         (denorm): Likewise.
8723         (__dbl_mp): Likewise.
8724         (add_magnitudes): Likewise.
8725         (sub_magnitudes): Likewise.
8726         (__mul): Likewise.
8727         (__sqr): Likewise.
8728         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8729         powers of two in terms of TWOPOW macro.
8730         (mp_no): Make type of mantissa as MANTISSA_T.
8731         [!RADIXI]: Define RADIXI.
8732         [!TWO52]: Define TWO52.
8733         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8735 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8737         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8738         llroundl symbol when building for PPC32.
8740 2013-03-24  Mark H Weaver  <mhw@netris.org>
8742         * manual/arith.texi (Normalization Functions): Fix prototypes for
8743         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8745 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8747         [BZ #13889]
8748         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8749         high value to check if expl overflow.
8750         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8751         to check for underflow and overflow.
8752         * math/libm-test.inc: Add exp test.
8754 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
8756         [BZ #11120]
8757         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8758         with NOT_IN_libc.
8760 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8762         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8763         symbol.
8765 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8767         * math/gen-libm-test.pl (parse_args, special_functions): Properly
8768         wrap blocks consisting of several statements.
8770         * sysdeps/generic/math-tests.h: New file.
8771         * sysdeps/i386/fpu/math-tests.h: Likewise.
8772         * math/test-snan.c: Include it.
8773         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8775 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8777         [BZ #15285]
8778         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8779         (__ieee754_j0l): Do not improve calculations using cos of twice
8780         input for inputs above LDBL_MAX / 2.0L.
8781         (__ieee754_y0l): Likewise.
8782         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8783         (__ieee754_j1l): Do not improve calculations using cos of twice
8784         input for inputs above LDBL_MAX / 2.0L.
8785         (__ieee754_y1l): Likewise.
8786         * math/libm-test.inc (j0_test): Add another test.
8787         (j1_test): Likewise.
8788         (y0_test): Likewise.
8789         (y1_test): Likewise.
8790         * sysdeps/i386/fpu/libm-test-ulps: Update.
8792 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8794         * Rules ($(objpfx)bench-%.c): Include code from a C source
8795         file.
8797 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8799         [BZ #15287]
8800         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8801         imaginary part 1.0 and real part less than 0.5 specially.
8802         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8803         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8804         * math/libm-test.inc (cacos_test): Add more tests.
8805         (casin_test): Likewise.
8806         (casinh_test): Likewise.
8807         * sysdeps/i386/fpu/libm-test-ulps: Update.
8808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8810 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8812         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8813         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8815 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8817         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8818         * config.make.in (config-cflags-sse4): Remove variable.
8819         (config-cflags-avx): Likewise.
8820         (config-cflags-sse2avx): Likewise.
8821         (config-cflags-novzeroupper): Likewise.
8822         (config-asflags-i686): Likewise.
8823         (have-mfma4): Likewise.
8824         (have-as-vis3): Likewise.
8825         (MIG): Likewise.
8826         * configure.in (MIG): Do not AC_SUBST.
8827         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8828         (libc_cv_cc_sse4): Do not AC_SUBST.
8829         (libc_cv_cc_avx): Likewise.
8830         (libc_cv_cc_sse2avx): Likewise.
8831         (libc_cv_cc_novzeroupper): Likewise.
8832         (libc_cv_cc_fma4): Likewise.
8833         (libc_cv_as_i686): Likewise.
8834         (libc_cv_sparc_as_vis3): Likewise.
8835         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8836         LIBC_CONFIG_VAR.
8837         (config-asflags-i686): Likewise.
8838         (config-cflags-avx): Likewise.
8839         (config-cflags-sse2avx): Likewise.
8840         (have-mfma4): Likewise.
8841         (config-cflags-novzeroupper): Likewise.
8842         * sysdeps/mach/configure.in (MIG): Likewise.
8843         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8844         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8845         LIBC_CONFIG_VAR.
8846         (config-cflags-avx): Likewise.
8847         (config-cflags-sse2avx): Likewise.
8848         (have-mfma4): Likewise.
8849         (config-cflags-novzeroupper): Likewise.
8850         * configure: Regenerated.
8851         * sysdeps/i386/configure: Likewise.
8852         * sysdeps/mach/configure: Likewise.
8853         * sysdeps/sparc/configure: Likewise.
8854         * sysdeps/x86_64/configure: Likewise.
8856 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8858         [BZ #14812]
8859         * locale/programs/localedef.c (options): Put N_ translation marker
8860         on argument names, not just descriptions.
8862 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8864         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8866 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8868         [BZ #14176]
8869         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8871 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8873         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8874         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8875         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8876         [!BEFORE_ABORT] (before_abort): New function.
8877         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8878         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8879         (writev_for_fatal): New function.
8880         (WRITEV_FOR_FATAL): New macro; call that.
8881         (backtrace_and_maps): New function.
8882         (BEFORE_ABORT): New macro; call that.
8883         (struct str_list): Type removed.
8884         (__libc_message, __libc_fatal): Functions removed.
8885         Include <sysdeps/posix/libc_fatal.c> instead.
8887 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8889         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8890         constants.
8891         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8892         double constants.
8894 2013-03-19  Andreas Schwab  <schwab@suse.de>
8896         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8897         * sysdeps/gnu/configure: Regenerate.
8899         * configure.in: Substitute libc_cv_rtlddir.
8900         * configure: Regenerate.
8901         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8902         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8903         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8904         * elf/Makefile (install-others, CFLAGS-interp.c)
8905         (ldso_install, common-ldd-rewrite): Likewise.
8906         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8907         $(inst_slibdir)/$(rtld-installed-name).
8908         * scripts/rellns-sh: Add -p option.
8909         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8910         for source.
8912 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8914         * manual/nptl.texi: Renamed to ...
8915         * manual/threads.texi: ... this.
8916         * manual/Makefile (chapters): Update.
8918 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8920         [BZ #14812]
8921         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8922         on argument names, not just descriptions.
8923         * malloc/memusagestat.c (options): Likewise.
8924         * nss/getent.c (options): Likewise.
8926 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8928         [BZ #14812]
8929         * iconv/iconv_prog.c (options): Put N_ translation marker
8930         on argument names, not just descriptions.
8931         * iconv/iconvconfig.c (options): Likewise.
8933 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8935         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8936         implementation which is faster on all x86_64 architectures.
8937         Tested on AMD, Intel Nehalem, SNB, IVB.
8938         * sysdeps/x86_64/strnlen.S: Likewise.
8940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8941         Remove all multiarch strlen and strnlen versions.
8942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8943         Remove strlen and strnlen related parts.
8945         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8946         Inline strlen part.
8947         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8949         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8950         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8951         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8952         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8953         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8954         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8956 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8958         * manual/memory.texi (Malloc Tunable Parameters):
8959         Sort parameters alphabetically. Add comments for missing entries.
8961 2013-03-17  David S. Miller  <davem@davemloft.net>
8963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8965 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8967         [BZ #15283]
8968         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8969         for arguments at most half maximum finite value.
8970         * math/libm-test.inc (j0_test): Add more tests.
8971         (j1_test): Likewise.
8972         (y0_test): Likewise.
8973         (y1_test): Likewise.
8974         * sysdeps/i386/fpu/libm-test-ulps: Update.
8975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8977         [BZ #14155]
8978         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8979         1 / x and functions P and Q for arguments above 0x1p256L.
8980         (__ieee754_y0l): Likewise.
8981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8982         (__ieee754_y1l): Likewise.
8983         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8984         (j1_test): Likewise.
8985         (y0_test): Likewise.
8986         (y1_test): Likewise.
8988 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8990         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8991         variable.
8993 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8995         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8996         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8997         zero since it's initialized to EXEC_PAGESIZE.
8999         * sysdeps/unix/sysv/linux/ldsodefs.h
9000         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9001         * sysdeps/generic/ldsodefs.h: ... here.
9003 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
9005         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9007         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9008         math/test-snan.c.
9009         * math/test-snan.c: Renamed from
9010         sysdeps/powerpc/fpu/test-powerpc-snan.c.
9011         * math/Makefile (tests): Add test-snan.
9012         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9013         test-powerpc-snan.
9015         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9016         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
9017         functions.
9018         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
9019         __builtin_nan family of functions.
9020         * math/libm-test.inc (initialize): Initialize qnan_value with
9021         __builtin_nan family of functions.
9022         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9023         Remove variables.
9024         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9025         Remove functions.
9026         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
9027         storage class.  Initialize qNaN_var and sNaN_var with
9028         __builtin_nan and __builtin_nans families of functions,
9029         respectively.
9031         * math/libm-test.inc (acosh_test): Also test with qNaN input.
9032         (sqrt_test): Remove duplicate test with qNaN input.
9033         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9034         (round_test, signbit_test, significand_test): Note missing +/-Inf
9035         as well as qNaN tests.
9037         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9038         qNaN_var.  Fix a few strings, too.
9039         * math/libm-test.inc (nan_value): Rename to qnan_value.
9040         * math/gen-libm-test.pl (%beautify): Adjust to that.
9041         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9042         * math/test-misc.c (main): Likewise.
9043         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9044         to __qnan_bytes, and __qnan_union, respectively.
9045         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9046         Likewise.
9047         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9048         and lqnanval, respectively.
9049         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9050         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9051         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9052         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9054         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9055         * math/test-misc.c (main) [__x86_64__]: Enable test for long
9056         doubles.
9058         * math/test-misc.c (main): Fix copy'n'pastos.
9059         * misc/tst-efgcvt.c (special): Likewise.
9061         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9062         Remove declarations.
9064 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9066         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9067         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9068         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9069         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9071 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9073         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9074         macro to return vdso values correctly in IFUNC implementations.
9075         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9076         Optimization by using IFUNC.
9078 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9079             Richard Henderson  <rth@redhat.com>
9080             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9082         * Makefile.in (bench): New target.
9083         * NEWS: Mention the benchmark framework.
9084         * Rules (bench): Likewise.
9085         (binaries-bench): Generate binaries for functions to
9086         benchmark.
9087         * benchtests/Makefile: New makefile for benchmark tests.
9088         * benchtests/bench-skeleton.c: New skeleton file for benchmark
9089         programs.
9090         * benchtests/exp-inputs: New input file for EXP function.
9091         * benchtests/pow-inputs: New input file for POW function.
9092         * scripts/bench.pl: New script to generate source files for
9093         benchmark programs.
9095 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9097         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9098         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9099         computations on mantissa.  Use macros for rounding and
9100         division.
9101         (denorm): Likewise.
9102         (__dbl_mp): Likewise.
9103         (add_magnitudes): Likewise.
9104         (sub_magnitudes): Likewise.
9105         (__mul): Likewise.
9106         (__sqr): Likewise.
9107         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9108         powers of two in terms of TWOPOW macro.
9109         (mp_no): Make type of mantissa as MANTISSA_T.
9110         [!RADIXI]: Define RADIXI.
9111         [!TWO52]: Define TWO52.
9112         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9114         * manual/nptl.texi (cindex): Modify threads to pthreads.
9116 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
9118         * sysdeps/x86_64/preconfigure: Regenerated.
9120 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
9122         [BZ #14155]
9123         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9124         0x1p28 and above.
9125         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9126         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9127         0x1p28 and above.
9128         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9129         * math/libm-test.inc (j0_test): Do not allow one spurious
9130         underflow exception.
9131         (y1_test): Likewise.
9133 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9135         * manual/Makefile (chapters): Add nptl.
9136         * manual/debug.texi (Debugging Support): Add link to Threads
9137         chapter.
9138         * manual/nptl.texi: New file.
9140         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9142 2013-03-14  Petr Baudis  <pasky@ucw.cz>
9144         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9145         for non-NULL pointer before the memory validity test. Pointed
9146         out by Holger Brunck <holger.brunck@keymile.com>.
9148 2013-03-13  Andreas Schwab  <schwab@suse.de>
9150         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9151         instead of .os.
9153 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
9155         * timezone/zic.c: Update from tzcode 2013b.
9157 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
9159         * manual/install.texi (Configuring and compiling):
9160         Mention i686 and i586.
9161         * INSTALL: Regenerate.
9163 2013-03-12  Roland McGrath  <roland@hack.frob.com>
9165         * sysdeps/init_array/elf-init.c: New file.
9166         * csu/elf-init.c
9167         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9168         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9170         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9171         __gmon_start__ as global, but as static with a .preinit_array pointer.
9172         * sysdeps/init_array/gmon-start.c: New file.  Use that.
9173         * sysdeps/init_array/crti.S: New file, empty except for comments.
9174         * sysdeps/init_array/crtn.S: Likewise.
9176 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
9178         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9179         definining bcopy.
9180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9181         Remove Prefer_SSE_for_memop.
9182         * sysdeps/x86_64/multiarch/init-arch.h: Remove
9183         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9184         HAS_PREFER_SSE_FOR_MEMOP.
9185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9186         memset-x86-64.
9187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9188         Remove bzero, memset ifunc support.
9189         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9190         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9191         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9192         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9194 2013-03-11  Andreas Schwab  <schwab@suse.de>
9196         [BZ #15234]
9197         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9198         by SHLIB_COMPAT.
9199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9200         (GLIBC_2.16): Remove pthread_atfork.
9202 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9204         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9205         (ptestcases.h): Likewise.
9207 2013-03-08  Roland McGrath  <roland@hack.frob.com>
9209         * Makeconfig ($(common-objpfx)config.status): Depend on
9210         sysdeps/*/preconfigure{,.in} too.
9212 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
9214         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9215         (__free_hook): Use void * instead of __malloc_ptr_t.
9216         (__malloc_hook): Likewise.
9217         (__realloc_hook): Likewise.
9218         (__memalign_hook): Likewise.
9219         (__after_morecore_hook): Likewise.
9220         * malloc/arena.c (save_malloc_hook): Likewise.
9221         (save_free_hook): Likewise.
9222         * malloc/hooks.c (malloc_hook_ini): Likewise.
9223         (realloc_hook_ini): Likewise.
9224         (memalign_hook_ini): Likewise.
9225         * malloc/malloc.c (malloc_hook_ini): Likewise.
9226         (realloc_hook_ini): Likewise.
9227         (memalign_hook_ini): Likewise.
9228         (__free_hook): Likewise.
9229         (__malloc_hook): Likewise.
9230         (__realloc_hook): Likewise.
9231         (__memalign_hook): Likewise.
9232         (__libc_malloc): Likewise.
9233         (__libc_free): Likewise.
9234         (__libc_realloc): Likewise.
9235         (__libc_memalign): Likewise.
9236         (__libc_valloc): Likewise.
9237         (__libc_pvalloc): Likewise.
9238         (__libc_calloc): Likewise.
9239         (__posix_memalign): Likewise.
9240         * malloc/morecore.c (__sbrk): Likewise.
9241         (__default_morecore): Likewise.
9243         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9245         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9246         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9247         __malloc_ptrdiff_t.
9249         * malloc/malloc.h (__malloc_size_t): Remove macro.
9250         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9251         __malloc_size_t.
9252         (old_memalign_hook): Likewise.
9253         (old_realloc_hook): Likewise.
9254         (struct hdr): Likewise.
9255         (flood): Likewise.
9256         (mallochook): Likewise.
9257         (memalignhook): Likewise.
9258         (reallochook): Likewise.
9259         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9260         (tr_old_realloc_hook): Likewise.
9261         (tr_old_memalign_hook): Likewise.
9262         (tr_mallochook): Likewise.
9263         (tr_reallochook): Likewise.
9264         (tr_memalignhook): Likewise.
9266 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9268         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9269         default_ldbl_pack and using as default implementation.
9270         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9271         implementation.
9272         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9273         redundant definition.
9274         (ldbl_insert_mantissa): Likewise.
9275         (ldbl_canonicalize): Likewise.
9276         (ldbl_nearbyint): Likewise.
9277         (ldbl_pack): Rename to ldbl_pack_ppc.
9278         (ldbl_unpack): Rename to ldbl_unpack_ppc.
9279         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9280         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9282 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9285         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9286         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9287         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9288         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9289         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9290         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9291         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9293 2013-03-07  Andreas Jaeger  <aj@suse.de>
9295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9296         bits/mman-linux.h.
9298 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9300         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9301         Include mpa.h and declare __MPEXP.
9302         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9303         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9304         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9305         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9306         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9307         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9308         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9310         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9311         (__slowpow): Use long double EXPL and LOGL functions to
9312         compute POW.
9313         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9314         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9315         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9316         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9317         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9318         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9321         intermediate variable to calculate exponent.
9322         (__sqr): Likewise.
9323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9324         Likewise.
9325         (__sqr): Likewise.
9327         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9328         [!NO__SQR]: Define __sqr.
9329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9330         and NO__SQR.  Remove all code except __mul and __sqr.  Include
9331         sysdeps/ieee754/dbl-64/mpa.c.
9332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9334         [BZ #12723]
9335         * posix/Makefile (tests): Add tst-pathconf.
9336         * posix/tst-pathconf.c: New test case.
9337         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9338         _PC_PIPE_BUF.
9339         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9341 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
9343         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9345 2013-03-06  Andreas Jaeger  <aj@suse.de>
9347         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9348         definition via __MAP_ANONYMOUS.
9350         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9351         it's not part of Linux headers.
9353         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9354         (MAP_HUGE_MASK): Define.
9356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9357         Define.
9358         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9360         Define.
9361         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9362         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9363         Define.
9364         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9365         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9366         Define.
9367         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9369         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9370         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9371         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9372         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9373         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9374         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9376         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9377         Handle f2fs.
9379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9380         Handle f2fs and efivarfs.
9382         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9383         f2fs.
9385         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9386         (EFIVARFS_MAGIC): Add.
9387         (F2FS_LINK_MAX): Add.
9389 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9391         * stdio-common/vfprintf.c: Replace __builtin_expect with
9392         __glibc_unlikely.
9394 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
9396         [BZ #13550]
9397         * sysdeps/generic/bp-sym.h: Remove file.
9398         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9399         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9400         <bp-sym.h> and <bp-asm.h>.
9401         (__longjmp): Don't use BP_SYM.
9402         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9403         and <bp-asm.h>.
9404         (memcpy): Don't use BP_SYM.
9405         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9406         <bp-sym.h> and <bp-asm.h>.
9407         (memcpy): Don't use BP_SYM.
9408         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9409         <bp-asm.h>.
9410         (memcpy): Don't use BP_SYM.
9411         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9412         <bp-asm.h>.
9413         (memset): Don't use BP_SYM.
9414         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9415         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9416         (__bzero): Don't use BP_SYM.
9417         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9418         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9419         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9420         <bp-sym.h> and <bp-asm.h>.
9421         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9422         pointers.
9423         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9424         <bp-sym.h> and <bp-asm.h>.
9425         (memcpy): Don't use BP_SYM.
9426         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9427         <bp-sym.h> and <bp-asm.h>.
9428         (memset): Don't use BP_SYM.
9429         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9430         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9431         (__bzero): Don't use BP_SYM.
9432         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9433         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9434         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9435         <bp-sym.h> and <bp-asm.h>.
9436         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9437         pointers.
9438         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9439         <bp-sym.h> and <bp-asm.h>.
9440         (memcpy): Don't use BP_SYM.
9441         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9442         <bp-sym.h> and <bp-asm.h>.
9443         (memset): Don't use BP_SYM.
9444         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9445         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9446         (__bzero): Don't use BP_SYM.
9447         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9448         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9449         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9450         <bp-sym.h> and <bp-asm.h>.
9451         (__memchr): Don't use BP_SYM.
9452         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9453         <bp-sym.h> and <bp-asm.h>.
9454         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9455         pointers.
9456         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9457         <bp-sym.h> and <bp-asm.h>.
9458         (memcpy): Don't use BP_SYM.
9459         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9460         <bp-sym.h> and <bp-asm.h>.
9461         (__mempcpy): Don't use BP_SYM.
9462         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9463         <bp-sym.h> and <bp-asm.h>.
9464         (__memrchr): Don't use BP_SYM.
9465         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9466         <bp-sym.h> and <bp-asm.h>.
9467         (memset): Don't use BP_SYM.
9468         (__bzero): Likewise.
9469         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9470         <bp-sym.h> and <bp-asm.h>.
9471         (__rawmemchr): Don't use BP_SYM.
9472         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9473         <bp-sym.h> and <bp-asm.h>.
9474         (__STRCMP): Don't use BP_SYM.
9475         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9476         <bp-sym.h> and <bp-asm.h>.
9477         (strchr): Don't use BP_SYM.
9478         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9479         <bp-sym.h> and <bp-asm.h>.
9480         (__strchrnul): Don't use BP_SYM.
9481         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9482         <bp-sym.h> and <bp-asm.h>.
9483         (strlen): Don't use BP_SYM.
9484         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9485         <bp-sym.h> and <bp-asm.h>.
9486         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9487         pointers.
9488         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9489         <bp-sym.h> and <bp-asm.h>.
9490         (__strnlen): Don't use BP_SYM.
9491         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9492         <bp-sym.h> and <bp-asm.h>.
9493         (__GI__setjmp): Don't use BP_SYM.
9494         (_setjmp): Likewise.
9495         (__sigsetjmp): Likewise.
9496         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9497         (L(start_addresses)): Don't use BP_SYM.
9498         (_start): Likewise.
9499         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9500         <bp-asm.h>.
9501         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9502         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9503         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9504         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9505         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9506         <bp-asm.h>.
9507         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9508         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
9509         about bounded pointers.
9510         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9511         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9512         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9513         <bp-asm.h>.
9514         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9515         about bounded pointers.  Remove GKM FIXME comments.
9516         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9517         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9518         <bp-asm.h>.
9519         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9520         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
9521         Remove GKM FIXME comments.
9522         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9523         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9524         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9525         <bp-asm.h>.
9526         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9527         about bounded pointers.  Remove GKM FIXME comment.
9528         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9529         and <bp-asm.h>.
9530         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9531         pointers.
9532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9533         <bp-sym.h> and <bp-asm.h>.
9534         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9536         <bp-sym.h> and <bp-asm.h>.
9537         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9538         comment.
9540 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9542         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9543         call free(NULL).
9545 2013-03-05  David S. Miller  <davem@davemloft.net>
9547         * po/es.po: Update from translation team.
9549 2013-03-05  Andreas Jaeger  <aj@suse.de>
9551         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9552         <bits/mman-linux.h>.
9553         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9554         is fine.
9555         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9556         <bits/mman-linux.h> to end of file.
9557         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9558         is fine.
9559         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9560         <bits/mman-linux.h> to end of file.
9561         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9562         is fine.
9563         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9564         <bits/mman-linux.h> to end of file.
9566         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9567         (MCL_CURRENT, MCL_FUTURE): Define here.
9569 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9571         [BZ #15232]
9572         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9573         attribute_hidden.
9574         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9576 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9578         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9579         fourth parameter needed for rt_sigprocmask syscall.
9580         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9581         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9582         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9583         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9584         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9585         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9587 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
9589         [BZ #13550]
9590         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9591         comment about bounded pointers.
9592         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9593         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9595 2013-03-04  Andreas Jaeger  <aj@suse.de>
9597         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9598         common definitions.
9600         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9601         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9602         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9603         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9604         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9605         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9607 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9609         [BZ #15055]
9610         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9611         __ieee754_sqrl instead of __sqrl.
9613 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
9615         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9616         * sysdeps/powerpc/fpu_control.h: ... here.
9617         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9618         * sysdeps/powerpc/bits/fenvinline.h: ... here.
9619         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9620         * sysdeps/powerpc/bits/mathinline.h: ... here.
9622 2013-03-01  Roland McGrath  <roland@hack.frob.com>
9624         * elf/dl-hwcaps.c (_dl_important_hwcaps):
9625         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9626         to just [NEED_DL_SYSINFO_DSO].
9627         * elf/dl-support.c: Likewise.
9628         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9629         * elf/rtld.c (dl_main): Likewise.
9630         * elf/setup-vdso.h (setup_vdso): Likewise.
9631         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9632         * sysdeps/unix/sysv/linux/dl-sysdep.c
9633         (_dl_discover_osversion): Likewise.
9635 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
9637         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9638         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9640 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9642         * NEWS: Mention libm performance improvements and non-x86 PI
9643         futex support.
9645         * csu/libc-start.c (__pthread_initialize_minimal): Change
9646         function arguments.
9647         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9649 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
9651         [BZ #13550]
9652         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9653         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9654         <bp-sym.h> and <bp-asm.h>.
9655         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9656         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9657         and <bp-asm.h>.
9658         (memcpy): Don't use BP_SYM.
9659         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9660         <bp-asm.h>.
9661         (__mpn_add_n): Don't use BP_SYM.
9662         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9663         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9664         and <bp-asm.h>.
9665         (__mpn_addmul_1): Don't use BP_SYM.
9666         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9667         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9668         <bp-sym.h>.
9669         (_setjmp): Don't use BP_SYM.
9670         (__novmx_setjmp): Likewise.
9671         (__GI__setjmp): Likewise.
9672         (__vmx_setjmp): Likewise.
9673         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9674         <bp-sym.h>.
9675         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9676         (__bzero): Don't use BP_SYM.
9677         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9678         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9679         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9680         <bp-sym.h> and <bp-asm.h>.
9681         (memcpy): Don't use BP_SYM.
9682         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9683         <bp-sym.h> and <bp-asm.h>.
9684         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9685         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9686         <bp-sym.h> and <bp-asm.h>.
9687         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9688         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9689         <bp-asm.h>.
9690         (__mpn_lshift): Don't use BP_SYM.
9691         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9692         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9693         <bp-asm.h>.
9694         (memset): Don't use BP_SYM.
9695         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9696         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9697         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9698         <bp-asm.h>.
9699         (__mpn_mul_1): Don't use BP_SYM.
9700         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9702         <bp-sym.h> and <bp-asm.h>.
9703         (memcmp): Don't use BP_SYM.
9704         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9705         <bp-sym.h> and <bp-asm.h>.
9706         (memcpy): Don't use BP_SYM.
9707         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9708         <bp-sym.h> and <bp-asm.h>.
9709         (memset): Don't use BP_SYM.
9710         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9711         <bp-sym.h> and <bp-asm.h>.
9712         (strncmp): Don't use BP_SYM.
9713         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9714         <bp-sym.h> and <bp-asm.h>.
9715         (memcpy): Don't use BP_SYM.
9716         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9717         <bp-sym.h> and <bp-asm.h>.
9718         (memset): Don't use BP_SYM.
9719         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9720         <bp-sym.h> and <bp-asm.h>.
9721         (__memchr): Don't use BP_SYM.
9722         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9723         <bp-sym.h> and <bp-asm.h>.
9724         (memcmp): Don't use BP_SYM.
9725         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9726         <bp-sym.h> and <bp-asm.h>.
9727         (memcpy): Don't use BP_SYM.
9728         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9729         <bp-sym.h> and <bp-asm.h>.
9730         (__mempcpy): Don't use BP_SYM.
9731         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9732         <bp-sym.h> and <bp-asm.h>.
9733         (__memrchr): Don't use BP_SYM.
9734         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9735         <bp-sym.h> and <bp-asm.h>.
9736         (memset): Don't use BP_SYM.
9737         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9738         <bp-sym.h> and <bp-asm.h>.
9739         (__rawmemchr): Don't use BP_SYM.
9740         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9741         <bp-sym.h> and <bp-asm.h>.
9742         (__STRCMP): Don't use BP_SYM.
9743         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9744         <bp-sym.h> and <bp-asm.h>.
9745         (strchr): Don't use BP_SYM.
9746         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9747         <bp-sym.h> and <bp-asm.h>.
9748         (__strchrnul): Don't use BP_SYM.
9749         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9750         <bp-sym.h> and <bp-asm.h>.
9751         (strlen): Don't use BP_SYM.
9752         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9753         <bp-sym.h> and <bp-asm.h>.
9754         (strncmp): Don't use BP_SYM.
9755         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9756         <bp-sym.h> and <bp-asm.h>.
9757         (__strnlen): Don't use BP_SYM.
9758         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9759         <bp-asm.h>.
9760         (__mpn_rshift): Don't use BP_SYM.
9761         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9762         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9763         <bp-sym.h> and <bp-asm.h>.
9764         (__sigsetjmp): Don't use BP_SYM.
9765         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9766         (L(start_addresses)): Don't use BP_SYM.
9767         (_start): Likewise.
9768         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9769         <bp-asm.h>.
9770         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9771         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9772         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9773         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9774         <bp-asm.h>.
9775         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9776         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9777         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9778         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9779         <bp-asm.h>.
9780         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9781         comments.
9782         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9783         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9784         <bp-asm.h>.
9785         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9786         FIXME comments.
9787         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9788         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9789         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9790         <bp-asm.h>.
9791         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9792         comment.
9793         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9794         and <bp-asm.h>.
9795         (strncmp): Don't use BP_SYM,
9796         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9797         <bp-asm.h>.
9798         (__mpn_sub_n): Don't use BP_SYM.
9799         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9800         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9801         and <bp-asm.h>.
9802         (__mpn_submul_1): Don't use BP_SYM.
9803         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9805         <bp-sym.h> and <bp-asm.h>.
9806         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9808         <bp-sym.h> and <bp-asm.h>.
9809         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9810         comment.
9812 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9815         Use ZK to minimize writes to Z.
9816         (sub_magnitudes): Simplify code a bit.
9817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9818         Use ZK to minimize writes to Z.
9819         (sub_magnitudes): Simplify code a bit.
9821 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9823         * csu/gmon-start.c: Add special exception to license text.
9825 2013-02-27  Richard Henderson  <rth@redhat.com>
9827         * scripts/config.guess: Update from config.git.
9828         * scripts/config.sub: Likewise.
9830 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9832         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9834         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9836         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9838         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9840         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9842 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9844         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9845         [$(build-shared = yes].
9847 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9849         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9850         (__mul): Reduce iterations for calculating mantissa.
9852         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9853         MPTWO.
9854         (__mpranred): Likewise.
9856         [BZ #15160]
9857         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9858         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9860 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9862         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9863         Define __attribute__.
9865 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9867         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9868         unused.
9869         * posix/regex_internal.h (__attribute): Remove.
9870         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9871         (re_string_context_at): Likewise.
9872         (bitset_not): Use __attribute__ and mark function as possibly
9873         unused.
9874         (bitset_merge): Likewise.
9875         (bitset_mask): Likewise.
9876         (re_string_char_size_at): Likewise.
9877         (re_string_wchar_at): Likewise.
9878         (re_string_elem_size_at): Likewise.
9880 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9882         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9883         code.
9884         (cc32): Likewise.
9886         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9887         (__acr): Likewise.
9888         (__cpy): Likewise.
9889         (norm): Likewise.
9890         (denorm): Likewise.
9891         (__dbl_mp): Likewise.
9892         (add_magnitudes): Likewise.
9893         (sub_magnitudes): Likewise.
9894         (__mul): Likewise.
9895         (__inv): Likewise.
9897         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9898         style.
9900         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9901         style.
9903         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9904         code.
9906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9907         up changes with default code.
9908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9909         Likewise.
9911 2013-02-24  Allan McRae  <allan@archlinux.org>
9913         * manual/socket.texi (The Internet Namespace): Order menu items
9914         to match that in the file.
9916         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9917         node listing of the info page menu.
9919 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9921         [BZ #13550]
9922         * sysdeps/i386/bp-asm.h: Remove file.
9923         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9924         (PARMS): Do not use macros from bp-asm.h.
9925         (S1): Likewise.
9926         (S2): Likewise.
9927         (SIZE): Likewise.
9928         (__mpn_add_n): Do not use BP_SYM
9929         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9930         "bp-asm.h".
9931         (PARMS): Do not use macros from bp-asm.h.
9932         (S1): Likewise.
9933         (SIZE): Likewise.
9934         (__mpn_addmul_1): Do not use BP_SYM
9935         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9936         "bp-asm.h".
9937         (PARMS): Do not use macros from bp-asm.h.
9938         (SIGMSK): Likewise.
9939         (_setjmp): Likewise.  Do not use BP_SYM.
9940         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9941         "bp-asm.h".
9942         (PARMS): Do not use macros from bp-asm.h.
9943         (SIGMSK): Likewise.
9944         (setjmp): Likewise.  Do not use BP_SYM.
9945         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9946         "bp-asm.h".
9947         (PARMS): Do not use macros from bp-asm.h.
9948         (__frexp): Do not use BP_SYM.
9949         (frexp): Likewise.
9950         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9951         "bp-asm.h".
9952         (PARMS): Do not use macros from bp-asm.h.
9953         (__frexpf): Do not use BP_SYM.
9954         (frexpf): Likewise.
9955         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9956         "bp-asm.h".
9957         (PARMS): Do not use macros from bp-asm.h.
9958         (__frexpl): Do not use BP_SYM.
9959         (frexpl): Likewise.
9960         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9961         "bp-asm.h".
9962         (PARMS): Do not use macros from bp-asm.h.
9963         (__remquo): Do not use BP_SYM.
9964         (remquo): Likewise.
9965         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9966         "bp-asm.h".
9967         (PARMS): Do not use macros from bp-asm.h.
9968         (__remquof): Do not use BP_SYM.
9969         (remquof): Likewise.
9970         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9971         "bp-asm.h".
9972         (PARMS): Do not use macros from bp-asm.h.
9973         (__remquol): Do not use BP_SYM.
9974         (remquol): Likewise.
9975         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9976         "bp-asm.h".
9977         (PARMS): Do not use macros from bp-asm.h.
9978         (DEST): Likewise.
9979         (SRC): Likewise.
9980         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9981         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9982         "bp-asm.h".
9983         (PARMS): Do not use macros from bp-asm.h.
9984         (strlen): Do not use BP_SYM.
9985         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9986         "bp-asm.h".
9987         (PARMS): Do not use macros from bp-asm.h.
9988         (S1): Likewise.
9989         (S2): Likewise.
9990         (SIZE): Likewise.
9991         (__mpn_add_n): Do not use BP_SYM.
9992         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9993         "bp-asm.h".
9994         (PARMS): Do not use macros from bp-asm.h.
9995         (S1): Likewise.
9996         (SIZE): Likewise.
9997         (__mpn_addmul_1): Do not use BP_SYM.
9998         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9999         weak_alias.
10000         (bzero): Likewise.
10001         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10002         "bp-asm.h".
10003         (PARMS): Do not use macros from bp-asm.h.
10004         (S): Likewise.
10005         (SIZE): Likewise.
10006         (__mpn_lshift): Do not use BP_SYM.
10007         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10008         "bp-asm.h".
10009         (PARMS): Do not use macros from bp-asm.h.
10010         (DEST): Likewise.
10011         (SRC): Likewise.
10012         (LEN): Likewise.
10013         (memcpy): Likewise.  Do not use BP_SYM.
10014         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10015         libc_hidden_def and weak_alias.
10016         (mempcpy): Do not use BP_SYM in weak_alias.
10017         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10018         "bp-asm.h".
10019         (PARMS): Do not use macros from bp-asm.h.
10020         (DEST): Likewise.
10021         (LEN): Likewise.
10022         [!BZERO_P] (CHR): Likewise.
10023         (memset): Likewise.  Do not use BP_SYM.
10024         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10025         "bp-asm.h".
10026         (PARMS): Do not use macros from bp-asm.h.
10027         (S1): Likewise.
10028         (SIZE): Likewise.
10029         (__mpn_mul_1): Do not use BP_SYM.
10030         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10031         "bp-asm.h".
10032         (PARMS): Do not use macros from bp-asm.h.
10033         (S): Likewise.
10034         (SIZE): Likewise.
10035         (__mpn_rshift): Do not use BP_SYM.
10036         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10037         "bp-asm.h".
10038         (PARMS): Do not use macros from bp-asm.h.
10039         (STR): Likewise.
10040         (CHR): Likewise.
10041         (strchr): Likewise.  Do not use BP_SYM.
10042         (index): Do not use BP_SYM in weak_alias.
10043         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10044         "bp-asm.h".
10045         (PARMS): Do not use macros from bp-asm.h.
10046         (DEST): Likewise.
10047         (SRC): Likewise.
10048         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
10049         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10050         "bp-asm.h".
10051         (PARMS): Do not use macros from bp-asm.h.
10052         (strlen): Do not use BP_SYM.
10053         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10054         "bp-asm.h".
10055         (PARMS): Do not use macros from bp-asm.h.
10056         (S1): Likewise.
10057         (S2): Likewise.
10058         (SIZE): Likewise.
10059         (__mpn_sub_n): Do not use BP_SYM.
10060         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10061         "bp-asm.h".
10062         (PARMS): Do not use macros from bp-asm.h.
10063         (S1): Likewise.
10064         (SIZE): Likewise.
10065         (__mpn_submul_1): Do not use BP_SYM.
10066         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10067         "bp-asm.h".
10068         (PARMS): Do not use macros from bp-asm.h.
10069         (S1): Likewise.
10070         (S2): Likewise.
10071         (SIZE): Likewise.
10072         (__mpn_add_n): Do not use BP_SYM.
10073         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10074         weak_alias.
10075         (bzero): Likewise.
10076         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10077         "bp-asm.h".
10078         (PARMS): Do not use macros from bp-asm.h.
10079         (BLK2): Likewise.
10080         (LEN): Likewise.
10081         (memcmp): Do not use BP_SYM.
10082         (bcmp): Do not use BP_SYM in weak_alias.
10083         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10084         "bp-asm.h".
10085         (PARMS): Do not use macros from bp-asm.h.
10086         (DEST): Likewise.
10087         (SRC): Likewise.
10088         (LEN): Likewise.
10089         (memcpy): Likewise.  Do not use BP_SYM.
10090         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10091         "bp-asm.h".
10092         (PARMS): Do not use macros from bp-asm.h.
10093         (DEST): Likewise.
10094         (SRC): Likewise.
10095         (LEN): Likewise.
10096         (memmove): Likewise.  Do not use BP_SYM.
10097         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10098         "bp-asm.h".
10099         (PARMS): Do not use macros from bp-asm.h.
10100         (DEST): Likewise.
10101         (SRC): Likewise.
10102         (LEN): Likewise.
10103         (__mempcpy): Likewise.  Do not use BP_SYM.
10104         (mempcpy): Do not use BP_SYM in weak_alias.
10105         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10106         "bp-asm.h".
10107         (PARMS): Do not use macros from bp-asm.h.
10108         (DEST): Likewise.
10109         (LEN): Likewise.
10110         [!BZERO_P] (CHR): Likewise.
10111         (memset): Likewise.  Do not use BP_SYM.
10112         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10113         "bp-asm.h".
10114         (PARMS): Do not use macros from bp-asm.h.
10115         (STR2): Likewise.
10116         (strcmp): Do not use BP_SYM.
10117         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10118         "bp-asm.h".
10119         (PARMS): Do not use macros from bp-asm.h.
10120         (STR): Likewise.
10121         (DELIM): Likewise.
10122         [USE_AS_STRTOK_R] (SAVE): Likewise.
10123         (FUNCTION): Likewise.  Do not use BP_SYM.
10124         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10125         aliases.
10126         (strtok_r): Likewise.
10127         (__GI___strtok_r): Likewise.
10128         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10129         (PARMS): Do not use macros from bp-asm.h.
10130         (S): Likewise.
10131         (SIZE): Likewise.
10132         (__mpn_lshift): Do not use BP_SYM.
10133         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10134         (PARMS): Do not use macros from bp-asm.h.
10135         (STR): Likewise.
10136         (CHR): Likewise.
10137         (__memchr): Do not use BP_SYM.
10138         (memchr): Do not use BP_SYM in weak_alias.
10139         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10140         (PARMS): Do not use macros from bp-asm.h.
10141         (BLK2): Likewise.
10142         (LEN): Likewise.
10143         (memcmp): Do not use BP_SYM.
10144         (bcmp): Do not use BP_SYM in weak_alias.
10145         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10146         (PARMS): Do not use macros from bp-asm.h.
10147         (S1): Likewise.
10148         (SIZE): Likewise.
10149         (__mpn_mul_1): Do not use BP_SYM.
10150         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10151         "bp-asm.h".
10152         (PARMS): Do not use macros from bp-asm.h.
10153         (STR): Likewise.
10154         (CHR): Likewise.
10155         (__rawmemchr): Do not use BP_SYM.
10156         (rawmemchr): Do not use BP_SYM in weak_alias.
10157         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10158         (PARMS): Do not use macros from bp-asm.h.
10159         (S): Likewise.
10160         (SIZE): Likewise.
10161         (__mpn_rshift): Do not use BP_SYM.
10162         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10163         (PARMS): Do not use macros from bp-asm.h.
10164         (SIGMSK): Likewise.
10165         (__sigsetjmp): Likewise.  Do not use BP_SYM.
10166         * sysdeps/i386/start.S: Do not include "bp-sym.h".
10167         (_start): Do not use BP_SYM.
10168         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10169         (PARMS): Do not use macros from bp-asm.h.
10170         (DEST): Likewise.
10171         (SRC): Likewise.
10172         (__stpcpy): Likewise.  Do not use BP_SYM.
10173         (stpcpy): Do not use BP_SYM in weak_alias.
10174         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10175         "bp-asm.h".
10176         (PARMS): Do not use macros from bp-asm.h.
10177         (DEST): Likewise.
10178         (SRC): Likewise.
10179         (LEN): Likewise.
10180         (__stpncpy): Likewise.  Do not use BP_SYM.
10181         (stpncpy): Do not use BP_SYM in weak_alias.
10182         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10183         (PARMS): Do not use macros from bp-asm.h.
10184         (STR): Likewise.
10185         (CHR): Likewise.
10186         (strchr): Likewise.  Do not use BP_SYM.
10187         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10188         "bp-asm.h".
10189         (PARMS): Do not use macros from bp-asm.h.
10190         (STR): Likewise.
10191         (CHR): Likewise.
10192         (__strchrnul): Likewise.  Do not use BP_SYM.
10193         (strchrnul): Do not use BP_SYM in weak_alias.
10194         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10195         "bp-asm.h".
10196         (PARMS): Do not use macros from bp-asm.h.
10197         (STOP): Likewise.
10198         (strcspn): Do not use BP_SYM.
10199         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10200         "bp-asm.h".
10201         (PARMS): Do not use macros from bp-asm.h.
10202         (STR): Likewise.
10203         (STOP): Likewise.
10204         (strpbrk): Likewise.  Do not use BP_SYM.
10205         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10206         "bp-asm.h".
10207         (PARMS): Do not use macros from bp-asm.h.
10208         (STR): Likewise.
10209         (CHR): Likewise.
10210         (strrchr): Likewise.  Do not use BP_SYM.
10211         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10212         (PARMS): Do not use macros from bp-asm.h.
10213         (SKIP): Likewise.
10214         (strspn): Do not use BP_SYM.
10215         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10216         (PARMS): Do not use macros from bp-asm.h.
10217         (STR): Likewise.
10218         (DELIM): Likewise.
10219         (SAVE): Likewise.
10220         (FUNCTION): Likewise.  Do not use BP_SYM.
10221         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10222         aliases.
10223         (strtok_r): Likewise.
10224         (__GI___strtok_r): Likewise.
10225         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10226         (PARMS): Do not use macros from bp-asm.h.
10227         (S1): Likewise.
10228         (S2): Likewise.
10229         (SIZE): Likewise.
10230         (__mpn_sub_n): Do not use BP_SYM.
10231         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10232         "bp-asm.h".
10233         (PARMS): Do not use macros from bp-asm.h.
10234         (S1): Likewise.
10235         (SIZE): Likewise.
10236         (__mpn_submul_1): Do not use BP_SYM.
10237         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10238         <bp-sym.h>.
10239         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10240         and <bp-asm.h>.
10241         (PARMS): Do not use macros from bp-asm.h.
10242         (FLAGS): Likewise.
10243         (PTID): Likewise.
10244         (TLS): Likewise.
10245         (CTID): Likewise.
10246         (__clone): Do not use BP_SYM.
10247         (clone): Do not use BP_SYM in weak_alias.
10248         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10249         and <bp-asm.h>.
10250         (PARMS): Do not use macros from bp-asm.h.
10251         (LEN): Likewise.
10252         (__mmap64): Do not use BP_SYM.
10253         (mmap64): Do not use BP_SYM in weak_alias.
10254         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10255         <bp-sym.h> and <bp-asm.h>.
10256         (PARMS): Do not use macros from bp-asm.h.
10257         (__posix_fadvise64_l64): Do not use BP_SYM.
10258         * sysdeps/unix/sysv/linux/i386/semtimedop.S
10259         (PARMS): Do not use macros from bp-asm.h.
10260         (NSOPS): Likewise.
10261         (semtimedop): Do not use BP_SYM.
10262         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10263         and <bp-asm.h>.
10265 2013-02-21  Allan McRae  <allan@archlinux.org>
10267         * manual/message.texi (Charset conversion in gettext):
10268         Move @end statement to beginning of line.
10270 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10273         static.
10274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10275         Likewise.
10277         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10278         (denorm): Likewise.
10279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10282 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10284         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10285         tail-call to the resolved function if pltexit isn't needed.
10287 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10290         or Y being zero as being unlikely.
10291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10292         Likewise.
10294 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
10296         * manual/nss.texi (System Databases and Name Service Switch):
10297         Remove frobnicate @pxref.
10299 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10301         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10302         __attribute__ ((unused)) to __attribute__ ((__unused__)).
10304 2013-02-20  Petr Machata  <pmachata@redhat.com>
10306         * elf/elf.h (R_ARM_TARGET1): New macro.
10307         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10308         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10309         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10310         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10311         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10312         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10313         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10314         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10315         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10316         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10317         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10318         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10319         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10320         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10321         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10322         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10323         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10324         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10325         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10326         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10327         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10328         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10329         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10330         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10331         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10332         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10333         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10334         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10335         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10336         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10337         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10338         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10339         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10340         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10341         (R_ARM_THM_GOT_BREL12): Likewise.
10342         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10343         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10344         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10345         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10346         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10347         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10348         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10349         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10350         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10352 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10354         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10355         __attribute_used__ to __attribute__ ((unused)).
10357 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10359         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10360         powerpc mpa.c.
10361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10362         comment formatting.
10363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10365 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
10367         [BZ #13550]
10368         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10369         Remove macro.
10370         (ENTER): Remove both macro definitions.
10371         (LEAVE): Likewise.
10372         (CHECK_BOUNDS_LOW): Likewise.
10373         (CHECK_BOUNDS_HIGH): Likewise.
10374         (CHECK_BOUNDS_BOTH): Likewise.
10375         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10376         (RETURN_BOUNDED_POINTER): Likewise.
10377         (RETURN_NULL_BOUNDED_POINTER): Likewise.
10378         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10379         (POP_ERRNO_LOCATION_RETURN): Likewise.
10380         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10381         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10382         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10383         macros.
10384         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10385         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10386         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10387         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10388         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10389         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10390         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10391         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10392         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10393         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10394         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10395         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10396         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10397         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10398         removed macros.
10399         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10400         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10401         macros.
10402         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10403         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10404         * sysdeps/i386/i586/memset.S (memset): Likewise.
10405         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10406         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10407         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10408         macros.
10409         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10410         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10411         Change uses of L(2) to L(out).
10412         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10413         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10414         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10415         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10416         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10417         removed macros.
10418         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10419         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10420         macros.
10421         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10422         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10423         (RETURN): Do not use macro LEAVE.
10424         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10425         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10426         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10427         * sysdeps/i386/i686/memset.S (memset): Likewise.
10428         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10429         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10430         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10431         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10432         Likewise.
10433         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10434         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
10435         L(1_2) and L(1_3) into L(1).
10436         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10437         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10438         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10439         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10440         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10441         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10442         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10443         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10444         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10445         macros.
10446         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10447         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10448         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10449         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10450         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10451         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10452         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10453         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10454         * sysdeps/i386/strcspn.S (strcspn): Likewise.
10455         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10456         * sysdeps/i386/strrchr.S (strrchr): Likewise.
10457         * sysdeps/i386/strspn.S (strspn): Likewise.
10458         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10459         conditional code.
10460         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10461         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10462         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10463         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
10464         L(1_3) into L(1_1).
10465         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10466         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10467         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10468         macros.
10469         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10471 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
10473         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10474         macro.
10476 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10478         * math/atest-exp.c (exp_mpn): Remove ROUND.
10479         * math/atest-exp2.c (exp_mpn): Likewise.
10480         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10482         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10483         * stdlib/tst-tls-atexit-lib.c: Likewise.
10484         * stdlib/tst-tls-atexit.c: Likewise.
10486 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10488         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10489         and __attribute_alloc_size__.
10491 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10493         * include/programs/xmalloc.h: Change __attribute_alloc_size to
10494         __attribute_alloc_size__.
10495         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10496         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10498 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10500         * include/programs/xmalloc.h: New file.
10501         * catgets/gencat.c: Include it.
10502         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10503         * elf/pldd.c: Likewise.
10504         * iconv/iconv_charmap.c: Likewise.
10505         * iconv/iconvconfig.c: Likewise.
10506         * iconv/strtab.c: Likewise.
10507         * locale/programs/locale.c: Likewise.
10508         * locale/programs/localedef.h: Likewise.
10509         * locale/programs/simple-hash.c: Likewise.
10510         * nscd/nscd.h: Likewise.
10511         * nss/makedb.c: Likewise.
10512         * sysdeps/generic/ldconfig.h: Likewise.
10514 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10516         * Versions.def: Add GLIBC_2.18.
10517         * include/link.h (struct link_map): New member l_tls_dtor_count.
10518         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10519         (__call_tls_dtors): Likewise.
10520         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10521         __cxa_thread_atexit_impl.
10522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10523         Likewise.
10524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10525         Likewise.
10526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10527         Likewise.
10528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10529         Likewise.
10530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10532         Likewise.
10533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10534         Likewise.
10535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10537         Likewise.
10538         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10539         (tests): Add test case tst-tls-atexit.
10540         (modules-names): Add shared library for tst-tls-atexit.
10541         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10542         (GLIBC_PRIVATE): Add __call_tls_dtors.
10543         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10544         for libstdc++.
10545         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10546         * stdlib/tst-tls-atexit.c: New test case.
10547         * stdlib/tst-tls-atexit-lib.c: New test case.
10549         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10551         * elf/Versions (ld): Add _dl_find_dso_for_object.
10552         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10553         * elf/dl-open.c (_dl_find_dso_for_object): New function.
10554         (dl_open_worker): Use _dl_find_dso_for_object.
10555         * elf/dl-sym.c (do_sym): Likewise.
10556         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10558 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10560         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10561         Syntactic changes only.
10562         (_dl_runtime_profile): Do a tail-call to the resolved function.
10564 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
10566         [BZ #13550]
10567         * sysdeps/x86_64/bp-asm.h: Remove file.
10568         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10569         <bp-sym.h> and <bp-asm.h>.
10570         (__clone): Do not use BP_SYM.
10571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10572         <bp-sym.h> and <bp-asm.h>.
10573         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10574         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10575         "bp-asm.h".
10576         (_setjmp): Do not use BP_SYM.
10577         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10578         "bp-asm.h".
10579         (setjmp): Do not use BP_SYM.
10580         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10581         libc_hidden_def.
10582         (mempcpy): Do not use BP_SYM in weak_alias.
10583         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10584         "bp-asm.h".
10585         (strchr): Do not use BP_SYM.
10586         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10587         "bp-asm.h".
10588         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10589         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10590         (_start): Do not use BP_SYM.
10591         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10592         "bp-asm.h".
10593         (strcat): Do not use BP_SYM.
10594         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10595         "bp-asm.h".
10596         (STRCMP): Do not use BP_SYM.
10597         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10598         "bp-asm.h".
10599         (STRCPY): Do not use BP_SYM.
10600         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10601         "bp-asm.h".
10602         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10603         "bp-asm.h".
10604         (FUNCTION): Do not use BP_SYM.
10605         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10606         weak_alias.
10607         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10609 2013-02-17  Andreas Jaeger  <aj@suse.de>
10611         * time/Versions: Sort entries.
10612         * string/Versions: Likewise.
10613         * resolv/Versions: Likewise.
10614         * posix/Versions: Likewise.
10615         * iconv/Versions: Likewise.
10616         * elf/Versions: Likewise.
10617         * wcsmbs/Versions: Likewise.
10619 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10621         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10622         loop termination condition.
10624         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10625         variable to calculate EZ.
10626         (__sqr): Likewise.
10628         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10629         the lower precision input.
10631 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
10633         [BZ #13550]
10634         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10635         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10636         (run-via-rtld-prefix): Do not handle %-bp tests.
10637         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10638         (all-object-suffixes): Remove .ob.
10639         (bppfx): Remove variable.
10640         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10641         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10642         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10643         [$(build-bounded) = yes] (libtype.ob): Likewise.
10644         * Makerules (elide-routines.ob): Remove variable.
10645         (do-tests-clean): Do not handle *-bp.out.
10646         (common-mostlyclean): Do not handle *-bp and *-bp.out.
10647         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10648         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10649         (tests): Do not include $(tests-bp.out).
10650         (xtests): Do not include $(xtests-bp.out).
10651         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10652         [$(build-bounded) = yes] ($(addprefix
10653         $(objpfx),$(binaries-bounded))): Remove rule.
10654         ($(objpfx)%-bp.out): Remove rule.
10655         * config.make.in (build-bounded): Remove variable.
10656         * crypt/Makefile [$(build-bounded) = yes]
10657         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10658         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10659         append to variable.
10660         [$(build-bounded) = yes] (install-lib): Likewise.
10661         [$(build-bounded) = yes] (generated): Likewise.
10662         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10663         Remove rule.
10664         * intl/Makefile [$(build-bounded) = yes]
10665         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10666         * math/Makefile [$(build-bounded) = yes]
10667         ($(tests:%=$(objpfx)%-bp): Likewise.
10668         * misc/Makefile [$(build-bounded) = yes]
10669         ($(objpfx)tst-tsearch-bp): Likewise.
10670         * nptl/Makeconfig (bounded-thread-library): Remove variable.
10671         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10672         Remove dependency.
10673         * string/Makefile (o-objects.ob): Remove variable.
10674         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10675         (CFLAGS-.ob): Remove variable.
10676         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10677         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10678         both definitions of variable.
10679         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10680         (ASFLAGS-.ob): Remove variable.
10682 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
10684         [BZ #13550]
10685         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10686         Remove __BOUNDED_POINTERS__ from condition.
10687         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10688         * string/bits/string2.h [!__NO_STRING_INLINES &&
10689         !__BOUNDED_POINTERS__]: Likewise.
10690         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10691         Likewise.
10692         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10693         Remove conditional code.
10694         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10695         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10696         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10697         condition.
10699         [BZ #13550]
10700         * csu/libc-start.c: Do not include <bp-sym.h>.
10701         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10702         * elf/dl-open.c: Do not include <bp-sym.h>.
10703         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10704         * math/fegetenv.c: Do not include <bp-sym.h>.
10705         (fegetenv): Do not use BP_SYM in versioned symbols.
10706         * nptl/sysdeps/pthread/bits/libc-lockP.h
10707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10708         <bp-sym.h>.
10709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10710         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10712         (__pthread_mutex_destroy): Likewise.
10713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10714         (__pthread_mutex_lock): Likewise.
10715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10716         (__pthread_mutex_trylock): Likewise.
10717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10718         (__pthread_mutex_unlock): Likewise.
10719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10720         (__pthread_mutexattr_init): Likewise.
10721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10722         (__pthread_mutexattr_destroy): Likewise.
10723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10724         (__pthread_mutexattr_settype): Likewise.
10725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10726         (__pthread_rwlock_init): Likewise.
10727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10728         (__pthread_rwlock_destroy): Likewise.
10729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10730         (__pthread_rwlock_rdlock): Likewise.
10731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10732         (__pthread_rwlock_tryrdlock): Likewise.
10733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10734         (__pthread_rwlock_wrlock): Likewise.
10735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10736         (__pthread_rwlock_trywrlock): Likewise.
10737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10738         (__pthread_rwlock_unlock): Likewise.
10739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10740         (__pthread_key_create): Likewise.
10741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10742         (__pthread_setspecific): Likewise.
10743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10744         (__pthread_getspecific): Likewise.
10745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10746         Likewise.
10747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10748         (_pthread_cleanup_push_defer): Likewise.
10749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10750         (_pthread_cleanup_pop_restore): Likewise.
10751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10752         (pthread_setcancelstate): Likewise.
10753         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10754         <bp-sym.h>.
10755         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10756         (memchr): Do not use BP_SYM in weak_alias.
10757         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10758         (fegetenv): Do not use BP_SYM in versioned symbols.
10759         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10760         (fesetenv): Do not use BP_SYM in versioned symbols.
10761         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10762         (feupdateenv): Do not use BP_SYM in versioned symbols.
10763         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10764         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10765         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10766         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10767         (open64): Do not use BP_SYM in weak_alias.
10768         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10769         (fegetenv): Do not use BP_SYM in versioned symbols.
10770         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10771         (fesetenv): Do not use BP_SYM in versioned symbols.
10772         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10773         (feupdateenv): Do not use BP_SYM in versioned symbols.
10774         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10775         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10776         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10777         (feraiseexcept): Do not use BP_SYM in versioned symbols.
10778         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10779         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10780         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10781         <bp-sym.h>.
10782         (__libc_start_main): Do not use BP_SYM.
10784 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10787         redundant return line.
10788         (norm): Likewise.
10789         (denorm): Likewise.
10790         (dbl_mp): Likewise.
10791         (sub_magnitudes): Likewise.
10792         (__add): Likewise.
10793         (__sub): Likewise.
10794         (__mul): Likewise.
10795         (__inv): Likewise.
10796         (__dvd): Likewise.
10797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10798         (norm): Likewise.
10799         (denorm): Likewise.
10800         (dbl_mp): Likewise.
10801         (sub_magnitudes): Likewise.
10802         (__add): Likewise.
10803         (__sub): Likewise.
10804         (__mul): Likewise.
10805         (__inv): Likewise.
10806         (__dvd): Likewise.
10808         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10809         instead of __mul.
10810         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10811         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10812         (cc32): Likewise.
10814         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10815         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10817         of __mul for squares.
10818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10819         function
10820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10821         Likewise.
10822         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10823         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10825 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10827         [BZ #13550]
10828         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10829         code.
10830         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10831         prototype or function definition.  Rename ubp_* variables and
10832         parameters.  Remove argv definitions conditional on
10833         [__BOUNDED_POINTERS__].
10834         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10835         * elf/dl-runtime.c (_dl_fixup): Likewise.
10836         * include/set-hooks.h (RUN_HOOK): Likewise.
10837         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10838         definition.
10839         * string/strcpy.c (strcpy): Do not use __unbounded.
10840         * sysdeps/generic/frame.h (struct layout): Likewise.
10841         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10842         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10843         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10844         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10845         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10846         (__backtrace): Likewise.
10847         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10848         use __ptrvalue.
10849         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10850         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10851         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10852         Likewise.
10853         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10854         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10855         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10856         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10857         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10858         Do not use __unbounded.
10859         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10860         Rename __unboundedrlimits parameter to rlimits in prototype.
10861         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10862         Do not use __unbounded.
10863         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10864         not use __ptrvalue.
10865         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10866         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10867         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10868         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10869         __ptrvalue or __unbounded.
10870         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10871         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10872         use __unbounded.
10873         (__new_msgctl): Do not use __ptrvalue.
10874         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10875         __unbounded.
10876         (__libc_msgrcv): Do not use __ptrvalue.
10877         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10878         startup_info): Do not use __unbounded.
10879         (__libc_start_main): Likewise.  Rename ubp_* variables and
10880         parameters.  Remove argv definitions conditional on
10881         [__BOUNDED_POINTERS__].
10882         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10883         __ptrvalue.
10884         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10885         use __unbounded.
10886         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10887         or __ptrvalue.
10888         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10889         use __unbounded.
10890         (__new_shmctl): Do not use __ptrvalue.
10891         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10892         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10893         Likewise.
10894         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10896         (__libc_sigaction): Likewise.
10897         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10898         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10899         Likewise.
10900         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10902 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10904         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10906         * string/mempcpy.c: Implement by calling memcpy.
10908 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10910         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10913         evaluation.
10915         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10916         values in the mantissa.
10918         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10919         minimize writes to Z.
10920         (sub_magnitudes): Simplify code a bit.
10922 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10924         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10925         from the message.  The linker prefixes all warnings with that already.
10927 2013-02-12  Andreas Schwab  <schwab@suse.de>
10929         [BZ #15078]
10930         * posix/regexec.c (extend_buffers): Add parameter min_len.
10931         (check_matching): Pass minimum needed length.
10932         (clean_state_log_if_needed): Likewise.
10933         (get_subexp): Likewise.
10934         * posix/Makefile (tests): Add bug-regex34.
10935         (bug-regex34-ENV): Define.
10936         * posix/bug-regex34.c: New file.
10938         [BZ #11561]
10939         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10940         elements compare against the byte sequence of it, not its name.
10941         * posix/Makefile (tests): Add bug-regex35.
10942         (bug-regex35-ENV): Define.
10943         * posix/bug-regex35.c: New file.
10945 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10947         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10948         comment.
10949         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10950         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10951         (CHECK_EOL): Add undef.
10953 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10955         * bits/stdlib-bsearch.h: New file.
10956         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10957         * stdlib/stdlib.h: Likewise.
10959 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10961         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10962         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10963         declaration.
10964         * manual/search.texi (Array Search Function): Add missing const in
10965         lfind prototype.
10966         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10967         declaration to use rlim_t.
10968         (Basic Scheduling Functions): Remove erroneous const from
10969         sched_getparam prototype.  Remove erroneous * from
10970         sched_get_priority_max and sched_get_priority_min prototypes.
10971         (Resource Usage): Fix summary @comment on vtimes to refer to
10972         sys/vtimes.h rather than vtimes.h.
10973         Add missing *s in vtimes prototype.
10974         (Limits on Resources): Fix ulimit prototype to return long int.
10975         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10976         prototypes to use long int rather than double.
10977         (BSD Random): Fix initstate and setstate to use char *, not void *.
10978         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10979         prototype to make second argument 'struct aiocb64 *const[]'.
10980         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10981         (Status of AIO Operations): Remove erroneous const in aio_return and
10982         aio_return64 prototypes.
10983         (Synchronizing I/O): Fix sync prototype to return void.
10984         * manual/startup.texi (Suboptions): Remove an erroneous const in
10985         getsubopt prototype.
10986         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10987         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10988         use size_t rather than int.
10989         (Scanning All Users): Likewise for getpwent_r.
10990         (Setting Groups): Add missing const to setgroups prototype.
10991         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10992         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10993         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10994         'const void *' rather than 'const char *'.
10995         (Host Address Functions): Likewise for inet_ntop.
10996         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10997         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10998         ssize_t for return value.
10999         (Sending Data): Likewise for send, sendto, sendmsg.
11000         (Socket Option Functions): Add a missing const in setsockopt prototype.
11001         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11002         use wchar_t for the argument.
11003         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11004         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11005         take no arguments.
11006         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11007         double/float/long double for second argument.
11008         Fix return types of significand, significandf, significandl.
11009         * manual/filesys.texi (Setting Permissions): Use mode_t for second
11010         argument in fchmod prototype.
11011         (File Owner): Use uid_t and gid_t in fchown prototype.
11012         (File Times): Add const to utimes, futimes, and lutimes prototypes.
11013         (Making Special Files): Use mode_t and dev_t in mknod prototype.
11014         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11015         use 'const struct dirent **' as argument types to CMP function pointer
11016         argument.
11017         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11018         (File Times): Fix summary magic @comment for struct utimbuf and utime
11019         to refer to utime.h, not time.h.
11020         * manual/string.texi (Argz Functions): Add missing const in
11021         argz_extract and argz_next prototypes.
11022         (Finding Tokens in a String): Likewise for basename.
11023         (String/Array Comparison): Fix typo in wcscasecmp prototype.
11024         (Copying and Concatenation): Fix typo in wmemmove prototype.
11025         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11026         (Signal Stack): Remove erroneous const in sigstack prototype.
11027         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11028         prototype.
11029         (Simple Calendar Time): Likewise for stime.
11030         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11031         prototype.
11032         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11033         say sys/sysctl.h instead.
11034         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11035         and vsyslog prototypes.
11037 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11039         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11040         Remove.
11042 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11044         * misc/sys/mman.h: Fix typo in mremap comment.
11046 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11048         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11049         the '\0' terminator.
11051 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11053         [BZ #13550]
11054         * debug/segfault.c: Don't include <bp-checks.h>.
11055         * sysdeps/generic/bp-checks.h: Remove file.
11056         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11057         (__GETDENTS): Don't use CHECK_N.
11058         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11059         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11060         (__getgroups): Don't use CHECK_N.
11061         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11062         (setgroups): Don't use CHECK_N.
11063         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11064         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11065         (__libc_msgrcv): Don't use CHECK_N.
11066         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11067         (__libc_msgsnd): Don't use CHECK_N.
11068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11069         <bp-checks.h>.
11070         (__libc_pread): Don't use CHECK_N.
11071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11072         include <bp-checks.h>.
11073         (__libc_pread64): Don't use CHECK_N.
11074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11075         include <bp-checks.h>.
11076         (__libc_pwrite): Don't use CHECK_N.
11077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11078         include <bp-checks.h>.
11079         (__libc_pwrite64): Don't use CHECK_N.
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11081         <bp-checks.h>.
11082         (__libc_pread): Don't use CHECK_N.
11083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11084         include <bp-checks.h>.
11085         (__libc_pread64): Don't use CHECK_N.
11086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11087         include <bp-checks.h>.
11088         (__libc_pwrite): Don't use CHECK_N.
11089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11090         include <bp-checks.h>.
11091         (__libc_pwrite64): Don't use CHECK_N.
11092         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11093         (do_pread): Don't use CHECK_N.
11094         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11095         (do_pread64): Don't use CHECK_N.
11096         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11097         (do_pwrite): Don't use CHECK_N.
11098         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11099         (do_pwrite64): Don't use CHECK_N.
11100         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11101         (__libc_readv): Don't use CHECK_N.
11102         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11103         (semop): Don't use CHECK_N.
11104         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11105         <bp-checks.h>.
11106         (semtimedop): Don't use CHECK_N.
11107         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11108         (__libc_pread): Don't use CHECK_N.
11109         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11110         <bp-checks.h>.
11111         (__libc_pread64): Don't use CHECK_N.
11112         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11113         <bp-checks.h>.
11114         (__libc_pwrite): Don't use CHECK_N.
11115         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11116         <bp-checks.h>.
11117         (__libc_pwrite64): Don't use CHECK_N.
11118         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11119         <bp-checks.h>.
11120         (__libc_msgrcv): Don't use CHECK_N.
11121         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11122         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
11123         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11124         (__libc_writev): Don't use CHECK_N.
11126 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11128         * string/strcpy.c: Removed unused variable.
11130         * Makeconfig (+sysdep-includes): Define with := rather than =.
11131         Use an existing include/ subdir of each sysdeps dir before it.
11133 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11135         * nscd/connection.c (register_traced_file): Comment function.
11136         [HAVE_INOTIFY] (union __inev): Define.
11137         [HAVE_INOTIFY] (inotify_check_files): New function.
11138         [HAVE_INOTIFY] (clear_db_cache): Likewise.
11139         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11140         clear_db_cache.
11141         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11143 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11145         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11146         loaded if not already and that a failure is permanent.
11148 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11150         [BZ #15006]
11151         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11152         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11154 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11156         [BZ #13550]
11157         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11158         (CHECK_1_NULL_OK): Likewise.
11159         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11160         (__fxstat): Do not use CHECK_1.
11161         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11162         <bp-checks.h>.
11163         (___fxstat64): Do not use CHECK_1.
11164         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11165         <bp-checks.h>.
11166         (__fxstatat): Do not use CHECK_1.
11167         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11168         <bp-checks.h>.
11169         (__fxstatat64): Do not use CHECK_1.
11170         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11171         <bp-checks.h>.
11172         (__fxstat): Do not use CHECK_1.
11173         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11174         <bp-checks.h>.
11175         (__fxstatat): Do not use CHECK_1.
11176         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11177         <bp-checks.h>.
11178         (__getresgid): Do not use CHECK_1.
11179         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11180         <bp-checks.h>.
11181         (__getresuid): Do not use CHECK_1.
11182         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11183         <bp-checks.h>.
11184         (__lxstat): Do not use CHECK_1.
11185         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11186         <bp-checks.h>.
11187         (__old_msgctl): Do not use CHECK_1.
11188         (__new_msgctl): Likewise.
11189         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11190         <bp-checks.h>.
11191         (__new_setrlimit): Do not use CHECK_1.
11192         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11193         <bp-checks.h>.
11194         (__old_shmctl): Do not use CHECK_1.
11195         (__new_shmctl): Likewise.
11196         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11197         <bp-checks.h>.
11198         (__xstat): Do not use CHECK_1.
11199         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11200         (__lxstat): Do not use CHECK_1.
11201         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11202         <bp-checks.h>.
11203         (___lxstat64): Do not use CHECK_1.
11204         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11205         (__old_msgctl): Do not use CHECK_1.
11206         (__new_msgctl): Likewise.
11207         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11208         <bp-checks.h>.
11209         (__gettimeofday): Do not use CHECK_1.
11210         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11211         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11212         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11213         <bp-checks.h>.
11214         (__gettimeofday): Do not use CHECK_1.
11215         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11216         (__old_shmctl): Do not use CHECK_1_NULL_OK.
11217         (__new_shmctl): Do not use CHECK_1.
11218         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11219         <bp-checks.h>.
11220         (do_sigtimedwait): Do not use CHECK_1.
11221         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11222         <bp-checks.h>.
11223         (do_sigwaitinfo): Do not use CHECK_1.
11224         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11225         <bp-checks.h>.
11226         (msgctl): Do not use CHECK_1.
11227         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11228         <bp-checks.h>.
11229         (shmctl): Do not use CHECK_1.
11230         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11231         (ustat): Do not use CHECK_1.
11232         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11233         <bp-checks.h>.
11234         (__fxstat): Do not use CHECK_1.
11235         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11236         <bp-checks.h>.
11237         (__fxstatat): Do not use CHECK_1.
11238         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11239         <bp-checks.h>.
11240         (__lxstat): Do not use CHECK_1.
11241         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11242         <bp-checks.h>.
11243         (__xstat): Do not use CHECK_1.
11244         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11245         (__xstat): Do not use CHECK_1.
11246         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11247         (___xstat64): Do not use CHECK_1.
11249         [BZ #13550]
11250         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11251         definitions.
11252         (CHECK_BOUNDS_HIGH): Likewise.
11253         * string/strcpy.c: Do not include <bp-checks.h>.
11254         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11256 2013-02-07  Roland McGrath  <roland@hack.frob.com>
11258         * nscd/nscd-client.h (__nscd_drop_map_ref):
11259         Add __attribute__ ((unused)).
11260         * nis/nss-nisplus.h (niserr2nss): Likewise.
11262         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11263         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11265         * csu/libc-tls.c (init_static_tls, init_slotinfo):
11266         Remove inline keyword.
11267         * include/rounding-mode.h (round_away): Likewise.
11268         * libio/wfileops.c (adjust_wide_data): Likewise.
11269         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11270         (__m128i_strloadu_tolower): Likewise.
11271         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11272         (__m128i_strloadu_tolower): Likewise.
11273         * time/mktime.c (ydhms_diff): Likewise.
11274         * locale/elem-hash.h (elem_hash): Likewise.
11275         * locale/setlocale.c (setdata): Likewise.
11276         * posix/regex_internal.h (re_string_char_size_at): Likewise.
11277         (re_string_wchar_at): Likewise.
11278         (bitset_not, bitset_merge, bitset_mask): Likewise.
11279         [!(__GNUC__ > 3)] (inline): Remove macro.
11280         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11281         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11282         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11283         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11284         * string/memcmp.c (memcmp_bytes): Likewise.
11285         * locale/programs/locarchive.c (compute_hashval): Likewise.
11286         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11287         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11288         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11289         * nss/getent.c (print_rpc, print_protocols): Likewise.
11290         (print_passwd, print_group, print_aliases): Likewise.
11291         * nis/nss-nisplus.h (niserr2nss): Likewise.
11292         * nscd/connections.c (restart_p): Likewise.
11293         Change return type to bool.
11295 2013-02-05  Roland McGrath  <roland@hack.frob.com>
11297         * Makeconfig (all-Depend-files): Add existing
11298         $(sorted-subdirs:=/Depend) files.
11299         (all-subdirs): Remove nss.
11300         * sysdeps/unix/inet/Subdirs: Add it here instead.
11301         * hesiod/Depend: New file.
11303         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11304         instead of calling alloca.
11306         * io/lseek.c (__lseek): Rename to __libc_lseek.
11307         Define __lseek as an alias.
11309         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11311 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
11313         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11314         else clause and remove check for non-standard endianness.
11316 2013-02-04  David S. Miller  <davem@davemloft.net>
11318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11320 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
11322         [BZ #13550]
11323         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11324         (__ubp_memchr): Remove prototype.
11325         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11326         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11327         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11328         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11329         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11330         Remove alias.
11331         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11332         (__ubp_memchr): Likewise.
11333         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11334         (__ubp_memchr): Likewise.
11335         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11336         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11337         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11338         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11339         CHECK_STRING.
11340         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11341         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11342         (__getcwd): Do not use CHECK_STRING.
11343         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11344         <bp-checks.h>.
11345         (__real_chown): Do not use CHECK_STRING.
11346         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11347         <bp-checks.h>.
11348         (fchownat): Do not use CHECK_STRING.
11349         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11350         CHECK_STRING.
11351         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11352         <bp-checks.h>.
11353         (__lchown): Do not use CHECK_STRING.
11354         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11355         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11356         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11357         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11359         include <bp-checks.h>.
11360         (truncate64): Do not use CHECK_STRING.
11361         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11362         <bp-checks.h>.
11363         (__real_chown): Do not use CHECK_STRING.
11364         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11365         <bp-checks.h>.
11366         (__lchown): Do not use CHECK_STRING.
11367         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11368         <bp-checks.h>.
11369         (__chown): Do not use CHECK_STRING.
11370         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11371         <bp-checks.h>.
11372         (truncate64): Do not use CHECK_STRING.
11373         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11374         Likewise.
11375         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11376         (__xmknod): Do not use CHECK_STRING.
11377         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11378         <bp-checks.h>.
11379         (__xmknodat): Do not use CHECK_STRING.
11380         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11381         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11383 2013-02-04  Andreas Schwab  <schwab@suse.de>
11385         [BZ #14142]
11386         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11387         * include/netdb.h: Likewise for h_errno.
11388         * elf/tst-stackguard1.c: Include <tls.h>.
11390 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11392         * elf/link.h (struct link_map): Extend the l_addr comment.
11393         * include/link.h (struct link_map): Likewise.
11395 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
11397         [BZ #13550]
11398         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11399         (BOUNDED_1): Remove macro.
11400         * debug/backtrace.c: Don't include <bp-checks.h>.
11401         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11402         (__backtrace): Likewise.
11403         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11404         <bp-checks.h>.
11405         (__backtrace): Don't use BOUNDED_1.
11406         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11407         <bp-checks.h>.
11408         (__backtrace): Don't use BOUNDED_1.
11409         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11410         (__backtrace): Don't use BOUNDED_1.
11411         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11412         (shmat): Don't use BOUNDED_N.
11414 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
11416         [BZ #13550]
11417         * sysdeps/generic/bp-start.h: Remove file.
11418         * csu/libc-start.c: Don't include <bp-start.h>.
11419         (LIBC_START_MAIN): Set up __environ directly instead of using
11420         INIT_ARGV_and_ENVIRON.
11421         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11422         <bp-start.h>.
11424         [BZ #13550]
11425         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11426         definitions.
11427         (CHECK_FCNTL): Likewise.
11428         (CHECK_N_PAGES): Likewise.
11430         [BZ #13550]
11431         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11432         definitions.
11433         (CHECK_SIGSET_NULL_OK): Likewise.
11434         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11435         <bp-checks.h>.
11436         (sigpending): Don't use CHECK_SIGSET.
11437         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11438         <bp-checks.h>.
11439         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11440         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11441         <bp-checks.h>.
11442         (do_sigsuspend): Don't use CHECK_SIGSET.
11443         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11444         use CHECK_SIGSET.
11445         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11446         (do_sigwait): Don't use CHECK_SIGSET.
11447         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11448         use CHECK_SIGSET.
11449         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11450         include <bp-checks.h>.
11451         (sigpending): Don't use CHECK_SIGSET.
11452         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11453         include <bp-checks.h>.
11454         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11455         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11456         <bp-checks.h>.
11457         (sigpending): Don't use CHECK_SIGSET.
11458         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11459         <bp-checks.h>.
11460         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11462         [BZ #13550]
11463         * sysdeps/generic/bp-semctl.h: Remove file.
11464         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11465         <bp-checks.h> and <bp-semctl.h>.
11466         (__old_semctl): Don't use CHECK_SEMCTL.
11467         (__new_semctl): Likewise.
11468         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11469         and <bp-semctl.h>.
11470         (__old_semctl): Don't use CHECK_SEMCTL.
11471         (__new_semctl): Likewise.
11472         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11473         <bp-checks.h> and <bp-semctl.h>.
11474         (__old_semctl): Don't use CHECK_SEMCTL.
11475         (__new_semctl): Likewise.
11476         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11477         <bp-checks.h> and <bp-semctl.h>.
11478         (semctl): Don't use CHECK_SEMCTL.
11480         [BZ #13550]
11481         * Makerules (elide-bp-thunks): Remove variable.
11482         (elide-routines.oS): Don't use $(elide-bp-thunks).
11483         (elide-routines.os): Likewise.
11484         (elide-routines.o): Likewise.
11485         (elide-routines.op): Likewise.
11486         (elide-routines.og): Likewise.
11487         (objects): Don't use $(bp-thunks).
11488         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11489         include.
11490         (common-generated): Do not add s-proto-bp.d.
11491         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11492         (int): Likewise.
11493         (typ): Likewise.
11494         Do not generate makefile rules for bounded-pointer thunks.
11495         * sysdeps/generic/bp-thunks.h: Remove file.
11496         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11497         * sysdeps/unix/s-proto-bp.S: Likewise.
11499         [BZ #15062]
11500         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11501         parts of result separately when argument is not close to line from
11502         -i to i and one part of argument is small.
11503         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11504         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11505         * math/libm-test.inc (cacos_test): Add more tests.
11506         (casin_test): Likewise.
11507         (casinh_test): Likewise.
11508         * sysdeps/i386/fpu/libm-test-ulps: Update.
11509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11511 2013-01-31  David S. Miller  <davem@davemloft.net>
11513         * po/de.po: Update from translation team.
11515 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
11517         * time/tzfile.c: Include stdint.h for SIZE_MAX.
11519 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
11521         * configure.in (_AC_PROG_CC_C89): New definition.
11522         * configure: Regenerate.
11524         * configure.in (AC_PROG_CPP): New definition.
11525         * configure: Regenerate.
11527 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11529         * debug/tst-backtrace.h: New file.
11530         * debug/tst-backtrace2.c: Include tst-backtrace.h.
11531         (ret): Remove variable.
11532         (x): Likewise.
11533         (FAIL): Remove macro.
11534         (NO_INLINE): Likewise.
11535         (fn1): Use match function instead of strstr.
11536         * debug/tst-backtrace3.c: Include tst-backtrace.h.
11537         (ret): Remove variable.
11538         (x): Likewise.
11539         (FAIL): Remove macro.
11540         (NO_INLINE): Likewise.
11541         (fn): Use match function instead of strstr.
11542         * debug/tst-backtrace4.c: Include tst-backtrace.h.
11543         (ret): Remove variable.
11544         (x): Likewise.
11545         (FAIL): Remove macro.
11546         (NO_INLINE): Likewise.
11547         (handle_signal): Use match function instead of strstr.
11548         * debug/tst-backtrace5.c: Include tst-backtrace.h.
11549         (ret): Remove variable.
11550         (x): Likewise.
11551         (FAIL): Remove macro.
11552         (NO_INLINE): Likewise.
11553         (handle_signal): Use match function instead of strstr.
11555 2013-01-23  Roland McGrath  <roland@hack.frob.com>
11557         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11559 2013-01-23  David S. Miller  <davem@davemloft.net>
11561         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11562         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11563         argument of CAS if possible.
11564         * sysdeps/sparc/sparc64/bits/atomic.h
11565         (__arch_compare_and_exchange_val_32_acq): Likewise.
11566         (__arch_compare_and_exchange_val_64_acq): Likewise.
11568 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
11570         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11571         * sysdeps/posix/ulimit.c: ... this.
11572         Include <limits.h>.
11573         * sysdeps/unix/bsd/ulimit.c: Remove file.
11575 2013-01-23  Adam Conrad  <adconrad@0c3.net>
11577         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11578         (LDFLAGS-tst-array5): Likewise.
11580 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11582         [BZ #15036]
11583         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11584         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11585         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11586         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11588 2013-01-21  David S. Miller  <davem@davemloft.net>
11590         * sysdeps/sparc/backtrace.c: New file.
11591         * sysdeps/sparc/sparc32/backtrace.h: New file.
11592         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11593         * sysdeps/sparc/sparc64/backtrace.h: New file.
11594         * sysdeps/sparc/sparc64/backtrace.c: Delete.
11595         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11596         -funwind-tables.
11598 2013-01-21  Andreas Schwab  <schwab@suse.de>
11600         [BZ #15020]
11601         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11602         closed its stdout.
11604 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
11606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11607         "mpa2.h".
11608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11610 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
11611             Mark Mitchell  <mark@codesourcery.com>
11612             Tom de Vries  <tom@codesourcery.com>
11613             Paul Pluzhnikov  <ppluzhnikov@google.com>
11615         * debug/tst-backtrace2.c: New file.
11616         * debug/tst-backtrace3.c: Likewise.
11617         * debug/tst-backtrace4.c: Likewise.
11618         * debug/tst-backtrace5.c: Likewise.
11619         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11620         (CFLAGS-tst-backtrace3.c): Likewise.
11621         (CFLAGS-tst-backtrace4.c): Likewise.
11622         (CFLAGS-tst-backtrace5.c): Likewise.
11623         (LDFLAGS-tst-backtrace2): Likewise.
11624         (LDFLAGS-tst-backtrace3): Likewise.
11625         (LDFLAGS-tst-backtrace4): Likewise.
11626         (LDFLAGS-tst-backtrace5): Likewise.
11627         (tests): Add new tests tst-backtrace2, tst-backtrace3,
11628         tst-backtrace4 and tst-backtrace5.
11630 2013-01-18  Anton Blanchard  <anton@samba.org>
11631             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11633         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11634         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11635         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11636         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11638         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11639         "+r" and remove output regs list as redundant.  Add explicit inline
11640         asm to specify register of return val to work around compiler codegen
11641         bug.  Remove (int) cast on return value.  Add return type parameter to
11642         use in macro so that this macro does not truncate return value for
11643         64-bit values.
11644         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11645         pass to INTERNAL_VSYSCALL_NCS.
11646         (INLINE_VSYSCALL): Add 'long int' as return type to
11647         INTERNAL_VSYSCALL_NCS macro invocation.
11648         (INTERNAL_VSYSCALL): Add 'long int' as return type to
11649         INTERNAL_VSYSCALL_NCS macro invocation.
11650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11652 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11654         [BZ #14496]
11655         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11656         Fix application of SIMD FP exception mask.
11658         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11659         mp_no from a power of two.
11660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11661         __mpexp_twomm1.  Use __pow_mp.
11663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11664         multiplication.
11666 2013-01-17  David S. Miller  <davem@davemloft.net>
11668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11670 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11672         [BZ #15023]
11673         * include/complex.h: Condition contents on [!_COMPLEX_H].
11674         (__kernel_casinhf): New prototype.
11675         (__kernel_casinh): Likewise.
11676         (__kernel_casinhl): Likewise.
11677         * math/Makefile (libm_calls): Add k_casinh.
11678         * math/k_casinh.c: New file.
11679         * math/k_casinhf.c: Likewise.
11680         * math/k_casinhl.c: Likewise.
11681         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11682         finite nonzero arguments.
11683         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11684         finite nonzero arguments.
11685         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11686         finite nonzero arguments.
11687         * math/s_casinh.c: Do not include <float.h>.
11688         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11689         * math/s_casinhf.c: Do not include <float.h>.
11690         (__casinhf): Move code for finite nonzero arguments to
11691         k_casinhf.c.
11692         * math/s_casinhl.c: Do not include <float.h>.
11693         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11694         redefine.
11695         (__casinhl): Move code for finite nonzero arguments to
11696         k_casinhl.c.
11697         * math/libm-test.inc (cacos_test): Add more tests.
11698         * sysdeps/i386/fpu/libm-test-ulps: Update.
11699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11701 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
11703         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11704         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11705         [!HAVE_MREMAP]: Remove [defined linux] case.
11706         * malloc/arena.c: Do not include <malloc-sysdep.h>.
11708 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11710         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11712 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
11714         * elf/elf.h (R_386_SIZE32): New relocation.
11715         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11716         R_386_SIZE32.
11717         (elf_machine_rela): Likewise.
11718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11719         R_X86_64_SIZE64 and R_X86_64_SIZE32.
11721 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11723         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11724         (FP_FAST_FMA): Do not define.
11725         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11726         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11727         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11728         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11729         !_SOFT_FLOAT]: Likewise.
11730         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11731         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11732         value.
11733         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11734         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11735         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11736         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11737         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11738         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11739         file.
11741 2013-01-16  Andreas Schwab  <schwab@suse.de>
11743         [BZ #14327]
11744         * include/stdlib.h (__mktemp): Add declaration.
11745         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11746         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11748 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11750         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11751         definitions.
11752         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11753         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11754         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11755         definitions here.
11756         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11757         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11758         definitions.
11759         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11760         and ONE.
11761         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11762         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11763         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11764         definitions.
11765         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11766         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11767         definitions.
11768         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11770         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11772 2013-01-15  David S. Miller  <davem@davemloft.net>
11774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11775         trunc{,f} to libm-sysdep_routes.
11776         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11778         file.
11779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11781         file.
11782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11783         file.
11784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11786         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11787         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11788         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11789         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11790         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11791         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11794         nearbyint{,f} to libm-sysdep_routes.
11795         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11797         New file.
11798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11799         file.
11800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11801         New file.
11802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11803         file.
11804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11806         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11807         file.
11808         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11809         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11810         file.
11811         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11812         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11813         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11815         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11816         libc_feholdexcept and libc_fesetenv.
11818 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11820         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11822 2013-01-14  David S. Miller  <davem@davemloft.net>
11824         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11825         (SPARC_ASM_VIS2_IFUNC): Likewise.
11826         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11828         use of 'siam' instruction.
11829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11830         Likewise.
11831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11832         Likewise.
11833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11834         Likewise.
11835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11837         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11838         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11840         file.
11841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11842         file.
11843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11844         file.
11845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11846         file.
11847         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11852         new VIS2 routines.
11853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11856         Likewise.
11857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11858         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11862         routines to libm-sysdep_routines.
11863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11866         fdim/fdimf to libm-sysdep_routines.
11867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11868         file.
11869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11871         file.
11872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11875         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11876         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11877         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11878         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11880 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11882         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11883         to optimize copies.
11885         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11886         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11889         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11890         local variable MPTWO.
11891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11892         Likewise.
11894 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11896         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11897         GLOB_NOESCAPE.
11899 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11901         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11903 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11905         * manual/pattern.texi (glob_t): Document gl_flags.
11906         (glob64_t): Likewise.
11908 2013-01-11  David S. Miller  <davem@davemloft.net>
11910         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11911         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11912         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11913         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11914         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11915         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11916         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11917         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11918         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11919         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11920         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11921         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11922         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11924         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11925         sparc V9 rather than using V8 code.
11926         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11927         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11929         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11930         Move to...
11931         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11932         Here.
11934 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11936         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11937         not in the main loop.
11938         * configure: Regenerated.
11940 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11942         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11943         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11944         to just #else.
11945         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11946         [!__GLIBC_HAVE_LONG_LONG] case.
11947         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11948         condition to just #else.
11949         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11950         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11951         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11952         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11953         unconditional.
11954         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11955         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11956         #elif condition to just #else.
11957         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11958         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11959         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11960         #elif condition to just #else.
11962 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11964         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11965         (EF_MIPS_ARCH_64): Fix value.
11966         (EF_MIPS_ARCH_32R2): New.
11967         (EF_MIPS_ARCH_64R2): New.
11969 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11971         * Makeconfig (+link-pie-before-libc): New.
11972         (+link-pie-after-libc): Likewise.
11973         (+link-pie-tests): Likewise.
11974         (+link-pie): Rewritten.
11975         (link-before-libc): Remove $(config-LDFLAGS).
11976         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11977         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11978         (config-LDFLAGS): Renamed to ...
11979         (rtld-LDFLAGS): This.
11980         (rtld-tests-LDFLAGS): New macro.
11981         (link-libc-rpath-link): Likewise.
11982         (link-libc-tests-rpath-link): Likewise.
11983         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11984         (link-libc): Prepand $(link-libc-rpath-link).
11985         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11986         (test-program-prefix): New macro.
11987         (test-via-rtld-prefix): Likewise.
11988         (test-program-cmd): Likewise.
11989         (host-test-program-cmd): Likewise.
11990         * Makefile ($(common-objpfx)testrun.sh): Replace
11991         $(run-program-prefix) with $(test-program-prefix).
11992         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11993         $(rtld-LDFLAGS).
11994         ($(common-objpfx)shlib.lds): Likewise.
11995         (build-module-helper): Likewise.
11996         ($(common-objpfx)format.lds): Likewise.
11997         * Rules (binaries-pie-tests): New.
11998         (binaries-pie-notests): Likewise.
11999         (binaries-pie): Rewritten.
12000         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12001         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12002         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12003         (make-test-out): Replace $(host-built-program-cmd) with
12004         $(host-test-program-cmd).
12005         * config.make.in (build-hardcoded-path-in-tests): New variable.
12006         * configure.in (--enable-hardcoded-path-in-tests): New configure
12007         option.
12008         (hardcoded_path_in_tests): New AC_SUBST.
12009         * configure: Regenerated.
12010         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12011         $(built-program-cmd) with $(test-program-cmd).
12012         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12013         (test_program_cmd): This.
12014         * elf/Makefile ($(objpfx)order.out): Run test with
12015         $(test-program-prefix).
12016         ($(objpfx)order2.out): Likewise.
12017         ($(objpfx)tst-initorder.out): Likewise.
12018         ($(objpfx)tst-initorder2.out): Likewise.
12019         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12020         $(test-program-cmd).
12021         ($(objpfx)tst-array1-static.out): Likewise.
12022         ($(objpfx)tst-array2.out): Likewise.
12023         ($(objpfx)tst-array3.out): Likewise.
12024         ($(objpfx)tst-array4.out): Likewise.
12025         ($(objpfx)tst-array5.out): Likewise.
12026         ($(objpfx)tst-array5-static.out): Likewise.
12027         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12028         $(test-program-cmd).
12029         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12030         $(run-program-prefix) with $(test-program-prefix).
12031         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12032         (test_program_prefix): This.
12033         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12034         $(run-program-prefix) with $(test-program-prefix).
12035         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12036         (test_program_prefix): This.
12037         * iconvdata/tst-tables.sh: Likewise.
12038         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12039         $(run-program-prefix) with $(test-program-prefix).
12040         ($(objpfx)tst-translit.out): Likewise.
12041         ($(objpfx)tst-gettext2.out): Likewise.
12042         ($(objpfx)tst-gettext4.out): Likewise.
12043         ($(objpfx)tst-gettext6.out): Likewise.
12044         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12045         (test_program_prefix): This.
12046         * intl/tst-gettext2.sh: Likewise.
12047         * intl/tst-gettext4.sh  Likewise.
12048         * intl/tst-gettext6.sh: Likewise.
12049         * intl/tst-translit.sh: Likewise.
12050         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12051         with $(test-program-cmd).
12052         * libio/Makefile ($(objpfx)test-freopen.out): Replace
12053         $(run-program-prefix) with $(test-program-prefix).
12054         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12055         (test_program_prefix): This.
12056         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12057         $(run-program-prefix) with $(test-program-prefix).
12058         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12059         (test_program_prefix): This.
12060         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12061         * posix/Makefile ($(objpfx)globtest.out): Replace
12062         $(run-via-rtld-prefix) and $(test-wrapper) with
12063         $(test-program-prefix) and $(test-via-rtld-prefix).
12064         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12065         $(test-program-prefix).
12066         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12067         $(host-test-program-cmd).
12068         (tst-spawn-ARGS): Likewise.
12069         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12070         $(test-program-prefix).
12071         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12072         (test_via_rtld_prefix): This.
12073         (test_wrapper): Renamed to ...
12074         (test_program_prefix): This.
12075         (run_program_prefix): Replaced by test_program_prefix.
12076         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12077         (test_program_prefix): This.
12078         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12079         with $(host-test-program-cmd).
12080         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12081         $(run-program-prefix) with $(test-program-prefix).
12082         ($(objpfx)tst-printf.out): Likewise.
12083         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12084         $(test-program-cmd).
12085         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12086         (test_program_prefix): This.
12087         * stdio-common/tst-unbputc.sh: Likewise.
12088         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12089         $(run-program-prefix) with $(test-program-prefix).
12090         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12091         (test_program_prefix): This.
12092         * string/Makefile ($(objpfx)tst-svc.out):  Replace
12093         $(built-program-cmd) with $(test-program-cmd).
12095 2013-01-11  Andreas Jaeger  <aj@suse.de>
12097         [BZ #15003]
12098         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12099         value. Sync with Linux 3.7.
12101 2013-01-10  David S. Miller  <davem@davemloft.net>
12103         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12104         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12105         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12107 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12109         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12110         never set.
12111         * configure: Regenerated.
12113 2013-01-10  David S. Miller  <davem@davemloft.net>
12115         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12116         sparc V9 rather than using V8 code.
12117         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12118         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12120 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12122         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12123         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12124         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12125         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12126         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12127         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12128         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12129         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12130         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12131         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12132         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12133         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12134         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12135         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12136         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12137         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12138         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12139         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12140         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12141         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12142         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12143         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12144         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12145         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12146         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12147         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12148         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12150 2013-01-10  David S. Miller  <davem@davemloft.net>
12152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12154 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12156         * posix/Makefile (tests-static): New variable.
12157         (tests): Add $(tests-static).
12158         (tst-exec-static-ARGS): New variable.
12159         (tst-spawn-static-ARGS): Likewise.
12160         * posix/tst-exec-static.c: New file.
12161         * posix/tst-spawn-static.c: Likewise.
12162         * posix/tst-exec.c: Support run directly.
12163         * posix/tst-spawn.c: Likewise.
12165 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
12167         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12168         long.
12169         * math/bits/mathcalls.h (llrint): Likewise.
12170         (llround): Likewise.
12171         * stdlib/stdlib.h (struct drand48_data): Likewise.
12172         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12173         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12174         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12175         Likewise.
12176         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12177         Likewise.
12178         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12179         (elf_greg_t): Likewise.
12180         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12181         (__jmp_buf): Likewise.
12182         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12183         definitions.
12184         (llrint): Likewise, for all definitions.
12185         (llrintl): Likewise.
12187         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12188         Remove [__GNUC__] condition.
12189         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12190         condition to just [__USE_ISOC99].
12191         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12193 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12195         [BZ #14200]
12196         * sysdeps/unix/sysv/linux/x86/bits/environments.h
12197         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12198         defined.
12199         (_POSIX_V6_ILP32_OFF32): Likewise.
12200         (_XBS5_ILP32_OFF32): Likewise.
12201         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12202         (__ILP32_OFFBIG_LDFLAGS): Likewise.
12204 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12206         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12208         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12209         doubles __mpexp_twomm1.  Adjust usage.
12210         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12211         Remove.
12213 2013-01-10  Andreas Schwab  <schwab@suse.de>
12215         [BZ #14964]
12216         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12217         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12219 2013-01-09  David S. Miller  <davem@davemloft.net>
12221         [BZ #15003]
12222         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12223         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12224         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12225         TCP_FASTOPEN): Define.
12226         (tcp_repair_opt): New structure.
12227         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12228         enum values.
12229         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12230         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12231         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12232         (tcp_cookie_transactions): New structure.
12234 2013-01-09  Anton Blanchard  <anton@samba.org>
12236         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12237         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12238         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12239         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12241 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
12243         * include/features.h (__USE_ANSI): Remove.
12245 2013-01-09  Roland McGrath  <roland@hack.frob.com>
12247         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12249         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12251 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12253         * sysdeps/s390/fpu/libm-test-ulps: Update.
12255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12257         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12258         (__acr): Likewise.
12259         (__cpy): Likewise.
12260         (norm): Likewise.
12261         (denorm): Likewise.
12262         (__mp_dbl): Likewise.
12263         (__dbl_mp): Likewise.
12264         (add_magnitudes): Likewise.
12265         (sub_magnitudes): Likewise.
12266         (__add): Likewise.
12267         (__sub): Likewise.
12268         (__mul): Likewise.
12269         (__inv): Likewise.
12270         (__dvd): Likewise.
12271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12272         (__acr): Likewise.
12273         (__cpy): Likewise.
12274         (norm): Likewise.
12275         (denorm): Likewise.
12276         (__mp_dbl): Likewise.
12277         (__dbl_mp): Likewise.
12278         (add_magnitudes): Likewise.
12279         (sub_magnitudes): Likewise.
12280         (__add): Likewise.
12281         (__sub): Likewise.
12282         (__mul): Likewise.
12283         (__inv): Likewise.
12284         (__dvd): Likewise.
12285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12286         (__acr): Likewise.
12287         (__cpy): Likewise.
12288         (norm): Likewise.
12289         (denorm): Likewise.
12290         (__mp_dbl): Likewise.
12291         (__dbl_mp): Likewise.
12292         (add_magnitudes): Likewise.
12293         (sub_magnitudes): Likewise.
12294         (__add): Likewise.
12295         (__sub): Likewise.
12296         (__mul): Likewise.
12297         (__inv): Likewise.
12298         (__dvd): Likewise.
12300 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
12302         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12303         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12304         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12305         2 && __USE_EXTERN_INLINES]: Likewise.
12307 2013-01-08  Andreas Jaeger  <aj@suse.de>
12309         [BZ# 14985]
12310         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12311         Remove.
12312         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12313         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12315 2013-01-07  Anton Blanchard  <anton@samba.org>
12317         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12318         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12319         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12320         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12321         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12322         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12323         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12324         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12326         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12327         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12328         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12329         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12330         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12331         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12332         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12333         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12335         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12336         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12337         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12338         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12339         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12340         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12341         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12342         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12343         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12344         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12345         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12346         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12347         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12349         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12350         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12351         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12352         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12353         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12354         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12355         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12356         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12357         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12358         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12359         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12361 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
12363         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12364         (__MALLOC_PMT): Likewise.
12365         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12366         [__GNUC__], only on [_LIBC].
12367         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12368         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12369         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12370         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12371         forward declaration.
12372         (realloc_hook_ini): Likewise.
12373         (memalign_hook_ini): Likewise.
12374         (__libc_memalign): Do not use __MALLOC_PMT in variable
12375         declaration.
12376         (__libc_valloc): Likewise.
12377         (__libc_pvalloc): Likewise.
12378         (__libc_calloc): Likewise.
12379         (__posix_memalign): Likewise.
12381         [BZ #14996]
12382         * math/s_casinh.c: Include <float.h>.
12383         (__casinh): Do not do computation with squaring and square root
12384         for large arguments.
12385         * math/s_casinhf.c: Include <float.h>.
12386         (__casinhf): Do not do computation with squaring and square root
12387         for large arguments.
12388         * math/s_casinhl.c: Include <float.h>.
12389         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12390         (__casinhl): Do not do computation with squaring and square root
12391         for large arguments.
12392         * math/libm-test.inc (casin_test): Add more tests.
12393         (casinh_test): Likewise.
12394         * sysdeps/i386/fpu/libm-test-ulps: Update.
12395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12397 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
12399         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12400         (__x86_64_raw_data_cache_size): Likewise.
12401         (__x86_64_data_cache_size_half): Likewise.
12402         (__x86_64_raw_data_cache_size_half): Likewise.
12403         (__x86_64_shared_cache_size): Likewise.
12404         (__x86_64_raw_shared_cache_size): Likewise.
12405         (__x86_64_shared_cache_size_half): Likewise.
12406         (__x86_64_raw_shared_cache_size_half): Likewise.
12407         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12408         to ...
12409         (__x86_data_cache_size): This.
12410         (__x86_64_raw_data_cache_size): Renamed to ...
12411         (__x86_raw_data_cache_size): This.
12412         (__x86_64_data_cache_size_half): Renamed to ...
12413         (__x86_data_cache_size_half): This.
12414         (__x86_64_raw_data_cache_size_half): Renamed to ...
12415         (__x86_raw_data_cache_size_half): This.
12416         (__x86_64_shared_cache_size): Renamed to ...
12417         (__x86_shared_cache_size): This.
12418         (__x86_64_raw_shared_cache_size): Renamed to ...
12419         (__x86_raw_shared_cache_size): This.
12420         (__x86_64_shared_cache_size_half): Renamed to ...
12421         (__x86_shared_cache_size_half): This.
12422         (__x86_64_raw_shared_cache_size_half): Renamed to ...
12423         (__x86_raw_shared_cache_size_half): This.
12424         * sysdeps/x86_64/memcpy.S: Updated.
12425         * sysdeps/x86_64/memset.S: Likewise.
12426         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12427         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12428         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12430 2013-01-04  David S. Miller  <davem@davemloft.net>
12432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12434 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
12436         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12437         1 to avoid redefinition warning.
12438         (__USE_GNU): Don't define.
12439         (init_signaling_nan): Protoize.
12441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12443 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12445         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12447         (__cpymn): Likewise.
12448         (norm): Remove commented code.
12449         (denorm): Likewise.
12450         (__mp_dbl): Likewise.
12451         (__inv): Likewise.
12452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12453         (__cpymn): Likewise.
12454         (norm): Remove commented code.
12455         (denorm): Likewise.
12456         (__mp_dbl): Likewise.
12457         (__inv): Likewise.
12459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12460         mp_no value for 1.0 and 2.0.
12461         (norm): Use RADIXI instead of radixi.d.
12462         (denorm): Likewise.
12463         (__mul): Use 0.0 instead of zero.d.
12464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12465         mp_no value for 1.0 and 2.0.
12466         (norm): Use RADIXI instead of radixi.d.
12467         (denorm): Likewise.
12468         (__mul): Use 0.0 instead of zero.d.
12470 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #14994]
12473         * math/s_casinh.c (__casinh): Reduce finite argument to first
12474         quadrant then set signs of results at the end.
12475         * math/s_casinhf.c (__casinhf): Likewise.
12476         * math/s_casinhl.c (__casinhl): Likewise.
12477         * math/libm-test.inc (casin_test): Add more tests.
12478         (casinh_test): Likewise.
12479         * sysdeps/i386/fpu/libm-test-ulps: Update.
12480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12482 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12484         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12486         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12488         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12489         declarations.
12490         (denorm): Likewise.
12491         (__mp_dbl): Likewise.
12492         (__inv): Likewise.
12494         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12495         and adjust the header comment.
12497         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12498         variable name from declaration.
12500 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
12502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12503         Initialize COMMON_CPUID_INDEX_7 element.
12504         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12505         (CPUID_RTM): Likewise.
12506         (HAS_RTM): Likewise.
12507         (COMMON_CPUID_INDEX_7): New enum.
12509 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
12511         [BZ #14981]
12512         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12513         size is zero, record memory as freed.
12515 2013-01-03  Andreas Jaeger  <aj@suse.de>
12517         * po/ia.po: Add new Interlingua translation.
12519 2012-01-03  Allan McRae  <allan@archlinux.org>
12521         * locale/programs/localedef.c: Fix description of '--posix' flag.
12523 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
12525         * NEWS: Update dates in second copyright notice.
12526         * README: Update copyright dates in example.
12527         * manual/libc.texinfo: Update copyright dates.
12528         * scripts/test-installation.pl: Update copyright date in --version
12529         output.
12531         * hurd/ctty-input.c: Fix copyright notice formatting.
12532         * hurd/ctty-output.c: Likewise.
12533         * hurd/dtable.c: Likewise.
12534         * hurd/hurd-raise.c: Likewise.
12535         * hurd/hurdprio.c: Likewise.
12536         * hurd/msgportdemux.c: Likewise.
12537         * misc/sys/file.h: Likewise.
12538         * misc/sys/ioctl.h: Likewise.
12539         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12540         * sysdeps/mach/hurd/chdir.c: Likewise.
12541         * sysdeps/mach/hurd/fchdir.c: Likewise.
12542         * sysdeps/mach/hurd/rename.c: Likewise.
12543         * sysdeps/mach/hurd/rmdir.c: Likewise.
12544         * sysdeps/mach/hurd/seekdir.c: Likewise.
12545         * sysdeps/mach/hurd/setsid.c: Likewise.
12546         * sysdeps/posix/wait3.c: Likewise.
12548         * All files with FSF copyright notices: Update copyright dates
12549         using scripts/update-copyrights.
12550         * intl/plural.c: Regenerated.
12551         * locale/programs/charmap-kw.h: Likewise.
12552         * locale/programs/locfile-kw.h: Likewise.
12554 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12556         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12557         four values.
12559         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12560         calculation loop and add branch prediction.
12562         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12563         check access beyond bounds of m1np.
12565         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12566         MPTWO.
12567         (__inv): Remove local variable MPTWO to use the global
12568         constant.
12569         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12570         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12571         variable MPTWO.
12572         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12573         MP3HALFS static const.
12575 2013-01-01  David S. Miller  <davem@davemloft.net>
12577         * po/ca.po: Update from translation team.
12579 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
12581         * scripts/update-copyrights: New file.
12582         * Makeconfig: Reformat copyright notice.
12583         * ctype/ctype.h: Likewise.
12584         * debug/swprintf_chk.c: Likewise.
12585         * elf/dl-cache.c: Likewise.
12586         * elf/dl-debug.c: Likewise.
12587         * elf/dl-object.c: Likewise.
12588         * grp/initgroups.c: Likewise.
12589         * hurd/Makefile: Likewise.
12590         * hurd/hurd/signal.h: Likewise.
12591         * hurd/hurdfault.c: Likewise.
12592         * hurd/hurdioctl.c: Likewise.
12593         * hurd/hurdlookup.c: Likewise.
12594         * hurd/intr-msg.c: Likewise.
12595         * iconv/gconv_open.c: Likewise.
12596         * libio/swprintf.c: Likewise.
12597         * locale/lc-ctype.c: Likewise.
12598         * locale/nl_langinfo.c: Likewise.
12599         * mach/Machrules: Likewise.
12600         * mach/Makefile: Likewise.
12601         * malloc/obstack.h: Likewise.
12602         * manual/Makefile: Likewise.
12603         * manual/tsort.awk: Likewise.
12604         * misc/bits/stab.def: Likewise.
12605         * nis/nis_print_group_entry.c: Likewise.
12606         * nis/nis_table.c: Likewise.
12607         * nis/nss_compat/compat-pwd.c: Likewise.
12608         * nis/nss_compat/compat-spwd.c: Likewise.
12609         * po/Makefile: Likewise.
12610         * posix/fnmatch.c: Likewise.
12611         * posix/regex.h: Likewise.
12612         * resolv/Makefile: Likewise.
12613         * resolv/nss_dns/dns-network.c: Likewise.
12614         * resolv/res_hconf.c: Likewise.
12615         * scripts/gen-sorted.awk: Likewise.
12616         * soft-fp/soft-fp.h: Likewise.
12617         * stdio-common/printf.h: Likewise.
12618         * stdlib/monetary.h: Likewise.
12619         * stdlib/random.c: Likewise.
12620         * stdlib/random_r.c: Likewise.
12621         * sysdeps/generic/Makefile: Likewise.
12622         * sysdeps/gnu/Makefile: Likewise.
12623         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12625         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12627         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12630         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12631         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12632         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12633         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12634         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12635         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12636         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12637         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12638         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12639         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12640         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12641         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12643         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12644         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12645         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12646         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12647         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12648         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12649         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12650         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12651         * sysdeps/mach/hurd/errnos.awk: Likewise.
12652         * sysdeps/mach/hurd/fork.c: Likewise.
12653         * sysdeps/mach/hurd/getcwd.c: Likewise.
12654         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12655         * sysdeps/mach/hurd/mmap.c: Likewise.
12656         * sysdeps/mach/hurd/utimes.c: Likewise.
12657         * sysdeps/mach/hurd/xmknod.c: Likewise.
12658         * sysdeps/posix/profil.c: Likewise.
12659         * sysdeps/posix/readdir_r.c: Likewise.
12660         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12661         * sysdeps/powerpc/bits/setjmp.h: Likewise.
12662         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12663         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12665         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12666         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12667         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12669         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12670         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12671         * sysdeps/pthread/lio_listio.c: Likewise.
12672         * sysdeps/sparc/dl-procinfo.h: Likewise.
12673         * sysdeps/unix/i386/sysdep.S: Likewise.
12674         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12675         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12676         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12677         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12679         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12680         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12681         * sysdeps/unix/sysv/linux/speed.c: Likewise.
12682         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12683         * sysdeps/wordsize-32/divdi3.c: Likewise.
12684         * time/sys/time.h: Likewise.
12685         * wcsmbs/Makefile: Likewise.
12687 2013-01-01  David S. Miller  <davem@davemloft.net>
12689         * po/fr.po: Update from translation team.
12691         * catgets/gencat.c: Update copyright year.
12692         * csu/version.c: Likewise.
12693         * debug/catchsegv.sh: Likewise.
12694         * debug/pcprofiledump.c: Likewise.
12695         * debug/xtrace.sh: Likewise.
12696         * elf/ldconfig.c: Likewise.
12697         * elf/ldd.bash.in: Likewise.
12698         * elf/pldd.c: Likewise.
12699         * elf/sotruss.ksh: Likewise.
12700         * elf/sprof.c: Likewise.
12701         * iconv/iconv_prog.c: Likewise.
12702         * iconv/iconvconfig.c: Likewise.
12703         * locale/programs/locale.c: Likewise.
12704         * locale/programs/localedef.c: Likewise.
12705         * login/programs/pt_chown.c: Likewise.
12706         * malloc/memusage.sh: Likewise.
12707         * malloc/memusagestat.c: Likewise.
12708         * malloc/mtrace.pl: Likewise.
12709         * nscd/nscd.c: Likewise.
12710         * nss/getent.c: Likewise.
12711         * nss/makedb.c: Likewise.
12712         * posix/getconf.c: Likewise.
12714 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12716         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12717         numbers.
12719 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
12721         * math/bits/mathcalls.h (modf): Use __nonnull.
12723 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12725         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12726         (split): Use macro CN instead of the bare value.
12727         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12728         could be used.
12729         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12730         instead of the bare value.
12731         (power1): Likewise.
12733 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12736         __ATAN_TWOM.
12737         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12739         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12740         their values.
12741         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12742         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12743         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12744         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12746 2012-12-28  Andreas Jaeger  <aj@suse.de>
12748         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
12749         values are from Linux 3.7.
12751         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12752         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
12754 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12756         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12757         TRUE case.
12759         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12760         (norm): Likewise.
12761         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12762         variables with preprocessor constants.
12763         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12764         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12765         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12767 2012-12-27  Bruno Haible  <bruno@clisp.org>
12769         [BZ #14317]
12770         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12771         only if needed.
12773 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12776         and use variable directly.
12777         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12779         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12780         MPONE.
12781         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12783         variable MPONE.
12784         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12785         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12786         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12787         include directive.  Remove local variable MPONE.
12788         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12789         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12790         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12792 2012-12-25  David S. Miller  <davem@davemloft.net>
12794         * version.h (RELEASE): Set to "development".
12795         (VERSION): Set to "2.17.90".
12796         * NEWS: Add 2.18 section.
12798 2012-12-21  David S. Miller  <davem@davemloft.net>
12800         * po/hr.po: Update from translation team.
12802 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12804         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12806 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12808         * NEWS:  Mention new memcpy for MIPS.
12810 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12812         * manual/contrib.texi (Contributors): Spelling correction.
12814 2012-12-15  David S. Miller  <davem@davemloft.net>
12816         * po/ru.po: Update from translation team.
12818 2012-12-13  David S. Miller  <davem@davemloft.net>
12820         * NEWS: Mention IFUNC testsuite enhancements.
12822         * po/pl.po: Update from translation team.
12823         * po/bg.po: Likewise.
12825         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12826         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12828 2012-12-11  David S. Miller  <davem@davemloft.net>
12830         * po/sv.po: Update from translation team.
12832         * po/vi.po: Update from translation team.
12834         * po/cs.po: Update from translation team.
12836         * po/de.po: Update from translation team.
12837         * po/eo.po: Likewise.
12838         * po/nl.po: Likewise.
12840 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12842         [BZ #14246]
12843         * manual/argp.texi (Argp Helper Functions): Move node to follow
12844         Argp Parsing State.
12846         [BZ #14872]
12847         * manual/conf.texi (Limits on File System Capacity): Mention if
12848         terminating null is included in the max size.
12850 2012-12-10  Andreas Jaeger  <aj@suse.de>
12852         * po/cs.po: Update from translation team.
12854 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12856         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12857         void pointer and cast to uintptr_t.
12858         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12859         path.
12860         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12861         * sysdeps/s390/s390-64/memset.S: Likewise.
12863 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12865         [BZ #14833]
12866         * menual/message.texi (Message Translation): Fix typos.
12867         (Helper programs for gettext): Likewise.
12869 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12871         [BZ #14898]
12872         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12873         Change to -1.
12875 2012-12-07  David S. Miller  <davem@davemloft.net>
12877         * po/libc.pot: Update.
12879 2012-12-07  Richard Henderson  <rth@redhat.com>
12881         [BZ #10114]
12882         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12883         normal/normal case to before the switch.
12884         (_FP_DIV): Likewise.
12886 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12887             Mike Frysinger  <vapier@gentoo.org>
12889         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12890         check for __NR_fadvise64_64.
12892 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12894         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12895         0, not just to plain "0" as a statement.
12896         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12897         with cw.
12899 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12901         * NEWS: Use sourceware.org in Bugzilla URL.
12903 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12906         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12908         * stdio-common/tst-put-error.c (do_test): Add newline to the
12909         padded test to ensure flush.
12911 2012-12-05  Jeff Law  <law@redhat.com>
12913         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12915 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12917         * README: Don't refer to ports add-on as distributed separately.
12918         Mention AArch64 in list of systems supported in the ports add-on.
12920         * LICENSES: Add more non-FSF copyright and license notices.
12922         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12923         ((unused)).
12925         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12927         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12928         10000 as width of padded output.
12930 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12932         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12934         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12935         variable LX with __attribute__ ((unused)).
12936         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12937         Likewise.
12938         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12940         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12941         with __attribute__ ((unused)).
12943 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12945         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12947 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12949         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12950         (CFLAGS-nldbl-acos.c): New variable.
12951         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12952         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12953         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12954         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12955         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12956         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12957         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12958         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12959         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12960         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12961         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12962         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12963         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12964         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12965         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12966         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12967         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12968         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12969         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12970         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12971         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12972         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12973         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12974         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12975         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12976         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12977         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12978         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12979         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12980         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12981         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12982         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12983         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12984         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12985         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12986         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12987         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12988         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12989         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12990         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12991         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12992         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12993         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12994         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12995         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12996         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12997         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12998         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12999         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13000         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13001         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13002         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13003         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13004         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13005         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13006         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13007         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13008         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13009         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13010         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13011         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13012         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13013         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13014         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13015         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13016         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13017         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13018         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13019         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13020         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13021         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13022         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13023         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13024         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13025         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13026         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13027         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13028         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13029         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13030         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13031         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13032         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13033         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13034         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13035         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13036         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13037         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13038         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13039         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13040         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13041         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13042         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13043         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13044         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13045         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13046         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13047         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13050         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13052         [BZ #14914]
13053         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13054         whole low double instead of just low 47 bits when splitting values
13055         into two parts.
13057 2012-12-03  Allan McRae  <allan@archlinux.org>
13059         * manual/stdio.texi (Predefined Printf Handlers): Remove
13060         @hsep and @vsep usage.
13062 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
13064         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13065         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13067 2012-12-03  Jeff Law  <law@redhat.com>
13069         * time/sys/time.h (settimeofday): Do not mark TV argument
13070         as __nonnull.
13072 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
13074         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13075         when currently writing and seek to current position when not.
13076         * libio/Makefile (tests): Remove bug-fclose1.
13077         * libio/bug-fclose1.c: Delete.
13079 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
13081         * manual/arith.texi (feenableexcept): Fix typo.
13082         (fedisableexcept): Likewise.
13084 2012-11-30  Roland McGrath  <roland@hack.frob.com>
13086         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13087         second, differently-typed declaration, rather than a cast.
13089 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13091         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13092         * include/rpc/svc.h: ... here.
13094 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
13096         [BZ #13013]
13097         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13098         depending n and resplen2 to catch cases where answer
13099         equals answerp2.
13101 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
13103         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13104         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13106 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
13108         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13110 2012-11-29  Roland McGrath  <roland@hack.frob.com>
13112         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13114 2012-11-28  Jeff Law  <law@redhat.com>
13116         [BZ #13761]
13117         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13118         dataset_temporary.  Track alloca usage into alloca_used.
13119         If dataset is large allocate and release it via malloc/free.
13121 2012-06-04  Florian Weimer  <fweimer@redhat.com>
13123         [BZ #14197]
13124         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13126 2012-11-28  David S. Miller  <davem@davemloft.net>
13128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13130 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13132         [BZ #14803]
13133         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13134         of pi/2 rounded to nearest to 64 bits.
13135         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13136         nearest to 64 bits.
13137         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13138         bits.
13140 2012-11-28  Jeff Law <law@redhat.com>
13141             Martin Osvald <mosvald@redhat.com>
13143         [BZ #14889]
13144         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13145         * sunrpc/svc.c: Include time.h.
13146         (__svc_accept_failed): New function.
13147         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13148         any reason other than EINTR, call __svc_accept_failed.
13149         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13150         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13152 2012-11-28  Andreas Schwab  <schwab@suse.de>
13154         * scripts/abilist.awk: Also handle indirect functions in .opd
13155         section.
13157 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13159         [BZ #13881]
13160         * sysdeps/x86/fpu/powl_helper.c: New file.
13161         * sysdeps/x86/fpu/Makefile: Likewise.
13162         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13163         (p3): New object.
13164         (__ieee754_powl): Use __powl_helper for finite arguments except
13165         integer exponents below 8.
13166         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13167         (p3): New object.
13168         (__ieee754_powl): Use __powl_helper for finite arguments except
13169         integer exponents below 8.
13170         * math/libm-test.inc (pow_test): Add more tests and enable some
13171         previously disabled tests.
13172         * sysdeps/i386/fpu/libm-test-ulps: Update.
13173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13175 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13176             Carlos O'Donell  <carlos_odonell@mentor.com>
13178         * nss/makedb.c (is_prime): Assert that input is odd and greater
13179         than 4.  Note that fact in a comment too.
13180         (next_prime): Add 4 to input.
13182 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13184         [BZ #11741]
13185         * libio/Makefile (tests): Add test case tst-fwrite-error.
13186         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13187         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13188         * libio/tst-fwrite-error.c: New test case.
13190 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
13192         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13193         before casting to void *.
13194         * include/libc-internal.h (__pointer_type): New macro.
13195         (__integer_if_pointer_type_sub): Likewise.
13196         (__integer_if_pointer_type): Likewise.
13197         (cast_to_integer): Likewise.
13198         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13199         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13200         before casting to atomic64_t.
13201         (atomic_exchange_acq): Likewise.
13202         (__arch_exchange_and_add_body): Likewise.
13203         (__arch_add_body): Likewise.
13204         (atomic_add_negative): Likewise.
13205         (atomic_add_zero): Likewise.
13207 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
13209         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13210         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13211         (add_fdes): Likewise.
13212         (linear_search_fdes): Likewise.
13213         (binary_search_unencoded_fdes): Likewise.
13215 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
13217         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13219 2012-11-24  Adam Conrad  <adconrad@0c3.net>
13221         * configure.in: Autodetect C++ header directories.
13222         * configure: Regenerated.
13224 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
13226         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13228 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
13230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13232 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
13234         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13235         LDBL_MANT_DIG == 106]: Disable some tests.
13236         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13237         Likewise.
13238         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13239         Likewise.
13241         [BZ #14871]
13242         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13243         input for small inputs.  Return +/- pi/2 for large inputs.
13244         * math/libm-test.inc (atan_test): Add more tests.
13246         * sysdeps/generic/unwind-dw2-fde-glibc.c
13247         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13248         __attribute__ ((unused)).
13250         [BZ #14645]
13251         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13252         x * y if x and y are nonzero and z is zero.
13254         [BZ #14811]
13255         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13256         nonzero exponents with absolute value below 0x1p-117 to +/-
13257         0x1p-117.
13259         [BZ #14869]
13260         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13261         up arguments below 2**-450, not just those below 2**-500.
13262         * math/libm-test.inc (hypot_test): Add another test.
13264         [BZ #14868]
13265         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13266         Return a+b for ratio over 2**120, not 2**60.
13267         * math/libm-test.inc (hypot_test): Add another test.
13269         * math/libm-test.inc (clog_test): Use
13270         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13271         (clog10_test): Likewise.
13273         [BZ #6778]
13274         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13276 2012-11-22  Andreas Schwab  <schwab@suse.de>
13278         * sysdeps/i386/fpu/libm-test-ulps: Update.
13280 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
13282         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13283         printf output with newline.
13285 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
13287         [BZ #14865]
13288         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13289         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13290         -z nodlopen, -z initfirst and -z execstack support.
13291         * configure: Regenerated.
13293         * elf/elf.h (DF_1_NODIRECT): New macro.
13294         (DF_1_IGNMULDEF): Likewise.
13295         (DF_1_NOKSYMS): Likewise.
13296         (DF_1_NOHDR): Likewise.
13297         (DF_1_EDITED): Likewise.
13298         (DF_1_NORELOC): Likewise.
13299         (DF_1_SYMINTPOSE): Likewise.
13300         (DF_1_GLOBAUDIT): Likewise.
13301         (DF_1_SINGLETON): Likewise.
13302         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13303         DT_1_SUPPORTED_MASK bits.
13304         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13306 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
13308         * sysdeps/unix/make-syscalls.sh: Document prefixes.
13310 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
13312         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13313         macro.
13315         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13316         (sendmmsg): Move declarations...
13317         * socket/sys/socket.h: ... here.
13318         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13319         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13320         include it from...
13321         * socket/recvmmsg.c: ... this new file.
13322         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13323         (sendmmsg): Rename to __sendmmsg, create weak alias and make
13324         definition of __sendmmsg hidden.
13325         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13326         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13327         Move ENOSYS stub into and include it from...
13328         * socket/sendmmsg.c: ... this new file.
13329         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13330         (sysdep_routines): Move recvmmsg and sendmmsg...
13331         * socket/Makefile (routines): ... here.
13332         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13333         (GLIBC_PRIVATE): Add __sendmmsg.
13334         * include/sys/socket.h (__sendmmsg): Add declarations.
13335         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13336         sendmmsg.
13338 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
13340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13341         variable I1 with __attribute__ ((unused)).
13342         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13344 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13346         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13347         DUMMY variables with __attribute__ ((unused)).
13349         * bits/byteswap.h: Include <bits/types.h>.
13350         (__bswap_64): Use __uint64_t instead of unsigned long long int.
13352 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13354         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13355         string_t.  Do not manually set errno.
13356         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13357         length with __strnlen.  Make sure to both set errno and return it on
13358         failure.
13360 2012-11-19  David S. Miller  <davem@davemloft.net>
13362         With help from Joseph Myers.
13363         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13364         very large arguments properly.
13365         * math/libm-test.inc (atan_test): New tests.
13366         (atan2_test): New tests.
13367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13370 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13372         [BZ #14856]
13373         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13374         Define to 3.
13376         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13377         [POSIX] (EADDRNOTAVAIL): Likewise.
13378         [POSIX] (EAFNOSUPPORT): Likewise.
13379         [POSIX] (EALREADY): Likewise.
13380         [POSIX] (ECONNABORTED): Likewise.
13381         [POSIX] (ECONNREFUSED): Likewise.
13382         [POSIX] (ECONNRESET): Likewise.
13383         [POSIX] (EDESTADDRREQ): Likewise.
13384         [POSIX] (EDQUOT): Likewise.
13385         [POSIX] (EHOSTUNREACH): Likewise.
13386         [POSIX] (EIDRM): Likewise.
13387         [POSIX] (EISCONN): Likewise.
13388         [POSIX] (ELOOP): Likewise.
13389         [POSIX] (EMULTIHOP): Likewise.
13390         [POSIX] (ENETDOWN): Likewise.
13391         [POSIX] (ENETUNREACH): Likewise.
13392         [POSIX] (ENOBUFS): Likewise.
13393         [POSIX] (ENODATA): Likewise.
13394         [POSIX] (ENOLINK): Likewise.
13395         [POSIX] (ENOMSG): Likewise.
13396         [POSIX] (ENOPROTOOPT): Likewise.
13397         [POSIX] (ENOSR): Likewise.
13398         [POSIX] (ENOSTR): Likewise.
13399         [POSIX] (ENOTCONN): Likewise.
13400         [POSIX] (ENOTSOCK): Likewise.
13401         [POSIX] (EOPNOTSUPP): Likewise.
13402         [POSIX] (EOVERFLOW): Likewise.
13403         [POSIX] (EPROTO): Likewise.
13404         [POSIX] (EPROTONOSUPPORT): Likewise.
13405         [POSIX] (EPROTOTYPE): Likewise.
13406         [POSIX] (ESTALE): Likewise.
13407         [POSIX] (ETIME): Likewise.
13408         [POSIX] (ETXTBSY): Likewise.
13409         [POSIX] (EWOULDBLOCK): Likewise.
13410         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13411         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13412         [POSIX] (SEEK_CUR): Likewise.
13413         [POSIX] (SEEK_END): Likewise.
13414         [POSIX || UNIX98] (mode_t): Do not require.
13415         [POSIX] (off_t): Likewise.
13416         [POSIX] (pid_t): Likewise.
13417         [POSIX] (sys/stat.h): Do not allow header.
13418         [POSIX] (unistd.h): Likewise.
13419         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13420         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13421         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13422         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13423         require.
13424         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13425         sigevent): Specify elements.
13426         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13427         entry.
13428         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13429         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13431         * conform/data/cpio.h-data [POSIX]: Disable whole file.
13432         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13433         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13434         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13435         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13436         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13437         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13438         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13439         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13440         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13441         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13442         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13443         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13444         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13445         Likewise.
13446         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13447         Likewise.
13448         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13449         Likewise.
13450         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13451         Likewise.
13452         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13453         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13454         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13455         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13456         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13457         Specify lower bound on value.
13458         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13459         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13460         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13461         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13462         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13463         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13464         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13465         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13466         value.
13467         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13468         as optional.
13469         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13470         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13471         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13472         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13473         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13474         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13475         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13476         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13477         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13478         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13479         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13480         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13481         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13482         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13483         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13484         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13485         entry.
13486         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13487         optional.
13488         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13489         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13490         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13491         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13492         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13493         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13494         Likewise.
13495         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13496         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13497         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13498         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13499         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
13500         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13501         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13502         as optional.
13503         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13504         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13505         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13506         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13507         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13508         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13509         specify as optional.
13510         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13511         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13512         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13513         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13514         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13515         [XPG3] (NL_LANGMAX): Likewise.
13516         [POSIX || XPG3] (NL_MSGMAX): Likewise.
13517         [POSIX || XPG3] (NL_NMAX): Likewise.
13518         [POSIX || XPG3] (NL_SETMAX): Likewise.
13519         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13520         [XPG3] (NZERO): Likewise.
13521         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13522         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13523         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13524         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13525         (REG_ERANGE): Expect.
13526         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13527         optional-constant.
13528         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13529         Use (void) in prototype.
13530         [POSIX] (*_t): Allow.
13531         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13532         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13533         (WRDE_BADVAL): Expect.
13535         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13536         expect.
13537         [XPG3 || XPG4] (O_RSYNC): Likewise.
13538         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13539         Likewise.
13540         [XPG3 || XPG4] (pthread_sigmask): Likewise.
13541         [XPG3 || XPG4] (sigqueue): Likewise.
13542         [XPG3 || XPG4] (sigtimedwait): Likewise.
13543         [XPG3 || XPG4] (sigwaitinfo): Likewise.
13544         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13545         [XPG3 || XPG4] (vsnprintf): Likewise.
13546         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13547         Likewise.
13548         [XPG3 || XPG4] (blksize_t): Likewise.
13549         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13550         Likewise.
13551         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13552         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13553         [XPG3 || XPG4] (struct itimerspec): Likewise.
13554         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13555         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13556         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13557         [XPG3 || XPG4] (clockid_t): Likewise.
13558         [XPG3 || XPG4] (timer_t): Likewise.
13559         [XPG3 || XPG4] (clock_getres): Likewise.
13560         [XPG3 || XPG4] (clock_gettime): Likewise.
13561         [XPG3 || XPG4] (clock_settime): Likewise.
13562         [XPG3 || XPG4] (nanosleep): Likewise.
13563         [XPG3 || XPG4] (timer_create): Likewise.
13564         [XPG3 || XPG4] (timer_delete): Likewise.
13565         [XPG3 || XPG4] (timer_gettime): Likewise.
13566         [XPG3 || XPG4] (timer_getoverrun): Likewise.
13567         [XPG3 || XPG4] (timer_settime): Likewise.
13568         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13569         [XPG3 || XPG4] (getlogin_r): Likewise.
13570         [XPG3 || XPG4] (pread): Likewise.
13571         [XPG3 || XPG4] (pthread_atfork): Likewise.
13572         [XPG3 || XPG4] (pwrite): Likewise.
13574         [BZ #14835]
13575         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13576         <bits/siginfo.h>.
13578 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13580         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13581         finalizing MALLSTREAM.
13583         * sysdeps/mach/hurd/syncfs.c: New file.
13585 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13587         [BZ #14719]
13588         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13589         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13590         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13591         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13592         (_nss_dns_gethostbyname4_r): Likewise.
13593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13594         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13596 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
13598         [BZ #13763]
13599         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13601 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
13603         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13604         * elf/cache.c (print_entry): Print ",AArch64" for
13605         FLAG_AARCH64_LIB64
13607         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13608         * elf/cache.c (print_entry): Print ",hard-float" for
13609         FLAG_ARM_LIBHF.
13611 2012-11-18  David S. Miller  <davem@davemloft.net>
13613         With help from Joseph Myers.
13614         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13615         cutoff to 2**-13.
13616         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13617         cutoff to 2**-25.
13618         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13619         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13620         small.
13621         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13622         * math/libm-test.inc (y0_test): New tests.
13623         (y1_test): New tests.
13624         * sysdeps/i386/fpu/libm-test-ulps: Update.
13625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13628 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
13630         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13631         64-bit targets.
13632         * configure: Regenerated.
13634 2012-11-17  David S. Miller  <davem@davemloft.net>
13636         [BZ #14811]
13637         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13638         nonzero exponents with absolute value below 0x1p-128 to +/-
13639         0x1p-128.
13641 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
13643         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13645         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13647         * posix/getconf-speclist.c: New file.
13648         * posix/posix-envs.def: Likewise.
13649         * posix/confstr.c (START_ENV_GROUP): New macro.
13650         (END_ENV_GROUP): Likewise.
13651         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13652         (KNOWN_PRESENT_ENV_STRING): Likewise.
13653         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13654         (UNKNOWN_ENVIRONMENT): Likewise.
13655         (confstr): Include posix-envs.def instead of handling
13656         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13657         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13658         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13659         (END_ENV_GROUP): Likewise.
13660         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13661         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13662         (UNKNOWN_ENVIRONMENT): Likewise.
13663         (__sysconf): Include posix-envs.def instead of handling associated
13664         cases directly here.
13665         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13666         preprocessing getconf-speclist.c rather than running getconf or
13667         generating empty file.
13669 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
13671         * scripts/check-local-headers.sh: Ignore 'mach' headers.
13673 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
13675         [BZ #14672]
13676         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13678 2012-11-16  David S. Miller  <davem@davemloft.net>
13680         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13681         smaller than LDBL_EPSILON/2.0L, just return xm1.
13683 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
13685         * elf/tst-array1.c (init): Set constructor priority to 1000.
13686         (fini): Set destructor priority to 1000.
13687         * elf/tst-array2dep.c: Likewise.
13689 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13691         [BZ #11741]
13692         * libio/fileops.c (_IO_new_file_write): Correctly return error.
13693         (_IO_new_file_xsputn): Also return EOF if none of the input
13694         data was written when overflow failed.
13695         * libio/iopadn.c (_IO_padn): Likewise.
13696         * libio/iowpadn.c (_IO_wpadn): Likewise.
13697         * stdio-common/tst-put-error.c: Add copyright notice.
13698         (do_test): Add case for printing padded string.
13699         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13700         _IO_padn returned error.
13701         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13702         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13703         return EOF.
13705 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13707         * libio/libioP.h: Add comment note that the references to C++
13708         bits are now obsolete.
13710 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13712         * math/libm-test.inc (check_complex): Use asprintf.
13714 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
13716         * debug/pcprofiledump.c (print_version): Update copyright year.
13717         * malloc/memusagestat.c (print_version): Likewise.
13719 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13721         [BZ #14831]
13722         * elf/Makefile (tests): Add tst-audit8.
13723         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13724         ($(objpfx)tst-audit8.out): New target.
13725         (tst-audit8-ENV): New variable.
13726         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13727         audit if l_reloc_result is NULL.
13728         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13729         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13730         * elf/tst-audit8.c: New file.
13732 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13734         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13735         * misc/Makefile (CFLAGS-select.c): Define.
13736         * posix/Makefile (CFLAGS-pause.c): Define.
13738 2012-11-13  David S. Miller  <davem@davemloft.net>
13740         * crypt/Makefile: Move test targets after toplevel Rules
13741         inclusion.  Grab any necessary sysdep routines when linking.
13742         * crypt/md5.c (md5_process_block): Remove define, we will always
13743         name it __md5_process_block.
13744         (md5_finish_ctx): Update md5_process_block call.
13745         (md5_stream): Likewise.
13746         (md5_process_bytes): Likewise.
13747         (md5_process_block): Rename to __md5_process_block and move to ...
13748         * crypt/md5-block.c: ... here.
13749         * crypt/sha256.c (sha256_process_block): Move to ...
13750         * crypt/sha256-block.c: ... here.
13751         * crypt/sha512.c (sha512_process_block): Move to ...
13752         * crypt/sha512-block.c: ... here.
13753         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13754         path.
13755         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13756         * sysdeps/sparc/sparc64/multiarch/Makefile
13757         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13758         crypt subdir.
13759         (localedef-aux): Add md5 crypto assembler when in locale subdir.
13760         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13761         multiarch changes.
13762         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13763         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13764         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13765         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13766         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13767         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13768         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13769         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13770         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13771         file.
13772         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13773         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13774         file.
13775         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13777 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
13779         * timezone/tzselect.ksh: Update from tzcode git revision
13780         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13781         * timezone/zdump.c: Likewise.
13782         * timezone/zic.c: Likewise.
13783         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13784         in TZVERSION setting, not $(PKGVERSION).
13785         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13786         REPORT_BUGS_TO settings.
13788         [BZ #14838]
13789         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13790         macro.
13792 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13794         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13795         detection to immediately after _FP_ROUND().
13796         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13797         bits are 0.
13799 2012-11-11  David S. Miller  <davem@davemloft.net>
13801         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13802         inttypes.h
13803         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13804         __close rather than their public counterparts.
13806 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13808         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13809         file.
13810         [UNIX98] (sem_timedwait): Do not expect.
13811         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13812         [XPG4 || UNIX98] (sockatmark): Do not expect.
13813         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13814         (clock_getcpuclockid): Do not expect.
13815         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13816         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13817         Do not expect.
13818         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13819         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13820         [UNIX98] (vwscanf): Likewise.
13821         [UNIX98] (vswscanf): Likewise.
13823 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13825         * timezone/version.h: Remove file.
13826         * timezone/README: Do not refer to version.h.
13827         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13828         $(objpfx)version.h.
13829         ($(objpfx)zdump.o): Likewise.
13830         ($(objpfx)version.h): New target.
13832         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13833         2012i.
13834         * timezone/README: Don't mention modification to tzselect.ksh.
13835         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13836         work on unmodified tzselect.ksh.  Substitute version numbers in
13837         tzselect.ksh.
13839         * Makefile (format-me): Remove.
13840         (INSTALL): Adjust indentation.  Use commands directly instead of
13841         using $(format-me).
13843         * aclocal.m4 (ACX_PKGVERSION): New macro.
13844         (ACX_BUGURL): Likewise.
13845         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13846         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13847         (REPORT_BUGS_TO): Likewise.
13848         * configure: Regenerated.
13849         * config.h.in (PKGVERSION): New macro.
13850         (REPORT_BUGS_TO): Likewise.
13851         * config.make.in (PKGVERSION): New variable.
13852         (PKGVERSION_TEXI): Likewise.
13853         (REPORT_BUGS_TO): Likewise.
13854         (REPORT_BUGS_TEXI): Likewise.
13855         * Makefile (format-me): Use -I$(common-objpfx)manual.
13856         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13857         ($(common-objpfx)manual/%): New target.
13858         (manual/%): Remove target.
13859         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13860         (print_version): Use PKGVERSION.
13861         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13862         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13863         and REPORT_BUGS_TO.
13864         ($(objpfx)xtrace): Likewise.
13865         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13866         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13867         (print_version): Use PKGVERSION.
13868         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13869         (do_version): Use PKGVERSION.
13870         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13871         REPORT_BUGS_TO.
13872         (common-ldd-rewrite): Likewise.
13873         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13874         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13875         (print_version): Use PKGVERSION.
13876         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13877         * elf/pldd.c (argp_program_bug_address): Remove variable.
13878         (more_help): New function.
13879         (argp): Use more_help.
13880         (print_version): Use PKGVERSION.
13881         * elf/sln.c (main): Use PKGVERSION.
13882         (usage): Use REPORT_BUGS_TO.
13883         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13884         (top level): Use PKGVERSION.
13885         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13886         (print_version): Use PKGVERSION.
13887         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13888         (print_version): Use PKGVERSION.
13889         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13890         (print_version): Use PKGVERSION.
13891         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13892         (print_version): Use PKGVERSION.
13893         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13894         (print_version): Use PKGVERSION.
13895         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13896         (print_version): Use PKGVERSION.
13897         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13898         and BUGURL.
13899         ($(objpfx)memusage): Likewise.
13900         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13901         (do_version): Use PKGVERSION.
13902         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13903         (print_version): Use PKGVERSION.
13904         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13905         ($PKGVERSION): New variable.
13906         ($REPORT_BUGS_TO): Likewise.
13907         (usage): Use $REPORT_BUGS_TO.
13908         (top level): Use $PKGVERSION.
13909         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13910         ($(objpfx)pkgvers.texi): New rule.
13911         ($(objpfx)stamp-pkgvers): Likewise.
13912         * manual/install.texi: Include pkgvers.texi.
13913         (--with-pkgversion): Document new configure option.
13914         (--with-bugurl): Likewise.
13915         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13916         than necessarily for this particular distribution.  Use
13917         REPORT_BUGS_TO for where to report bugs.
13918         * INSTALL: Regenerated.
13919         * manual/libc.texinfo: Include pkgvers.texi.
13920         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13921         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13922         (print_version): Use PKGVERSION.
13923         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13924         (print_version): Use PKGVERSION.
13925         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13926         (print_version): Use PKGVERSION.
13927         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13928         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13929         macro.
13930         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13931         (print_version): Use PKGVERSION.
13932         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13933         (print_version): Use PKGVERSION.
13934         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13935         and PKGVERSION.
13937         * timezone/checktab.awk: Update from tzcode 2012i.
13938         * timezone/ialloc.c: Likewise.
13939         * timezone/private.h: Likewise.
13940         * timezone/scheck.c: Likewise.
13941         * timezone/tzfile.h: Likewise.
13942         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13943         (TZVERSION): Hardcode tzcode version number.
13944         * timezone/zdump.c: Update from tzcode 2012i.
13945         * timezone/zic.c: Likewise.
13946         * timezone/version.h: New file.
13947         * timezone/README: Describe version.h.  Update upstream location.
13949         [BZ #14824]
13950         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13951         (mktemp): Enable declaration.
13952         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13954         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13956         Likewise.
13957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13958         Likewise.
13959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13960         Likewise.
13961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13962         Likewise.
13963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13964         Likewise.
13965         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13966         Likewise.
13968         [BZ #14821]
13969         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13970         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13971         for copies of such integer values.
13972         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13973         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13975 2012-11-09  Andreas Jaeger  <aj@suse.de>
13977         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13978         definitions and declarations that are provided by
13979         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13981 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13983         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13984         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13985         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13986         definition.
13988 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13990         * elf/elf.h: Update comment before AArch64 relocations.
13992 2012-11-07  David S. Miller  <davem@davemloft.net>
13994         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13995         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13996         (__start_context): Declare.
13997         (__makecontext_ret): Delete.
13998         (__makecontext): Hook up __start_context instead of
13999         __makecontext_ret.
14000         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14001         (sysdep_routines): Add __start_context when in stdlib.
14003 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14005         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14006         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14007         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
14008         hardcoded "nm".
14009         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
14010         (READELF): New variable.  Use it instead of hardcoded "readelf".
14012 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14014         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14015         * sysdeps/x86/Makefile: Here.
14016         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14017         * sysdeps/x86/tst-xmmymm.sh: This.
14019 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14021         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14022         expectations.
14023         [UNIX98] (pthread_barrier_t): Do not expect.
14024         [UNIX98] (pthread_barrierattr_t): Likewise.
14025         [UNIX98] (pthread_spinlock_t): Likewise.
14026         [UNIX98] (pthread_barrier_destroy): Likewise.
14027         [UNIX98] (pthread_barrier_init): Likewise.
14028         [UNIX98] (pthread_barrier_wait): Likewise.
14029         [UNIX98] (pthread_barrierattr_destroy): Likewise.
14030         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14031         [UNIX98] (pthread_barrierattr_init): Likewise.
14032         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14033         [UNIX98] (pthread_getcpuclockid): Likewise.
14034         [UNIX98] (pthread_mutex_timedlock): Likewise.
14035         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14036         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14037         [UNIX98] (pthread_sigmask): Likewise.
14038         [UNIX98] (pthread_spin_destroy): Likewise.
14039         [UNIX98] (pthread_spin_init): Likewise.
14040         [UNIX98] (pthread_spin_lock): Likewise.
14041         [UNIX98] (pthread_spin_trylock): Likewise.
14042         [UNIX98] (pthread_spin_unlock): Likewise.
14043         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14044         Do not expect.
14045         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14046         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14047         [XPG3 || XPG4] (pthread_cond_t): Likewise.
14048         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14049         [XPG3 || XPG4] (pthread_key_t): Likewise.
14050         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14051         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14052         [XPG3 || XPG4] (pthread_once_t): Likewise.
14053         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14054         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14055         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14056         [XPG3 || XPG4] (pthread_t): Likewise.
14058         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14059         not expect.
14060         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14062         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14063         Change function return type to int.
14065         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14066         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14067         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14068         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14069         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14070         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14071         [!POSIX] (posix_madvise): Likewise.
14072         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14073         && !UNIX98].
14074         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14075         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14076         (mode_t): Likewise.
14077         (posix_mem_offset): Likewise.
14078         (posix_typed_mem_get_info): Likewise.
14079         (posix_typed_mem_open): Likewise.
14081         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14082         Change condition to [XOPEN2K8].
14084         * conform/conformtest.pl: Preprocess allow-header data with -x c
14085         instead of from stdin.
14086         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14087         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14088         [C99-based standards] (cerfc): Likewise.
14089         [C99-based standards] (cexp2): Likewise.
14090         [C99-based standards] (cexpm1): Likewise.
14091         [C99-based standards] (clog10): Likewise.
14092         [C99-based standards] (clog1p): Likewise.
14093         [C99-based standards] (clog2): Likewise.
14094         [C99-based standards] (clgamma): Likewise.
14095         [C99-based standards] (ctgamma): Likewise.
14096         [C99-based standards] (cerff): Likewise.
14097         [C99-based standards] (cerfcf): Likewise.
14098         [C99-based standards] (cexp2f): Likewise.
14099         [C99-based standards] (cexpm1f): Likewise.
14100         [C99-based standards] (clog10f): Likewise.
14101         [C99-based standards] (clog1pf): Likewise.
14102         [C99-based standards] (clog2f): Likewise.
14103         [C99-based standards] (clgammaf): Likewise.
14104         [C99-based standards] (ctgammaf): Likewise.
14105         [C99-based standards] (cerfl): Likewise.
14106         [C99-based standards] (cerfcl): Likewise.
14107         [C99-based standards] (cexp2l): Likewise.
14108         [C99-based standards] (cexpm1l): Likewise.
14109         [C99-based standards] (clog10l): Likewise.
14110         [C99-based standards] (clog1pl): Likewise.
14111         [C99-based standards] (clog2l): Likewise.
14112         [C99-based standards] (clgammal): Likewise.
14113         [C99-based standards] (ctgammal): Likewise.
14114         * conform/data/inttypes.h-data [C99-based standards]: Include
14115         stdint.h-data.  Remove all expectations for stdint.h contents.
14116         [C99-based standards] (PRI*): Do not allow.
14117         [C99-based standards] (SCN*): Likewise.
14118         [C99-based standards] (*_t): Likewise.
14119         [C99-based-standards] (PRId8): Expect macro.
14120         [C99-based-standards] (PRIi8): Likewise.
14121         [C99-based-standards] (PRIo8): Likewise.
14122         [C99-based-standards] (PRIu8): Likewise.
14123         [C99-based-standards] (PRIx8): Likewise.
14124         [C99-based-standards] (PRIX8): Likewise.
14125         [C99-based-standards] (SCNd8): Likewise.
14126         [C99-based-standards] (SCNi8): Likewise.
14127         [C99-based-standards] (SCNo8): Likewise.
14128         [C99-based-standards] (SCNu8): Likewise.
14129         [C99-based-standards] (SCNx8): Likewise.
14130         [C99-based-standards] (PRIdLEAST8): Likewise.
14131         [C99-based-standards] (PRIiLEAST8): Likewise.
14132         [C99-based-standards] (PRIoLEAST8): Likewise.
14133         [C99-based-standards] (PRIuLEAST8): Likewise.
14134         [C99-based-standards] (PRIxLEAST8): Likewise.
14135         [C99-based-standards] (PRIXLEAST8): Likewise.
14136         [C99-based-standards] (SCNdLEAST8): Likewise.
14137         [C99-based-standards] (SCNiLEAST8): Likewise.
14138         [C99-based-standards] (SCNoLEAST8): Likewise.
14139         [C99-based-standards] (SCNuLEAST8): Likewise.
14140         [C99-based-standards] (SCNxLEAST8): Likewise.
14141         [C99-based-standards] (PRIdFAST8): Likewise.
14142         [C99-based-standards] (PRIiFAST8): Likewise.
14143         [C99-based-standards] (PRIoFAST8): Likewise.
14144         [C99-based-standards] (PRIuFAST8): Likewise.
14145         [C99-based-standards] (PRIxFAST8): Likewise.
14146         [C99-based-standards] (PRIXFAST8): Likewise.
14147         [C99-based-standards] (SCNdFAST8): Likewise.
14148         [C99-based-standards] (SCNiFAST8): Likewise.
14149         [C99-based-standards] (SCNoFAST8): Likewise.
14150         [C99-based-standards] (SCNuFAST8): Likewise.
14151         [C99-based-standards] (SCNxFAST8): Likewise.
14152         [C99-based-standards] (PRId16): Likewise.
14153         [C99-based-standards] (PRIi16): Likewise.
14154         [C99-based-standards] (PRIo16): Likewise.
14155         [C99-based-standards] (PRIu16): Likewise.
14156         [C99-based-standards] (PRIx16): Likewise.
14157         [C99-based-standards] (PRIX16): Likewise.
14158         [C99-based-standards] (SCNd16): Likewise.
14159         [C99-based-standards] (SCNi16): Likewise.
14160         [C99-based-standards] (SCNo16): Likewise.
14161         [C99-based-standards] (SCNu16): Likewise.
14162         [C99-based-standards] (SCNx16): Likewise.
14163         [C99-based-standards] (PRIdLEAST16): Likewise.
14164         [C99-based-standards] (PRIiLEAST16): Likewise.
14165         [C99-based-standards] (PRIoLEAST16): Likewise.
14166         [C99-based-standards] (PRIuLEAST16): Likewise.
14167         [C99-based-standards] (PRIxLEAST16): Likewise.
14168         [C99-based-standards] (PRIXLEAST16): Likewise.
14169         [C99-based-standards] (SCNdLEAST16): Likewise.
14170         [C99-based-standards] (SCNiLEAST16): Likewise.
14171         [C99-based-standards] (SCNoLEAST16): Likewise.
14172         [C99-based-standards] (SCNuLEAST16): Likewise.
14173         [C99-based-standards] (SCNxLEAST16): Likewise.
14174         [C99-based-standards] (PRIdFAST16): Likewise.
14175         [C99-based-standards] (PRIiFAST16): Likewise.
14176         [C99-based-standards] (PRIoFAST16): Likewise.
14177         [C99-based-standards] (PRIuFAST16): Likewise.
14178         [C99-based-standards] (PRIxFAST16): Likewise.
14179         [C99-based-standards] (PRIXFAST16): Likewise.
14180         [C99-based-standards] (SCNdFAST16): Likewise.
14181         [C99-based-standards] (SCNiFAST16): Likewise.
14182         [C99-based-standards] (SCNoFAST16): Likewise.
14183         [C99-based-standards] (SCNuFAST16): Likewise.
14184         [C99-based-standards] (SCNxFAST16): Likewise.
14185         [C99-based-standards] (PRId32): Likewise.
14186         [C99-based-standards] (PRIi32): Likewise.
14187         [C99-based-standards] (PRIo32): Likewise.
14188         [C99-based-standards] (PRIu32): Likewise.
14189         [C99-based-standards] (PRIx32): Likewise.
14190         [C99-based-standards] (PRIX32): Likewise.
14191         [C99-based-standards] (SCNd32): Likewise.
14192         [C99-based-standards] (SCNi32): Likewise.
14193         [C99-based-standards] (SCNo32): Likewise.
14194         [C99-based-standards] (SCNu32): Likewise.
14195         [C99-based-standards] (SCNx32): Likewise.
14196         [C99-based-standards] (PRIdLEAST32): Likewise.
14197         [C99-based-standards] (PRIiLEAST32): Likewise.
14198         [C99-based-standards] (PRIoLEAST32): Likewise.
14199         [C99-based-standards] (PRIuLEAST32): Likewise.
14200         [C99-based-standards] (PRIxLEAST32): Likewise.
14201         [C99-based-standards] (PRIXLEAST32): Likewise.
14202         [C99-based-standards] (SCNdLEAST32): Likewise.
14203         [C99-based-standards] (SCNiLEAST32): Likewise.
14204         [C99-based-standards] (SCNoLEAST32): Likewise.
14205         [C99-based-standards] (SCNuLEAST32): Likewise.
14206         [C99-based-standards] (SCNxLEAST32): Likewise.
14207         [C99-based-standards] (PRIdFAST32): Likewise.
14208         [C99-based-standards] (PRIiFAST32): Likewise.
14209         [C99-based-standards] (PRIoFAST32): Likewise.
14210         [C99-based-standards] (PRIuFAST32): Likewise.
14211         [C99-based-standards] (PRIxFAST32): Likewise.
14212         [C99-based-standards] (PRIXFAST32): Likewise.
14213         [C99-based-standards] (SCNdFAST32): Likewise.
14214         [C99-based-standards] (SCNiFAST32): Likewise.
14215         [C99-based-standards] (SCNoFAST32): Likewise.
14216         [C99-based-standards] (SCNuFAST32): Likewise.
14217         [C99-based-standards] (SCNxFAST32): Likewise.
14218         [C99-based-standards] (PRId64): Likewise.
14219         [C99-based-standards] (PRIi64): Likewise.
14220         [C99-based-standards] (PRIo64): Likewise.
14221         [C99-based-standards] (PRIu64): Likewise.
14222         [C99-based-standards] (PRIx64): Likewise.
14223         [C99-based-standards] (PRIX64): Likewise.
14224         [C99-based-standards] (SCNd64): Likewise.
14225         [C99-based-standards] (SCNi64): Likewise.
14226         [C99-based-standards] (SCNo64): Likewise.
14227         [C99-based-standards] (SCNu64): Likewise.
14228         [C99-based-standards] (SCNx64): Likewise.
14229         [C99-based-standards] (PRIdLEAST64): Likewise.
14230         [C99-based-standards] (PRIiLEAST64): Likewise.
14231         [C99-based-standards] (PRIoLEAST64): Likewise.
14232         [C99-based-standards] (PRIuLEAST64): Likewise.
14233         [C99-based-standards] (PRIxLEAST64): Likewise.
14234         [C99-based-standards] (PRIXLEAST64): Likewise.
14235         [C99-based-standards] (SCNdLEAST64): Likewise.
14236         [C99-based-standards] (SCNiLEAST64): Likewise.
14237         [C99-based-standards] (SCNoLEAST64): Likewise.
14238         [C99-based-standards] (SCNuLEAST64): Likewise.
14239         [C99-based-standards] (SCNxLEAST64): Likewise.
14240         [C99-based-standards] (PRIdFAST64): Likewise.
14241         [C99-based-standards] (PRIiFAST64): Likewise.
14242         [C99-based-standards] (PRIoFAST64): Likewise.
14243         [C99-based-standards] (PRIuFAST64): Likewise.
14244         [C99-based-standards] (PRIxFAST64): Likewise.
14245         [C99-based-standards] (PRIXFAST64): Likewise.
14246         [C99-based-standards] (SCNdFAST64): Likewise.
14247         [C99-based-standards] (SCNiFAST64): Likewise.
14248         [C99-based-standards] (SCNoFAST64): Likewise.
14249         [C99-based-standards] (SCNuFAST64): Likewise.
14250         [C99-based-standards] (SCNxFAST64): Likewise.
14251         [C99-based-standards] (PRIdMAX): Likewise.
14252         [C99-based-standards] (PRIiMAX): Likewise.
14253         [C99-based-standards] (PRIoMAX): Likewise.
14254         [C99-based-standards] (PRIuMAX): Likewise.
14255         [C99-based-standards] (PRIxMAX): Likewise.
14256         [C99-based-standards] (PRIXMAX): Likewise.
14257         [C99-based-standards] (SCNdMAX): Likewise.
14258         [C99-based-standards] (SCNiMAX): Likewise.
14259         [C99-based-standards] (SCNoMAX): Likewise.
14260         [C99-based-standards] (SCNuMAX): Likewise.
14261         [C99-based-standards] (SCNxMAX): Likewise.
14262         [C99-based-standards] (PRIdPTR): Likewise.
14263         [C99-based-standards] (PRIiPTR): Likewise.
14264         [C99-based-standards] (PRIoPTR): Likewise.
14265         [C99-based-standards] (PRIuPTR): Likewise.
14266         [C99-based-standards] (PRIxPTR): Likewise.
14267         [C99-based-standards] (PRIXPTR): Likewise.
14268         [C99-based-standards] (SCNdPTR): Likewise.
14269         [C99-based-standards] (SCNiPTR): Likewise.
14270         [C99-based-standards] (SCNoPTR): Likewise.
14271         [C99-based-standards] (SCNuPTR): Likewise.
14272         [C99-based-standards] (SCNxPTR): Likewise.
14273         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14274         allow.
14275         * conform/data/stdint.h-data: Update comments to clarify
14276         requirements.
14277         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
14278         type.
14279         [C99-based standards] (INT8_MAX): Likewise.
14280         [C99-based standards] (INT16_MIN): Likewise.
14281         [C99-based standards] (INT16_MAX): Likewise.
14282         [C99-based standards] (INT32_MIN): Likewise.
14283         [C99-based standards] (INT32_MAX): Likewise.
14284         [C99-based standards] (INT64_MIN): Likewise.
14285         [C99-based standards] (INT64_MAX): Likewise.
14286         [C99-based standards] (UINT8_MAX): Likewise.
14287         [C99-based standards] (UINT16_MAX): Likewise.
14288         [C99-based standards] (UINT32_MAX): Likewise.
14289         [C99-based standards] (UINT64_MAX): Likewise.
14290         [C99-based standards] (INT_LEAST8_MIN): Likewise.
14291         [C99-based standards] (INT_LEAST8_MAX): Likewise.
14292         [C99-based standards] (INT_LEAST16_MIN): Likewise.
14293         [C99-based standards] (INT_LEAST16_MAX): Likewise.
14294         [C99-based standards] (INT_LEAST32_MIN): Likewise.
14295         [C99-based standards] (INT_LEAST32_MAX): Likewise.
14296         [C99-based standards] (INT_LEAST64_MIN): Likewise.
14297         [C99-based standards] (INT_LEAST64_MAX): Likewise.
14298         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14299         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14300         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14301         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14302         [C99-based standards] (INT_FAST8_MIN): Likewise.
14303         [C99-based standards] (INT_FAST8_MAX): Likewise.
14304         [C99-based standards] (INT_FAST16_MIN): Likewise.
14305         [C99-based standards] (INT_FAST16_MAX): Likewise.
14306         [C99-based standards] (INT_FAST32_MIN): Likewise.
14307         [C99-based standards] (INT_FAST32_MAX): Likewise.
14308         [C99-based standards] (INT_FAST64_MIN): Likewise.
14309         [C99-based standards] (INT_FAST64_MAX): Likewise.
14310         [C99-based standards] (UINT_FAST8_MAX): Likewise.
14311         [C99-based standards] (UINT_FAST16_MAX): Likewise.
14312         [C99-based standards] (UINT_FAST32_MAX): Likewise.
14313         [C99-based standards] (UINT_FAST64_MAX): Likewise.
14314         [C99-based standards] (INTPTR_MIN): Likewise.
14315         [C99-based standards] (INTPTR_MAX): Likewise.
14316         [C99-based standards] (UINTPTR_MAX): Likewise.
14317         [C99-based standards] (INTMAX_MIN): Likewise.
14318         [C99-based standards] (INTMAX_MAX): Likewise.
14319         [C99-based standards] (UINTMAX_MAX): Likewise.
14320         [C99-based standards] (PTRDIFF_MIN): Likewise.
14321         [C99-based standards] (PTRDIFF_MAX): Likewise.
14322         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14323         [C99-based standards] (SIZE_MAX): Likewise.
14324         [C99-based standards] (WCHAR_MAX): Likewise.
14325         [C99-based standards] (WINT_MAX): Likewise.
14326         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
14327         constraint on value.
14328         [C99-based standards] (WCHAR_MIN): Likewise.
14329         [C99-based standards] (WINT_MIN): Likewise.
14330         [C99-based standards] (*_t): Allow.
14331         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14332         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14333         Include math.h-data and complex.h-data.  Remove all expectations
14334         of math.h and complex.h contents.
14335         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14336         at end of line.
14337         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14338         (struct tm): Expect tag.
14339         [C99-based-standards] (wcstof): Expect function.
14340         [C99-based-standards] (wcstold): Likewise.
14341         [C99-based-standards] (wcstoll): Likewise.
14342         [C99-based-standards] (wcstoull): Likewise.
14343         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14344         macro-int-constant.  Specify type.
14345         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
14346         constraint on value.
14347         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14348         Specify type.
14349         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14350         Specify value.
14351         [ISO C standards]: Do not allow headers.
14352         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14353         wcs[abcdefghijklmnopqrstuvwxyz]*.
14354         [ISO C standards] (*_t): Do not allow.
14355         * conform/data/wctype.h-data [C99-based standards] (iswblank):
14356         Expect function.
14357         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14358         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14359         Specify type.
14360         [ISO C standards]: Do not allow headers.
14361         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14362         is[abcdefghijklmnopqrstuvwxyz]*.
14363         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14364         to[abcdefghijklmnopqrstuvwxyz]*.
14365         [ISO C standards] (*_t): Do not allow.
14366         * conform/data/stdalign.h-data: New file.
14367         * conform/data/stdbool.h-data: Likewise.
14368         * conform/data/stdnoreturn.h-data: Likewise.
14370 2012-11-07  Roland McGrath  <roland@hack.frob.com>
14372         [BZ #14815]
14373         * manual/filesys.texi (Directory Entries): Typo fix.
14374         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14376 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14378         * elf/elf.h (EM_AARCH64): New macro.
14379         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14380         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14381         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14382         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14383         (R_AARCH64_TLSDESC): Likewise.
14384         (NT_ARM_TLS): Likewise.
14385         (NT_ARM_HW_BREAK): Likewise.
14386         (NT_ARM_HW_WATCH): Likewise.
14388 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14390         [BZ #14811]
14391         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14392         (__ieee754_powl): Saturate nonzero exponents with absolute value
14393         below 0x1p-79 to +/- 0x1p-79.
14394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14395         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14396         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14397         nonzero exponents with absolute value below 0x1p-32 to +/-
14398         0x1p-32.
14399         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14400         (__ieee754_powl): Saturate nonzero exponents with absolute value
14401         below 0x1p-79 to +/- 0x1p-79.
14402         * math/libm-test.inc (pow_test): Add more tests.
14404 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14406         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14407         _dl_s390_cap_flags with kernel. Increase string length.
14408         (_dl_s390_platforms): Add z196 and zEC12.
14410 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14412         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14413         Change XOPEN21K to XOPEN2K.
14415 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
14417         * string/memmove.c: Use memcpy when possible.
14419 2012-11-06  Andreas Jaeger  <aj@suse.de>
14421         * po/eo.po: Update from translation team.
14423 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
14425         [BZ #14793]
14426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14427         exponent and small x and y exponents, scale x or y up.  Increase
14428         by 2 the exponent used in scaling up.
14429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14431         * math/libm-test.inc (fma_test): Add more tests.
14432         (fma_test_towardzero): Likewise.
14433         (fma_test_downward): Likewise.
14434         (fma_test_upward): Likewise.
14436 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
14438         [BZ #14805]
14439         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14440         fenv_t *.
14442         [BZ #14801]
14443         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14444         namespace for names of struct fields.
14445         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14446         fenv_t fields.
14447         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14448         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14450 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14452         [BZ #3665]
14453         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14455 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14457         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14458         PTR_DEMANGLE.
14460         [BZ #5246]
14461         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14462         PTR_DEMANGLE.
14464 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
14466         [BZ #14797]
14467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14468         definitely overflow as x * y not x * y + z.
14469         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14470         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14471         * math/libm-test.inc (fma_test): Add more tests.
14472         (fma_test_towardzero): Likewise.
14473         (fma_test_downward): Likewise.
14474         (fma_test_upward): Likewise.
14476 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14478         [BZ #157]
14480         * include/stub-tag.h: Remove file.
14481         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14482         '#include' of it.
14483         * manual/maint.texi (Porting): Don't reference it.
14484         * Makerules ($(objpfx)stubs): Likewise.
14485         * dirent/closedir.c: Don't include <stub-tag.h>.
14486         * dirent/dirfd.c: Likewise.
14487         * dirent/fdopendir.c: Likewise.
14488         * dirent/getdents.c: Likewise.
14489         * dirent/getdents64.c: Likewise.
14490         * dirent/opendir.c: Likewise.
14491         * dirent/readdir.c: Likewise.
14492         * dirent/readdir64.c: Likewise.
14493         * dirent/readdir64_r.c: Likewise.
14494         * dirent/readdir_r.c: Likewise.
14495         * dirent/rewinddir.c: Likewise.
14496         * dirent/seekdir.c: Likewise.
14497         * dirent/telldir.c: Likewise.
14498         * gmon/profil.c: Likewise.
14499         * grp/setgroups.c: Likewise.
14500         * inet/if_index.c: Likewise.
14501         * io/access.c: Likewise.
14502         * io/chdir.c: Likewise.
14503         * io/chmod.c: Likewise.
14504         * io/chown.c: Likewise.
14505         * io/close.c: Likewise.
14506         * io/dup.c: Likewise.
14507         * io/dup2.c: Likewise.
14508         * io/dup3.c: Likewise.
14509         * io/euidaccess.c: Likewise.
14510         * io/faccessat.c: Likewise.
14511         * io/fchdir.c: Likewise.
14512         * io/fchmod.c: Likewise.
14513         * io/fchmodat.c: Likewise.
14514         * io/fchown.c: Likewise.
14515         * io/fchownat.c: Likewise.
14516         * io/fcntl.c: Likewise.
14517         * io/flock.c: Likewise.
14518         * io/fstatfs.c: Likewise.
14519         * io/fstatfs64.c: Likewise.
14520         * io/fstatvfs.c: Likewise.
14521         * io/fstatvfs64.c: Likewise.
14522         * io/futimens.c: Likewise.
14523         * io/fxstat.c: Likewise.
14524         * io/fxstat64.c: Likewise.
14525         * io/fxstatat.c: Likewise.
14526         * io/fxstatat64.c: Likewise.
14527         * io/getcwd.c: Likewise.
14528         * io/isatty.c: Likewise.
14529         * io/lchmod.c: Likewise.
14530         * io/lchown.c: Likewise.
14531         * io/link.c: Likewise.
14532         * io/linkat.c: Likewise.
14533         * io/lseek.c: Likewise.
14534         * io/lseek64.c: Likewise.
14535         * io/lxstat64.c: Likewise.
14536         * io/mkdir.c: Likewise.
14537         * io/mkdirat.c: Likewise.
14538         * io/mkfifo.c: Likewise.
14539         * io/mkfifoat.c: Likewise.
14540         * io/open.c: Likewise.
14541         * io/open64.c: Likewise.
14542         * io/openat.c: Likewise.
14543         * io/openat64.c: Likewise.
14544         * io/pipe.c: Likewise.
14545         * io/pipe2.c: Likewise.
14546         * io/poll.c: Likewise.
14547         * io/posix_fadvise.c: Likewise.
14548         * io/posix_fadvise64.c: Likewise.
14549         * io/posix_fallocate.c: Likewise.
14550         * io/posix_fallocate64.c: Likewise.
14551         * io/read.c: Likewise.
14552         * io/readlink.c: Likewise.
14553         * io/readlinkat.c: Likewise.
14554         * io/rmdir.c: Likewise.
14555         * io/sendfile.c: Likewise.
14556         * io/sendfile64.c: Likewise.
14557         * io/statfs.c: Likewise.
14558         * io/statfs64.c: Likewise.
14559         * io/statvfs.c: Likewise.
14560         * io/statvfs64.c: Likewise.
14561         * io/symlink.c: Likewise.
14562         * io/symlinkat.c: Likewise.
14563         * io/ttyname.c: Likewise.
14564         * io/ttyname_r.c: Likewise.
14565         * io/umask.c: Likewise.
14566         * io/unlink.c: Likewise.
14567         * io/unlinkat.c: Likewise.
14568         * io/utime.c: Likewise.
14569         * io/utimensat.c: Likewise.
14570         * io/write.c: Likewise.
14571         * io/xmknod.c: Likewise.
14572         * io/xmknodat.c: Likewise.
14573         * io/xstat.c: Likewise.
14574         * io/xstat64.c: Likewise.
14575         * login/getpt.c: Likewise.
14576         * login/grantpt.c: Likewise.
14577         * login/unlockpt.c: Likewise.
14578         * math/e_acoshl.c: Likewise.
14579         * math/e_acosl.c: Likewise.
14580         * math/e_asinl.c: Likewise.
14581         * math/e_atan2l.c: Likewise.
14582         * math/e_atanhl.c: Likewise.
14583         * math/e_coshl.c: Likewise.
14584         * math/e_expl.c: Likewise.
14585         * math/e_fmodl.c: Likewise.
14586         * math/e_gammal_r.c: Likewise.
14587         * math/e_hypotl.c: Likewise.
14588         * math/e_j0l.c: Likewise.
14589         * math/e_j1l.c: Likewise.
14590         * math/e_jnl.c: Likewise.
14591         * math/e_lgammal_r.c: Likewise.
14592         * math/e_log10l.c: Likewise.
14593         * math/e_log2l.c: Likewise.
14594         * math/e_logl.c: Likewise.
14595         * math/e_powl.c: Likewise.
14596         * math/e_rem_pio2l.c: Likewise.
14597         * math/e_sinhl.c: Likewise.
14598         * math/e_sqrtl.c: Likewise.
14599         * math/fclrexcpt.c: Likewise.
14600         * math/fedisblxcpt.c: Likewise.
14601         * math/feenablxcpt.c: Likewise.
14602         * math/fegetenv.c: Likewise.
14603         * math/fegetexcept.c: Likewise.
14604         * math/fegetround.c: Likewise.
14605         * math/feholdexcpt.c: Likewise.
14606         * math/fesetenv.c: Likewise.
14607         * math/fesetround.c: Likewise.
14608         * math/feupdateenv.c: Likewise.
14609         * math/fgetexcptflg.c: Likewise.
14610         * math/fraiseexcpt.c: Likewise.
14611         * math/fsetexcptflg.c: Likewise.
14612         * math/ftestexcept.c: Likewise.
14613         * math/k_cosl.c: Likewise.
14614         * math/k_rem_pio2l.c: Likewise.
14615         * math/k_sinl.c: Likewise.
14616         * math/k_tanl.c: Likewise.
14617         * math/s_asinhl.c: Likewise.
14618         * math/s_atanl.c: Likewise.
14619         * math/s_cbrtl.c: Likewise.
14620         * math/s_erfl.c: Likewise.
14621         * math/s_expm1l.c: Likewise.
14622         * math/s_log1pl.c: Likewise.
14623         * math/s_tanhl.c: Likewise.
14624         * misc/acct.c: Likewise.
14625         * misc/brk.c: Likewise.
14626         * misc/chflags.c: Likewise.
14627         * misc/chroot.c: Likewise.
14628         * misc/fchflags.c: Likewise.
14629         * misc/fgetxattr.c: Likewise.
14630         * misc/flistxattr.c: Likewise.
14631         * misc/fremovexattr.c: Likewise.
14632         * misc/fsetxattr.c: Likewise.
14633         * misc/fsync.c: Likewise.
14634         * misc/ftruncate.c: Likewise.
14635         * misc/futimes.c: Likewise.
14636         * misc/futimesat.c: Likewise.
14637         * misc/getdomain.c: Likewise.
14638         * misc/getdtsz.c: Likewise.
14639         * misc/gethostid.c: Likewise.
14640         * misc/gethostname.c: Likewise.
14641         * misc/getloadavg.c: Likewise.
14642         * misc/getpagesize.c: Likewise.
14643         * misc/getsysstats.c: Likewise.
14644         * misc/getxattr.c: Likewise.
14645         * misc/gtty.c: Likewise.
14646         * misc/ioctl.c: Likewise.
14647         * misc/lgetxattr.c: Likewise.
14648         * misc/listxattr.c: Likewise.
14649         * misc/llistxattr.c: Likewise.
14650         * misc/lremovexattr.c: Likewise.
14651         * misc/lsetxattr.c: Likewise.
14652         * misc/lutimes.c: Likewise.
14653         * misc/madvise.c: Likewise.
14654         * misc/mincore.c: Likewise.
14655         * misc/mlock.c: Likewise.
14656         * misc/mlockall.c: Likewise.
14657         * misc/mmap.c: Likewise.
14658         * misc/mprotect.c: Likewise.
14659         * misc/msync.c: Likewise.
14660         * misc/munlock.c: Likewise.
14661         * misc/munlockall.c: Likewise.
14662         * misc/munmap.c: Likewise.
14663         * misc/preadv.c: Likewise.
14664         * misc/preadv64.c: Likewise.
14665         * misc/ptrace.c: Likewise.
14666         * misc/pwritev.c: Likewise.
14667         * misc/pwritev64.c: Likewise.
14668         * misc/readv.c: Likewise.
14669         * misc/reboot.c: Likewise.
14670         * misc/remap_file_pages.c: Likewise.
14671         * misc/removexattr.c: Likewise.
14672         * misc/revoke.c: Likewise.
14673         * misc/select.c: Likewise.
14674         * misc/setdomain.c: Likewise.
14675         * misc/setegid.c: Likewise.
14676         * misc/seteuid.c: Likewise.
14677         * misc/sethostid.c: Likewise.
14678         * misc/sethostname.c: Likewise.
14679         * misc/setregid.c: Likewise.
14680         * misc/setreuid.c: Likewise.
14681         * misc/setxattr.c: Likewise.
14682         * misc/sstk.c: Likewise.
14683         * misc/stty.c: Likewise.
14684         * misc/swapoff.c: Likewise.
14685         * misc/swapon.c: Likewise.
14686         * misc/sync.c: Likewise.
14687         * misc/syncfs.c: Likewise.
14688         * misc/syscall.c: Likewise.
14689         * misc/truncate.c: Likewise.
14690         * misc/ualarm.c: Likewise.
14691         * misc/usleep.c: Likewise.
14692         * misc/ustat.c: Likewise.
14693         * misc/utimes.c: Likewise.
14694         * misc/vhangup.c: Likewise.
14695         * misc/writev.c: Likewise.
14696         * posix/_exit.c: Likewise.
14697         * posix/alarm.c: Likewise.
14698         * posix/execve.c: Likewise.
14699         * posix/fexecve.c: Likewise.
14700         * posix/fork.c: Likewise.
14701         * posix/fpathconf.c: Likewise.
14702         * posix/getaddrinfo.c: Likewise.
14703         * posix/getegid.c: Likewise.
14704         * posix/geteuid.c: Likewise.
14705         * posix/getgid.c: Likewise.
14706         * posix/getgroups.c: Likewise.
14707         * posix/getlogin.c: Likewise.
14708         * posix/getlogin_r.c: Likewise.
14709         * posix/getpgid.c: Likewise.
14710         * posix/getpid.c: Likewise.
14711         * posix/getppid.c: Likewise.
14712         * posix/getresgid.c: Likewise.
14713         * posix/getresuid.c: Likewise.
14714         * posix/getsid.c: Likewise.
14715         * posix/getuid.c: Likewise.
14716         * posix/glob64.c: Likewise.
14717         * posix/nanosleep.c: Likewise.
14718         * posix/pathconf.c: Likewise.
14719         * posix/pause.c: Likewise.
14720         * posix/posix_madvise.c: Likewise.
14721         * posix/pread.c: Likewise.
14722         * posix/pread64.c: Likewise.
14723         * posix/pwrite.c: Likewise.
14724         * posix/pwrite64.c: Likewise.
14725         * posix/sched_getaffinity.c: Likewise.
14726         * posix/sched_getp.c: Likewise.
14727         * posix/sched_gets.c: Likewise.
14728         * posix/sched_primax.c: Likewise.
14729         * posix/sched_primin.c: Likewise.
14730         * posix/sched_rr_gi.c: Likewise.
14731         * posix/sched_setaffinity.c: Likewise.
14732         * posix/sched_setp.c: Likewise.
14733         * posix/sched_sets.c: Likewise.
14734         * posix/sched_yield.c: Likewise.
14735         * posix/setgid.c: Likewise.
14736         * posix/setlogin.c: Likewise.
14737         * posix/setpgid.c: Likewise.
14738         * posix/setresgid.c: Likewise.
14739         * posix/setresuid.c: Likewise.
14740         * posix/setsid.c: Likewise.
14741         * posix/setuid.c: Likewise.
14742         * posix/sleep.c: Likewise.
14743         * posix/spawni.c: Likewise.
14744         * posix/sysconf.c: Likewise.
14745         * posix/times.c: Likewise.
14746         * posix/wait.c: Likewise.
14747         * posix/wait3.c: Likewise.
14748         * posix/wait4.c: Likewise.
14749         * posix/waitpid.c: Likewise.
14750         * resolv/gai_sigqueue.c: Likewise.
14751         * resource/getpriority.c: Likewise.
14752         * resource/getrlimit.c: Likewise.
14753         * resource/getrusage.c: Likewise.
14754         * resource/nice.c: Likewise.
14755         * resource/setpriority.c: Likewise.
14756         * resource/setrlimit.c: Likewise.
14757         * resource/ulimit.c: Likewise.
14758         * rt/aio_cancel.c: Likewise.
14759         * rt/aio_fsync.c: Likewise.
14760         * rt/aio_read.c: Likewise.
14761         * rt/aio_sigqueue.c: Likewise.
14762         * rt/aio_suspend.c: Likewise.
14763         * rt/aio_write.c: Likewise.
14764         * rt/clock_getres.c: Likewise.
14765         * rt/clock_gettime.c: Likewise.
14766         * rt/clock_nanosleep.c: Likewise.
14767         * rt/clock_settime.c: Likewise.
14768         * rt/lio_listio.c: Likewise.
14769         * rt/mq_close.c: Likewise.
14770         * rt/mq_getattr.c: Likewise.
14771         * rt/mq_notify.c: Likewise.
14772         * rt/mq_open.c: Likewise.
14773         * rt/mq_receive.c: Likewise.
14774         * rt/mq_send.c: Likewise.
14775         * rt/mq_setattr.c: Likewise.
14776         * rt/mq_timedreceive.c: Likewise.
14777         * rt/mq_timedsend.c: Likewise.
14778         * rt/mq_unlink.c: Likewise.
14779         * rt/shm_open.c: Likewise.
14780         * rt/shm_unlink.c: Likewise.
14781         * rt/timer_create.c: Likewise.
14782         * rt/timer_delete.c: Likewise.
14783         * rt/timer_getoverr.c: Likewise.
14784         * rt/timer_gettime.c: Likewise.
14785         * rt/timer_settime.c: Likewise.
14786         * setjmp/__longjmp.c: Likewise.
14787         * setjmp/setjmp.c: Likewise.
14788         * signal/kill.c: Likewise.
14789         * signal/killpg.c: Likewise.
14790         * signal/raise.c: Likewise.
14791         * signal/sigaction.c: Likewise.
14792         * signal/sigaltstack.c: Likewise.
14793         * signal/sigblock.c: Likewise.
14794         * signal/sigignore.c: Likewise.
14795         * signal/sigintr.c: Likewise.
14796         * signal/signal.c: Likewise.
14797         * signal/sigpause.c: Likewise.
14798         * signal/sigpending.c: Likewise.
14799         * signal/sigqueue.c: Likewise.
14800         * signal/sigreturn.c: Likewise.
14801         * signal/sigset.c: Likewise.
14802         * signal/sigsetmask.c: Likewise.
14803         * signal/sigstack.c: Likewise.
14804         * signal/sigsuspend.c: Likewise.
14805         * signal/sigtimedwait.c: Likewise.
14806         * signal/sigvec.c: Likewise.
14807         * signal/sigwait.c: Likewise.
14808         * signal/sigwaitinfo.c: Likewise.
14809         * signal/sysv_signal.c: Likewise.
14810         * socket/accept.c: Likewise.
14811         * socket/accept4.c: Likewise.
14812         * socket/bind.c: Likewise.
14813         * socket/connect.c: Likewise.
14814         * socket/getpeername.c: Likewise.
14815         * socket/getsockname.c: Likewise.
14816         * socket/getsockopt.c: Likewise.
14817         * socket/isfdtype.c: Likewise.
14818         * socket/listen.c: Likewise.
14819         * socket/recv.c: Likewise.
14820         * socket/recvfrom.c: Likewise.
14821         * socket/recvmsg.c: Likewise.
14822         * socket/send.c: Likewise.
14823         * socket/sendmsg.c: Likewise.
14824         * socket/sendto.c: Likewise.
14825         * socket/setsockopt.c: Likewise.
14826         * socket/shutdown.c: Likewise.
14827         * socket/sockatmark.c: Likewise.
14828         * socket/socket.c: Likewise.
14829         * socket/socketpair.c: Likewise.
14830         * stdio-common/ctermid.c: Likewise.
14831         * stdio-common/cuserid.c: Likewise.
14832         * stdio-common/remove.c: Likewise.
14833         * stdio-common/rename.c: Likewise.
14834         * stdio-common/renameat.c: Likewise.
14835         * stdio-common/tempname.c: Likewise.
14836         * stdlib/getcontext.c: Likewise.
14837         * stdlib/makecontext.c: Likewise.
14838         * stdlib/setcontext.c: Likewise.
14839         * stdlib/swapcontext.c: Likewise.
14840         * stdlib/system.c: Likewise.
14841         * streams/fattach.c: Likewise.
14842         * streams/fdetach.c: Likewise.
14843         * streams/getmsg.c: Likewise.
14844         * streams/getpmsg.c: Likewise.
14845         * streams/putmsg.c: Likewise.
14846         * streams/putpmsg.c: Likewise.
14847         * sysdeps/unix/bsd/getpt.c: Likewise.
14848         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14849         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14850         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14852         Likewise.
14853         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14854         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14855         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14856         * sysvipc/msgctl.c: Likewise.
14857         * sysvipc/msgget.c: Likewise.
14858         * sysvipc/msgrcv.c: Likewise.
14859         * sysvipc/msgsnd.c: Likewise.
14860         * sysvipc/semctl.c: Likewise.
14861         * sysvipc/semget.c: Likewise.
14862         * sysvipc/semop.c: Likewise.
14863         * sysvipc/semtimedop.c: Likewise.
14864         * sysvipc/shmat.c: Likewise.
14865         * sysvipc/shmctl.c: Likewise.
14866         * sysvipc/shmdt.c: Likewise.
14867         * sysvipc/shmget.c: Likewise.
14868         * termios/tcdrain.c: Likewise.
14869         * termios/tcflow.c: Likewise.
14870         * termios/tcflush.c: Likewise.
14871         * termios/tcgetattr.c: Likewise.
14872         * termios/tcgetpgrp.c: Likewise.
14873         * termios/tcsendbrk.c: Likewise.
14874         * termios/tcsetattr.c: Likewise.
14875         * termios/tcsetpgrp.c: Likewise.
14876         * time/adjtime.c: Likewise.
14877         * time/clock.c: Likewise.
14878         * time/getitimer.c: Likewise.
14879         * time/gettimeofday.c: Likewise.
14880         * time/setitimer.c: Likewise.
14881         * time/settimeofday.c: Likewise.
14882         * time/stime.c: Likewise.
14883         * time/time.c: Likewise.
14885 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14887         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14888         /usr/old/bin.
14890         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14891         instead of spaces.
14892         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14894 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14896         [BZ #14796]
14897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14898         FE_TONEAREST before applying Dekker multiplication and Knuth
14899         addition.  Clear inexact exceptions and check for exact zero
14900         results afterwards.
14901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14902         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14903         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14904         * math/libm-test.inc (fma_test): Add more tests.
14905         (fma_test_towardzero): Likewise.
14906         (fma_test_downward): Likewise.
14907         (fma_test_upward): Likewise.
14908         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14909         function.
14910         (libc_fesetround): New macro.
14911         (libc_fesetroundf): Likewise.
14912         (libc_fesetroundl): Likewise.
14913         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14914         function.
14915         (libc_fesetround_387): Likewise.
14916         (libc_fesetroundf): New macro.
14917         (libc_fesetround): Likewise.
14918         (libc_fesetroundl): Likewise.
14919         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14920         function.
14921         (libc_fesetroundf): New macro.
14922         (libc_fesetround): Likewise.
14923         (libc_fesetroundl): Likewise.
14924         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14925         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14926         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14927         libm_hidden_ver.
14928         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14929         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14930         libm_hidden_def.
14931         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14932         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14933         libm_hidden_ver.
14934         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14935         libm_hidden_def.
14937         [BZ #3439]
14938         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14939         integer constant usable in #if and use that to give value to enum
14940         constant.
14941         (FE_DIVBYZERO): Likewise.
14942         (FE_UNDERFLOW): Likewise.
14943         (FE_OVERFLOW): Likewise.
14944         (FE_INVALID): Likewise.
14945         (FE_INVALID_SNAN): Likewise.
14946         (FE_INVALID_ISI): Likewise.
14947         (FE_INVALID_IDI): Likewise.
14948         (FE_INVALID_ZDZ): Likewise.
14949         (FE_INVALID_IMZ): Likewise.
14950         (FE_INVALID_COMPARE): Likewise.
14951         (FE_INVALID_SOFTWARE): Likewise.
14952         (FE_INVALID_SQRT): Likewise.
14953         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14954         (FE_TONEAREST): Likewise.
14955         (FE_TOWARDZERO): Likewise.
14956         (FE_UPWARD): Likewise.
14957         (FE_DOWNWARD): Likewise.
14958         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14959         (FE_DIVBYZERO): Likewise.
14960         (FE_OVERFLOW): Likewise.
14961         (FE_UNDERFLOW): Likewise.
14962         (FE_INEXACT): Likewise.
14963         (FE_TONEAREST): Likewise.
14964         (FE_DOWNWARD): Likewise.
14965         (FE_UPWARD): Likewise.
14966         (FE_TOWARDZERO): Likewise.
14967         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14968         (FE_UNDERFLOW): Likewise.
14969         (FE_OVERFLOW): Likewise.
14970         (FE_DIVBYZERO): Likewise.
14971         (FE_INVALID): Likewise.
14972         (FE_TONEAREST): Likewise.
14973         (FE_TOWARDZERO): Likewise.
14974         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14975         (FE_OVERFLOW): Likewise.
14976         (FE_UNDERFLOW): Likewise.
14977         (FE_DIVBYZERO): Likewise.
14978         (FE_INEXACT): Likewise.
14979         (FE_TONEAREST): Likewise.
14980         (FE_TOWARDZERO): Likewise.
14981         (FE_UPWARD): Likewise.
14982         (FE_DOWNWARD): Likewise.
14983         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14984         (FE_DIVBYZERO): Likewise.
14985         (FE_OVERFLOW): Likewise.
14986         (FE_UNDERFLOW): Likewise.
14987         (FE_INEXACT): Likewise.
14988         (FE_TONEAREST): Likewise.
14989         (FE_DOWNWARD): Likewise.
14990         (FE_UPWARD): Likewise.
14991         (FE_TOWARDZERO): Likewise.
14993 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14995         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14997 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14999         * scripts/cross-test-ssh.sh (command): Use newlines to separate
15000         commands.  Quote $PWD.
15001         (blacklist_exports): Don't use remove_newlines.  Replace "declare
15002         -x" by "export".
15003         (remove_newlines): Remove.
15005 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
15007         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15008         * stdlib/stdlib.h (atof): Moved to ...
15009         * include/bits/stdlib-float.h: Here.  New file.
15010         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15011         * stdlib/bits/stdlib-float.h: New file.
15012         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15013         -mno-sse -mno-mmx.
15014         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15015         <xmmintrin.h>.
15017 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15019         * conform/conformtest.pl (@headers): Add fenv.h.
15020         * conform/data/fenv.h-data: New file.
15021         * include/fenv.h [_ISOMAC]: Disable all contents of file except
15022         include of <math/fenv.h>.
15024         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15025         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15026         && !UNIX98].  Enables tests for XOPEN2K8.
15027         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15028         POSIX2008]: Likewise.
15030         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15031         (struct rusage): Do not expect type or its members.
15033         [BZ #3439]
15034         * math/math.h (FP_NAN): Define macro to integer constant usable in
15035         #if and use that to give value to enum constant.
15036         (FP_INFINITE): Likewise.
15037         (FP_ZERO): Likewise.
15038         (FP_SUBNORMAL): Likewise.
15039         (FP_NORMAL): Likewise.
15041 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
15043         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15044         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15045         arguments.
15047 2012-11-02  Roland McGrath  <roland@hack.frob.com>
15049         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15050         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15051         autoconf-time if not.
15052         * configure.in: Remove AC_PREREQ.
15054 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15056         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15057         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15058         of the internal implementation.
15060 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15062         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15063         except include of <misc/sys/syslog.h>.
15065 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15068         function returns with a NULL context exit with zero.
15070 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15072         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15074 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
15076         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15077         (run_program_cmd): This.
15078         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15079         (tst_langinfo): New variable.  Use it.
15081 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
15083         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15084         floating point opcodes.
15086 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15088         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15089         variable.
15091         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15093         * sysdeps/mach/hurd/powerpc: Remove directory.
15094         * sysdeps/mach/powerpc: Likewise.
15096 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15098         * scripts/check-local-headers.sh: Ignore c++ headers.
15100 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15102         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15103         __libc_cleanup_region_start argument.
15105 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
15107         [BZ #14784]
15108         [BZ #14785]
15109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15110         x * y using scaling, not as x * y + z.
15111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15112         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15113         * math/libm-test.inc (fma_test): Add more tests.
15114         (fma_test_towardzero): Likewise.
15115         (fma_test_downward): Likewise.
15116         (fma_test_upward): Likewise.
15118 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15120         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15122 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15124         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15125         New variable.
15127 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
15129         * rt/tst-shm.c (worker): Correct checking for mmap failure.
15131 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15134         Fix sort order.
15135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15136         Likewise.
15138 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15141         Fix the order of the list for glibc 2.17.
15142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15143         Likewise.
15145 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15149 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15151         [BZ #14610]
15152         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15153         for low part of x being zero before using __atanl (y).
15154         * math/libm-test.inc (atan2_test): Add another test.
15156         * manual/install.texi (Configuring and compiling): Document
15157         general use of test-wrapper and test-wrapper-env.
15158         * INSTALL: Regenerated.
15160         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15161         (__fma): Do not extract and scale down low bits on after-rounding
15162         systems when result rounded to normal precision would have normal
15163         exponent.
15164         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15165         (__fmal): Do not extract and scale down low bits on after-rounding
15166         systems when result rounded to normal precision would have normal
15167         exponent.
15168         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15169         (__fmal): Do not extract and scale down low bits on after-rounding
15170         systems when result rounded to normal precision would have normal
15171         exponent.
15172         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15173         macro.
15174         (fma_test): Add more tests.
15175         (fma_test_towardzero): Likewise.
15176         (fma_test_downward): Likewise.
15177         (fma_test_upward): Likewise.
15179 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
15181         * sysdeps/i386/tininess.h: Renamed to ...
15182         * sysdeps/x86/tininess.h: This.
15183         * sysdeps/x86_64/tininess.h: Removed.
15185 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
15187         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15188         input.  Use $(build-program-cmd).
15189         ($(objpfx)tst-array1-static.out): Likewise.
15190         ($(objpfx)tst-array2.out): Likewise.
15191         ($(objpfx)tst-array3.out): Likewise.
15192         ($(objpfx)tst-array4.out): Likewise.
15193         ($(objpfx)tst-array5.out): Likewise.
15194         ($(objpfx)tst-array5-static.out): Likewise.
15196 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
15198         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15199         if defined.
15201         * nss/nsswitch.h (nss_interface_function): Provide new
15202         macro for use with NSS functions.
15203         * grp/initgroups.c: Use new macro.
15204         * nss/getXXbyYY.c: Likewise.
15205         * nss/getXXbyYY_r.c: Likewise.
15206         * nss/getXXent.c: Likewise.
15207         * nss/getXXent_r.c: Likewise.
15208         * sysdeps/posix/getaddrinfo.c: Likewise.
15210 2012-10-30  Andreas Jaeger  <aj@suse.de>
15212         * po/ru.po: Update Russion translation from translation project.
15214 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
15216         [BZ #14152]
15217         [BZ #14783]
15218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15219         result and shift together with sticky bit instead of replicating
15220         round-to-nearest rounding.
15221         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15222         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15223         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
15224         missing underflow exceptions.
15225         (fma_test_towardzero): Add more tests.
15226         (fma_test_downward): Likewise.
15227         (fma_test_upward): Likewise.
15229         [BZ #14047]
15230         * sysdeps/generic/tininess.h: New file.
15231         * sysdeps/i386/tininess.h: Likewise.
15232         * sysdeps/sh/tininess.h: Likewise.
15233         * sysdeps/x86_64/tininess.h: Likewise.
15234         * stdlib/tst-strtod-underflow.c: Likewise.
15235         * stdlib/tst-tininess.c: Likewise.
15236         * stdlib/strtod_l.c: Include <tininess.h>.
15237         (round_and_return): Do not set errno for exact underflow cases.
15238         Force an underflow exception when setting errno for underflow.
15239         Determine underflow based on rounding to normal precision if
15240         TININESS_AFTER_ROUNDING.
15241         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15242         ERANGE for exact underflow cases.
15243         * stdlib/Makefile (tests): Add tst-tininess and
15244         tst-strtod-underflow.
15245         ($(objpfx)tst-tininess): Use $(link-libm).
15246         ($(objpfx)tst-strtod-underflow): Likewise.
15248 2012-10-30  Andreas Jaeger  <aj@suse.de>
15250         [BZ#14767]
15251         * elf/Makefile (tests): Remove conditional for have-initfini-array
15252         since this is now always required and the variable does not exist
15253         anymore.
15254         (tests-static): Likewise.
15255         (modules-names): Likewise.
15257         * po/eo.po: Add Esperanto translation from translation project.
15259         * elf/tst-array1.c (fini_array): Make writeable so that it can be
15260         merged with constructor/destructor.
15261         (init_array): Likewise.
15262         * elf/tst-array2dep.c (fini_array): Likewise.
15263         (init_array): Likewise.
15265 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
15267         * manual/message.texi: Delete @cartouche tags.
15269 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
15271         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15272         EOPNOTSUPP.
15273         * sysdeps/mach/hurd/fsync.c: Likewise.
15275         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15276         [_POSIX_REALTIME_SIGNALS]: Change condition to
15277         [_POSIX_REALTIME_SIGNALS > 0].
15279 2012-10-27  Andreas Jaeger  <aj@suse.de>
15281         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15282         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15283         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15284         [__WORDSIZE != 64]: Likewise.
15286 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
15288         *  iconvdata/tst-table.sh: Remove ${SHELL}.
15289         *  iconvdata/tst-tables.sh: Likewise.
15291 2012-10-25  David S. Miller  <davem@davemloft.net>
15293         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15294         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15295         of strtoull.
15297         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15298         ifunc-impl-list.c
15299         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15300         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15301         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15302         file.
15304 2012-10-25  Roland McGrath  <roland@hack.frob.com>
15306         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15307         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15308         __getdirentries.
15310 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
15311             Jim Blandy  <jimb@codesourcery.com>
15313         * scripts/cross-test-ssh.sh: New file.
15314         * manual/install.texi (Configuring and compiling): Document use of
15315         cross-test-ssh.sh.
15316         * INSTALL: Regenerated.
15318 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
15320         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15321         EOPNOTSUPP.
15323 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
15325         * Makeconfig (run-program-prefix): Fix comment.
15327 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15328             Jim Blandy  <jimb@codesourcery.com>
15330         * Makeconfig (test-wrapper): New variable,
15331         (test-wrapper-env): Likewise.
15332         [$(cross-compiling) = yes && $(test-wrapper) != ""]
15333         (run-built-tests): Define to yes.
15334         (run-program-prefix): Use $(test-wrapper).
15335         (built-program-cmd): Likewise.
15336         * Rules (make-test-out): Use $(test-wrapper-env) and
15337         $(host-built-program-cmd).
15338         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15339         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15340         tst-pathopt.sh.
15341         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15342         $(test-wrapper-env) to tst-rtld-load-self.sh.
15343         ($(objpfx)order2.out): Use $(test-wrapper).
15344         ($(objpfx)tst-initorder.out): Likewise.
15345         ($(objpfx)tst-initorder2.out): Likewise.
15346         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15347         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15348         (test_wrapper_env): New variable.  Use it to run ld.so.
15349         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15350         Use it to run ld.so.
15351         (test_wrapper_env): Likewise.
15352         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15353         $(test-wrapper) to run-iconv-test.sh.
15354         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15355         (ICONV): Use $test_wrapper.
15356         * posix/Makefile ($(objpfx)globtest.out): Pass
15357         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15358         globtest.sh, not $(run-program-prefix).
15359         * posix/globtest.sh (run_via_rtld_prefix): New variable.
15360         (test_wrapper): Likewise.
15361         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
15362         set together with run_via_rtld_prefix.
15363         (run_program_prefix): Define in terms of test_wrapper and
15364         run_via_rtld_prefix.
15366 2012-10-24  Roland McGrath  <roland@hack.frob.com>
15368         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15369         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15370         Targets removed.
15372         [BZ #14743]
15373         * include/time.h: Remove librt_hidden_proto (clock_gettime).
15374         Declare __clock_getres, __clock_gettime, __clock_settime,
15375         __clock_nanosleep, and __clock_getcpuclockid.
15376         * rt/clock_gettime.c: Define __clock_gettime as an alias.
15377         Remove librt_hidden_def (clock_gettime).
15378         * sysdeps/unix/clock_gettime.c: Likewise.
15379         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15380         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15381         * rt/clock_getres.c: Define __clock_getres as an alias.
15382         * sysdeps/posix/clock_getres.c: Likewise.
15383         * rt/clock_settime.c: Define __clock_settime as an alias.
15384         * sysdeps/unix/clock_settime.c: Likewise.
15385         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15386         * sysdeps/unix/clock_nanosleep.c: Likewise.
15387         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15388         * rt/clock-compat.c: New file.
15389         * rt/Makefile (librt-routines): Add clock-compat and move
15390         $(clock-routines) to ...
15391         (routines): ... here, new variable.
15392         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15393         Don't add get_clockfreq here.
15394         * rt/Versions (libc: GLIBC_2.17): New version set.
15395         Add clock_* symbols here.
15396         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
15397         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15398         (GLIBC_2.17): Add clock_* symbols.
15399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15403         Likewise.
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15405         Likewise.
15406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15410         * NEWS: Mention the move.
15412         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15413         Use __open, __read, __close rather than their public counterparts.
15414         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15415         (__get_clockfreq_via_cpuinfo): Likewise.
15416         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15417         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15419         * config.h.in (HAVE_IFUNC): New #undef.
15420         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15421         was successful.
15422         * configure: Regenerated.
15424 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15426         * configure.in: Move READELF check to start of file.
15427         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15428         libc_cv_asm_gnu_indirect_function in the process.
15429         * configure: Regenerated.
15431 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15433         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15434         send the output to /dev/null.
15435         (libc_cv_cc_with_libunwind): Likewise.
15436         (libc_cv_as_noexecstack): Likewise.
15437         * configure: Regenerate.
15439 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15441         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15443         * posix/globtest.sh (TMPDIR): Do not set.
15444         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15445         (testout): Likewise.
15447 2012-10-24  Andreas Jaeger  <aj@suse.de>
15449         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15450         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15451         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15452         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15453         posix_fadvise64, posix_fallocate64.
15455         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15456         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15457         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15458         Likewise.
15459         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15460         Likewise.
15461         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15463         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15464         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15465         <bits/fcntl-linux.h>.
15466         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15469         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15470         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15471         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15472         [__WORDSIZE != 64]: Likewise.
15474 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15476         * Makeconfig (run-built-tests): New variable.
15477         * Rules [$(cross-compiling) = yes]: Change condition to
15478         [$(run-built-tests) = no].
15479         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15480         to [$(run-built-tests) = yes].
15481         * elf/Makefile [$(cross-compiling) = no]: Likewise
15482         * grp/Makefile [$(cross-compiling) = no]: Likewise.
15483         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15484         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15485         * intl/Makefile [$(cross-compiling) = no]: Likewise.
15486         * io/Makefile [$(cross-compiling) = no]: Likewise.
15487         * libio/Makefile [$(cross-compiling) = no]: Likewise.
15488         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15489         * misc/Makefile [$(cross-compiling) = no]: Likewise.
15490         * posix/Makefile [$(cross-compiling) = no]: Likewise.
15491         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15492         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15493         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15494         * string/Makefile [$(cross-compiling) = no]: Likewise.
15496         * posix/Makefile ($(objpfx)globtest.out): Pass
15497         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15498         $(rtld-installed-name).
15499         * posix/globtest.sh (elf_objpfx): Remove variable.
15500         (rtld_installed_name): Likewise.
15501         (library_path): Likewise.
15502         (run_program_prefix): New variable.  Use for running globtest
15503         binary.
15505 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
15506             Joseph Myers  <joseph@codesourcery.com>
15508         * Makeconfig (host-built-program-cmd): New variable.
15509         * elf/Makefile (tst-stackguard1-ARGS): Use
15510         $(host-built-program-cmd).
15511         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15512         (tst-spawn-ARGS): Likewise.
15513         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15515 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15516             Jim Blandy  <jimb@codesourcery.com>
15518         * Makeconfig (run-via-rtld-prefix): New variable.
15519         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15520         (built-program-cmd): Likewise.
15522 2012-10-22  Andreas Jaeger  <aj@suse.de>
15524         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15525         __O_RSYNC if it exists, otherwise to O_SYNC.
15527 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
15528             Joseph Myers  <joseph@codesourcery.com>
15530         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15531         /dev/null.
15532         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15533         from /dev/null
15534         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15535         /dev/null.
15537 2012-10-22  Andreas Jaeger  <aj@suse.de>
15539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15540         Define always.
15541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15544         bits/fcntl-linux.h.
15546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15547         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15550         to __O_LARGEFILE.
15551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15552         to __O_LARGEFILE.
15554 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
15555             Joseph Myers  <joseph@codesourcery.com>
15557         * config.make.in (NM): New variable.
15559 2012-10-21  Andreas Jaeger  <aj@suse.de>
15561         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15562         definitions and declarations that are provided by
15563         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15565 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15567         [BZ #14683]
15568         * elf/Makefile (tests-static): Add tst-leaks1-static.
15569         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15570         ($(objpfx)tst-leaks1-static): New rule.
15571         ($(objpfx)tst-leaks1-static-mem): Likewise.
15572         (tst-leaks1-static-ENV): New macro.
15573         * elf/dl-open.c (dl_open_worker): Check the main application
15574         only if SHARED is defined.
15575         * elf/tst-leaks1-static.c: New file.
15577 2012-10-20  Andreas Jaeger  <aj@suse.de>
15579         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15580         generic values for Linux.
15581         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15582         and declarations that are provided by <bits/fcntl-linux.h> and
15583         include <bits/fcntl-linux.h>.
15584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15587 2012-10-20  Roland McGrath  <roland@hack.frob.com>
15589         * io/fcntl.h: Move include of <bits/types.h> to the top and
15590         include it unconditionally.
15592 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15594         * wcsmbs/Makefile (tests-ifunc): New variable.
15595         (tests): Add $(tests-ifunc).
15596         * wcsmbs/test-wcschr-ifunc.c: New file.
15597         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15598         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15599         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15600         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15601         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15603         * string/Makefile (tests-ifunc): New variable.
15604         (tests): Add $(tests-ifunc).
15605         * string/test-memccpy.c (TEST_NAME): New macro.
15606         * string/test-memchr.c (TEST_NAME): Likewise.
15607         * string/test-memcmp.c (TEST_NAME): Likewise.
15608         * string/test-memcpy.c (TEST_NAME): Likewise.
15609         * string/test-memmem.c (TEST_NAME): Likewise.
15610         * string/test-memmove.c (TEST_NAME): Likewise.
15611         * string/test-memset.c (TEST_NAME): Likewise.
15612         * string/test-rawmemchr.c (TEST_NAME): Likewise.
15613         * string/test-stpcpy.c (TEST_NAME): Likewise.
15614         * string/test-stpncpy.c (TEST_NAME): Likewise.
15615         * string/test-strcasecmp.c (TEST_NAME): Likewise.
15616         * string/test-strcasestr.c (TEST_NAME): Likewise.
15617         * string/test-strcat.c (TEST_NAME): Likewise.
15618         * string/test-strchr.c (TEST_NAME): Likewise.
15619         * string/test-strcmp.c(TEST_NAME): Likewise.
15620         * string/test-strcpy.c (TEST_NAME): Likewise.
15621         * string/test-strcspn.c (TEST_NAME): Likewise.
15622         * string/test-strlen.c (TEST_NAME): Likewise.
15623         * string/test-strncasecmp.c (TEST_NAME): Likewise.
15624         * string/test-strncmp.c (TEST_NAME): Likewise.
15625         * string/test-strncpy.c (TEST_NAME): Likewise.
15626         * string/test-strnlen.c (TEST_NAME): Likewise.
15627         * string/test-strpbrk.c (TEST_NAME): Likewise.
15628         * string/test-strrchr.c (TEST_NAME): Likewise.
15629         * string/test-strspn.c (TEST_NAME): Likewise.
15630         * string/test-strstr.c (TEST_NAME): Likewise.
15631         * string/test-bcopy-ifunc.c: New file.
15632         * string/test-bzero-ifunc.c: Likewise.
15633         * string/test-memccpy-ifunc.c: Likewise.
15634         * string/test-memchr-ifunc.c: Likewise.
15635         * string/test-memcmp-ifunc.c: Likewise.
15636         * string/test-memcpy-ifunc.c: Likewise.
15637         * string/test-memmem-ifunc.c: Likewise.
15638         * string/test-memmove-ifunc.c: Likewise.
15639         * string/test-mempcpy-ifunc.c: Likewise.
15640         * string/test-memset-ifunc.c: Likewise.
15641         * string/test-rawmemchr-ifunc.c: Likewise.
15642         * string/test-stpcpy-ifunc.c: Likewise.
15643         * string/test-stpncpy-ifunc.c: Likewise.
15644         * string/test-strcasecmp-ifunc.c: Likewise.
15645         * string/test-strcasestr-ifunc.c: Likewise.
15646         * string/test-strcat-ifunc.c: Likewise.
15647         * string/test-strchr-ifunc.c: Likewise.
15648         * string/test-strchrnul-ifunc.c: Likewise.
15649         * string/test-strcmp-ifunc.c: Likewise.
15650         * string/test-strcpy-ifunc.c: Likewise.
15651         * string/test-strcspn-ifunc.c: Likewise.
15652         * string/test-strlen-ifunc.c: Likewise.
15653         * string/test-strncasecmp-ifunc.c: Likewise.
15654         * string/test-strncat-ifunc.c: Likewise.
15655         * string/test-strncmp-ifunc.c: Likewise.
15656         * string/test-strncpy-ifunc.c: Likewise.
15657         * string/test-strnlen-ifunc.c: Likewise.
15658         * string/test-strpbrk-ifunc.c: Likewise.
15659         * string/test-strrchr-ifunc.c: Likewise.
15660         * string/test-strspn-ifunc.c: Likewise.
15661         * string/test-strstr-ifunc.c: Likewise.
15663         * debug/Makefile (tests-ifunc): New variable.
15664         (tests): Add $(tests-ifunc).
15665         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15666         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15667         * debug/test-stpcpy_chk-ifunc.c: New file.
15668         * debug/test-strcpy_chk-ifunc.c: Likewise.
15670 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15672         [BZ #13601]
15673         * elf/dl-load.c (open_verify): Retry read if the entire ELF
15674         header is not read in.
15676 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
15678         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
15679         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
15680         directly.  Pass built executable to script as
15681         $(built-program-cmd).
15682         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
15683         $testprogram without using LD_LIBRARY_PATH and $ldso.
15685         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15686         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15687         $(rtld-installed-name).
15688         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15689         (rtld_installed_name): Likewise.
15690         (library_path): Likewise.
15691         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
15692         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15693         $(run-program-prefix) to tst-tables.sh.
15694         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
15695         it to run tst-table-from and tst-table-to.
15696         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15697         Pass it to tst-table.sh.
15698         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15699         $(run-program-prefix) to tst-gettext.sh.
15700         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15701         tst-translit.sh.
15702         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15703         tst-gettext2.sh.
15704         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
15705         to run tst-gettext.
15706         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
15707         to run tst-gettext2.
15708         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
15709         to run tst-translit.
15710         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15711         $(run-program-prefix) to tst-mtrace.sh.
15712         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
15713         to run tst-mtrace.
15714         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15715         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15716         $(rtld-installed-name).
15717         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15718         (rtld_installed_name): Likewise.
15719         (run_program_prefix): New variable.  Use it to run wordexp-test.
15721         * Makeconfig (ARCH): Remove all definitions.
15722         (machine): Likewise.
15723         [ARCH]: Remove conditional code.
15724         [!objdir]: Give error.
15725         [!objdir] (objpfx): Remove.
15726         [!objdir] (common-objpfx): Likewise.
15727         [!objdir] (common-objdir): Likewise.
15728         * configure.in (config_makefile): Remove.  Hardcode Makefile in
15729         AC_CONFIG_FILES call.
15730         * configure: Regenerated.
15732         [BZ #13888]
15733         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15734         or TMPDIR.
15735         (testout): Likewise.
15737         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15738         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15739         $(rtld-installed-name).
15740         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15741         (rtld_installed_name): Likwise.
15742         (runit): Remove function.
15743         (run_getconf): New variable,  Use it for running getconf binary.
15745 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
15747         [BZ #14716]
15748         * string/test-memmem.c (check_result): New function.
15749         (do_one_test): Use it.
15750         (check1): New function.
15751         (test_main): Use it.
15753 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
15755         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15757 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
15759         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15760         (_G_LSEEK64): Likewise.
15761         (_G_MMAP64): Likewise.
15762         (_G_FSTAT64): Likewise.
15763         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15764         (_G_LSEEK64): Likewise.
15765         (_G_MMAP64): Likewise.
15766         (_G_FSTAT64): Likewise.
15767         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15768         unconditional.  Call __mmap64 directly.
15769         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15770         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
15771         __lseek64 directly.
15772         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15773         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
15774         __mmap64 directly.
15775         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15776         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15777         __lseek64 directly.
15778         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15779         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15780         __lseek64 directly.
15781         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15782         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15783         __lseek64 directly.
15784         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15785         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15786         __fxstat64 directly.
15787         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15788         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15789         unconditional.
15790         (freopen64) [!_G_OPEN64]: Remove conditional code.
15791         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15792         unconditional.
15793         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15794         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15795         unconditional.
15796         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15797         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15798         unconditional.
15799         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15800         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15801         unconditional.
15802         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15803         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15804         unconditional.
15805         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15806         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15807         unconditional.
15808         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15809         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15810         unconditional.
15811         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15813 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15815         [BZ #12140]
15816         * manual/memory.texi (Malloc Tunable Parameters): Add note
15817         about free list pointers overwriting some perturb bytes.
15818         Wording suggested by Roland McGrath.
15820 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15822         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15823         (lgamma_test): Likewise.
15824         (tgamma_test): Likewise.
15826 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15828         [BZ #14700]
15829         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15830         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15832 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15834         * NEWS: Mention BZ #14716.
15835         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15836         when removing AVAILABLE1_USES_J macro.
15838 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15840         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15841         (__bswap_64): __uint64_t for unsigned 64-bit int.
15843 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15845         * include/string.h (memmem): Declare libc hidden alias.
15846         * string/memmem.c (memmem): Define libc hidden alias.
15847         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15848         __read, __close instead of open, read, close.
15850 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15853         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15854         global and hidden.
15855         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15856         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15857         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15858         Likewise.
15859         (__rawmemchr_sse2): Likewise.
15860         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15861         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15862         (__strchr_sse2): Likewise.
15863         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15864         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15865         (__strcasecmp_sse2): Likewise.
15866         (__strncasecmp_sse2): Likewise.
15867         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15868         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15869         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15870         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15871         (__strrchr_sse2): Likewise.
15872         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15873         ifunc-impl-list.c.
15874         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15875         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15876         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15877         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15878         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15879         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15880         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15881         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15882         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15883         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15884         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15885         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15886         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15887         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15888         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15889         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15890         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15891         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15892         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15893         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15894         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15895         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15896         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15897         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15898         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15899         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15900         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15901         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15902         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15903         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15905         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15906         global and hidden.
15907         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15908         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15909         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15910         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15911         Likewise.
15912         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15913         Likewise.
15914         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15915         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15916         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15917         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15918         ifunc-impl-list.c.
15919         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15920         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15921         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15922         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15923         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15924         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15925         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15926         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15927         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15928         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15929         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15930         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15931         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15932         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15933         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15934         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15935         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15936         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15937         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15938         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15939         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15940         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15941         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15942         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15943         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15944         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15945         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15946         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15947         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15948         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15949         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15950         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15951         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15952         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15953         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15954         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15955         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15956         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15957         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15958         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15959         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15961         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15962         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15963         * include/ifunc-impl-list.h: New file.
15964         * misc/ifunc-impl-list.c: Likewise.
15965         * misc/Makefile (routines): Add ifunc-impl-list.
15966         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15967         * string/test-string.h: Include <ifunc-impl-list.h>.
15968         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15969         impl_array): New variables.
15970         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15971         are defined.
15972         (test_init): Call __libc_ifunc_impl_list to initialize
15973         func_list if TEST_IFUNC and TEST_NAME are defined.
15975         * string/Makefile (strop-tests): Add bcopy and bzero.
15976         * string/test-bcopy.c: New file.
15977         * string/test-bzero.c: Likewise.
15978         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15979         defined.
15980         * string/test-memset.c: Support bzero test if TEST_BZERO is
15981         defined.
15982         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15983         __libc_memmove.
15984         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15985         __libc_memset.
15986         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15987         of memset.
15989 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15991         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15992         * configure: Regenerated.
15994         * Makeconfig (+link-static-before-libc): Don't include
15995         $(link-static-libc).
15997         * libio/libio.h (_IO_pos_t): Remove.
15999 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16001         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
16002         McGrath.
16004 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16006         * crypt/crypt-entry.c: Include fips-private.h.
16007         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16008         * crypt/md5c-test.c (main): Tolerate disabled MD5.
16009         * sysdeps/unix/sysv/linux/fips-private.h: New file.
16010         * sysdeps/generic/fips-private.h: New file, dummy fallback.
16012 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16014         * crypt/crypt-private.h: Include stdbool.h.
16015         (_ufc_setup_salt_r): Return bool.
16016         * crypt/crypt-entry.c: Include errno.h.
16017         (__crypt_r): Return NULL with EINVAL for bad salt.
16018         * crypt/crypt_util.c (bad_for_salt): New.
16019         (_ufc_setup_salt_r): Check that salt is long enough and within
16020         the specified alphabet.
16021         * crypt/badsalttest.c: New file.
16022         * crypt/Makefile (tests): Add it.
16023         ($(objpfx)badsalttest): New.
16025 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
16027         * NEWS: Add entry for BZ #14602.
16029 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16031         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16032         type-generic.
16033         * math/libm-test.inc: Update comment listing what functions and
16034         macros are tested.
16035         (isgreater_test): New function.
16036         (isgreaterequal_test): Likewise.
16037         (isless_test): Likewise.
16038         (islessequal_test): Likewise.
16039         (islessgreater_test): Likewise.
16040         (isunordered_test): Likewise.
16041         (main): Call the new functions.
16043 2012-10-09  Roland McGrath  <roland@hack.frob.com>
16045         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16046         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16047         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16048         * sysdeps/i386/configure: Regenerated.
16049         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16050         * sysdeps/mach/configure: Regenerated.
16051         * sysdeps/mach/hurd/configure: Regenerated.
16052         * sysdeps/powerpc/configure: Regenerated.
16053         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16054         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16055         * sysdeps/s390/s390-32/configure: Regenerated.
16056         * sysdeps/s390/s390-64/configure: Regenerated.
16057         * sysdeps/sh/configure: Regenerated.
16058         * sysdeps/sparc/configure: Regenerated.
16059         * sysdeps/unix/sysv/linux/configure: Regenerated.
16060         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16061         * sysdeps/x86_64/configure: Regenerated.
16063         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16064         defined.  Don't check if MAP is NULL.
16066 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16068         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16069         (_G_stat64): Likewise.
16070         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16071         (_G_stat64): Likewise.
16072         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16073         instead of struct _G_stat64.
16074         * libio/fileops.c (mmap_remap_check): Likewise.
16075         (decide_maybe_mmap): Likewise.
16076         (_IO_new_file_seekoff): Likewise.
16077         (_IO_file_stat): Likewise.
16078         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16079         _G_off64_t.
16080         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16081         instead of struct _G_stat64.
16082         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16084 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
16086         [BZ #14602]
16087         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16088         Replace with ...
16089         (CHECK_EOL): New macro.
16090         (two_way_short_needle): Check beginning of haystack for EOL.  Use
16091         CHECK_EOL.
16092         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16093         Replace with CHECK_EOL.
16094         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16095         Replace with CHECK_EOL.
16097 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
16099         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16100         type-generic.
16101         * math/libm-test.inc: Update comment listing what functions and
16102         macros are tested.
16103         (finite_test): New function.
16104         (isinf_test): Likewise.
16105         (isnan_test): Likewise.
16106         (fpclassify_test): Test subnormal input.
16107         (isfinite_test): Likewise.
16108         (isnormal_test): Likewise.
16109         (main): Call the new functions.
16111 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
16113         [BZ #14660]
16114         * Makerules (%.dynsym): Force C locale when running
16115         $(OBJDUMP) --dynamic-syms.
16117 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
16119         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16120         <stdint.h>.
16122 2012-10-06  David S. Miller  <davem@davemloft.net>
16124         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16125         upper 32-bits of the length value in %o2 since we use branch-on-register
16126         tests which consider the entire 64-bit register.
16128 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
16130         * string/test-strstr.c (check2): Add a test for page boundary.
16132 2012-10-05  David S. Miller  <davem@davemloft.net>
16134         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16135         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16136         file.
16137         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16138         sysdep_routines.
16139         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16140         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16141         and bzero when HWCAP_SPARC_CRYPTO is present.
16143 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
16145         [BZ #14602]
16146         * string/test-strstr.c (check2): New function.
16147         (test_main): Call check2.
16149         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16150         and bug-strchr1.
16151         * string/bug-strcasestr1.c (do_test): Moved to ...
16152         * string/test-strcasestr.c (check1): Here.  New function.
16153         (do_one_test): Break out result checking code into ...
16154         (check_result): This.  New function.
16155         (do_one_test): Call check_result.
16156         (test_main): Call check1.
16157         * string/bug-strchr1.c (do_test): Moved to ...
16158         * string/test-strchr.c (check1): Here.  New function.
16159         (do_one_test): Break out result checking code into ...
16160         (check_result): This.  New function.
16161         (do_one_test): Call check_result.
16162         (test_main): Call check1.
16163         * string/bug-strstr1.c (main): Moved to ...
16164         * string/test-strstr.c (check1): Here.  New function.
16165         (do_one_test): Break out result checking code into ...
16166         (check_result): This.  New function.
16167         (do_one_test): Call check_result.
16168         (test_main): Call check1.
16169         * string/bug-strcasestr1.c: Removed.
16170         * string/bug-strchr1.c: Likewise.
16171         * string/bug-strstr1.c: Likewise.
16173         * elf/Makefile (dl-routines): Add hwcaps.
16174         * elf/dl-support.c (_dl_important_hwcaps): Removed.
16175         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16176         (_dl_important_hwcaps): Moved to ...
16177         * elf/dl-hwcaps.c: Here.  New file.
16178         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16180         [BZ #14557]
16181         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16182         if IS_IN_rtld isn't defined.
16184         * elf/dl-support.c (_dl_sysinfo_map): New.
16185         Include "get-dynamic-info.h" and "setup-vdso.h".
16186         (_dl_non_dynamic_init): Call setup_vdso.
16187         * elf/dynamic-link.h: Don't include <assert.h>.
16188         (elf_get_dynamic_info): Moved to ...
16189         * elf/get-dynamic-info.h: Here.  New file.
16190         * elf/dynamic-link.h: Include "get-dynamic-info.h".
16191         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16192         * elf/setup-vdso.h: Here.  New file.
16193         * elf/rtld.c: Include "setup-vdso.h".
16194         (dl_main): Call setup_vdso.
16196 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
16198         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16199         creal in comment listing functions tested.  List finite, isinf,
16200         isnan, isless, islessequal, isgreater, isgreaterequal,
16201         islessgreater, isunordered, lgamma_r and pow10 as functions and
16202         macros not tested.  Mention which functions not tested are aliases
16203         for other functions.  Fix typo.  Note that signs of NaNs are not
16204         tested.
16206         * scripts/config.guess: Update from config.git.
16207         * scripts/config.sub: Likewise.
16209 2012-10-04  Roland McGrath  <roland@hack.frob.com>
16211         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16212         * misc/madvise.c (madvise): Renamed to __madvise.
16213         Make madvise a weak alias.
16214         * include/sys/mman.h: Declare __madvise.
16215         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16216         * sysdeps/unix/syscalls.list
16217         (madvise): Make __madvise the strong name, and madvise a weak alias.
16218         * sysdeps/unix/sysv/linux/syscalls.list
16219         (madvise, mmap): Remove redundant entries.
16220         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16221         * malloc/malloc.c (mtrim): Likewise.
16222         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16224 2012-10-03  Roland McGrath  <roland@hack.frob.com>
16226         * sysdeps/mach/hurd/dl-cache.c: File removed.
16227         * config.h.in (USE_LDCONFIG): New #undef.
16228         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16229         * configure: Regenerated.
16230         * elf/Makefile (dl-routines): Add dl-cache only under
16231         [$(use-ldconfig) = yes].
16232         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16233         cache on [USE_LDCONFIG].
16234         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16235         [USE_LDCONFIG].
16236         * elf/rtld.c (dl_main): Likewise.
16238 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
16240         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16241         _SC_LEVEL4_CACHE_LINESIZE.
16243 2012-10-03  Roland McGrath  <roland@hack.frob.com>
16245         * sysdeps/unix/bsd/confstr.h: File removed.
16247 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
16249         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16250         sys/sdt-config.h.
16252 2012-10-02  Roland McGrath  <roland@hack.frob.com>
16254         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16255         Make 'mapoff' field ElfW(Off) rather than off_t.
16257 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
16259         * nscd/Makefile: Remove nscd-cflags and all its users.
16260         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16261         (CFLAGS-nonlib): Add compiler flags for nscd modules.
16263         [BZ #10631]
16264         * malloc.c (malloc_printerr): Clarify error message.
16266 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
16268         [BZ #14648]
16269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16270         Set bit_FMA_Usable if FMA is supported.
16271         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16272         macro.
16273         (bit_FMA4_Usable): Updated.
16274         (index_FMA_Usable): New macro.
16275         (CPUID_FMA): Likewise
16276         (HAS_FMA): Defined with bit_FMA_Usable.
16278 2012-10-01  Roland McGrath  <roland@hack.frob.com>
16280         * bits/types.h (__swblk_t): Type removed.
16281         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16282         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16283         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16284         (__SWBLK_T_TYPE): Likewise.
16285         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16286         (__SWBLK_T_TYPE): Likewise.
16287         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16288         (__SWBLK_T_TYPE): Likewise.
16289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16290         (__SWBLK_T_TYPE): Likewise.
16292 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
16293             Honza Horak <hhorak@redhat.com>
16295         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16296         (xdr_mapname): Use YPMAXMAP as maxsize.
16297         (xdr_peername): Use YPMAXPEER as maxsize.
16298         (xdr_keydat): Use YPAXRECORD as maxsize.
16299         (xdr_valdat): Use YPMAXRECORD as maxsize.
16301 2012-10-01  Roland McGrath  <roland@hack.frob.com>
16303         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16305         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16306         * csu/init-first.c: ... here.
16307         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16308         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16309         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16310         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16311         * sysdeps/i386/init-first.c: File removed.
16312         * sysdeps/sh/init-first.c: File removed.
16314 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
16316         [BZ #14645]
16317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16318         if x * y might underflow to zero and z is zero.
16319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16321         * math/libm-test.inc (min_subnorm_value): New variable.
16322         (fma_test): Add more tests.
16323         (fma_test_towardzero): Likewise.
16324         (fma_test_downward): Likewise
16325         (fma_test_upward): Likewise.
16326         (initialize): Set min_subnorm_value.
16328 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
16330         [BZ #14638]
16331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16332         0 + 0.
16333         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16334         mode for addition resulting in exact zero.
16335         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16336         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16337         exact 0 + 0.
16338         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16340         * math/libm-test.inc (fma_test): Add more tests.
16341         (fma_test_towardzero): New function.
16342         (fma_test_downward): Likewise.
16343         (fma_test_upward): Likewise.
16344         (main): Call the new functions.
16346 2012-09-28  David S. Miller  <davem@davemloft.net>
16348         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16350 2012-09-28  Roland McGrath  <roland@hack.frob.com>
16352         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16353         instead of SIGALRM.
16355         * sysdeps/gnu/_G_config.h: Moved to ...
16356         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16357         * sysdeps/mach/hurd/_G_config.h: Moved to ...
16358         * sysdeps/generic/_G_config.h: ... here.
16360         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
16362         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16364         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16365         Conditionalize target on [libnss_test1.so-version].
16367         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16369         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16370         (elfobjdir): Move out of conditionals.
16372         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16373         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16374         (__nss_lookup_function): Conditionalize label remove_from_tree on
16375         [!DO_STATIC_NSS || SHARED], matching its only use.
16377 2012-09-28  David S. Miller  <davem@davemloft.net>
16379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16380         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16381         file.
16382         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16383         sysdep_routines.
16384         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16386         when HWCAP_SPARC_CRYPTO is present.
16388 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16390         * io/tst-mknodat.c: Create a FIFO instead of a socket.
16392 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16394         [BZ #6530]
16395         * stdio-common/vfprintf.c (process_string_arg): Revert
16396         2000-07-22 change.
16398 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
16400         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16401         for testcase.
16402         * stdio-common/tst-sprintf.c: Include <locale.h>
16403         (main): Test sprintf's handling of incomplete multibyte
16404         characters.
16406 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
16408         * elf/dl-runtime.c (VERSYMIDX): Removed.
16409         * elf/dl-version.c (VERSYMIDX): Likewise.
16410         * elf/do-rel.h (VERSYMIDX): Likewise.
16411         (VALIDX): Likewise.
16412         * elf/dynamic-link.h (VERSYMIDX): Likewise.
16413         * elf/rtld.c (VALIDX): Likewise.
16414         (ADDRIDX): Likewise.
16415         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16416         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16417         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16418         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16419         (VALIDX): Likewise.
16420         (ADDRIDX): Likewise.
16422 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16424         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16426 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
16428         [BZ #11438]
16429         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16430         to global scope.
16431         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16432         addresses are in the same scope as 192.0.2/24.
16433         * posix/gai.conf: Document new scope table defaults.
16435 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16437         [BZ #5298]
16438         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16439         for ftell.  Compute offsets from write pointers instead.
16440         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16442 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16444         [BZ #14543]
16445         * libio/Makefile (tests): New test case tst-fseek.
16446         * libio/tst-fseek.c: New test case to verify that fseek/ftell
16447         combination works in wide mode.
16448         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16449         state when the external buffer state changes.
16451 2012-09-27  David S. Miller  <davem@davemloft.net>
16453         [BZ #14376]
16454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16455         pass reloc->r_addend in as the 'high' argument to
16456         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16460 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16462         * rt/tst-aio2.c: Include <pthread.h>.
16463         * rt/tst-aio3.c: Likewise.
16465 2012-09-27  Steve Ellcey  <sellcey@mips.com>
16467         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16469 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
16471         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16472         contents on [SHARED].
16474 2012-09-26  Marek Polacek  <polacek@redhat.com>
16476         [BZ #14530]
16477         [BZ #13741]
16478         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16479         for C++ and GCC <4.3 as well as for non GCC compilers.
16481 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16485 2012-09-25  Roland McGrath  <roland@hack.frob.com>
16487         * Makefile.in (all, install): Declare with .PHONY.
16488         Reported by Michael Hope <michael.hope@linaro.org>.
16490 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16492         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16493         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16494         system header.
16495         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16496         Likewise.
16497         (sydep_routines): Add the new and the internal functions.
16498         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16499         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16501         (GLIBC_2.17): Add the new function.
16502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16503         (GLIBC_2.17): Likewise.
16504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16505         (GLIBC_2.17): Likewise.
16506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16507         (GLIBC_2.17): Likewise.
16508         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16510 2012-09-25  Alan Modra  <amodra@gmail.com>
16512         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16513         Add release barrier before setting once_control to say
16514         initialisation is done.  Add hints on lwarx.  Use macro in
16515         place of isync.
16516         (clear_once_control): Add release barrier.
16518 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16520         [BZ #13629]
16521         * math/s_clog.c (__clog): Handle more values close to |z| = 1
16522         specially.
16523         * math/s_clog10.c (__clog10): Likewise.
16524         * math/s_clog10f.c (__clog10f): Likewise.
16525         * math/s_clog10l.c (__clog10l): Likewise.
16526         * math/s_clogf.c (__clogf): Likewise.
16527         * math/s_clogl.c (__clogl): Likewise.
16528         * math/Makefile (libm-calls): Add x2y2m1.
16529         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16530         (__x2y2m1): Likewise.
16531         (__x2y2m1l): Likewise.
16532         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16533         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16534         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16535         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16536         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16537         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16538         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16539         * sysdeps/i386/fpu/libm-test-ulps: Update.
16540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16542         [BZ #14621]
16543         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16544         int as type of variable DEPTH.
16545         (glob): Use size_t instead of int as type of variables NEWCOUNT
16546         and OLD_PATHC.
16548 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16550         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16551         Add s_sincosf-sse2.
16552         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16553         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16554         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16555         macros for using routine as __sincosf_ia32.
16556         Use macro for function declaration and weak_alias.
16557         * sysdeps/i386/fpu/libm-test-ulps: Update.
16559         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16562         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16563         subnormal argument.
16564         * math/s_cexpf.c (__cexpf): Likewise.
16565         * math/s_csinf.c (__csinf): Likewise.
16566         * math/s_csinhf.c (__csinhf): Likewise.
16567         * math/s_ctanf.c (__ctanf): Likewise.
16568         * math/s_ctanhf.c (__ctanhf): Likewise.
16569         * math/s_ccosh.c (__ccoshf): Likewise.
16570         * math/s_cexp.c (__cexpl): Likewise.
16571         * math/s_csin.c (__csin): Likewise.
16572         * math/s_csinh.c (__csinh): Likewise.
16573         * math/s_ctan.c (__ctan): Likewise.
16574         * math/s_ctanh.c (ctanh): Likewise.
16575         * math/s_ccoshl.c (__ccoshl): Likewise.
16576         * math/s_cexpl.c (__cexpl): Likewise.
16577         * math/s_csinl.c (__csinl): Likewise.
16578         * math/s_csinhl.c (__csinhl): Likewise.
16579         * math/s_ctanl.c (__ctanl): Likewise.
16580         * math/s_ctanhl.c (__ctanhl): Likewise.
16582 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16584         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16585         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16586         (_IO_off_t): Define to __off_t, not _G_off_t.
16587         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16588         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16589         (_IO_wint_t): Define to wint_t, not _G_wint_t.
16590         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16591         type of __dummy and __dummy2 fields.
16592         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16593         (_G_ssize_t): Likewise.
16594         (_G_off_t): Likewise.
16595         (_G_pid_t): Likewise.
16596         (_G_uid_t): Likewise.
16597         (_G_wchar_t): Likewise.
16598         (_G_wint_t): Likewise.
16599         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16600         (_G_ssize_t): Likewise.
16601         (_G_off_t): Likewise.
16602         (_G_pid_t): Likewise.
16603         (_G_uid_t): Likewise.
16604         (_G_wchar_t): Likewise.
16605         (_G_wint_t): Likewise.
16606         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16607         (_G_ssize_t): Likewise.
16608         (_G_off_t): Likewise.
16609         (_G_pid_t): Likewise.
16610         (_G_uid_t): Likewise.
16611         (_G_wchar_t): Likewise.
16612         (_G_wint_t): Likewise.
16614 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16616         * malloc/arena.c: Include malloc-sysdep.h.
16617         (shrink_heap): Use check_may_shrink_heap to decide if madvise
16618         is sufficient to shrink the heap or an unmap is needed.
16619         * sysdeps/generic/malloc-sysdep.h: New file.  Define
16620         new function check_may_shrink_heap.
16621         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
16622         new function check_may_shrink_heap.
16624 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16626         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16627         comments.
16629 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
16631         * catgets/test-gencat.sh: Add "set -e".
16632         * elf/tst-pathopt.sh: Likewise.
16633         * grp/tst_fgetgrent.sh: Likewise.
16634         * iconvdata/run-iconv-test.sh: Likewise.
16635         * intl/tst-gettext.sh: Likewise.
16636         * intl/tst-gettext2.sh: Likewise.
16637         * intl/tst-gettext4.sh: Likewise.
16638         * intl/tst-gettext6.sh: Likewise.
16639         * intl/tst-translit.sh: Likewise.
16640         * io/ftwtest-sh: Likewise.
16641         * libio/test-freopen.sh: Likewise.
16642         * malloc/tst-mtrace.sh: Likewise.
16643         * posix/globtest.sh: Likewise.
16644         * posix/tst-getconf.sh: Likewise.
16645         * posix/wordexp-tst.sh: Likewise.
16646         * stdio-common/tst-printf.sh: Likewise.
16647         * stdio-common/tst-unbputc.sh: Likewise.
16648         * stdlib/tst-fmtmsg.sh: Likewise.
16649         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16650         * catgets/Makefile: Do not specify -e option when running
16651         testsuite shell scripts.
16652         * elf/Makefile: Likewise.
16653         * grp/Makefile: Likewise.
16654         * iconvdata/Makefile: Likewise.
16655         * intl/Makefile: Likewise.
16656         * io/Makefile: Likewise.
16657         * libio/Makefile: Likewise.
16658         * malloc/Makefile: Likewise.
16659         * posix/Makefile: Likewise.
16660         * stdio-common/Makefile: Likewise.
16661         * stdlib/Makefile: Likewise.
16662         * sysdeps/x86_64/Makefile: Likewise.
16664         * io/ftwtest-sh: Add copyright header.
16665         * posix/globtest.sh: Likewise.
16666         * posix/tst-getconf.sh: Likewise.
16667         * posix/wordexp-tst.sh: Likewise.
16668         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16670 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
16672         [BZ #13679]
16673         * Makeconfig (+link): Defined as $(+link-static) if
16674         $(build-shared) isn't yes.
16675         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16676         isn't yes.
16677         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16679         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16681         [BZ #14562]
16682         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16683         new chunk size with MALLOC_ALIGN_MASK.
16685 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
16687         [BZ #5044]
16688         * stdio-common/printf_fphex.c: Include <stdbool.h> and
16689         <rounding-mode.h>.
16690         (__printf_fphex): Determine rounding using get_rounding_mode and
16691         round_away.
16692         * stdio-common/tst-printf-round.c (struct hex_test): New
16693         structure.
16694         (hex_tests): New variable.
16695         (test_hex_in_one_mode): New function.
16696         (do_test): Also run tests for hex float output.
16698 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
16700         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16701         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16702         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16703         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16704         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16705         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16706         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16707         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16709 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
16711         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16712         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16713         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16714         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16716 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
16718         [BZ #14579]
16719         * elf/rtld.c (dl_main): Limit the check for self loading to normal
16720         mode only.
16721         * elf/tst-rtld-load-self.sh: New test.
16722         * elf/Makefile: Run it.
16724 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
16726         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16727         (tst-writev-ENV): Remove.
16728         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16730 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
16732         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16734 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
16736         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16737         unconditional.
16738         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16739         Likewise.
16740         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16741         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16742         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16743         Likewise.
16745 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
16747         [BZ #14587]
16748         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16749         * config.make.in (have-cpp-asm-debuginfo): Removed.
16750         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16751         * configure: Regenerated.
16753 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
16755         [BZ #5044]
16756         * stdio-common/printf_fp.c: Include <stdbool.h> and
16757         <rounding-mode.h>.
16758         (___printf_fp): Determine rounding using get_rounding_mode and
16759         round_away.
16760         * stdio-common/tst-printf-round.c: New file.
16761         * stdio-common/Makefile (tests): Add tst-printf-round.
16762         (link-libm): New variable.
16763         ($(objpfx)tst-printf-round): Depend in $(link-libm).
16765 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
16767         [BZ #14576]
16768         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16769         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16770         Likewise.
16771         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16772         Likewise.
16774 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
16776         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16777         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16778         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16779         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16781 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16783         [BZ #14518]
16784         * include/rounding-mode.h: New file.
16785         * sysdeps/generic/get-rounding-mode.h: Likewise.
16786         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16787         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16788         (MAX_VALUE): New macro.
16789         (MIN_VALUE): Likewise.
16790         (overflow_value): New function.
16791         (underflow_value): Likewise.
16792         (round_and_return): Use overflow_value and underflow_value to
16793         determine return values in overflow and underflow cases.  Use
16794         round_away to determine rounding depending on rounding mode.
16795         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16796         determine return values in overflow and underflow cases.
16797         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16798         (struct test_results): New structure.
16799         (struct test): Use struct test_results to store expected results
16800         for all rounding modes.
16801         (TEST): Include expected results for all rounding modes.
16802         (test_in_one_mode): New function.
16803         (do_test): Use test_in_one_mode to compute and check results.
16804         Check results for all rounding modes.
16805         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16806         $(link-libm).
16808 2012-12-09  Allan McRae  <allan@archlinux.org>
16810         * sysdeps/i386/fpu/libm-test-ulps: Update
16812 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16814         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16815         (_G_int32_t): Likewise.
16816         (_G_uint16_t): Likewise.
16817         (_G_uint32_t): Likewise.
16818         (_G_HAVE_BOOL): Likewise.
16819         (_G_HAVE_ATEXIT): Likewise.
16820         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16821         (_G_HAVE_IO_FILE_OPEN): Likewise.
16822         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16823         (_G_int32_t): Likewise.
16824         (_G_uint16_t): Likewise.
16825         (_G_uint32_t): Likewise.
16826         (_G_HAVE_BOOL): Likewise.
16827         (_G_HAVE_ATEXIT): Likewise.
16828         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16829         (_G_HAVE_IO_FILE_OPEN): Likewise.
16830         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16831         (_G_int32_t): Likewise.
16832         (_G_uint16_t): Likewise.
16833         (_G_uint32_t): Likewise.
16834         (_G_HAVE_BOOL): Likewise.
16835         (_G_HAVE_ATEXIT): Likewise.
16836         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16837         (_G_HAVE_IO_FILE_OPEN): Likewise.
16839 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16841         * csu/libc-tls.c: Update copyright years.
16843 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16845         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16846         [!_G_USING_THUNKS]: Remove conditional code.
16847         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16848         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16850         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16851         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16852         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16853         (_G_VTABLE_LABEL_PREFIX): Likewise.
16854         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16855         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16856         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16857         (_G_VTABLE_LABEL_PREFIX): Likewise.
16858         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16859         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16860         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16861         (_G_VTABLE_LABEL_PREFIX): Likewise.
16862         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16864 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16866         * libio/Makefile: Include ../Makeconfig before tests.
16867         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16868         only if $(build-shared) is yes.
16870         * iconv/gconv_db.c: Update copyright years.
16872 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16874         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16875         unwind info if defined PIC. Fix special cases description.
16876         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16878         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16879         DP_HI_MASK entry.
16880         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16882 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16884         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16886         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16887         is NULL.
16889         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16890         (LDLIBS-tst-chk4): This.
16891         (LDFLAGS-tst-chk5): Renamed to ...
16892         (LDLIBS-tst-chk5): This.
16893         (LDFLAGS-tst-chk6): Renamed to ...
16894         (LDLIBS-tst-chk6): This.
16895         (LDFLAGS-tst-lfschk4): Renamed to ...
16896         (LDLIBS-tst-lfschk4): This.
16897         (LDFLAGS-tst-lfschk5): Renamed to ...
16898         (LDLIBS-tst-lfschk5): This.
16899         (LDFLAGS-tst-lfschk6): Renamed to ...
16900         (LDLIBS-tst-lfschk6): This.
16902         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16903         on $(common-objpfx)soversions.mk.
16905 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16907         [BZ #10014]
16908         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16909         example host name.
16911 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16913         * malloc/arena.c (arena_get_retry): New function that gets
16914         another arena for the caller to try its request on.
16915         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16916         current arena cannot fulfill the request.
16917         (__libc_memalign): Likewise.
16918         (__libc_memalign): Likewise.
16919         (__libc_pvalloc): Likewise.
16920         (__libc_calloc): Likewise.
16922 2012-09-05  John Tobey  <john.tobey@gmail.com>
16924         [BZ #13542]
16925         * manual/arith.texi (Operations on Complex): Fix description
16926         of carg branch cut.
16928 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16930         [BZ #10014]
16931         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16932         host name.
16934         [BZ #10038]
16935         * manual/memory.texi (Memory): Make order of menu items match
16936         order of sections.
16938 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16940         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16941         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16942         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16944 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16946         * csu/libc-tls.c (static_dtv): Renamed to ...
16947         (_dl_static_dtv): This.  Make it global.
16948         (_dl_initial_dtv): Removed.
16949         (__libc_setup_tls): Updated.
16950         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16951         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16952         DL_INITIAL_DTV.
16954 2012-09-06  Petr Machata  <pmachata@redhat.com>
16956         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16957         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16958         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16959         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16961 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16963         [BZ #14545]
16964         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16965         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16966         freeing dtv[-1].
16968 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16970         [BZ #14544]
16971         * Makeconfig (link-static-before-libc): Replace $(+prector)
16972         with $(+prectorT).
16973         (link-static-after-libc): Replace $(+postctor) with
16974         $(+postctorT).
16975         (link-bounded): Replace $(+prector)/$(+postctor) with
16976         $(+prectorT)/$(+postctorT).
16977         (+prectorT): New macro.
16978         (+postctorT): Likewise.
16980 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16982         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16983         (round_str): Handle values above the maximum for IBM long double
16984         as inexact.
16985         * stdlib/tst-strtod-round.c (tests): Regenerated.
16987 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16989         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16990         assembler flag.
16991         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16992         zarch_nohighgprs around the zarch optimized routines.
16993         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16994         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16995         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16996         for zarch.
16998 2012-09-05  David S. Miller  <davem@davemloft.net>
17000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17002         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17003         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17004         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17005         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17006         entries.
17008 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17010         * malloc/arena.c: Fold copyright years.
17011         * malloc/mcheck.c, malloc/memusage.c: Likewise.
17013 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17015         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17019         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
17021 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17023         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17024         change internal state upon failure.
17026 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17028         * malloc/mcheck.c (mcheck_check_all): Fix typo.
17029         * malloc/memusage.c (mmap): Likewise.
17030         (mmap64, mremap): Likewise.  Adjust name in comment.
17032 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17034         * libio/fileops.c: Fix typos in comments.
17035         * libio/oldfileops.c: Likewise.
17036         * libio/wfileops.c: Likewise.
17038 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17040         [BZ #1349]
17041         * malloc/Makefile (tests): Add tst-malloc-usable test case.
17042         (tst-malloc-usable-ENV): Set environment for test case.
17043         * malloc/hooks.c (malloc_check_get_size): New function to get
17044         requested size.
17045         * malloc/malloc.c (musable): Use malloc_check_get_size.
17046         * malloc/tst-malloc-usable.c: New test case.
17048 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17050         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17052 2012-09-05  Allan McRae  <allan@archlinux.org>
17054         [BZ #13966]
17055         * configure.in (CXX_SYSINCLUDES): Use compiler output to
17056         determine header location.
17057         * configure: Regenerated.
17059 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17061         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17062         float format.
17063         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17064         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17065         format.
17066         (test): Regenerate.
17068 2012-09-04  David S. Miller  <davem@davemloft.net>
17070         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17071         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17072         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17074 2012-09-04  Florian Weimer  <fweimer@redhat.com>
17076         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17077         failures.
17079         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17081 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
17083         [BZ #9914]
17084         * libio/iogetdelim.c: Include <limits.h>.
17085         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17086         + len + 1 would overflow.
17088 2012-09-03  Andreas Jaeger  <aj@suse.de>
17090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17091         * sysdeps/i386/fpu/libm-test-ulps: Update.
17093 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17095         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17096         Add s_sinf-sse2, s_conf-sse2.
17098         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17099         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17100         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17101         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17103         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17104         for using routine as __sinf_ia32.
17105         Use macro for function declaration and weak_alias.
17106         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17107         for using routine as __cosf_ia32.
17108         Use macro for function declaration and weak_alias.
17110         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17111         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17113         * sysdeps/x86_64/fpu/s_sinf.S: New file.
17114         * sysdeps/x86_64/fpu/s_cosf.S: New file.
17115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17117         * math/libm-test.inc (cos_test): Add more test cases.
17118         (sin_test): Likewise.
17119         (sincos_test): Likewise.
17121 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17123         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17124         (IFUNC_RESOLVE): Make pointers to the specialized implementations
17125         hidden.
17126         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17128 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
17130         [BZ #14538]
17131         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17132         first element of the GOT.
17133         (elf_machine_load_address): Return the difference between
17134         the runtime address of _DYNAMIC and elf_machine_dynamic ().
17136 2012-09-01  Allan McRae  <allan@archlinux.org>
17138         [BZ #13412]
17139         * configure.in (AWK): Require gawk version 3.0 or later.
17140         * configure: Regenerated.
17142 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
17144         * sysdeps/unix/sysv/linux/kernel-features.h
17145         (__ASSUME_POSIX_CPU_TIMERS): Remove.
17146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17147         [__NR_clock_getres]: Make code unconditional.
17148         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17149         (clock_getcpuclockid): Remove code left unreachable by removal of
17150         conditionals.
17151         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17152         code unconditional.
17153         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17154         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17155         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17156         Make code unconditional.
17157         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17158         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17159         * sysdeps/unix/sysv/linux/clock_settime.c
17160         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17161         conditional code.
17162         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17163         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17165 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
17167         [BZ #14476]
17168         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17169         scripts/test-installation.pl.
17171         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17172         and $ld_so_version if it is set.
17174 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17176         [BZ #14516]
17177         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17178         failure if reading from procfs failed.
17179         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17181 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
17183         * sysdeps/unix/sysv/linux/kernel-features.h
17184         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17185         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17186         Remove conditional code.
17187         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17188         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17189         Remove conditional code.
17190         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17191         * sysdeps/unix/sysv/linux/i386/fxstat.c
17192         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17193         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17194         * sysdeps/unix/sysv/linux/i386/fxstatat.c
17195         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17196         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17197         * sysdeps/unix/sysv/linux/i386/lxstat.c
17198         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17199         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17200         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17201         Remove conditional code.
17202         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17203         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17204         Remove conditional code.
17205         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17206         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17207         <kernel-features.h>.
17208         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17209         Remove.
17210         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17211         Remove conditional code.
17212         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17213         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17214         Remove conditional.
17216 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
17218         [BZ #5400]
17219         * NEWS: Add fixed bug number.
17221 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
17223         [BZ #14519]
17224         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17225         underflowing exponent in case of negative sign.
17226         * stdlib/tst-strtod-round-data: Add more tests.
17227         * stdlib/tst-strtod-round.c (tests): Regenerated.
17229         [BZ #3479]
17230         * stdlib/strtod_l.c (NDIG): Remove.
17231         (HEXNDIG): Likewise.
17232         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17233         smallest representable value.
17234         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17235         lie within an exact representation of 1/2 ulp of the result.
17236         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17237         unconditionally.
17238         (TENS_P9_IDX): Define unconditionally.
17239         (TENS_P9_SIZE): Likewise.
17240         (TENS_P10_IDX): Likewise.
17241         (TENS_P10_SIZE): Likewise.
17242         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17243         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17244         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17245         entries for 10^2^13 and 10^2^14.
17246         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17247         (TENS_P13_IDX): Define.
17248         (TENS_P13_SIZE): Likewise.
17249         (TENS_P14_IDX): Likewise.
17250         (TENS_P14_SIZE): Likewise.
17251         (_fpioconst_pow10): Change array size to
17252         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
17253         unconditional.
17254         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17255         1024]: Add entries for 10^2^13 and 10^2^14.
17256         [LAST_POW10 > _LAST_POW10]: Remove #error.
17257         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17258         (_fpioconst_pow10): Change array size to
17259         FPIOCONST_POW10_ARRAY_SIZE.
17260         * stdlib/gen-fpioconst.c: New file.
17261         * stdlib/gen-tst-strtod-round.c: Likewise.
17262         * stdlib/tst-strtod-round-data: Likewise.
17263         * stdlib/tst-strtod-round.c: Likewise.
17264         * stdlib/Makefile (tests): Add tst-strtod-round.
17266         [BZ #14459]
17267         * stdlib/strtod_l.c: Include <stdint.h>.
17268         (NDEBUG): Do not define.
17269         (round_and_return): Change EXPONENT parameter to type intmax_t.
17270         Rearrange calculations to avoid internal overflow possibilities.
17271         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17272         Rearrange calculations to avoid internal overflow possibilities.
17273         Assert that number fits inside MPNSIZE limbs.
17274         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17275         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
17276         calculations and add assertions to avoid internal overflow
17277         possibilities.  Add casts to avoid signed/unsigned operations.
17278         * stdlib/tst-strtod-overflow.c: New file.
17279         * stdlib/Makefile (tests): Add tst-strtod-overflow.
17281 2012-08-25  Marek Polacek  <polacek@redhat.com>
17283         * time/time.h: Fix some typos in comments.
17285 2012-08-23  Roland McGrath  <roland@hack.frob.com>
17287         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17288         * posix/tst-rfc3484-2.c: Likewise.
17289         * posix/tst-rfc3484-3.c: Likewise.
17291 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
17293         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17294         (EF_ARM_ABI_FLOAT_HARD): Likewise.
17296 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
17298         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17299         #include of fxstatat64.c.
17301 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17303         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17304         * shadow/getspent_r.c: Likewise.
17305         * shadow/getspnam.c: Likewise.
17306         * shadow/getspnam_r.c: Likewise.
17307         * gshadow/getsgent.c: Likewise.
17308         * gshadow/getsgent_r.c: Likewise.
17309         * gshadow/getsgnam.c: Likewise.
17310         * gshadow/getsgnam_r.c: Likewise.
17311         * inet/getnetbyad.c: Likewise.
17312         * inet/getnetbyad_r.c: Likewise.
17313         * inet/getnetbynm.c: Likewise.
17314         * inet/getnetbynm_r.c: Likewise.
17315         * inet/getnetent.c: Likewise.
17316         * inet/getnetent_r.c: Likewise.
17317         * inet/getproto.c: Likewise.
17318         * inet/getproto_r.c: Likewise.
17319         * inet/getprtent.c: Likewise.
17320         * inet/getprtent_r.c: Likewise.
17321         * inet/getprtname.c: Likewise.
17322         * inet/getprtname_r.c: Likewise.
17323         * inet/getrpcbyname.c: Likewise.
17324         * inet/getrpcbyname_r.c: Likewise.
17325         * inet/getrpcbynumber.c: Likewise.
17326         * inet/getrpcbynumber_r.c: Likewise.
17327         * inet/getrpcent.c: Likewise.
17328         * inet/getrpcent_r.c: Likewise.
17329         * inet/getaliasent.c: Likewise.
17330         * inet/getaliasent_r.c: Likewise.
17331         * inet/getaliasname.c: Likewise.
17332         * inet/getaliasname_r.c: Likewise.
17333         * nscd/getgrgid_r.c: Likewise.
17334         * nscd/getgrnam_r.c: Likewise.
17335         * nscd/gethstbyad_r.c: Likewise.
17336         * nscd/gethstbynm3_r.c: Likewise.
17337         * nscd/getpwnam_r.c: Likewise.
17338         * nscd/getpwuid_r.c: Likewise.
17339         * nscd/getsrvbynm_r.c: Likewise.
17340         * nscd/getsrvbypt_r.c: Likewise.
17341         * nscd/gai.c: Likewise.
17343         * configure.in (build_nscd): New substituted variable, set
17344         by --disable-build-nscd and defaults to $use_nscd.
17345         * configure: Regenerated.
17346         * config.make.in (build-nscd): New substituted variable.
17347         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17348         Change conditional to require [$(build-nscd) = yes] as well.
17349         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17351         [BZ# 13696]
17352         * configure.in (use_nscd): New substituted variable, set by
17353         --disable-nscd.  If enabled, define USE_NSCD.
17354         * configure: Regenerated.
17355         * config.h.in: Add USE_NSCD.
17356         * config.make.in (use-nscd): New substituted variable.
17357         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17358         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17359         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17360         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17361         (CFLAGS-getgrnam_r.c): Likewise.
17362         (CFLAGS-initgroups.c): Likewise.
17363         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17364         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17365         Variables removed.
17366         * inet/getnetgrent_r.c
17367         (nscd_setnetgrent): New function, broken out of ...
17368         (setnetgrent): ... here.  Call it.
17369         (innetgr): Conditionalize nscd bits on [USE_NSCD].
17370         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17371         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17372         * nscd/Makefile (routines, aux): Move definitions after include of
17373         Makeconfig.  Conditionalize on [$(use-nscd) != no].
17374         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17375         Conditionalize on [USE_NSCD].
17376         (is_nscd, nscd_init_cb): Likewise.
17377         (nss_load_library): Conditionalize init callback on [USE_NSCD].
17378         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17379         * nss/nss_db/db-init.c: Likewise.
17380         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17381         [USE_NSCD].
17382         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17383         (make_request): Use it.
17384         (cache_valid_p): New function.
17385         (__check_pf): Use it.
17386         * NEWS: Add item for --disable-nscd.
17388 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
17390         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17391         to support sed >= 4.2.1-20-ga9bf076.
17392         * configure: Regenerated.
17394 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17396         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17397         Conditionalize whole body on [IREL].
17399 2012-08-22  Jeff Law <law@redhat.com>
17401         [BZ #14505]
17402         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17403         if the family is PF_UNSPEC.
17405 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
17407         * Makerules (lib-version): Rename from V.
17408         (install-lib-nosubdir): Change V to lib-version.
17410 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
17412         [BZ #14252]
17413         * powerpc32/power6/wcschr.c: New file.
17414         * powerpc32/power6/wcscpy.c: New file.
17415         * powerpc32/power6/wcsrchr.c: New file.
17416         * powerpc64/power6/wcschr.c: New file.
17417         * powerpc64/power6/wcscpy.c: New file.
17418         * powerpc64/power6/wcsrchr.c: New file.
17420 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17422         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17423         (two_way_short_needle): Use it.
17424         * string/strstr.c (AVAILABLE1_USES_J): Define.
17425         * string/strcasestr.c: Likewise.
17427         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17428         array references.
17429         * string/strcasestr.c (TOLOWER): Make side-effect safe.
17431         [BZ #11607]
17432         * NEWS: Add an entry.
17433         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17434         define their defaults.
17435         (two_way_short_needle): Detect end-of-string on-the-fly.
17436         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17437         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17438         * string/bug-strcasestr1.c: New test.
17439         * string/Makefile: Run it.
17441 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17443         [BZ #11607]
17444         * string/str-two-way.h (two_way_short_needle): Optimize matching of
17445         the first character.
17447 2012-08-21  Roland McGrath  <roland@hack.frob.com>
17449         * csu/elf-init.c (__libc_csu_irel): Function removed.
17450         * csu/libc-start.c (apply_irel): New function.
17451         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17453 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
17455         * sysdeps/unix/sysv/linux/kernel-features.h
17456         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17457         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17458         <kernel-features.h>.
17459         [__NR_fadvise64_64]: Make code unconditional.
17460         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17461         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17462         !__NR_fadvise64_64)]: Likewise.
17463         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17464         !__NR_fadvise64_64))]: Likewise.
17465         [__NR_fadvise64]: Make code unconditional.
17466         [!__NR_fadvise64]: Remove conditional code.
17467         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17468         <kernel-features.h>.
17469         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17470         unconditional.
17471         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17472         conditional code.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17474         not include <kernel-features.h>.
17475         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17476         unconditional.
17477         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17478         conditional code.
17479         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17480         include <kernel-features.h>.
17481         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17482         unconditional.
17483         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17484         conditional code.
17486 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17488         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17489         slight instruction rearrangements per scrollpipe analysis.
17490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17492 2012-08-20  Roland McGrath  <roland@hack.frob.com>
17494         * manual/syslog.texi (syslog; vsyslog, closelog):
17495         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17496         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17498         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17499         DSOCAPS to match condition on defining it.
17501 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
17503         * sysdeps/unix/sysv/linux/kernel-features.h
17504         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17506         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17507         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17509         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17510         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17512         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17513         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17515         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17516         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17518         * sysdeps/unix/sysv/linux/kernel-features.h
17519         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17520         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17521         unconditional.
17522         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17523         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17524         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17525         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17526         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17527         Make code unconditional.
17528         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17529         (__mmap64) [!__NR_mmap2]: Likewise.
17530         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17531         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17532         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17533         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17534         [__NR_mmap2]: Make code unconditional.
17535         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17536         (__mmap64) [!__NR_mmap2]: Likewise.
17538 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17540         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17542 2012-08-18  Andreas Jaeger  <aj@suse.de>
17544         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17546 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17548         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17549         * include/unistd.h (__have_sock_cloexec): Likewise.
17550         (__have_pipe2): Likewise.
17551         (__have_dup3): Likewise.
17553 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17555         [BZ #9685]
17556         * include/unistd.h (__have_pipe2): Change define into an extern int.
17557         (__have_dup3): Likewise.
17558         * socket/have_sock_cloexec.c: Include fcntl.h.
17559         (__have_pipe2): New variable.
17560         (__have_dup3): Likewise.
17562 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
17564         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17566 2012-08-17  Marek Polacek  <polacek@redhat.com>
17568         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17569         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17571 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17573         * configure.in: Add AC_SUBST for sysheaders.
17574         * configure: Regenerated.
17575         * config.make.in (sysheaders): New substituted variable.
17577         * sysdeps/unix/mkfifo.c: Moved ...
17578         * sysdeps/posix/mkfifo.c: ... here.
17579         * sysdeps/unix/mkfifoat.c: Moved ...
17580         * sysdeps/posix/mkfifoat.c: ... here.
17582         * sysdeps/unix/utime.c: Moved ...
17583         * sysdeps/posix/utime.c: ... here.
17585         * sysdeps/unix/time.c: Moved ...
17586         * sysdeps/posix/time.c: ... here.
17587         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17588         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17590         * sysdeps/unix/nice.c: Moved ...
17591         * sysdeps/posix/nice.c: ... here.
17593         * sysdeps/unix/alarm.c: Moved ...
17594         * sysdeps/posix/alarm.c: ... here.
17596         * intl/Makefile ($(codeset_mo)): Depend on the input file.
17598 2012-08-17  Jeff Law <law@redhat.com>
17600         * intl/Makefile (codeset_mo): New variable.
17601         ($(codeset_mo)): New target.
17602         (tst-codeset.out): Depend on that.  Remove explicit rule.
17603         (tst-gettext3.out, tst-gettext5.out): Likewise.
17604         (LOCPATH-ENV, tst-codeset-ENV): New variables.
17605         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17606         * intl/tst-codeset.sh: Remove.
17607         * intl/tst-gettext3.sh: Likewise.
17608         * intl/tst-gettext5.sh: Likewise.
17610 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17612         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
17613         * sysdeps/unix/syscalls.list: ... here.
17615         * sysdeps/posix/getaddrinfo.c
17616         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17617         (gaiconf_init, gaiconf_reload): Use them.
17618         [!_STATBUF_ST_NSEC]
17619         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17620         Define using time_t rather than struct timespec.
17622         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17623         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17624         Macros removed.
17625         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17626         [!NO_THREADS].
17627         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17628         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17629         Likewise.
17631         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17632         __libc_cleanup_push argument.
17634         * bits/param.h: New file.
17635         * misc/sys/param.h: New file.
17636         * include/sys/param.h: New file.
17637         * misc/Makefile (headers): Add bits/param.h.
17638         * sysdeps/generic/sys/param.h: File removed.
17639         * sysdeps/unix/sysv/linux/bits/param.h: New file.
17640         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17641         * sysdeps/mach/hurd/bits/param.h: New file.
17642         * sysdeps/mach/hurd/sys/param.h: File removed.
17644         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17645         last change.
17647         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17648         [_IO_MTSAFE_IO].
17649         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17650         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17651         New macros.
17653         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17654         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17655         rather than -D_IO_MTSAFE_IO conditionally.
17656         * stdio-common/Makefile (CPPFLAGS): Likewise.
17657         * wcsmbs/Makefile (CPPFLAGS): Likewise.
17658         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17659         Use $(libio-mtsafe).
17660         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17661         of -D_IO_MTSAFE_IO.
17662         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17663         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17664         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17665         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17666         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17667         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17668         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17669         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17670         (CFLAGS-fread_u_chk.c): Likewise.
17671         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17672         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17673         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17674         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17675         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17676         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17677         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17678         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17679         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17681         * libio/Makefile: Test [$(libc-reentrant) = yes]
17682         instead of [$(filter %REENTRANT, $(defines)) nonempty].
17684         * Makeconfig
17685         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17686         * sysdeps/pthread/configure: File removed.
17687         * sysdeps/pthread/Makeconfig: New file.
17688         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17689         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17691 2012-08-16  Gary Benson  <gbenson@redhat.com>
17693         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17694         unmapping the first object in a namespace.
17696 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17698         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17699         (__internal_setnetgrent): ... this.  Add internal_function to
17700         definition.  Add libc_hidden_def.
17701         (setnetgrent): Update caller.
17702         (internal_endnetgrent): Renamed to ...
17703         (__internal_endnetgrent): ... this.  Add internal_function to
17704         definition.  Add libc_hidden_def.
17705         (endnetgrent): Update caller.
17706         (internal_getnetgrent_r): Renamed to ...
17707         (__internal_getnetgrent_r): ... this.  Add internal_function to
17708         definition.  Add libc_hidden_def.
17709         (__getnetgrent_r): Update caller.
17710         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
17712 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17714         * stdlib/longlong.h: Update from GCC.
17716 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17718         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17719         on _QL, which is set by umul_ppmm but never used.
17720         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17721         variables, which are set by GMP macros but never used.
17722         * stdio-common/_itowa.c (_itowa): Likewise.
17723         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17724         * stdlib/mod_1.c (mpn_mod_1): Likewise.
17726 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
17728         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17729         struct La_sh_regs is not constant.
17730         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17731         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17732         and struct La_sparc64_regs are not constant.
17734 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17736         * sysdeps/unix/sysv/linux/kernel-features.h
17737         (__ASSUME_POSIX_TIMERS): Remove.
17738         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17739         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17740         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17741         Make code unconditional.
17742         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17743         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17744         Make code unconditional.
17745         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17746         * sysdeps/unix/sysv/linux/clock_nanosleep.c
17747         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17748         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17749         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17750         Make code unconditional.
17751         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17752         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17753         (__libc_missing_posix_timers): Remove.
17755 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17757         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17758         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17760         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17762         * elf/dl-sym.c: Include <stdlib.h>.
17764         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17765         constants, which avoids warnings in 32-bit builds.
17767         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17768         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17770         * misc/lseek.c: File moved to ...
17771         * io/lseek.c: ... here.
17773         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17775         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17776         shifting LEN more than 31 bits at once.
17778 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17780         [BZ #14195]
17781         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17782         segmentation fault for a case of two empty input strings.
17783         * string/test-strncasecmp.c (check1): Renamed to...
17784         (bz12205): ...this.
17785         (bz14195): Add new testcase for two empty input strings and N > 0.
17786         (test_main): Call new testcase, adapt for renamed function.
17788 2012-08-15  Andreas Jaeger  <aj@suse.de>
17790         [BZ #14090]
17791         * crypt/md5test2.c: New test, based on test supplied by Serge
17792         Belyshev <belyshev@depni.sinp.msu.ru>.
17793         * crypt/Makefile (xtests): Add md5test-giant..
17794         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17796 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17798         [BZ #14090]
17799         * crypt/md5.c (md5_process_block): Don't assume the buffer
17800         length is less than 2**32.
17801         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17802         length is less than 2**64.
17804 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17806         * string/str-two-way.h: Include <sys/param.h>.
17807         (MAX): Macro removed.
17809         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17810         Move #define and #undef of memmove to just before and after
17811         including <string.h>.
17813         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17814         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17815         and after including <string.h>.  Move declarations of
17816         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17817         to before #include "string/memmove.c".
17819         * include/dirent.h: Declare __getdirentries.
17821         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17822         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17824 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17826         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17827         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17828         * sysdeps/i386/configure: Regenerated.
17829         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17830         STABS_CURRENT_FILE, and STABS_FUN.
17831         (END): Remove call to STABS_FUN_END.
17832         (STABS_CURRENT_FILE1): Delete.
17833         (STABS_CURRENT_FILE): Likewise.
17834         (STABS_FUN): Likewise.
17835         (STABS_FUN_END): Likewise.
17836         (STABS_FUN2): Likewise.
17837         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17838         * sysdeps/x86_64/configure: Regenerated.
17840 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17842         * elf/dl-open.c: Include <atomic.h>.
17843         * elf/dl-lookup.c: Likewise.
17845 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17847         * sysdeps/unix/sysv/linux/kernel-features.h
17848         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17849         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17850         unconditionally.
17851         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17852         unconditionally.
17853         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17854         condition on __ASSUME_CLONE_THREAD_FLAGS.
17856 2012-08-14  Andreas Jaeger  <aj@suse.de>
17858         * sysdeps/i386/fpu/libm-test-ulps: Update.
17860 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17862         * include/atomic.h (atomic_exchange_and_add): Split into ...
17863         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17864         New atomic macros.
17866 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17870 2012-08-13  Jeff Law <law@redhat.com>
17872         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17873         null byte in the output string.
17875 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17877         * sysdeps/unix/sysv/linux/kernel-features.h
17878         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17879         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17880         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17881         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17882         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17883         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17884         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17886 2012-08-09  Jeff Law <law@redhat.com>
17888         [BZ #13939]
17889         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17890         When avoid_arena is set, don't retry in the that arena.  Pick the
17891         next one, whatever it might be.
17892         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17893         (arena_lock): Pass in new parameter to arena_get2.
17894         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17895         arena_get2.
17896         (__libc_malloc): Unify retrying after main arena failure with
17897         __libc_memalign version.
17898         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17900 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17902         [BZ #14166]
17903         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17904         to __redirect_strstr.
17905         (__strstr_sse42): Use typeof __redirect_strstr.
17906         (__strstr_ia32): Likewise.
17907         (__libc_strstr): New prototype.
17908         (strstr): Renamed to ...
17909         (__libc_strstr): This.
17910         (strstr): New strong alias of __libc_strstr.
17911         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17912         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17913         __redirect_time.
17914         Include <time.h>.
17915         (__libc_time): New prototype.
17916         (time_ifunc): Replace time with __libc_time.
17917         (time): New strong alias and hidden definition of __libc_time.
17918         (__GI_time): Remove strong alias.
17919         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17920         Include <stddef.h>.
17921         (memmove): Redefined to __redirect_memmove.
17922         (__memmove_sse2): Use typeof __redirect_memmove.
17923         (__memmove_ssse3): Likewise.
17924         (__memmove_ssse3_back): Likewise.
17925         (__libc_memmove): New prototype.
17926         (memmove): Renamed to ...
17927         (__libc_memmove): This.
17928         (memmove): New strong alias of __libc_memmove.
17930 2012-08-08  Mark Salter  <msalter@redhat.com>
17932         * elf/elf.h
17933         (R_MN10300_TLS_GD): Define.
17934         (R_MN10300_TLS_LD): Likewise.
17935         (R_MN10300_TLS_LDO): Likewise.
17936         (R_MN10300_TLS_GOTIE): Likewise.
17937         (R_MN10300_TLS_IE): Likewise.
17938         (R_MN10300_TLS_LE): Likewise.
17939         (R_MN10300_TLS_DTPMOD): Likewise.
17940         (R_MN10300_TLS_DTPOFF): Likewise.
17941         (R_MN10300_TLS_TPOFF): Likewise.
17942         (R_MN10300_SYM_DIFF): Likewise.
17943         (R_MN10300_ALIGN): Likewise.
17944         (R_MN10300_NUM): Update.
17946 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17948         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17949         Remove.
17951 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17953         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17955         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17956         sysdeps/unix -> sysdeps/posix move.
17957         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17959 2012-08-07      Allan McRae     <allan@archlinux.org>
17961         [BZ #14303]
17962         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17963         (SUNOS_CPP): Likewise.
17964         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17965         not found.
17966         (open_input): Call CPP using execvp.
17968 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17970         * sysdeps/unix/sysv/linux/kernel-features.h
17971         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17972         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17973         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17974         (__ASSUME_WAITID_SYSCALL): Likewise.
17975         * sysdeps/unix/sysv/linux/dl-execstack.c
17976         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17977         code unconditional.
17978         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17979         conditional code.
17980         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17981         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17982         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17983         code.
17984         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17985         unconditional.
17986         [__ASSUME_WAITID_SYSCALL]: Likewise.
17987         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17989 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17991         * sysdeps/unix/closedir.c: Renamed to ...
17992         * sysdeps/posix/closedir.c: ... here.
17993         * sysdeps/unix/dirfd.c: Renamed to ...
17994         * sysdeps/posix/dirfd.c: ... here.
17995         * sysdeps/unix/dirstream.h: Renamed to ...
17996         * sysdeps/posix/dirstream.h: ... here.
17997         * sysdeps/unix/fdopendir.c: Renamed to ...
17998         * sysdeps/posix/fdopendir.c: ... here.
17999         * sysdeps/unix/opendir.c: Renamed to ...
18000         * sysdeps/posix/opendir.c: ... here.
18001         * sysdeps/unix/readdir.c: Renamed to ...
18002         * sysdeps/posix/readdir.c: ... here.
18003         * sysdeps/unix/readdir_r.c: Renamed to ...
18004         * sysdeps/posix/readdir_r.c: ... here.
18005         * sysdeps/unix/rewinddir.c: Renamed to ...
18006         * sysdeps/posix/rewinddir.c: ... here.
18007         * sysdeps/unix/seekdir.c: Renamed to ...
18008         * sysdeps/posix/seekdir.c: ... here.
18009         * sysdeps/unix/telldir.c: Renamed to ...
18010         * sysdeps/posix/telldir.c: ... here.
18011         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18012         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18013         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18014         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18016         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18017         * bits/fcntl.h: ... here.
18019         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18020         not 0.
18021         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18022         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18023         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18024         (struct flock): Move l_start, l_len to the beginning.
18025         Use __pid_t for l_pid.
18026         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18027         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18028         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18029         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18030         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18031         [__USE_LARGEFILE64] (struct flock64): New type.
18032         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18034         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18035         * bits/dirent.h: ... here.
18037         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18038         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18040 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18042         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18043         Change from 2.6.0 to 2.6.16.
18044         * sysdeps/unix/sysv/linux/configure: Regenerated.
18045         * sysdeps/unix/sysv/linux/kernel-features.h
18046         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18047         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18048         version.
18049         (__ASSUME_UTIMES): Likewise.
18050         (__ASSUME_CLONE_STOPPED): Remove.
18051         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18052         architectures, not kernel version.
18053         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18054         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18055         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18056         (__ASSUME_WAITID_SYSCALL): Likewise.
18057         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18058         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18059         * README: State 2.6.16 as minimum Linux kernel version.  Do not
18060         refer to older versions.
18062 2012-08-06  Roland McGrath  <roland@hack.frob.com>
18064         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18065         Define alphasort64 as an alias.
18066         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18067         Define versionsort64 as an alias.
18068         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18069         Define scandir64 as an alias.
18070         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18071         Define scandirat64 as an alias.
18072         * dirent/alphasort64.c (alphasort64):
18073         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18074         * dirent/versionsort64.c: Likewise.
18075         * dirent/scandir64.c: Likewise.
18076         * dirent/scandirat64.c: Likewise.
18077         * sysdeps/wordsize-64/alphasort.c: File removed.
18078         * sysdeps/wordsize-64/alphasort64.c: File removed.
18079         * sysdeps/wordsize-64/scandir.c: File removed.
18080         * sysdeps/wordsize-64/scandir64.c: File removed.
18081         * sysdeps/wordsize-64/scandirat.c: File removed.
18082         * sysdeps/wordsize-64/scandirat64.c: File removed.
18083         * sysdeps/wordsize-64/versionsort.c: File removed.
18084         * sysdeps/wordsize-64/versionsort64.c: File removed.
18085         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18086         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18087         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18088         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18089         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18090         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18091         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18092         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18094         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18095         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18096         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18098         [defined __arch64__ || defined __sparcv9]
18099         (__INO_T_MATCHES_INO64_T): New macro.
18100         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18101         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18102         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18103         * sysdeps/unix/sysv/linux/bits/dirent.h
18104         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18105         (_DIRENT_MATCHES_DIRENT64): New macro.
18107         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18108         Define lockf64 as an alias.
18109         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18110         Define fseeko64 as an alias.
18111         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18112         Define ftello64 as an alias.
18113         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18114         Define _IO_fgetpos64 and fgetpos64 as aliases.
18115         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18116         Define _IO_fsetpos64 and fsetpos64 as aliases.
18117         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18118         Conditionalize body on this.
18119         * libio/fseeko64.c: Likewise.
18120         * libio/ftello64.c: Likewise.
18121         * libio/iofgetpos64.c: Likewise.
18122         * libio/iofsetpos64.c: Likewise.
18123         * sysdeps/wordsize-64/lockf.c: File removed.
18124         * sysdeps/wordsize-64/lockf64.c: File removed.
18125         * sysdeps/wordsize-64/fseeko.c: File removed.
18126         * sysdeps/wordsize-64/fseeko64.c: File removed.
18127         * sysdeps/wordsize-64/ftello.c: File removed.
18128         * sysdeps/wordsize-64/ftello64.c: File removed.
18129         * sysdeps/wordsize-64/iofgetpos.c: File removed.
18130         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18131         * sysdeps/wordsize-64/iofsetpos.c: File removed.
18132         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18134         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18135         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18136         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18137         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18138         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18139         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18140         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18141         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18142         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18144         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18146         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18147         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18148         [defined __arch64__ || defined __sparcv9]
18149         (__OFF_T_MATCHES_OFF64_T): New macro.
18150         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18151         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18152         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18153         (__OFF_T_MATCHES_OFF64_T): New macro.
18155 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
18157         * stdlib/secure-getenv.c (__secure_getenv): Replace
18158         GLIBC_2_16 with GLIBC_2_17.
18160 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
18162         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18163         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18165 2012-08-03  David S. Miller  <davem@davemloft.net>
18167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18169 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
18171         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18172         Remove.
18173         (__ASSUME_CORRECT_SI_PID): Likewise.
18174         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18175         (__ASSUME_TMPFS_NAME): Likewise.
18176         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18177         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18178         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18179         (HAVE_AUX_SECURE): Make definition unconditional.
18180         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18181         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18183 2012-08-03  Roland McGrath  <roland@hack.frob.com>
18185         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18186         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18187         * sysdeps/mach/hurd/eloop-threshold.h: New file.
18188         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18189         __eloop_threshold instead of SYMLOOP_MAX.
18191         * sysdeps/generic/eloop-threshold.h: New file.
18192         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18193         of MAXSYMLINKS.
18194         * elf/chroot_canon.c (chroot_canon): Likewise.
18196 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
18198         [BZ #13717]
18199         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18200         Change to 2.6.0 everywhere.
18201         * sysdeps/unix/sysv/linux/configure: Regenerated.
18202         * sysdeps/unix/sysv/linux/kernel-features.h
18203         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18204         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18205         kernel versions.
18206         (__ASSUME_POSIX_TIMERS): Define unconditionally.
18207         (__ASSUME_FUTEX_REQUEUE): Remove.
18208         (__ASSUME_STATFS64): Define unconditionally.
18209         (__ASSUME_AT_SECURE): Likewise.
18210         (__ASSUME_CORRECT_SI_PID): Likewise.
18211         (__ASSUME_TGKILL): Define without depending on kernel version for
18212         i386.
18213         (__ASSUME_UTIMES): Likewise.
18214         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18215         kernel version.
18216         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18217         (__ASSUME_TMPFS_NAME): Likewise.
18218         * README: Update reference to Linux kernel versions.
18220 2012-08-02  Marek Polacek  <polacek@redhat.com>
18222         [BZ# 14150]
18223         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
18224         libc_cv_asm_type_prefix with %.
18225         * configure: Regenerated.
18226         * include/libc-symbols.h: Remove comment about
18227         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18228         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18229         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18230         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18231         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18232         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18233         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18234         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18235         * elf/tst-unique2mod1.c: Likewise.
18236         * elf/tst-unique1mod2.c: Likewise.
18237         * elf/tst-unique1mod1.c: Likewise.
18238         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18239         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18240         Replace ASM_TYPE_DIRECTIVE with .type.
18241         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18242         * sysdeps/i386/sysdep.h: Likewise.
18243         * sysdeps/x86_64/sysdep.h: Likewise.
18244         * sysdeps/sh/sysdep.h: Likewise.
18245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18246         Do not define ASM_TYPE_DIRECTIVE.
18247         * sysdeps/powerpc/sysdep.h: Likewise.
18248         * sysdeps/powerpc/powerpc32/sysdep.h:
18249         Replace ASM_TYPE_DIRECTIVE with .type.
18250         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18251         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18252         * sysdeps/i386/fpu/e_powf.S: Likewise.
18253         * sysdeps/i386/fpu/e_expl.S: Likewise.
18254         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18255         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18256         * sysdeps/i386/fpu/e_pow.S: Likewise.
18257         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18258         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18259         * sysdeps/i386/fpu/s_expm1.S: Likewise.
18260         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18261         * sysdeps/i386/fpu/e_log2.S: Likewise.
18262         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18263         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18264         * sysdeps/i386/fpu/e_powl.S: Likewise.
18265         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18266         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18267         * sysdeps/i386/fpu/e_logl.S: Likewise.
18268         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18269         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18270         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18271         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18272         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18273         * sysdeps/i386/fpu/e_log.S: Likewise.
18274         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18275         * sysdeps/i386/fpu/e_logf.S: Likewise.
18276         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18277         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18278         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18279         * sysdeps/i386/fpu/e_log10.S: Likewise.
18280         * sysdeps/i386/fpu/s_frexp.S: Likewise.
18281         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18282         * sysdeps/i386/fpu/s_asinh.S: Likewise.
18283         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18284         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18285         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18286         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18287         * sysdeps/i386/i686/strtok.S: Likewise.
18288         * sysdeps/i386/i386-mcount.S: Likewise.
18289         * sysdeps/i386/strtok.S: Likewise.
18290         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18291         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18292         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18293         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18294         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18295         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18296         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18297         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18298         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18299         * sysdeps/x86_64/_mcount.S: Likewise.
18300         * sysdeps/x86_64/strtok.S: Likewise.
18301         * sysdeps/sh/_mcount.S: Likewise.
18303 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18305         * libio/iofopen.c: Include <fcntl.h>.
18306         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18307         (_IO_fopen64, fopen64): Define as aliases.
18308         * libio/iofopen64.c: Include <fcntl.h>.
18309         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18310         Conditionalize body on this.
18311         * sysdeps/wordsize-64/iofopen.c: File removed.
18312         * sysdeps/wordsize-64/iofopen64.c: File removed.
18314 2012-08-01  Marek Polacek  <polacek@redhat.com>
18316         * libc/Makeconfig: Use elf in place of binfmt-subdir.
18317         Use dlfcn directly instead of a variable.
18318         (binfmt-subdir): Do not define.
18319         (dlfcn): Likewise.
18321 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
18323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18324         Remove all definitions.
18325         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18326         <kernel-features.h>.
18327         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18328         (miss_F_GETOWN_EX): Remove all definitions.
18329         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18330         macro definition.
18331         [!__ASSUME_FCNTL64]: Remove conditional code.
18332         [__ASSUME_FCNTL64]: Make code unconditional.
18333         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18334         <kernel-features.h>.
18335         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18336         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18337         (lockf64) [__NR_fcntl64]: Make code unconditional.
18338         (lockf64) [__ASSUME_FCNTL64]: Likewise.
18340         * sysdeps/unix/sysv/linux/kernel-features.h
18341         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18342         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18343         Make code unconditional.
18344         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18345         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18347         [__NR_vfork]: Make code unconditional.
18348         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18349         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18351         [__NR_vfork]: Make code unconditional.
18352         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18353         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18355 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18357         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18358         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18360         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18361         Define mkstemp64 as an alias.
18362         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18363         Define mkstemps64 as an alias.
18364         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18365         Define mkostemp64 as an alias.
18366         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18367         Define mkostemps64 as an alias.
18368         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18369         Conditionalize body on this.
18370         * misc/mkostemp64.c: Likewise.
18371         * misc/mkostemps64.c: Likewise.
18372         * misc/mkstemps64.c: Likewise.
18373         * sysdeps/wordsize-64/mkstemp64.c: File removed.
18374         * sysdeps/wordsize-64/mkostemp64.c: File removed.
18375         * sysdeps/wordsize-64/mkostemp.c: File removed.
18376         * sysdeps/wordsize-64/mkstemp.c: File removed.
18377         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18378         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18379         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18380         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18382         [BZ #14138]
18383         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18384         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18385         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18386         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18388         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18389         compat_symbol macros from <shlib-compat.h> rather than the underlying
18390         default_symbol_version and symbol_version macros, so that DEFAULT
18391         lines in shlib-versions are respected.
18392         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18394 2012-08-01  Florian Weimer  <fweimer@redhat.com>
18396         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18397         Declare with warn_unused_result.
18398         (setgid, setregid, setegid, setresgid): Likewise.
18399         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18400         Likewise.
18401         * WUR-REPORT: Remove set*id functions.
18403 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
18405         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18407 2012-07-31  Roland McGrath  <roland@hack.frob.com>
18409         [BZ #10191]
18410         * include/sys/socket.h (__libc_accept, __libc_accept4):
18411         Add attribute_hidden.
18412         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18414         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18415         use of PTR_MANGLE.
18416         * inet/getnetgrent_r.c (setup): Likewise.
18418         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18420 2012-07-31  David S. Miller  <davem@davemloft.net>
18422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18424 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
18426         [BZ #13629]
18427         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18428         value between 1.0 and 2.0 and smaller part has absolute value less
18429         than 1.0.
18430         * math/s_clog10.c (__clog10): Likewise.
18431         * math/s_clog10f.c (__clog10f): Likewise.
18432         * math/s_clog10l.c (__clog10l): Likewise.
18433         * math/s_clogf.c (__clogf): Likewise.
18434         * math/s_clogl.c (__clogl): Likewise.
18435         * math/libm-test.inc (clog_test): Add more tests.
18436         (clog10_test): Likewise.
18437         * sysdeps/i386/fpu/libm-test-ulps: Update.
18438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18440 2012-07-31  Florian Weimer  <fweimer@redhat.com>
18442         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18443         Exit with zero in case no suitable GID is found, and write a
18444         message to standard error.
18446 2012-07-30  Roland McGrath  <roland@hack.frob.com>
18448         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18449         rather than to 1.
18450         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18451         (MAXPATHLEN): Removed.
18452         (NOGROUP, NODEV): New macros.
18453         (setbit, clrbit, isset, isclr): New macros.
18454         (howmany, roundup, powerof2): New macros.
18455         (DEV_BSIZE): New macro.
18457         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18458         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18460         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18461         definition on [!__NO_LONG_DOUBLE_MATH].
18463         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18464         PTR_MANGLE and PTR_DEMANGLE.
18466         * socket/accept4.c (accept4): Rename to __libc_accept4.
18467         Define accept4 as a weak alias.
18469         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18470         on [_DIRENT_HAVE_D_TYPE].
18471         * io/ftw.c (ftw_dir): Likewise.
18473         * io/xmknod.c (__xmknod): Don't check PATH for being null.
18475         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18477         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18478         Use the BSD numbers rather than the arbitrary ones we had.
18479         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18480         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18481         (SIGXCPU, SIGXFSZ): New macros.
18482         (_NSIG): Now 32.
18484         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18485         initializer on [_LIBC_REENTRANT].
18487         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18488         definitions inside [_POSIX_MAPPED_FILES].
18490         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18492         * dirent/opendir.c: Include <fcntl.h>.
18494         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18495         (__libc_getspecific): Likewise.
18496         (__libc_key_create): Likewise.
18498         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18499         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18500         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18501         (tmpfile64): Define as alias.
18502         * sysdeps/wordsize-64/tmpfile.c: File removed.
18503         * sysdeps/wordsize-64/tmpfile64.c: File removed.
18504         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18505         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18507         * stdio-common/vfscanf.c: Include <stdbool.h>.
18508         * nss/makedb.c: Likewise.
18509         * stdio-common/_i18n_number.h: Likewise.
18510         * argp/argp-help.c: Likewise.
18511         * posix/wordexp.c: Likewise.
18512         * sysdeps/posix/spawni.c: Likewise.
18513         * nss/nss_files/files-initgroups.c: Likewise.
18514         * stdio-common/reg-modifier.c: Include <stdlib.h>.
18515         * nss/nss_files/files-initgroups.c: Likewise.
18516         * nss/nss_db/db-netgrp.c: Likewise.
18517         * nss/nss_db/db-initgroups.c: Likewise.
18518         * io/fchmodat.c: Include <sys/stat.h>.
18520         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18521         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18523         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18524         [HAVE_MMAP].
18526         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18527         Add multiple inclusion protection.
18529 2012-07-27  David S. Miller  <davem@davemloft.net>
18531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18533 2012-07-27  Gary Benson  <gbenson@redhat.com>
18535         [BZ #14298]
18536         * elf/rtld.c: Include <stap-probe.h>.
18537         (dl_main): Added static probes "init_start" and "init_complete".
18538         * elf/dl-load.c: Include <stap-probe.h>.
18539         (lose): Take new parameter "nsid".
18540         Added static probe "map_failed".
18541         (_dl_map_object_from_fd): Pass namespace id to lose.
18542         Added static probe "map_start".
18543         (open_verify): Pass namespace id to lose.
18544         * elf/dl-open.c: Include <stap-probe.h>.
18545         (dl_open_worker) Added static probes "map_complete", "reloc_start"
18546         and "reloc_complete".
18547         * elf/dl-close.c: Include <stap-probe.h>.
18548         (_dl_close_worker): Added static probes "unmap_start" and
18549         "unmap_complete".
18550         * elf/rtld-debugger-interface.txt: New file documenting the above.
18552 2012-07-26  Roland McGrath  <roland@hack.frob.com>
18554         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18555         rather than a string variable.
18556         * sunrpc/rpc_main.c (h_output): Likewise.
18557         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18559 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
18561         * inet/check_native.c: New file.
18563 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
18565         [BZ #13629]
18566         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18567         if larger part has absolute value 1.0.
18568         * math/s_clog10.c (__clog10): Likewise.
18569         * math/s_clog10f.c (__clog10f): Likewise.
18570         * math/s_clog10l.c (__clog10l): Likewise.
18571         * math/s_clogf.c (__clogf): Likewise.
18572         * math/s_clogl.c (__clogl): Likewise.
18573         * math/libm-test.inc (clog_test): Add more tests.
18574         (clog10_test): Likewise.
18575         * sysdeps/i386/fpu/libm-test-ulps: Update.
18576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18578         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18579         (pltexit): Likewise.
18580         (La_regs): Likewise.
18581         (La_retval): Likewise.
18582         (int_retval): Likewise.
18583         Update #error for removed macros to refer only to definitions in
18584         tst-audit.h.
18585         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18586         macro.
18587         (pltexit): Likewise.
18588         (La_regs): Likewise.
18589         (La_retval): Likewise.
18590         (int_retval): Likewise.
18591         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18592         macro.
18593         (pltexit): Likewise.
18594         (La_regs): Likewise.
18595         (La_retval): Likewise.
18596         (int_retval): Likewise.
18597         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18598         macro.
18599         (pltexit): Likewise.
18600         (La_regs): Likewise.
18601         (La_retval): Likewise.
18602         (int_retval): Likewise.
18603         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18604         macro.
18605         (pltexit): Likewise.
18606         (La_regs): Likewise.
18607         (La_retval): Likewise.
18608         (int_retval): Likewise.
18609         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18610         macro.
18611         (pltexit): Likewise.
18612         (La_regs): Likewise.
18613         (La_retval): Likewise.
18614         (int_retval): Likewise.
18615         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18616         macro.
18617         (pltexit): Likewise.
18618         (La_regs): Likewise.
18619         (La_retval): Likewise.
18620         (int_retval): Likewise.
18621         * sysdeps/generic/tst-audit.h: Update comment to refer only to
18622         macro definitions in tst-audit.h.
18623         * sysdeps/i386/tst-audit.h: New file.
18624         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18625         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18626         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18627         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18628         * sysdeps/sh/tst-audit.h: Likewise.
18629         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18630         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18631         * sysdeps/x86_64/tst-audit.h: Likewise.
18633 2012-07-26  Andreas Jaeger  <aj@suse.de>
18635         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18636         ptrace.
18638         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18639         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18640         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18641         PTRACE_O_MASK.
18642         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18643         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18644         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18646         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18647         value.
18649         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18650         _sigsys.
18651         (si_call_addr, si_syscall, si_arch): Define new macro.
18652         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18653         _sigsys.
18654         (si_call_addr, si_syscall, si_arch): Define new marcro.
18655         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18656         _sigsys.
18657         (si_call_addr, si_syscall, si_arch): Define new macro.
18658         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18659         _sigsys.
18660         (si_call_addr, si_syscall, si_arch): Define new macro.
18662 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18664         [BZ #13717]
18665         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18666         Change to 2.4.21 where previously 2.4.1.
18667         * sysdeps/unix/sysv/linux/configure: Regenerated.
18668         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18669         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18670         Linux kernel version.
18671         (__ASSUME_STD_AUXV): Remove.
18672         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18673         kernel version.
18674         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18675         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18676         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18677         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18678         (__ASSUME_NETLINK_SUPPORT): Likewise.
18679         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18680         (__no_netlink_support): Remove conditional definition.
18681         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18682         Remove.
18683         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18684         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18685         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18686         (if_nameindex_ioctl): Remove.
18687         (if_nameindex_netlink): Do not handle __no_netlink_support.
18688         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18689         code.
18690         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18691         Remove conditional code.
18692         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18693         code.
18694         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18695         unconditional.
18696         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18697         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18698         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18699         Remove.
18700         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18701         [!__ASSUME_STD_AUXV]: Remove conditional code.
18702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18703         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18704         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18706         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18707         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18708         code.
18709         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18711         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18712         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18713         conditional code.
18714         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18716         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18717         code.
18718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18719         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18720         conditional code.
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18722         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18723         code unconditional.
18724         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18725         conditional code.
18726         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18727         unconditional.
18728         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18729         conditional code.
18730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18731         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18732         unconditional.
18733         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18734         conditional code.
18735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18736         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18737         code unconditional.
18738         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18739         conditional code.
18740         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18741         unconditional.
18742         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18743         conditional code.
18744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18745         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18746         code unconditional.
18747         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18748         conditional code.
18749         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18750         unconditional.
18751         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18752         conditional code.
18754 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
18756         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18757         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18758         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18759         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18760         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18761         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18762         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18763         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18764         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18765         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18766         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18767         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18768         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18769         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18770         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18771         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18772         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18773         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18774         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18776         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18777         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18778         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18780 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18782         * Versions.def: Add GLIBC_2.17.
18783         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18784         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18785         Introduce __libc_secure_getenv.
18786         * stdlib/Versions (2.17): Add secure_getenv
18787         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18788         * stdlib/secure-getenv.c: Rename __secure_getenv to
18789         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18790         symbol __secure_getenv for GLIBC_2.0.
18791         * stdlib/tst-secure-getenv.c: New.
18792         * stdlib/Makefile (tests): Add testcase.
18793         * manual/startup.texi (Environment Access): Document
18794         secure_getenv.
18795         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18796         __libc_secure_getenv.
18797         * inet/ruserpass.c (ruserpass): Likewise.
18798         * malloc/mtrace.c (mtrace): Likewise.
18799         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18800         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18801         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18802         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18803         HAVE_SECURE_GETENV.
18804         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18805         __secure_getenv to __libc_secure_getenv.
18806         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18808         Likewise.
18809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18810         Likewise.
18811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18813         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18819 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18821         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18822         (struct La_i86_retval): Likewise.
18823         (struct La_x86_64_regs): Likewise.
18824         (struct La_x86_64_retval): Likewise.
18825         (struct La_x32_regs): Likewise.
18826         (struct La_x32_retval): Likewise.
18827         (struct La_ppc32_regs): Likewise.
18828         (struct La_ppc32_retval): Likewise.
18829         (struct La_ppc64_regs): Likewise.
18830         (struct La_ppc64_retval): Likewise.
18831         (struct La_sh_regs): Likewise.
18832         (struct La_sh_retval): Likewise.
18833         (struct La_s390_32_regs): Likewise.
18834         (struct La_s390_32_retval): Likewise.
18835         (struct La_s390_64_regs): Likewise.
18836         (struct La_s390_64_retval): Likewise.
18837         (struct La_sparc32_regs): Likewise.
18838         (struct La_sparc32_retval): Likewise.
18839         (struct La_sparc64_regs): Likewise.
18840         (struct La_sparc64_retval): Likewise.
18841         (struct audit_ifaces): Remove architecture-specific pltenter and
18842         pltexit members.
18843         * sysdeps/i386/ldsodefs.h: New file.
18844         * sysdeps/powerpc/ldsodefs.h: Likewise.
18845         * sysdeps/s390/ldsodefs.h: Likewise.
18846         * sysdeps/sh/ldsodefs.h: Likewise.
18847         * sysdeps/sparc/ldsodefs.h: Likewise.
18848         * sysdeps/x86_64/ldsodefs.h: Likewise.
18850 2012-07-25  Marek Polacek  <polacek@redhat.com>
18852         [BZ #6808]
18853         * math/libm-test.inc (yn_test): Add another test.
18854         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18855         to ERANGE when the result is +-Inf.
18856         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18857         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18858         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18859         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18861 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18863         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18864         equal to 0.
18865         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18866         clock_t.
18867         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18869 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18871         * configure.in <sysdeps resolving>: Correct printing
18872         Implies_before.
18873         * configure: Regenerate.
18875 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18877         * math/w_ilogb.c: Include <limits.h>.
18878         * math/w_ilogbl.c: Likewise.
18880 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18882         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18883         va_copy.  Document allowing for unavailable va_copy only as
18884         pre-C99 compatibility.
18885         * manual/string.texi (Copying and Concatenation): Use va_copy
18886         instead of __va_copy in concat example.
18888 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18890         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18891         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18892         it if not null.
18894         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18895         with O_NOLINK passed to __file_name_lookup.
18897         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18898         with O_NOLINK passed to __file_name_lookup.
18900         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18901         negative N or less than NGIDS.
18903         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18904         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18905         enough.  Use memcpy instead of strncpy.
18907 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18909         * elf/Makefile (check-data): Remove.
18910         (localplt.data): New vpath directive.
18911         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18912         instead of $(check-data).
18913         * scripts/data/localplt-generic.data: Move to ...
18914         * sysdeps/generic/localplt.data: ... here.
18915         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18916         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18917         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18919         ... here.
18920         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18922         ... here.
18923         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18925         ... here.
18926         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18928         ... here.
18929         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18931         ... here.
18932         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18934         ... here.
18936 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18938         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18939         PPC32 and PPC64 files.
18940         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18941         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18943 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18945         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18946         __makecontext_ret to ...
18947         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18948         ... here and call exit if uc_link is NULL.  New file.
18949         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18950         __makecontext_ret.S.
18951         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18952         __makecontext_ret to ...
18953         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18954         ... here and call exit if uc_link is NULL.  New file.
18955         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18956         __makecontext_ret.S.
18958 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18960         * elf/elf.h (R_390_IRELATIVE): New definition.
18961         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18962         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18963         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18964         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18965         (elf_machine_lazy_rel): Likewise.
18966         * sysdeps/s390/dl-irel.h: New file.
18967         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18968         * sysdeps/s390/s390-64/memset.S: New asm code.
18969         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18970         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18971         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18972         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18973         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18974         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18975         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18976         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18977         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18978         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18979         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18980         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18981         * sysdeps/s390/s390-32/memset.S: New asm code.
18982         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18984 2012-07-17  Marek Polacek  <polacek@redhat.com>
18986         [BZ #14349]
18987         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18988         * sysdeps/s390/s390-64/configure.in: Likewise.
18989         * sysdeps/sparc/configure.in: Likewise.
18990         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18991         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18992         * sysdeps/i386/configure.in: Likewise.
18993         * sysdeps/x86_64/configure.in: Likewise.
18994         * sysdeps/sh/configure.in: Likewise.
18995         * sysdeps/s390/s390-32/configure: Regenerated.
18996         * sysdeps/s390/s390-64/configure: Likewise.
18997         * sysdeps/x86_64/configure: Likewise.
18998         * sysdeps/sh/configure: Likewise.
18999         * sysdeps/powerpc/powerpc64/configure: Likewise.
19000         * sysdeps/powerpc/powerpc32/configure: Likewise.
19001         * sysdeps/sparc/configure: Likwise.
19002         * sysdeps/i386/configure: Likewise.
19004         * elf/dl-open.c: Comment fixes.
19006 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
19008         * Makefile [CXX] (check-data): Remove.
19009         [CXX] (c++-types.data): New vpath directive.
19010         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19011         vpath.  Do not allow for C++ type data being missing.
19012         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19013         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19014         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19015         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19016         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19017         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19018         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19020         ... here.
19021         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19023         ... here.
19024         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19026         ... here.
19027         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19029         ... here.
19030         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19032         ... here.
19033         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19035         ... here.
19036         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19038         ... here.
19039         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19042         * elf/tls-macros.h (TLS_LE): Move architecture-specific
19043         definitions to architecture-specific files.
19044         (TLS_IE): Likewise.
19045         (TLS_LD): Likewise.
19046         (TLS_GD): Likewise.
19047         * sysdeps/i386/tls-macros.h: New file.
19048         * sysdeps/powerpc/tls-macros.h: Likewise.
19049         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19050         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19051         * sysdeps/sh/tls-macros.h: Likewise.
19052         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19053         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19054         * sysdeps/x86_64/tls-macros.h: Likewise.
19056 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19058         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19059         zero value for regular exit case.
19061         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19062         (__start_context): Preserve zero value for regular exit case.
19064 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19065             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19067         * manual/setjmp.texi (setcontext): Clarify normal process
19068         termination when uc_link is the null pointer.
19069         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19070         exit call.
19072 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
19074         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19075         preprocessor.  Test for each exception mask separately.
19077 2012-07-16  Andreas Jaeger  <aj@suse.de>
19079         * po/ru.po: Update from translation team.
19081 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
19083         * conform/data/string.h-data (NULL): Use macro-constant.  Require
19084         equal to 0.
19085         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19086         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19087         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19088         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19089         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19091 2012-07-13  Andreas Jaeger  <aj@suse.de>
19093         * po/fr.po: Update from translation team.
19095 2012-07-12  Marek Polacek  <polacek@redhat.com>
19097         [BZ #14173]
19098         * math/libm-test.inc (yn_test): Add test for BZ #14173.
19099         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19100         loop condition.
19102 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
19104         [BZ #13717]
19105         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19106         Change to 2.4.1 where previously 2.4.0.
19107         * sysdeps/unix/sysv/linux/configure: Regenerated.
19108         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19109         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19110         version.
19111         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19112         (__ASSUME_AT_CLKTCK): Remove.
19113         (__ASSUME_AT_PAGESIZE): Likewise.
19114         (__ASSUME_AT_XID): Likewise.
19115         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19116         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19117         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19118         unconditionally.
19119         (HAVE_AUX_PAGESIZE): Likewise.
19120         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19121         [__ASSUME_AT_CLKTCK]: Make code unconditional.
19122         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19124 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
19126         [BZ #14307]
19127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19128         the temporary buffer used to invoke __gethostbyname2_r,
19129         __gethostbyaddr_r and gethostbyname4_r to make room for struct
19130         host_data / struct gaih_addrtuple.
19131         * resolv/nss_dns/dns-host.c (global scope): Move definition of
19132         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19133         header file nss/nsswitch.h.
19134         * nss/nsswitch.h (global scope): Add definition of implementation
19135         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19136         resolv/nss_dns/dns-host.c).
19138 2012-07-11  Andreas Jaeger  <aj@suse.de>
19140         * po/fr.po: Update from translation team.
19142         * po/sv.po: Update from translation team
19143         * po/fr.po: Another update from translation team.
19145 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19147         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19148         for subnormals or multiply small sinh result by itself.
19149         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19152 2012-07-11  David S. Miller  <davem@davemloft.net>
19154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19156 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
19158         [BZ #14347]
19159         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19160         (INTERNAL_MARK): Shift it here.
19162 2012-07-10  Marek Polacek  <polacek@redhat.com>
19164         [BZ #14151]
19165         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
19166         libc_cv_asm_global_directive with .globl.
19167         * configure: Regenerated.
19168         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19169         with .globl.
19170         * sysdeps/i386/configure: Regenerated.
19171         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19172         with .globl.
19173         * sysdeps/x86_64/configure: Regenerated.
19174         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19175         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19176         * elf/tst-unique2mod2.c: Likewise.
19177         * elf/tst-unique2mod1.c: Likewise.
19178         * elf/tst-unique1mod2.c: Likewise.
19179         * elf/tst-unique1mod1.c: Likewise.
19180         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19181         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19182         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19183         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19184         * sysdeps/mach/sysdep.h: Likewise.
19185         * sysdeps/i386/sysdep.h: Likewise.
19186         * sysdeps/i386/i386-mcount.S: Likewise.
19187         * sysdeps/x86_64/_mcount.S: Likewise.
19188         * sysdeps/x86_64/sysdep.h: Likewise.
19189         * sysdeps/sh/_mcount.S: Likewise.
19190         * sysdeps/sh/sysdep.h: Likewise.
19191         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19192         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19193         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19194         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19195         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19196         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19197         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19198         * locale/localeinfo.h: Likewise.
19199         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19200         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19202 2012-07-09  Roland McGrath  <roland@hack.frob.com>
19204         [BZ #14336]
19205         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19206         system".
19207         * manual/message.texi (The Uniforum approach): Likewise.
19208         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19209         (glibc iconv Implementation): Likewise.
19211 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
19213         [BZ #14337]
19214         * math/s_clog.c (__clog): Avoid scaling a value down where that
19215         could result in underflow.
19216         * math/s_clog10.c (__clog10): Likewise.
19217         * math/s_clog10f.c (__clog10f): Likewise.
19218         * math/s_clog10l.c (__clog10l): Likewise.
19219         * math/s_clogf.c (__clogf): Likewise.
19220         * math/s_clogl.c (__clogl): Likewise.
19221         * math/libm-test.inc (clog_test): Add more tests.
19222         (clog10_test): Likewise.
19223         * sysdeps/i386/fpu/libm-test-ulps: Update.
19224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19226 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
19228         [BZ #14283]
19229         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19230         by 7 not 8 to examine high bit of fractional part.
19232         [BZ #14042]
19233         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19234         for call to __mcount_internal.
19235         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19236         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19237         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19239 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
19241         [BZ #14154]
19242         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19243         approximation for values within 0x1p-13f of an odd multiple of
19244         pi/4.
19245         * math/libm-test.inc (tan_test): Do not allow spurious underflow
19246         exception.  Add more tests.
19247         * sysdeps/i386/fpu/libm-test-ulps: Update.
19249         [BZ #6778]
19250         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19251         inputs and return -1 for them.  Do not check for +Inf in case not
19252         reachable for +Inf.
19253         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19254         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19255         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19256         and return -1 for them.  Do not check for +Inf in case not
19257         reachable for +Inf.
19258         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19259         define.
19260         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19261         and return -1 for them.  Do not check for +Inf in case not
19262         reachable for +Inf.
19263         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
19264         spurious underflow.
19265         * sysdeps/i386/fpu/libm-test-ulps: Update.
19266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19268 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
19270         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19272 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
19274         [BZ #14157]
19275         [BZ #14331]
19276         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19277         could result in spurious underflow.  Scale down values above
19278         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19279         * math/s_csqrtf.c (__csqrtf): Likewise.
19280         * math/s_csqrtl.c (__csqrtl): Likewise.
19281         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
19282         spurious underflow.
19283         * sysdeps/i386/fpu/libm-test-ulps: Update.
19284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19286 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19288         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19289         xopen-msg.sed.
19290         * catgets/xopen-msg.awk: New file.
19291         * catgets/xopen-msg.sed: Removed.
19293         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19294         po2text.sed.
19295         * intl/po2test.awk: New file.
19296         * intl/po2test.sed: Removed.
19298 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
19300         [BZ #14328]
19301         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19302         or multiply small sinh result by itself.
19303         * math/s_ctanf.c (__ctanf): Likewise.
19304         * math/s_ctanh.c (__ctanh): Likewise.
19305         * math/s_ctanhf.c (__ctanhf): Likewise.
19306         * math/s_ctanhl.c (__ctanhl): Likewise.
19307         * math/s_ctanl.c (__ctanl): Likewise.
19308         * math/libm-test.inc (ctan_test_tonearest): New function.
19309         (ctan_test_towardzero): Likewise.
19310         (ctan_test_downward): Likewise.
19311         (ctan_test_upward): Likewise.
19312         (ctanh_test_tonearest): Likewise.
19313         (ctanh_test_towardzero): Likewise.
19314         (ctanh_test_downward): Likewise.
19315         (ctanh_test_upward): Likewise.
19316         (main): Call these new functions.
19317         * sysdeps/i386/fpu/libm-test-ulps: Update.
19318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19320 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
19322         * .gitignore: Delete /ports entry.
19324 2012-07-03  Andreas Jaeger  <aj@suse.de>
19326         * po/bg.po: Update from translation team.
19327         * po/cs.po: Likewise.
19328         * po/de.po: Likewise.
19329         * po/hr.po: Likewise.
19330         * po/nl.pl: Likewise.
19331         * po/pl.po: Likewise.
19332         * po/vi.po: Likewise.
19334 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
19336         * Makeconfig [!+link] (+link-before-libc): New variable.
19337         [!+link] (+link-after-libc): Likewise.
19338         [!+link] (+link-tests): Likewise.
19339         [!+link] (+link): Define in terms of $(+link-before-libc) and
19340         $(+link-after-libc).
19341         [!+link-static] (+link-static-before-libc): New variable.
19342         [!+link-static] (+link-static-after-libc): Likewise.
19343         [!+link-static] (+link-static-tests): Likewise.
19344         [!+link-static] (+link-static): Define in terms of
19345         $(+link-static-before-libc) and $(+link-static-after-libc).
19346         [build-shared] (link-libc-before-gnulib): New variable.
19347         [build-shared] (link-libc-tests): Likewise.
19348         [build-shared] (link-libc): Define in terms of
19349         $(link-libc-before-gnulib).
19350         [!build-shared] (link-libc-tests): New variable.
19351         (link-libc-static-tests): New variable.
19352         [!gnulib] (gnulib-arch): New variable.
19353         [!gnulib] (gnulib-tests): Likewise.
19354         [!gnulib] (static-gnulib-arch): Likewise.
19355         [!gnulib] (static-gnulib-tests): Likewise.
19356         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
19357         Define with "=" instead of ":=".
19358         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
19359         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
19360         * Rules (binaries-all-notests): New variable.
19361         (binaries-all-tests): Likewise.
19362         (binaries-static-notests): Likewise.
19363         (binaries-static-tests): Likewise.
19364         (binaries-all): Define using $(binaries-all-notests) and
19365         $(binaries-all-tests).
19366         (binaries-static): Define using $(binaries-static-notests) and
19367         $(binaries-static-tests).
19368         (binaries-shared-tests): New variable.
19369         (binaries-shared-notests): Likewise.
19370         (binaries-shared): Remove variable.
19371         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19372         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19373         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19374         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19375         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19376         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19377         * elf/Makefile (sln-modules): New variable.
19378         (extra-objs): Add $(sln-modules:=.o).
19379         (ldconfig-modules): Add static-stubs.
19380         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19381         * elf/static-stubs.c: New file.
19383         [BZ #14283]
19384         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19385         by 7 not 8 to examine high bit of fractional part.  Use volatile
19386         variables when splitting into final array of floats if
19387         __FLT_EVAL_METHOD__ != 0.
19388         * math/libm-test.inc (cos_test): Add another test.
19389         (sin_test): Likewise.
19390         * sysdeps/i386/fpu/libm-test-ulps: Update.
19392         [BZ #14273]
19393         * math/libm-test.inc (cosh_test): Add more tests.
19395         * version.h (RELEASE): Set to "development".
19396         (VERSION): Set to "2.16.90".
19398 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
19400         * NEWS: Update copyright. Remove last-updated date.
19401         Mention math library bug fixes and timezone data changes.
19402         * README: Mention GNU/Hurd, x32, and HPPA support status.
19404 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
19406         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19408 2012-06-27  Andreas Jaeger  <aj@suse.de>
19410         * manual/contrib.texi (Contributors): Add Samuel Thibault.
19412 2012-06-25  Andreas Jaeger  <aj@suse.de>
19414         * sysdeps/s390/fpu/libm-test-ulps: Update.
19416 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
19417             Thomas Schwinge  <thomas@codesourcery.com>
19419         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19420         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19421         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19422         fanotify_mark.
19424 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
19426         * sysdeps/mach/start.c: Remove file.
19427         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19428         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19429         * sysdeps/sh/init-first.c: Likewise.
19431         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19432         registers for frame unwinding purposes, add CFI directives.
19433         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19434         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19435         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19436         Likewise.
19438         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19439         __fortify_fail returning.
19440         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19442         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19443         sysdeps/sh/____longjmp_chk.S.
19444         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19445         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19446         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19447         (gen-as-const-headers): Append sigaltstack-offsets.sym.
19449         * sysdeps/sh/abort-instr.h: New file.
19450         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19451         process in case exit returns.
19453         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19454         initialize the GOT register before use.
19456         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19457         calculation of ARGC > 4.
19459         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19460         meaningful names to some local labels.
19462 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19463             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19465         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19466         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19467         (__arch_compare_and_exchange_val_16_acq): Likewise.
19468         (__arch_compare_and_exchange_val_32_acq): Likewise.
19469         (atomic_exchange_and_add): Fix gUSA sequence.
19470         (atomic_add): Likewise.
19471         (atomic_add_negative): Likewise.
19472         (atomic_add_zero): Likewise.
19473         (atomic_bit_test_set): Likewise.
19475 2012-06-22  Andreas Schwab  <schwab@redhat.com>
19477         [BZ #13579]
19478         * include/link.h (struct link_map): Add l_free_initfini.
19479         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19480         l_initfini.
19481         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19482         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19483         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19484         set.
19486 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
19488         * configure.in: Use AC_LANG_SOURCE.
19489         * configure: Regenerate.
19491 2012-06-22  Roland McGrath  <roland@hack.frob.com>
19493         * configure.in (libc_cv_localstatedir): New substituted variable.
19494         * configure: Regenerated.
19495         * config.make.in (localstatedir): New variable, substituted from
19496         libc_cv_localstatedir.
19497         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19498         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19499         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19500         * sysdeps/gnu/configure: Regenerated.
19502 2012-06-21  Jeff Law  <law@redhat.com>
19504         [BZ #14277]
19505         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19506         free.  Simplify list management for _LIBC case.
19508 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
19510         [BZ #14273]
19511         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19512         Clear sign bit of 64-bit integer value before comparing against
19513         overflow value.
19515         * sysdeps/mach/configure: Regenerated.
19517 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
19519         [BZ #14278]
19520         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19522 2012-06-21  Jeff Law  <law@redhat.com>
19524         [BZ #13882]
19525         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
19526         uint16_t for elements in the "seen" array to avoid char overflows.
19527         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19528         * elf/dl-open.c (dl_open_worker): Likewise.
19530 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
19532         * scripts/list-sources.sh: Scan PORTS for translations.
19533         * po/libc.pot: Regenerated.
19535 2012-06-21  Andreas Jaeger  <aj@suse.de>
19537         [BZ #12194]
19538         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19539         warning.
19540         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19541         * bits/byteswap-16.h (__bswap_16): Likewise.
19542         * bits/byteswap.h (__bswap_constant_16): Likewise.
19544 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
19546         [BZ #14117]
19547         * sysdeps/i386/fpu_control.h: Removed.
19548         * sysdeps/x86_64/fpu_control.h: Moved to ...
19549         * sysdeps/x86/fpu_control.h: Here.
19551         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19552         (_FPU_SETCW): Likewise.
19554 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
19556         [BZ #14117]
19557         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19558         * sysdeps/x86/fpu/bits/mathinline.h: This.
19559         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19561         [BZ #14050]
19562         [BZ #14117]
19563         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19564         functions if __x86_64__ is defined.
19566 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
19568         * string/endian.h: Add !__ASSEMBLER__ condition for including
19569         conversion interfaces.
19571 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
19573         [BZ #14241]
19574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19575         of ABS(x) in calculating zero to negative powers other than odd
19576         integers.
19577         * math/libm-test.inc (pow_test): Add more tests.
19579 2012-06-15  Andreas Jaeger  <aj@suse.de>
19581         * manual/contrib.texi (Contributors): Update entry of Liubov
19582         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19583         Machado Filho.
19585 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
19587         * string/string.h: Add __wur to GNU version of strerror_r.
19589 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
19591         [BZ #14229]
19592         * string/Makefile (tests): Add tst-strtok_r.
19593         * string/tst-strtok_r.c: New file.
19594         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19595         RAX_LP/RDX_LP on SAVE_PTR.
19597 2012-06-14  Roland McGrath  <roland@hack.frob.com>
19599         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19601 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
19603         * libm_test.inc (csqrt_test): Allow more spurious underflow
19604         exceptions.
19605         (j0_test): Likewise.
19606         (j1_test): Likewise.
19607         (y0_test): Likewise.
19608         (y1_test): Likewise.
19610 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
19612         * po/Makefile (libc.pot): Use UTF-8 charset.
19614 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
19616         [BZ #14210]
19617         Suppress sign-conversion warning from FD_SET.
19618         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19619         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19620         not unsigned long int.
19621         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19623 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
19625         [BZ #14050]
19626         [BZ #14117]
19627         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19628         __extern_always_inline instead of __extern_inline.
19629         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19630         (__signbit): Likewise.
19631         (__signbitl): Support C++ namespace.
19632         (lrintf): New inline function.
19633         (lrint): Likewise.
19634         (llrintf): Likewise.
19635         (llrint): Likewise.
19636         (fmaxf): Likewise.
19637         (fmax): Likewise.
19638         (fminf): Likewise.
19639         (fmin): Likewise.
19640         (rint): Likewise.
19641         (rintf): Likewise.
19642         (ceil): Likewise.
19643         (ceilf): Likewise.
19644         (floor): Likewise.
19645         (floorf): Likewise.
19646         (nearbyint): Likewise.
19647         (nearbyintf): Likewise.
19649 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
19651         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19652         non-default versions.
19654 2012-06-11  Roland McGrath  <roland@hack.frob.com>
19656         [BZ #14218]
19657         * manual/argp.texi (Argp): Reword argp_parse description slightly.
19659 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
19661         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19662         (FE_UPWARD, FE_DOWNWARD): Don't define.
19663         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19664         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19666         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19667         reading it.
19668         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19669         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19671 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19673         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19675         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19676         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19678 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19680         [BZ #14117]
19681         * sysdeps/i386/fpu/bits/fenv.h: Removed.
19682         * sysdeps/i386/fpu/Implies: New file.
19683         * sysdeps/x86_64/fpu/Implies: Likewise.
19684         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19685         * sysdeps/x86/fpu/bits/fenv.h: This.
19687         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19688         __SSE_MATH__.
19690 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19692         [BZ #14134]
19693         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19694         character 0xffff that matches the last element of the
19695         conversion table.
19697 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19699         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19700         fmodl commit.
19702 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19704         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19705         values higher than 25.6283.
19707 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19709         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19710         subnormal exponent extraction and add some __builtin_expect.
19711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19712         Fix for subnormal mantissa calculation.
19714 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
19716         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19717         cpu2 is -1 and errno is not ENOSYS.
19719 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
19721         [BZ #14117]
19722         * sysdeps/i386/i486/bits/string.h: Renamed to ...
19723         * sysdeps/x86/bits/string.h: This.
19724         * sysdeps/x86_64/bits/string.h: Removed.
19726         * sysdeps/i386/i486/bits/string.h: Define inline functions only
19727         if not compiling for x86-64, but compiling for >= i486.
19729         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19730         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19732         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19733         New macro from Linux kernel 3.4.0.
19734         (FP_XSTATE_MAGIC2): Likewise.
19735         (FP_XSTATE_MAGIC2_SIZE): Likewise.
19736         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19737         (struct _fpx_sw_bytes): New struct.
19738         (struct _xsave_hdr): Likewise.
19739         (struct _ymmh_state): Likewise.
19740         (struct _xstate): Likewise.
19742         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19743         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19744         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19745         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19746         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19747         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19749         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19750         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19751         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19752         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19753         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19754         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19756 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19758         [BZ #13743]
19759         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19760         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19761         (sysdep_headers): Include sys/platform/ppc.h.
19762         * sysdeps/powerpc/test-gettimebase.c: Test for
19763         __ppc_get_timebase() to catch future ISA opcode/insn changes.
19764         * manual/Makefile (appendices): Include platform.texi.
19765         * manual/contrib.texi (Contributors): Update @node pointers.
19766         * manual/maint.texi (Maintenance): Likewise.
19767         (Platform): New node.
19768         * manual/platform.texi: New file.  Document the new features.
19770 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19771             Jakub Jelinek  <jakub@redhat.com>
19773         [BZ #14188]
19774         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19775         where __builtin_expect is unavailable.
19777 2012-06-03  David S. Miller  <davem@davemloft.net>
19779         * stdlib/longlong.h: Updated from GCC.
19781 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19783         [BZ #14042]
19784         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19785         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19786         __mcount_internal.
19787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19788         (GLIBC_2.16): Likewise.
19790 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19792         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19794 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19797         (default-abi): New variable.
19798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19799         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19800         variable.
19801         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19802         Likewise.
19803         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19804         Likewise.
19805         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19806         Likewise.
19808         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19809         definition.  Document in comment.
19811 2012-06-01  David S. Miller  <davem@davemloft.net>
19813         * stdlib/longlong.h: Updated from GCC.
19815 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19817         [BZ #14117]
19818         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19819         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19820         sys/debugreg.h sys/io.h here.
19821         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19822         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19823         sys/io.h.
19824         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19825         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19826         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19827         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19828         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19829         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19831         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19832         Define only if __x86_64__ is defined.
19834 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19836         [BZ #14048]
19837         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19838         Use int64_t for variable i.
19839         * math/libm-test.inc (fmod_test): Add more tests.
19841         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19842         z computation is not scheduled after fetestexcept.
19843         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19844         Use math_force_eval instead of asm to ensure calculation scheduled
19845         before exception test.
19846         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19847         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19849 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19852         computation is not scheduled after fetestexcept.
19854 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19856         [BZ #14117]
19857         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19858         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19860 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19862         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19863         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19865 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19867         [BZ #14117]
19868         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19869         <bits/wordsize.h>.
19870         (__WCHAR_MIN): Support __WORDSIZE == 64.
19871         (__WCHAR_MAX): Likewise.
19873         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19874         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19876         [BZ #14183]
19877         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19878         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19880         [BZ #14117]
19881         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19882         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19884         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19885         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19887         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19888         Defined to 1 if __x86_64__ isn't defined.
19889         (_STAT_VER_LINUX_OLD): New.
19890         (st_atime): Remove duplicate.
19891         (st_mtime): Likewise.
19892         (st_ctime): Likewise.
19894 2012-05-31  David S. Miller  <davem@davemloft.net>
19896         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19897         entries.
19899 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19901         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19902         gen-libm-test.pl.
19904         [BZ #14132]
19905         * elf/dl-reloc.c: Include <_itoa.h>.
19906         (_dl_reloc_bad_type): Remove use of INTUSE.
19907         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19908         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19909         * stdio-common/psiginfo.c (psiginfo): Likewise.
19910         * stdio-common/psignal.c (psignal): Likewise.
19911         * string/strsignal.c (strsignal): Likewise.
19912         * include/signal.h (_sys_siglist): Declare hidden proto.
19913         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19914         INTVARDEF with libc_hidden_data_def.
19915         * stdio-common/itoa-udigits.c: Likewise.
19916         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19917         (_itoa_lower_digits_internal): Remove declaration.
19918         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19919         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19920         (_sys_sigabbrev_internal): Remove aliases.
19921         (_sys_siglist): Define hidden alias.
19923 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19926         bits/sysctl.h.
19928 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19930         [BZ #14117]
19931         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19932         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19934         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19935         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19936         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19937         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19938         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19939         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19941         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19942         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19943         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19945         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19946         with __addr.
19947         (insw): Likewise.
19948         (insl): Likewise.
19949         (outsb): Likewise.
19950         (outsw): Likewise.
19951         (outsl): Likewise.
19953         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19954         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19955         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19957         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19958         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19959         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19960         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19961         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19962         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19964         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19965         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19967         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19968         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19970         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19971         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19972         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19974         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19975         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19976         to ...
19977         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19979         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19980         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19981         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19983         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19984         for x86-64.
19985         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19987 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19989         * math/math.h (M_El): Use two more decimal places.
19990         (M_LOG2El): Likewise.
19991         (M_LOG10El): Likewise.
19992         (M_LN2l): Likewise.
19993         (M_LN10l): Likewise.
19994         (M_PIl): Likewise.
19995         (M_PI_2l): Likewise.
19996         (M_PI_4l): Likewise.
19997         (M_1_PIl): Likewise.
19998         (M_2_PIl): Likewise.
19999         (M_2_SQRTPIl): Likewise.
20000         (M_SQRT2l): Likewise.
20001         (M_SQRT1_2l): Likewise.
20003 2012-05-31  David S. Miller  <davem@davemloft.net>
20005         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20006         values between float registers.
20007         * sysdeps/sparc/sparc64/memset.S: Likewise.
20008         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20010 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
20012         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20013         -D_FORTIFY_SOURCE=1.
20014         (CPPFLAGS-tst-longjmp_chk.c): Define.
20015         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20016         (CPPFLAGS-tst-longjmp_chk2.c): Define.
20017         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20018         CFLAGS-tst-wchar-h.c.
20020 2012-05-31  Marek Polacek  <polacek@redhat.com>
20022         [BZ #14132]
20023         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20024         __endmntent_internal): Remove declaration.
20025         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20026         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20027         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20029 2012-05-30  David S. Miller  <davem@davemloft.net>
20031         * sysdeps/sparc/sparc32/soft-fp/q_util.c
20032         (___Q_simulate_exceptions): Use real FP ops rather than writing
20033         into the %fsr.
20034         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20035         Likewise.
20037 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20039         [BZ #14117]
20040         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20041         * sysdeps/x86/bits/xtitypes.h: This.
20043         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20044         * sysdeps/x86/bits/wordsize.h: This.
20046         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20047         * sysdeps/x86/bits/huge_vall.h: This.
20049         * sysdeps/i386/bits/select.h: Removed.
20050         * sysdeps/x86_64/bits/select.h: Renamed to ...
20051         * sysdeps/x86/bits/select.h: This.
20053         * sysdeps/i386/bits/setjmp.h: Removed.
20054         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20055         * sysdeps/x86/bits/setjmp.h: This.
20057         * sysdeps/i386/bits/mathdef.h: Removed.
20058         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20059         * sysdeps/x86/bits/mathdef.h: This.
20061 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
20063         [BZ #14132]
20064         * include/sys/socket.h (__connect_internal)
20065         (__libc_sa_len_internal): Remove declaration.
20066         (__connect, __libc_sa_len): Declare hidden_proto.
20067         (SA_LEN): Remove use of INTUSE.
20068         * socket/connect.c: Add libc_hidden_def.
20069         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20070         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20071         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20072         alias.
20073         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20074         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20075         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20076         of adding _internal alias.
20078 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20080         [BZ #14117]
20081         * sysdeps/i386/bits/link.h: Removed.
20082         * sysdeps/i386/bits/linkmap.h: Likewise.
20083         * sysdeps/x86_64/bits/link.h: Renamed to ...
20084         * sysdeps/x86/bits/link.h: This.
20085         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20086         * sysdeps/x86/bits/linkmap.h: This.
20088         * sysdeps/i386/bits/endian.h: Removed.
20089         * sysdeps/x86_64/bits/endian.h: Renamed to ...
20090         * sysdeps/x86/bits/endian.h: This.
20092         * sysdeps/i386/bits/byteswap.h: Removed.
20093         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20094         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20095         * sysdeps/x86/bits/byteswap.h: This.
20096         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20097         * sysdeps/x86/bits/byteswap-16.h: This.
20098         * sysdeps/i386/Implies: Add x86.
20099         * sysdeps/x86_64/Implies: Likewise.
20101 2012-05-30  David S. Miller  <davem@davemloft.net>
20103         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20104         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20105         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20106         (FP_TRAPPING_EXCEPTIONS): Define.
20107         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20108         (FP_TRAPPING_EXCEPTIONS): Define.
20109         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20110         subnormals only when inexact has been signalled or underflow
20111         exceptions are enabled.
20112         (_FP_PACK_CANONICAL): Likewise.
20114 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20116         [BZ #14183]
20117         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20118         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20120 2012-05-30  Richard Henderson  <rth@twiddle.net>
20122         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20123         with #ifndef NOT_IN_libc.
20125         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
20126         marked to avoid plt entry.
20128 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20130         [BZ #14112]
20131         * Makeconfig (default-abi): New macro.
20132         (abi-includes): Likewise.
20133         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
20134         $(abi-$(default-abi)-lib-soname) for soname if defined.
20135         ($(common-objpfx)gnu/lib-names.stmp): Generate from
20136         abi-variants.
20137         * Makefile (installed-stubs): Likewise.
20138         * include/stubs-biarch.h: Removed.
20139         * scripts/lib-names.awk: Only handle one library at a time.
20140         * scripts/soversions.awk: Remove WORDSIZE support.
20141         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20142         entries.
20143         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20144         Removed.
20145         (syscall-list-default-condition): Likewise.
20146         (syscall-list-default-condition): Likewise.
20147         (syscall-list-includes): Likewise.
20148         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20149         syscall-list-* with abi-*.  Handle undefined abi-variants.
20150         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20151         * sysdeps/unix/sysv/linux/i386/Implies: New file.
20152         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20153         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20154         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20155         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20156         Removed.
20157         (syscall-list-32-options): Likewise.
20158         (syscall-list-32-condition): Likewise.
20159         (syscall-list-64-options): Likewise.
20160         (syscall-list-64-condition): Likewise.
20161         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20162         macro.
20163         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20164         Renamed to ...
20165         (abi-*): This.
20166         (abi-64-ld-soname): New macro.
20167         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20168         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20169         Renamed to ...
20170         (abi-*): This.
20171         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20172         * sysdeps/x86_64/x32/shlib-versions: Likewise.
20174 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
20176         * sysdeps/unix/sysv/linux/kernel-features.h
20177         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20178         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20179         include <kernel-features.h>.
20180         [!__NR_ftruncate64]: Remove conditional code.
20181         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20182         [__NR_ftruncate64]: Make code unconditional.
20183         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20184         * sysdeps/unix/sysv/linux/truncate64.c: Do not
20185         include <kernel-features.h>.
20186         [!__NR_ftruncate64]: Remove conditional code.
20187         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20188         [__NR_ftruncate64]: Make code unconditional.
20189         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20191         include <kernel-features.h>.
20192         [!__NR_ftruncate64]: Remove conditional code.
20193         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20194         [__NR_ftruncate64]: Make code unconditional.
20195         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20197         include <kernel-features.h>.
20198         [!__NR_ftruncate64]: Remove conditional code.
20199         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20200         [__NR_ftruncate64]: Make code unconditional.
20201         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20203         * configure.in (libc_cv_fpie): Weaken to a compile test using
20204         LIBC_TRY_CC_OPTION.
20205         * configure: Regenerated.
20207 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20213         Refreshed.
20214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20220         Refreshed.
20222 2012-05-27  David S. Miller  <davem@davemloft.net>
20224         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20225         (___Q_zero): New.
20226         (__Q_simulate_exceptions): Return void.  Change to simulate
20227         exceptions by writing into the %fsr.
20228         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20229         (__Qp_handle_exceptions): Likewise.
20230         (numbers): Delete.
20231         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20232         __Qp_handle_exceptions.
20233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20234         __Qp_handle_exceptions.
20235         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20236         as unused and give dummy FP_RND_NEAREST initializer.
20237         (FP_INHIBIT_RESULTS): Define.
20238         (___Q_simulate_exceptions): Update declaration.
20239         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20240         formatting.
20241         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20242         as unused and give dummy FP_RND_NEAREST initializer.
20243         (__Qp_handle_exceptions): Update declaration.
20244         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20245         formatting.
20247 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
20249         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20250         the temporary FPU control word.
20251         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20252         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20253         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20254         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20255         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20256         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20257         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20258         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20259         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20260         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20261         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20263 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20265         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20266         fields.
20268 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
20270         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20271         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20272         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20273         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20274         Likewise.
20275         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20276         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20277         Likewise.
20279 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
20281         * po/h.po: Update from translation team.
20283 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
20285         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20287         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20288         handling of denormals.
20289         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20290         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20291         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20292         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20293         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20295         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20296         Likewise.
20298 2012-05-26  Marek Polacek  <polacek@redhat.com>
20300         [BZ #14152]
20301         * math/libm-test.inc (fma_test): Don't always expect underflow
20302         exception.
20304 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20306         [BZ #12416]
20307         * elf/tst-execstack.c: Include stackinfo.h.
20308         (do_test): Adjust test case to ensure that pthread_getattr_np
20309         behaviour remains the same after marking stack executable.
20311 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
20313         * sysdeps/unix/sysv/linux/kernel-features.h
20314         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20315         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20316         kernel-features.h.
20317         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20318         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20319         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20320         kernel-features.h.
20321         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20322         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20324 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
20326         * configure.in: Define the default includes to being none.
20327         * configure: Regenerated.
20329 2012-05-25  Roland McGrath  <roland@hack.frob.com>
20331         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20332         * sysdeps/x86_64/setjmp.S: Likewise.
20333         * sysdeps/i386/bsd-setjmp.S: Likewise.
20334         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20335         * sysdeps/i386/setjmp.S: Likewise.
20336         * sysdeps/i386/__longjmp.S: Likewise.
20337         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20338         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20340         * include/stap-probe.h: New file.
20341         * configure.in: Handle --enable-systemtap.
20342         * configure: Regenerated.
20343         * config.h.in (USE_STAP_PROBE): New #undef.
20344         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20345         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20346         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20348 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
20350         [BZ #13717]
20351         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20352         to 2.4.0 where earlier.
20353         * sysdeps/unix/sysv/linux/configure: Regenerated.
20354         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20355         <kernel-features.h>.
20356         [__ASSUME_32BITUIDS]: Make code unconditional.
20357         [!__ASSUME_32BITUIDS]: Remove conditional code.
20358         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20359         <kernel-features.h>.
20360         [__ASSUME_32BITUIDS]: Make code unconditional.
20361         [!__ASSUME_32BITUIDS]: Remove conditional code.
20362         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20363         [__ASSUME_32BITUIDS]: Make code unconditional.
20364         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20365         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20366         <kernel-features.h>.
20367         [__ASSUME_32BITUIDS]: Make code unconditional.
20368         [!__ASSUME_32BITUIDS]: Remove conditional code.
20369         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20370         <kernel-features.h>.
20371         [__ASSUME_32BITUIDS]: Make code unconditional.
20372         [!__ASSUME_32BITUIDS]: Remove conditional code.
20373         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20374         <kernel-features.h>.
20375         [__ASSUME_32BITUIDS]: Make code unconditional.
20376         [!__ASSUME_32BITUIDS]: Remove conditional code.
20377         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20378         <kernel-features.h>.
20379         [__ASSUME_32BITUIDS]: Make code unconditional.
20380         [!__ASSUME_32BITUIDS]: Remove conditional code.
20381         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20382         <kernel-features.h>.
20383         [__ASSUME_32BITUIDS]: Make code unconditional.
20384         [!__ASSUME_32BITUIDS]: Remove conditional code.
20385         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20386         <kernel-features.h>.
20387         [__ASSUME_32BITUIDS]: Make code unconditional.
20388         [!__ASSUME_32BITUIDS]: Remove conditional code.
20389         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20390         <kernel-features.h>.
20391         [__ASSUME_32BITUIDS]: Make code unconditional.
20392         [!__ASSUME_32BITUIDS]: Remove conditional code.
20393         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20394         <kernel-features.h>.
20395         [__ASSUME_32BITUIDS]: Make code unconditional.
20396         [!__ASSUME_32BITUIDS]: Remove conditional code.
20397         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20398         <kernel-features.h>.
20399         [__ASSUME_32BITUIDS]: Make code unconditional.
20400         [!__ASSUME_32BITUIDS]: Remove conditional code.
20401         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20402         <kernel-features.h>.
20403         [__ASSUME_32BITUIDS]: Make code unconditional.
20404         [!__ASSUME_32BITUIDS]: Remove conditional code.
20405         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20406         <kernel-features.h>.
20407         [__NR_setresgid] (__setresgid): Do not declare.
20408         [__ASSUME_32BITUIDS]: Make code unconditional.
20409         [!__ASSUME_32BITUIDS]: Remove conditional code.
20410         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20411         <kernel-features.h>.
20412         [__NR_setresuid] (__setresuid): Do not declare.
20413         [__ASSUME_32BITUIDS]: Make code unconditional.
20414         [!__ASSUME_32BITUIDS]: Remove conditional code.
20415         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20416         <kernel-features.h>.
20417         [__ASSUME_32BITUIDS]: Make code unconditional.
20418         [!__ASSUME_32BITUIDS]: Remove conditional code.
20419         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20420         <kernel-features.h>.
20421         [__ASSUME_32BITUIDS]: Make code unconditional.
20422         [!__ASSUME_32BITUIDS]: Remove conditional code.
20423         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20424         <kernel-features.h>.
20425         [__ASSUME_32BITUIDS]: Make code unconditional.
20426         [!__ASSUME_32BITUIDS]: Remove conditional code.
20427         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20428         <kernel-features.h>.
20429         [__ASSUME_32BITUIDS]: Make code unconditional.
20430         [!__ASSUME_32BITUIDS]: Remove conditional code.
20431         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20432         <kernel-features.h>.
20433         [__ASSUME_32BITUIDS]: Make code unconditional.
20434         [!__ASSUME_32BITUIDS]: Remove conditional code.
20435         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20436         <kernel-features.h>.
20437         [__ASSUME_32BITUIDS]: Make code unconditional.
20438         [!__ASSUME_32BITUIDS]: Remove conditional code.
20439         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20440         <kernel-features.h>.
20441         [__ASSUME_32BITUIDS]: Make code unconditional.
20442         [!__ASSUME_32BITUIDS]: Remove conditional code.
20443         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20444         <kernel-features.h>.
20445         [__ASSUME_32BITUIDS]: Make code unconditional.
20446         [!__ASSUME_32BITUIDS]: Remove conditional code.
20447         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20448         <kernel-features.h>.
20449         [__ASSUME_32BITUIDS]: Make code unconditional.
20450         [!__ASSUME_32BITUIDS]: Remove conditional code.
20451         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20452         <kernel-features.h>.
20453         [__ASSUME_32BITUIDS]: Make code unconditional.
20454         [!__ASSUME_32BITUIDS]: Remove conditional code.
20455         * sysdeps/unix/sysv/linux/kernel-features.h
20456         (__ASSUME_SETRESUID_SYSCALL): Remove.
20457         (__ASSUME_SETRESGID_SYSCALL): Likewise.
20458         (__ASSUME_32BITUIDS): Likewise.
20459         (__ASSUME_LDT_WORKS): Likewise.
20460         (__ASSUME_O_DIRECTORY): Likewise.
20461         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20462         architecture but not kernel version.
20463         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20464         (__ASSUME_MMAP2_SYSCALL): Likewise.
20465         (__ASSUME_STAT64_SYSCALL): Likewise.
20466         (__ASSUME_IPC64): Likewise.
20467         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20468         <kernel-features.h>.
20469         [__ASSUME_32BITUIDS]: Make code unconditional.
20470         [!__ASSUME_32BITUIDS]: Remove conditional code.
20471         * sysdeps/unix/sysv/linux/opendir.c: Do not include
20472         <kernel-features.h>.
20473         [__ASSUME_O_DIRECTORY]: Make code unconditional.
20474         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20475         132096]: Remove conditional code.
20476         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20477         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20478         <kernel-features.h>.
20479         [__ASSUME_32BITUIDS]: Make code unconditional.
20480         [!__ASSUME_32BITUIDS]: Remove conditional code.
20481         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20482         <kernel-features.h>.
20483         [__ASSUME_32BITUIDS]: Make code unconditional.
20484         [!__ASSUME_32BITUIDS]: Remove conditional code.
20485         * sysdeps/unix/sysv/linux/setegid.c: Do not include
20486         <kernel-features.h>.
20487         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20488         unconditional.
20489         (__setresgid): Do not declare.
20490         [__ASSUME_32BITUIDS]: Make code unconditional.
20491         [!__ASSUME_32BITUIDS]: Remove conditional code.
20492         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20493         <kernel-features.h>.
20494         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20495         unconditional.
20496         (__setresuid): Do not declare.
20497         [__ASSUME_32BITUIDS]: Make code unconditional.
20498         [!__ASSUME_32BITUIDS]: Remove conditional code.
20499         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20500         <kernel-features.h>.
20501         [__ASSUME_32BITUIDS]: Make code unconditional.
20502         [!__ASSUME_32BITUIDS]: Remove conditional code.
20503         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20504         <kernel-features.h>.
20505         [__ASSUME_32BITUIDS]: Make code unconditional.
20506         [!__ASSUME_32BITUIDS]: Remove conditional code.
20508 2012-05-25  Richard Henderson  <rth@twiddle.net>
20510         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20511         dl_hwcap to ifunc resolver.
20512         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20513         elf_ifunc_invoke.
20514         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20515         dl_hwcap to ifunc resolver.
20516         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20518 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20520         [BZ #14153]
20521         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20522         for |x| <= 2**-26, not 2**-57.
20523         * math/libm-test.inc (acos_test): Do not allow spurious underflow
20524         exception.
20526 2012-05-24  Jeff Law  <law@redhat.com>
20528         * stdio-common/Makefile (tests): Add bug25.
20529         * stdio-common/bug25.c: New test.
20531 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20533         [BZ #13576]
20534         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20535         multiple of MALLOC_ALIGNMENT in size.
20536         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20538 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20540         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20541         Require >= 256.
20542         (FILENAME_MAX): Use macro-int-constant.
20543         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
20544         (_IOFBF): Use macro-int-constant.
20545         (_IOLBF): Likewise.
20546         (_IONBF): Likewise.
20547         (SEEK_CUR): Likewise.
20548         (SEEK_END): Likewise.
20549         (SEEK_SET): Likewise.
20550         (TMP_MAX): Likewise.
20551         (EOF): Use macro-int-constant.  Require < 0.
20552         (NULL): Use macro-constant.  Require == 0.
20553         (stdin): Require type to be FILE *.
20554         (stdout): Likewise.
20555         (stderr): Likewise.
20556         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20557         macro-int-constant.
20558         (EXIT_SUCCESS): Likewise.
20559         (NULL): Use macro-constant.  Require == 0.
20560         (RAND_MAX): Use macro-int-constant.
20561         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20562         [C99-based standards] (strtof): Require function.
20563         [C99-based standards] (strtold): Likewise.
20564         [C99-based standards] (strtoll): Likewise.
20565         [C99-based standards] (strtoull): Likewise.
20566         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20567         [ISO || ISO99 || ISO11] (limits.h): Likewise.
20568         [ISO || ISO99 || ISO11] (math.h): Likewise.
20569         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20570         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20571         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20573 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
20575         [BZ #14132]
20576         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20577         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20578         * intl/dgettext.c (DCGETTEXT): Likewise.
20579         * intl/gettext.c (DCGETTEXT): Likewise.
20580         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20581         * posix/regex_internal.h (gettext): Likewise.
20582         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20583         Remove declaration.
20584         * include/argz.h (__argz_count_internal)
20585         (__argz_stringify_internal): Remove declaration.
20586         (__argz_count, __argz_stringify): Declare hidden proto.
20587         * intl/dcgettext.c: Remove use of INTDEF.
20588         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20589         * string/argz-stringify.c: Likewise.
20590         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20591         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20592         Declare hidden proto.
20593         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20594         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20595         Declare hidden proto.
20596         * include/stdio.h (__asprintf_internal): Don't declare.
20597         (__asprintf): Don't define as macro.  Declare hidden proto.
20598         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20599         (__fsetlocking): Declare hidden proto.
20600         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20601         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20602         hidden proto.
20603         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20604         (_IO_setlinebuf): Remove use of INTUSE.
20605         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20606         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20607         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20608         Remove declaration.
20609         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20610         (_IO_do_flush): Remove use of INTUSE.
20611         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20612         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20613         (_IO_adjust_column, _IO_least_wmarker)
20614         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20615         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20616         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20617         (_IO_default_doallocate, _IO_wdefault_doallocate)
20618         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20619         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20620         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20621         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20622         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20623         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20624         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20625         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20626         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20627         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20628         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20629         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20630         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20631         proto.
20632         (_IO_flush_all_internal, _IO_adjust_column_internal)
20633         (_IO_default_uflow_internal, _IO_default_finish_internal)
20634         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20635         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20636         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20637         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20638         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20639         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20640         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20641         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20642         (_IO_file_close_internal, _IO_file_close_it_internal)
20643         (_IO_file_underflow_internal, _IO_file_overflow_internal)
20644         (_IO_file_init_internal, _IO_file_attach_internal)
20645         (_IO_file_fopen_internal, _IO_file_read_internal)
20646         (_IO_file_sync_internal, _IO_file_seek_internal)
20647         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20648         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20649         (_IO_str_underflow_internal, _IO_str_overflow_internal)
20650         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20651         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20652         (_IO_list_all_internal, _IO_link_in_internal)
20653         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20654         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20655         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20656         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20657         (_IO_do_write_internal, _IO_padn_internal)
20658         (_IO_getline_info_internal, _IO_getline_internal)
20659         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20660         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20661         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20662         (_IO_vfscanf_internal, _IO_vfprintf_internal)
20663         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20664         (_IO_init_internal, _IO_un_link_internal): Don't declare.
20665         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20666         with libc_hidden_ver, remove use of INTUSE.
20667         * libio/genops.c: Likewise.
20668         * libio/freopen.c: Likewise.
20669         * libio/freopen64.c: Likewise.
20670         * libio/iofclose.c: Likewise.
20671         * libio/iofdopen.c: Likewise.
20672         * libio/iofflush.c: Likewise.
20673         * libio/iofflush_u.c: Likewise.
20674         * libio/iofgets.c: Likewise.
20675         * libio/iofgets_u.c: Likewise.
20676         * libio/iofopen.c: Likewise.
20677         * libio/iofopncook.c: Likewise.
20678         * libio/iofread.c: Likewise.
20679         * libio/iofread_u.c: Likewise.
20680         * libio/ioftell.c: Likewise.
20681         * libio/iofwrite.c: Likewise.
20682         * libio/iogetline.c: Likewise.
20683         * libio/iogets.c: Likewise.
20684         * libio/iogetwline.c: Likewise.
20685         * libio/iopadn.c: Likewise.
20686         * libio/iopopen.c: Likewise.
20687         * libio/ioseekoff.c: Likewise.
20688         * libio/ioseekpos.c: Likewise.
20689         * libio/iosetbuffer.c: Likewise.
20690         * libio/iosetvbuf.c: Likewise.
20691         * libio/ioungetc.c: Likewise.
20692         * libio/ioungetwc.c: Likewise.
20693         * libio/iovdprintf.c: Likewise.
20694         * libio/iovsprintf.c: Likewise.
20695         * libio/iovsscanf.c: Likewise.
20696         * libio/memstream.c: Likewise.
20697         * libio/obprintf.c: Likewise.
20698         * libio/oldfileops.c: Likewise.
20699         * libio/oldiofclose.c: Likewise.
20700         * libio/oldiofdopen.c: Likewise.
20701         * libio/oldiofopen.c: Likewise.
20702         * libio/oldiopopen.c: Likewise.
20703         * libio/oldstdfiles.c: Likewise.
20704         * libio/putc.c: Likewise.
20705         * libio/setbuf.c: Likewise.
20706         * libio/setlinebuf.c: Likewise.
20707         * libio/stdfiles.c: Likewise.
20708         * libio/strops.c: Likewise.
20709         * libio/vasprintf.c: Likewise.
20710         * libio/vscanf.c: Likewise.
20711         * libio/vsnprintf.c: Likewise.
20712         * libio/vswprintf.c: Likewise.
20713         * libio/wfiledoalloc.c: Likewise.
20714         * libio/wfileops.c: Likewise.
20715         * libio/wgenops.c: Likewise.
20716         * libio/wmemstream.c: Likewise.
20717         * libio/wstrops.c: Likewise.
20718         * libio/__fpurge.c: Likewise.
20719         * libio/__fsetlocking.c: Likewise.
20720         * assert/assert.c: Likewise.
20721         * debug/fgets_chk.c: Likewise.
20722         * debug/fgets_u_chk.c: Likewise.
20723         * debug/fread_chk.c: Likewise.
20724         * debug/fread_u_chk.c: Likewise.
20725         * debug/gets_chk.c: Likewise.
20726         * debug/obprintf_chk.c: Likewise.
20727         * debug/vasprintf_chk.c: Likewise.
20728         * debug/vdprintf_chk.c: Likewise.
20729         * debug/vsnprintf_chk.c: Likewise.
20730         * debug/vsprintf_chk.c: Likewise.
20731         * malloc/mtrace.c: Likewise.
20732         * misc/error.c: Likewise.
20733         * misc/syslog.c: Likewise.
20734         * stdio-common/asprintf.c: Likewise.
20735         * stdio-common/fxprintf.c: Likewise.
20736         * stdio-common/getw.c: Likewise.
20737         * stdio-common/isoc99_fscanf.c: Likewise.
20738         * stdio-common/isoc99_scanf.c: Likewise.
20739         * stdio-common/isoc99_vfscanf.c: Likewise.
20740         * stdio-common/isoc99_vscanf.c: Likewise.
20741         * stdio-common/isoc99_vsscanf.c: Likewise.
20742         * stdio-common/printf-prs.c: Likewise.
20743         * stdio-common/printf_fp.c: Likewise.
20744         * stdio-common/printf_fphex.c: Likewise.
20745         * stdio-common/printf_size.c: Likewise.
20746         * stdio-common/putw.c: Likewise.
20747         * stdio-common/scanf.c: Likewise.
20748         * stdio-common/sprintf.c: Likewise.
20749         * stdio-common/tmpfile.c: Likewise.
20750         * stdio-common/vfprintf.c: Likewise.
20751         * stdio-common/vfscanf.c: Likewise.
20752         * stdlib/strfmon_l.c: Likewise.
20753         * sunrpc/openchild.c: Likewise.
20754         * sunrpc/xdr_stdio.c: Likewise.
20755         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20756         * sysdeps/mach/hurd/tmpfile.c: Likewise.
20758 2012-05-24  Roland McGrath  <roland@hack.frob.com>
20760         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20762         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20763         in the third column, to generate for the shared library an IFUNC
20764         that uses _dl_vdso_vsym.
20765         * Makerules (COMPILE.c, compile-stdin.c): New variables.
20766         * Makeconfig (object-suffixes-noshared): New variable.
20768         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20769         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20770         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20771         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20773         [BZ #14132]
20774         * include/sys/time.h (__gettimeofday): Remove macro.
20775         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20776         * time/gettimeofday.c (__gettimeofday): Remove #undef.
20777         Remove INTDEF.
20778         (__gettimeofday): Add libc_hidden_def.
20779         (gettimeofday): Add libc_hidden_weak.
20780         * sysdeps/mach/gettimeofday.c: Likewise.
20781         * sysdeps/posix/gettimeofday.c: Likewise.
20782         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20783         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20784         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20785         (__gettimeofday_internal): Remove strong_alias.
20786         (__gettimeofday): Add libc_hidden_def.
20787         (gettimeofday): Add libc_hidden_weak.
20788         * sysdeps/unix/syscalls.list (gettimeofday):
20789         Remove __gettimeofday_internal alias.
20791 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20792             H.J. Lu  <hongjiu.lu@intel.com>
20794         [BZ #12495]
20795         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20796         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20797         (largebin_index_32_big): New.
20798         (largebin_index): Use it for 16-byte alignment.
20799         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20800         correction with front_misalign.
20802 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20806         Likewise.
20807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20808         Likewise.
20809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20810         Likewise.
20811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20812         Likewise.
20813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20814         Likewise.
20815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20816         Likewise.
20817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20818         Likewise.
20819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20820         Likewise.
20821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20822         Likewise.
20823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20826         Likewise.
20827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20828         Likewise.
20830         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20831         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20833 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20835         [BZ #10846]
20836         [BZ #14036]
20837         * math/libm-test.inc (exp_test): Add test from bug 14036.
20838         (pow_test): Add test from bug 10846.
20840         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20841         and other flags.
20842         (special_function): Do not include flags in test name.
20843         (parse_args): Likewise.
20844         * sysdeps/i386/fpu/libm-test-ulps: Update.
20845         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20846         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20847         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20850         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20851         exceptions.
20852         * math/libm-test.inc ("Philosophy"): Update comment about
20853         exception testing.
20854         (UNDERFLOW_EXCEPTION): New macro.
20855         (UNDERFLOW_EXCEPTION_OK): Likewise.
20856         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20857         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20858         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20859         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20860         (INVALID_EXCEPTION_OK): Update value.
20861         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20862         (OVERFLOW_EXCEPTION_OK): Likewise.
20863         (IGNORE_ZERO_INF_SIGN): Likewise.
20864         (test_exceptions): Handle underflow exceptions.
20865         (acos_test): Update for underflow exception expectations.
20866         (cexp_test): Likewise.
20867         (clog_test): Likewise.
20868         (clog10_test): Likewise.
20869         (csqrt_test): Likewise.
20870         (ctan_test): Likewise.
20871         (ctanh_test): Likewise.
20872         (exp_test): Likewise.
20873         (exp10_test): Likewise.
20874         (exp2_test): Likewise.
20875         (expm1_test): Likewise.
20876         (fma_test): Likewise.
20877         (j0_test): Likewise.
20878         (jn_test): Likewise.
20879         (nexttoward_test): Likewise.
20880         (pow_test): Likewise.
20881         (scalbn_test): Likewise.
20882         (scalbln_test): Likewise.
20883         (tan_test): Likewise.
20884         (y1_test): Likewise.
20885         * sysdeps/i386/fpu/libm-test-ulps: Update.
20886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20888 2012-05-23  David S. Miller  <davem@davemloft.net>
20890         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20891         (__libc_sigaction): Remove unused local variables.
20893 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20895         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20897 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20899         mktime: avoid signed integer overflow
20900         * time/mktime.c (__mktime_internal): Do not mishandle the case
20901         where diff == INT_MIN.
20903         mktime: simplify computation of average
20904         * time/mktime.c (ranged_convert): Use new time_t_avg function
20905         instead of rolling our own (probably-slower) code.
20907         mktime: do not assume signed right shift propagates sign bit
20908         * time/mktime.c (isdst_differ): New static function.
20909         (__mktime_internal): No need to normalize tm_isdst now.
20910         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20911         tm_isdst values.
20913         mktime: merge another wrapv change from gnulib
20914         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20915         from some compilers.
20917         mktime: remove incorrect attempt at unusual arithmetics
20918         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20919         The code didn't really work on such machines anyway.
20920         (TYPE_MINIMUM): Assume two's complement.
20921         (twos_complement_arithmetic): Verify that long_int and time_t
20922         are two's complement (or unsigned, in the latter case).
20924         mktime: check signed shifts on long_int and time_t, too
20925         * time/mktime.c (SHR): Check that shifts work as desired
20926         on the types long_int and time_t too, as SHR is used on
20927         such types.
20929         mktime: do not assume 'long' is wide enough
20930         * time/mktime.c (verify): Move decl up.
20931         (long_int): New type.
20932         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20933         to remove assumption in the code that 'long' is wide enough to
20934         store year values.  This assumption is not true on x32 and on
20935         some non-glibc platforms.
20937         mktime: merge wrapv change from gnulib
20938         * time/mktime.c (WRAPV): New macro.
20939         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20940         (guess_time_tm, __mktime_internal): Do not assume that signed
20941         integer overflow wraps around; modern compilers generate code
20942         where this assumption is no longer valid.
20944 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20946         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20947         Replace "jmp L(pseudo_end)" with "ret".
20948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20949         Likewise.
20951 2012-05-23  Andreas Jaeger  <aj@suse.de>
20953         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20954         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20956 2012-05-23  Andreas Jaeger  <aj@suse.de>
20957             Maximilian Attems  <max@stro.at>
20959         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20960         New macros.
20962 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20965         code so that pseudo_end is just ret and the stack pointer is
20966         correct also for static library in error case.
20968 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20970         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20971         move to syscalls.list.
20972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20977         * manual/install.texi (Running make install): Do not mention Linux
20978         kernel version for which pt_chown is not needed.
20979         (Linux): Do not mention problems with nscd with 2.0 kernels.
20980         * INSTALL: Regenerated.
20982 2012-05-23  Andreas Jaeger  <aj@suse.de>
20984         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20985         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20986         macro.
20987         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20988         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20989         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20991         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20993         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20994         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20995         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20996         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20997         * sysdeps/unix/sysv/linux/bits/in.h
20998         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21000 2012-05-22  Roland McGrath  <roland@hack.frob.com>
21002         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21003         (PREPARE_VERSION): Just use assert instead, it will be elided
21004         under [NDEBUG] anyway.
21006 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21008         * sysdeps/unix/sysv/linux/Makefile: Include
21009         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21010         (sysdep_routines): Remove sysctl.
21011         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21012         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21013         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21014         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21015         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21017 2012-05-22  Andreas Jaeger  <aj@suse.de>
21019         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21020         that pseudo_end is just ret and the stack pointer is correct also
21021         for static library in error case.
21023 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21025         [BZ #14122]
21026         * nss/nsswitch.c (defconfig_entries): New variable.
21027         (__nss_database_lookup): Don't leak defconfig entries.
21028         (nss_parse_service_list): Don't leak on error paths.
21029         (free_database_entries): New function.
21030         (free_defconfig): New function.
21031         (free_mem): Move common code to free_database_entries.
21033 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21035         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21036         Add arch_prctl.
21037         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21039         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21040         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21042         New macro.
21043         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21044         (INTERNAL_SYSCALL_TYPES): Likewise.
21045         (LOAD_ARGS_TYPES_[1-6]): Likewise.
21046         (LOAD_REGS_TYPES_[1-6]): Likewise.
21047         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21048         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21050 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21052         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21053         copysignl for GLIBC_2_0.
21054         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21055         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21057         logbl for GLIBC_2_0.
21058         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21059         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21061 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21063         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21064         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21066         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21067         Use "neg %eax".
21069         * time/mktime.c: Update copyright years.
21071 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21073         mktime: merge comment-quoting-style change from gnulib
21074         * time/mktime.c: Quote 'like this' in comments.
21075         The GNU coding standards suggest that we no longer quote `like this',
21076         as "`" and "'" are typically rendered asymmetrically nowadays.
21077         The typical gnulib style is to quote 'like this' when quoting
21078         code, and "like this" when quoting English.
21080         * time/mktime.c (compile-command): Add "-I.".
21082         mktime: merge mktime-internal.h change from gnulib
21083         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21085         mktime: merge time_r change from gnulib
21086         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21088         mktime: merge DEBUG change from gnulib
21089         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21090         case system <time.h> has a #define.
21092         mktime: merge <sys/types.h> change from gnulib
21093         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21094         since <time.t> is now guaranteed to define time_t.
21096         mktime: merge HAVE_CONFIG_H change from gnulib
21097         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21099 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21101         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21102         Use "neg %eax".
21104         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21105         __rlim_t cast.
21106         (struct rusage): Use anonymous union to pad each field to
21107         __syscall_slong_t.
21109 2012-05-21  David S. Miller  <davem@davemloft.net>
21111         * Makefules (o-iterator): Remove .s cases.
21112         (compile-command.s): Delete.
21113         (COMPILE.s): Delete.
21114         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21116 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
21118         * configure.in (libc_cv_predef_stack_protector): Only consider
21119         "foobar" and "__stack_chk_fail" lines in libc_undefs.
21120         * configure: Regenerated.
21122 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21125         New macro.  Use R*LP on int and pointer.
21126         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21127         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21128         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21129         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21131         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21132         [__WORDSIZE_TIME64_COMPAT32] instead of
21133         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21134         (struct utmp): Likewise.
21135         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21136         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21137         Renamed to ...
21138         (__WORDSIZE_TIME64_COMPAT32): This.
21139         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21140         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21141         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21142         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21143         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21144         (__WORDSIZE_TIME64_COMPAT32): New macro.
21146 2012-05-21  Andreas Jaeger  <aj@suse.de>
21148         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21149         only if [SHARED]. Add prototype for __wcschr_ia32.
21151 2012-05-21  Roland McGrath  <roland@hack.frob.com>
21153         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21154         of %rbp unmolested in the jmp_buf while mangling the low bits.
21155         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21156         unmolested high bits of %rbp while demangling the low bits.
21157         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21159 2012-05-21  Andreas Jaeger  <aj@suse.de>
21161         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21162         * sunrpc/svc_simple.c: Use it for registerrpc.
21163         * sunrpc/xcrypt.c: Use it for passwd2des.
21165         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21167 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21169         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21170         Don't define if [__SYSCALL_WORDSIZE != 32].
21171         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21172         New macro.
21174 2012-05-21  Bruno Haible  <bruno@clisp.org>
21175             Andreas Jaeger  <aj@suse.de>
21177         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21178         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21179         inptr and inend for must_buffer_ch.
21180         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21181         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21182         * stdio-common/Makefile (tests): Remove bug15.
21183         (bug15-ENV): Remove macro.
21184         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21185         anymore.
21187 2012-05-19  Andreas Jaeger  <aj@suse.de>
21188             Roland McGrath  <roland@hack.frob.com>
21190         * manual/contrib.texi: Completely rewritten. It contains now an
21191         alphabetical list of contributors and their contributions.
21193 2012-05-21  Richard Henderson  <rth@twiddle.net>
21195         * misc/getauxval.c (__getauxval): Use unsigned long int.
21196         * misc/sys/auxv.h: Include <sys/cdefs.h>.
21197         (getauxval): Use unsigned long int.
21199 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21201         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21203 2012-05-21  Roland McGrath  <roland@hack.frob.com>
21205         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21206         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21207         __alignof__ (long double).
21209 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21213 2012-05-20  Richard Henderson  <rth@twiddle.net>
21215         * misc/getauxval.c: New file.
21216         * misc/sys/auxv.h: New file.
21217         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21218         (routines): Add getauxval.
21219         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21220         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21221         * elf/dl-sysdep.c (_dl_auxv): Remove.
21222         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21223         * elf/dl-support.c (_dl_auxv): New variable.
21224         (_dl_aux_init): Initialize it.
21225         * manual/startup.texi (Auxiliary Vector): New node.
21226         * sysdeps/generic/bits/hwcap.h: New file.
21227         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21228         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
21229         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21230         * sysdeps/sparc/sysdep.h: ... here.  Include it.
21231         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21232         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21234         Update.
21235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21238         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21244 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21248 2012-05-19  David S. Miller  <davem@davemloft.net>
21250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21252 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
21254         [BZ #14123]
21255         * math/s_ccosh.c: Include <float.h>
21256         (__ccosh): Avoid internal overflow calculating sinh and cosh
21257         values before multiplying by sin and cos values.
21258         * math/s_ccoshf.c: Likewise.
21259         * math/s_ccoshl.c: Likewise.
21260         * math/s_csin.c: Likewise.
21261         * math/s_csinf.c: Likewise.
21262         * math/s_csinl.c: Likewise.
21263         * math/s_csinh.c: Likewise.
21264         * math/s_csinhf.c: Likewise.
21265         * math/s_csinhl.c: Likewise.
21266         * math/libm-test.inc (ccos_test): Add more tests.
21267         (ccosh_test): Likewise.
21268         (csin_test): Likewise.
21269         (csinh_test): Likewise.
21270         * sysdeps/i386/fpu/libm-test-ulps: Update.
21271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21273 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21275         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21276         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21278         * sysdeps/x86_64/x32/_itoa.h: Add comment.
21280 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
21282         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21283         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21284         * sysdeps/powerpc/soft-fp/Versions: Likewise.
21285         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21286         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21287         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21288         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21289         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21290         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21291         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21292         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21293         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21294         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21295         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21296         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21297         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21298         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21299         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21300         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21301         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21302         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21303         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21304         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21305         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21306         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21307         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21308         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21309         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21310         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21311         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21312         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21314 2012-05-18  Andreas Jaeger  <aj@suse.de>
21316         * csu/.gitignore: Delete.
21318 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21320         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21321         (timex): Use __syscall_slong_t.
21323 2012-05-18  Andreas Jaeger  <aj@suse.de>
21324             Carlos O'Donell  <carlos_odonell@mentor.com>
21326         * manual/install.texi (Configuring and compiling): Update
21327         description about files modified in the source directory.
21328         * INSTALL: Regenerated.
21330 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21332         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21333         value.  Use "or" to set return value to -1.
21334         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21335         negate return value.
21337 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21339         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21340         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21341         failure if the compiler has Graphite support disabled.
21342         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21343         Likewise.
21344         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21345         CFLAGS-memmove.c): Likewise.
21346         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21347         Likewise.
21349 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21351         * sysdeps/x86_64/x32/_itoa.h: New file.
21353         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21354         getdents system call only if kernel and user dirents have the
21355         same d_ino and d_off.
21357         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21358         LLONG_MAX != LONG_MAX.
21359         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21360         (_fitoa_word): Likewise.
21362         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21363         years.
21364         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21365         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21366         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21368         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21369         include <bits/wordsize.h>.  Check __x86_64__ instead of
21370         __WORDSIZE.
21371         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21372         if __x86_64__ is defined.  Use anonymous union on fpstate.
21374         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21375         anonymous union.
21377 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
21379         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21380         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21381         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21382         Refer to _rtld_local_ro instead of _rtld_global_ro.
21383         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21384         Likewise.
21385         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21386         Likewise.
21387         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21388         Likewise.
21389         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21390         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21391         of _rtld_global, and rtld_progname instead of _dl_argv[0].
21393         * sysdeps/powerpc/powerpc32/dl-machine.c
21394         (__elf_machine_runtime_setup) [PROF]: Don't reference
21395         _dl_prof_resolve.
21397 2012-05-18  Andreas Jaeger  <aj@suse.de>
21399         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21400         function only available for GCCs before 3.4 since GCC 3.4
21401         introduced a builtin.
21402         (lrint): Likewise.
21403         (llrintf): Likewise.
21404         (llrint): Likewise.
21405         (fmaxf): Likewise.
21406         (fmax): Likewise.
21407         (fminf): Likewise.
21408         (fmin): Likewise.
21409         (rint): Likewise.
21410         (rintf): Likewise.
21411         (nearbyint): Likewise.
21412         (nearbyintf): Likewise.
21413         (ceil): Likewise.
21414         (ceilf): Likewise.
21415         (floor): Likewise.
21416         (floorf): Likewise.
21418 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21420         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21421         on both fields and cast pointer to __syscall_ulong_t.
21423         * bits/types.h (__fsword_t): New type.
21424         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21425         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21426         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21427         (__FSWORD_T_TYPE): Likewise.
21428         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21429         (__FSWORD_T_TYPE): Likewise.
21430         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21431         (__FSWORD_T_TYPE): Likewise.
21432         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21433         (__FSWORD_T_TYPE): Likewise.
21434         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21435         __SWORD_TYPE with __fsword_t.
21436         (statfs64): Likewise.
21438 2012-05-17  David S. Miller  <davem@davemloft.net>
21440         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21442 2012-05-17  Andreas Jaeger  <aj@suse.de>
21444         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21445         warning.
21447 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21449         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21451 2012-05-17  Andreas Jaeger  <aj@suse.de>
21453         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21454         when it is used.
21456 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21458         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21460 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21462         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21463         * sysdeps/x86_64/tst-mallocalign1.c: New file.
21465 2012-05-17  Andreas Jaeger  <aj@suse.de>
21466             Carlos O'Donell  <carlos_odonell@mentor.com>
21468         [BZ #14059]
21469         * sysdeps/x86_64/multiarch/init-arch.h
21470         (bit_YMM_Usable): Rename to...
21471         (bit_AVX_Usable): ... this.
21472         (bit_FMA4_Usable): New macro.
21473         (bit_XMM_state): New macro.
21474         (bit_YMM_state): New macro.
21475         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21476         [__ASSEMBLER__] (index_AVX_Usable): ... this.
21477         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21478         (CPUID_OSXSAVE): New macro.
21479         (CPUID_AVX): New macro.
21480         (CPUID_FMA4): New macro.
21481         (index_YMM_Usable): Rename to...
21482         (index_AVX_Usable): ... this.
21483         (HAS_AVX): Use HAS_ARCH_FEATURE.
21484         (HAS_FMA4): Likewise.
21485         (HAS_YMM_USABLE): Remove.
21486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21487         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21488         are present.
21489         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21490         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21491         * sysdeps/x86_64/multiarch/Makefile: Likewise.
21492         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21493         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21495 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21497         * math/libm-test.c: Support platforms without multiple rounding modes.
21498         * math/bug-nextafter.c: Support platforms without FP exceptions.
21499         * math/bug-nexttoward.c: Likewise.
21500         * math/test-fenv.c: Likewise.
21501         * math/test-misc.c: Likewise.
21502         * stdlib/bug-getcontext.c: Likewise.
21504 2012-05-17  Andreas Jaeger  <aj@suse.de>
21506         * manual/examples/search.c (critter_cmp): Change signature to
21507         avoid warnings.
21508         * manual/string.texi (Collation Functions): Likewise.
21510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21512         * bits/types.h: Fold copyright years.
21513         * bits/typesizes.h: Likewise.
21514         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21517         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21518         * time/time.h: Likewise.
21520 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
21522         [BZ #208]
21523         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21524         in instead of returning them.  Return void.
21525         (__libc_mallinfo): Accumulate over all arenas.
21526         (__malloc_stats): Adjust for change in int_mallinfo interface.
21528 2012-05-16  Roland McGrath  <roland@hack.frob.com>
21530         [BZ #10375]
21531         * configure.in (NM): Add AC_CHECK_TOOL for it.
21532         (libc_extra_cflags): New substituted variable.
21533         Check for -fstack-protector being used implicitly.
21534         * configure: Regenerated.
21535         * config.make.in (config-extra-cflags): New variable,
21536         gets @libc_extra_cflags@.
21537         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21539         [BZ #10375]
21540         * configure.in: Check for _FORTIFY_SOURCE being predefined.
21541         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21542         * configure: Regenerated.
21543         * config.make.in (CPPUNDEFS): New substituted variable.
21544         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21545         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21546         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21548 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21550         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21551         (mq_attr): Use __syscall_slong_t.
21553 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21555         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21556         Check __x86_64__ instead of __WORDSIZE.
21557         (_STAT_VER_LINUX): Likewise.
21558         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
21559         __syscall_ulong_t and __syscall_slong_t.
21560         (stat64): Likewise.
21562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21564         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21566 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21568         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21570 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21572         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21573         __syscall_ulong_t.
21575         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21576         include <bits/wordsize.h>.  Check __x86_64__ instead of
21577         __WORDSIZE.
21578         (greg_t): Use "__extension__ long long int" if __x86_64__ is
21579         defined.
21580         (mcontext_t): Replace "unsigned long" with "unsigned long long".
21582         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21583         include <bits/wordsize.h>.  Check __x86_64__ instead of
21584         __WORDSIZE.
21585         (user_regs_struct): Use "__extension__ unsigned long long"
21586         instead of "unsigned long" if __x86_64__ is defined.
21587         (user): Likewise.  Pad after pointer field if __ILP32__ is
21588         defined.
21590 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
21592         * configure.in (makeinfo): Require version 4.5 or later.  Allow
21593         versions 5 to 9.
21594         * configure: Regenerated.
21595         * manual/install.texi (texinfo): Increase version requirement to
21596         4.5 or later.
21597         * INSTALL: Regenerated.
21599         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21603         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21605         * sysdeps/x86_64/x32/ffs.c: New file.
21607         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21608         __syscall_ulong_t.
21609         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21610         defined.  Use __syscall_ulong_t.
21611         (shminfo): Use __syscall_ulong_t.
21612         (shm_info): Likewise.
21614         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21615         __syscall_ulong_t.
21617         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21618         <bits/wordsize.h>.
21619         (msgqnum_t): Use __syscall_ulong_t.
21620         (msglen_t): Likewise.
21621         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
21622         __syscall_ulong_t.
21624         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21625         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21627         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21629         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21630         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21632         * sysvipc/sys/msg.h (msgbuf): Replace long int with
21633         __syscall_slong_t.
21635         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21636         include <bits/wordsize.h>.  Check __x86_64__ instead of
21637         __WORDSIZE.
21639         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21640         "unsigned long long int" if __x86_64__ is defined.
21641         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21643         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21644         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21645         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21647         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21648         <stdint.h>.
21649         (GET_PC): Cast to uintptr_t first.
21650         (GET_FRAME): Likewise.
21651         (GET_STACK): Likewise.
21653         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21654         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21655         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21656         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21657         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21658         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21659         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21660         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21661         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21662         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21663         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21664         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21665         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21666         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21667         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21668         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21669         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21671         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21673         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21674         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21675         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21676         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21677         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21678         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21679         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21680         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21681         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21683 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
21685         * Makerules (+depfiles): Also collect depfiles from .oS in
21686         $(extra-objs).
21687         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21688         .oS, $(libnldbl-routines)).
21690         * Makerules (native-compile-mkdep-flags): Define.
21691         * sunrpc/Makefile (extra-objs): Add $(addprefix
21692         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21693         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21694         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
21695         calling $(make-target-directory).
21697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21699         * bits/types.h (__snseconds_t): Removed.
21700         * time/time.h (struct timespec): Replace __snseconds_t with
21701         __syscall_slong_t.
21702         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21703         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21704         Likewise.
21705         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21706         (__SNSECONDS_T_TYPE): Likewise.
21707         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21708         (__SNSECONDS_T_TYPE): Likewise.
21709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21710         (__SNSECONDS_T_TYPE): Likewise.
21712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21714         * sysdeps/mach/hurd/bits/typesizes.h
21715         (__SYSCALL_SLONG_TYPE): New macro.
21716         (__SYSCALL_ULONG_TYPE): Likewise.
21718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21720         * bits/types.h (__syscall_slong_t): New type.
21721         (__syscall_ulong_t): Likewise.
21723         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21724         (__SYSCALL_ULONG_TYPE): Likewise.
21725         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21726         (__SYSCALL_SLONG_TYPE): Likewise.
21727         (__SYSCALL_ULONG_TYPE): Likewise.
21728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21729         (__SYSCALL_SLONG_TYPE): Likewise.
21730         (__SYSCALL_ULONG_TYPE): Likewise.
21731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21732         (__SYSCALL_SLONG_TYPE): Likewise.
21733         (__SYSCALL_ULONG_TYPE): Likewise.
21735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21737         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21738         Add sigaltstack-offsets.sym.
21739         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21740         <sigaltstack-offsets.h>.
21741         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
21742         longjmp_msg pointer.
21743         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
21744         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21745         signal stack.
21746         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21748 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21750         * elf/stackguard-macros.h: Remove file.
21751         * sysdeps/generic/stackguard-macros.h: New file.
21752         * sysdeps/i386/stackguard-macros.h: Likewise.
21753         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21754         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21755         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21756         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21757         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21758         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21759         * sysdeps/x86_64/stackguard-macros.h: Likewise.
21760         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21761         <elf/stackguard-macros.h>.
21763         [BZ #14109]
21764         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21765         __aligned__ in attribute.
21766         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21767         (gregset_t): Likewise.
21769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21771         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21772         * sysdeps/x86_64/64/Implies-after: Here.  New file.
21773         * sysdeps/x86_64/x32/Implies-after: New file.
21775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21777         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21778         and access return value for _dl_profile_fixup.  Use R10_LP to
21779         load frame size.
21781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21783         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21787         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21788         * sysdeps/x86_64/x32/sysdep.h: New file.
21790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21792         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21793         * sysdeps/x86_64/setjmp.S: Likewise.
21795 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21797         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21798         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21799         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21800         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21801         remove unused global constant.
21803 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21805         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21806         include of <not-cancel.h>.
21808 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21810         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21812 2012-05-15  Jeff Law  <law@redhat.com>
21813             Andreas Jaeger  <aj@suse.de>
21815         [BZ #13594]
21816         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21817         out from...
21818         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21819         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21820         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21821         code changing __hst_map_handle.map.
21823 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21825         * configure.in (sysnames): Look for Implies-before and Implies-after
21826         files.
21827         * configure: Regenerated.
21829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21831         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21832         8-byte data alignment with LP_SIZE alignment.
21834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21836         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21837         into R10_LP.
21839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21841         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21845         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21846         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21847         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21848         Likewise.
21849         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21853         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21854         (stackinfo_sub_sp): Likewise.
21856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21858         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21859         RAX_LP.
21861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21863         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21864         into R*_LP.
21866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21868         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21869         sizes into R*_LP.
21871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21873         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21877         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21878         into R11_LP and load __x86_64_shared_cache_size_half into
21879         R8_LP.
21881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21883         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21884         R8_LP.
21886 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21889         logb for POWER7.
21890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21891         logbf for POWER7.
21892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21893         logbl for POWER7.
21894         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21895         powerpc32/power7/fpu/s_logb.c via #include.
21896         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21897         powerpc32/power7/fpu/s_logbf.c via #include.
21898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21899         powerpc32/power7/fpu/s_logbl.c via #include.
21901 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21903         * README.libm: Remove file.
21905 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21907         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21908         count for x32.  Use R*_LP and omit operand-size suffix.
21910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21912         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21913         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21914         * sysdeps/x86_64/x32/shlib-versions: New file.
21916 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21918         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21919         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21920         Use _dl_fatal_printf instead.
21922 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21924         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21925         set if not set by the user.  Do not allow for being unset.
21926         * sysdeps/unix/sysv/linux/configure: Regenerated.
21928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21930         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21931         the `q' suffix from lea and replace .quad with ASM_ADDR.
21933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21936         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21937         instead of $17.
21938         (PTR_DEMANGLE): Likewise.
21940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21942         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21943         (LP_OP): Likewise.
21944         (ASM_ADDR): Likewise.
21945         (RAX_LP): Likewise.
21946         (RBP_LP): Likewise.
21947         (RBX_LP): Likewise.
21948         (RCX_LP): Likewise.
21949         (RDI_LP): Likewise.
21950         (RSI_LP): Likewise.
21951         (RSP_LP): Likewise.
21952         (R8_LP): Likewise.
21953         (R9_LP): Likewise.
21954         (R10_LP): Likewise.
21955         (R10_LP): Likewise.
21956         (R11_LP): Likewise.
21957         (R12_LP): Likewise.
21958         (R13_LP): Likewise.
21959         (R14_LP): Likewise.
21960         (R15_LP): Likewise.
21962 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21964         * sysdeps/x86_64/x32/dl-machine.h: New file.
21966 2012-05-14  Andreas Jaeger  <aj@suse.de>
21968         * manual/Makefile (subdir): Remove export of subdir.
21969         (all): Remove target.
21970         (.PHONY): Remove all from list.
21971         (mkinstalldirs): Remove.
21972         (.PHONY): Remove installdirs from list.
21973         ($(inst_infodir)/libc.info): Use make-target-directory.
21974         (installdirs): Remove.
21975         (subdir_%): Remove.
21976         (glibc-targets): Remove.
21977         (lib): Remove.
21978         (stubs): Remove.
21979         ($(objpfx)stubs ../po/manual.pot): Remove.
21980         ($(objpfx)stamp%): Remove.
21981         (make-target-directory): Remove.
21982         (subdir_install): Remove.
21983         (routines): Remove.
21984         (aux): Remove.
21985         (sources): Remove.
21986         (objects): Remove.
21987         (headers): Remove.
21989         [BZ #13750]
21990         * manual/.gitignore: Remove, it's not needed anymore.
21991         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21992         all files in it.
21993         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21994         directory.
21995         (texis): Renamed to $(objpfx)texis.
21996         (texis-path): New, contains path to generated files.
21997         (chapters.%): Use texis-path for complete path, add extra argument
21998         libc-texinfo.sh.
21999         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22000         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22001         (summary,texi, stamp-summary): Use complete path of
22002         files. Generate files in build dir.
22003         (dir-add.texi): Build in build dir.
22004         (libm-err.texi,stamp-libm-err): Likewise.
22005         (version.texi, stamp-version): Likewise.
22006         (.%c.texi): Likewise.
22007         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22008         (mostlyclean): Remove target.
22009         (realclean): Remove target.
22010         (generated): Add new variable with contents from mostlyclean and
22011         realclean, remove entries duplicated in common-mostlyclean, add
22012         stamp-libm-err and stamp-version.
22013         (generated-dirs): Add libc directory.
22014         ($(inst_infodir)/libc.info): Install files from build dir.
22016         * manual/install.texi (Configuring and compiling): Adjust since
22017         the info files are not part of the tar ball anymore.
22019 2012-05-14  Andreas Jaeger  <aj@suse.de>
22021         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22022         variable.
22024 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22026         [BZ #13717]
22027         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22028         to 2.2.0 where earlier.
22029         * sysdeps/unix/sysv/linux/configure: Regenerated.
22030         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22031         Remove conditional code.
22032         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22033         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22034         Remove conditional code.
22035         [!__NR_lchown]: Likewise.
22036         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22037         [__NR_lchown]: Likewise.
22038         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22039         comment referencing __ASSUME_LCHOWN_SYSCALL.
22040         * sysdeps/unix/sysv/linux/i386/sigaction.c
22041         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22042         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22043         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22044         Remove conditional code.
22045         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22046         (__protocol_available): Remove #if 0 code.
22047         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22048         conditional code.
22049         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22050         * sysdeps/unix/sysv/linux/kernel-features.h
22051         (__ASSUME_GETCWD_SYSCALL): Don't define.
22052         (__ASSUME_REALTIME_SIGNALS): Likewise.
22053         (__ASSUME_PREAD_SYSCALL): Likewise.
22054         (__ASSUME_PWRITE_SYSCALL): Likewise.
22055         (__ASSUME_POLL_SYSCALL): Likewise.
22056         (__ASSUME_LCHOWN_SYSCALL): Likewise.
22057         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22058         non-SPARC.
22059         (__ASSUME_SIOCGIFNAME): Don't define.
22060         (__ASSUME_MSG_NOSIGNAL): Likewise.
22061         (__ASSUME_SENDFILE): Define unconditionally.
22062         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22063         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22064         conditional code.
22065         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22066         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22067         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22068         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22069         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22070         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22071         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22073         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22076         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22079         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22082         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22085         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22088         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22091         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22094         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22096         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22097         Remove conditional code.
22098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22099         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22100         Remove conditional code.
22101         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22102         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22103         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22104         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22105         Remove conditional code.
22106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22107         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22108         Remove conditional code.
22109         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22110         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22111         Remove conditional code.
22112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22113         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22114         Remove conditional code.
22115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22116         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22117         Remove conditional code.
22118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22119         * sysdeps/unix/sysv/linux/sh/pwrite64.c
22120         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22122         * sysdeps/unix/sysv/linux/sigaction.c
22123         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22124         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22125         * sysdeps/unix/sysv/linux/sigpending.c
22126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22128         * sysdeps/unix/sysv/linux/sigprocmask.c
22129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22131         * sysdeps/unix/sysv/linux/sigsuspend.c
22132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22134         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22135         (__libc_missing_rt_sigs): Remove.
22136         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22137         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22138         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22139         Remove conditional code.
22140         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22141         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22142         return 1.
22143         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22144         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22145         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22146         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22148 2012-05-14  Andreas Jaeger  <aj@suse.de>
22150         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22151         it's not used in glibc.
22152         (__coshm1): Likewise.
22153         (__acosh1p): Likewise.
22154         (__sgn): Likewise.
22156         * manual/string.texi (Copying and Concatenation): Add missing
22157         variable in concat example.
22158         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22160 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22162         [BZ #14103]
22163         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22164         __builtin_clzl with __builtin_clzll.
22166 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22168         [BZ #14104]
22169         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22170         libc_freeres_ptr.
22172 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22174         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22175         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22176         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22177         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22179 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
22181         * NEWS: Update ia64 info.
22183 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
22185         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22186         used as bcopy.
22188 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
22190         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22191         * sysdeps/unix/syscalls.list (dup3): Likewise.
22192         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22193         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22195 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22197         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22198         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22200 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22202         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22203         thread pointer.
22204         (TLS_IE): Use mov/add instead of movq/addq to load thread
22205         pointer.
22206         (TLS_GD_PREFIX): New.
22207         (TLS_GD): Use it.
22209 2012-05-11  David S. Miller  <davem@davemloft.net>
22211         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22212         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22213         (_FPU_SETCW): Likewise.
22215 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22217         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22218         is 32-byte aligned.
22220 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
22222         [BZ #11837]
22223         * iconvdata/gb18030.c: Update tables.
22224         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
22225         characters specially.
22226         (BODY for TO_LOOP): Add encoding of missing ranges.
22228 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
22230         [BZ #13673]
22231         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22232         * sysdeps/mach/hurd/dup3.c: Likewise.
22233         * sysdeps/mach/hurd/readlinkat.c: Likewise.
22234         * sysdeps/powerpc/memmove.c:: Likewise.
22236 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22238         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22239         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22241 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22243         * elf/elf.h (R_X86_64_RELATIVE64): New.
22244         (R_X86_64_NUM): Updated.
22245         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22246         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
22247         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22248         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22249         tst-quad1pie tst-quad2pie
22250         (modules-names): Add tst-quadmod1 tst-quadmod2.
22251         ($(objpfx)tst-quad1): New dependency.
22252         ($(objpfx)tst-quad2): Likewise.
22253         ($(objpfx)tst-quad1pie): Likewise.
22254         ($(objpfx)tst-quad2pie): Likewise.
22255         * sysdeps/x86_64/tst-quad1.c: New file.
22256         * sysdeps/x86_64/tst-quad1pie.c: New file.
22257         * sysdeps/x86_64/tst-quad2.c: Likewise.
22258         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22259         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22260         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22261         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22262         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22266         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22267         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22268         * streams/stropts.h (t_scalar_t): Define type.
22270         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22271         (_PATH_PRESERVE): Set to "/var/lib".
22272         (_PATH_RWHODIR): Set to "/var/spool/rwho".
22274         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22275         instead of int.
22277         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22278         if __dir_mkfile succeeded.
22280         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22281         checking for _hurd_dtablesize.  Unlock it right after having
22282         finished _hurd_dtable allocation.
22284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22286         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22287         * sysdeps/mach/hurd/configure: Regenerated.
22288         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22289         special-casing to...
22290         * sysdeps/gnu/configure.in: ... this new file.
22291         * sysdeps/unix/sysv/linux/configure: Regenerated.
22292         * sysdeps/gnu/configure: New generated file.
22294         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22295         for Linux: use nsec instead of usec, as well as:
22296         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22297         members of type struct timespec.
22298         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22299         New macros.
22300         (struct stat64): Likewise.
22301         (_STATBUF_ST_NSEC): New macro.
22302         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22304         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22305         __strtoul_internal rather than strtoul.
22307 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22309         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22310         and reject them.
22312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22314         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22315         which preserves existing values.
22316         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22318 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22320         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22321         TIMEOUT values.  Return EINVAL for NFDS values either negative or
22322         greater than FD_SETSIZE.
22324 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22326         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22327         allocated, call __vm_protect to finish enabling the existing space, and
22328         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22329         allocate the remainder.
22331 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22333         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22334         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
22336 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22338         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22339         sysdeps/mach/hurd/readlink.c.
22341         * posix/tst-sysconf.c (posix_options): Only use
22342         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22343         _POSIX_SYNCHRONIZED_IO when they are defined
22344         * sysdeps/mach/hurd/bits/posix_opt.h:
22345         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22346         (_XOPEN_REALTIME): Undefine macro.
22347         (_XOPEN_REALTIME_THREADS): Undefine macro.
22348         (_XOPEN_SHM): Undefine macro.
22349         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22350         macro to -1.
22351         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22352         macro to -1.
22353         (_POSIX_ASYNC_IO): Undefine macro.
22354         (_POSIX_PRIORITIZED_IO): Undefine macro.
22355         (_POSIX_SPIN_LOCKS): Define macro to -1.
22357         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22358         SA_NODEFER, SA_RESETHAND.
22359         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22360         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22361         F_DUPFD_CLOEXEC.
22363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22365         * elf/Makefile (pldd-modules): Define unconditionally.
22367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22369         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22373         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22374         Return ENOENT when name is empty.
22375         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22377 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22379         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22381         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22383 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22385         Fix mlock in all cases except non-readable pages.
22386         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22387         instead of VM_PROT_ALL as parameter to __vm_wire function.
22389         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22390         (__mkdir): When path is `/', just fail with EEXIST.
22391         * sysdeps/mach/hurd/mkdirat.c: Likewise.
22393 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22395         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22396         <sys/uio.h> (for writev).
22397         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22398         and <sys/param.h> (for MIN).
22400 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22402         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22403         REQUESTED_TIME.  Properly set the remaining time and return EINTR
22404         if interrupted.
22406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22408         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22409         Depend on against $(link-rpcuserlibs).
22411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22413         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22414         (__libc_stack_end): Do not use attribute_relro.
22415         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22416         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22417         to libthread-provided value.
22418         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22419         attribute_relro.
22421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22423         [BZ #3748]
22424         * bits/libc-lock.h (__libc_once_get): New macro.
22425         * sysdeps/mach/bits/libc-lock.h: Likewise.
22426         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22427         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22428         instead of using implementation details.
22430         * libio/fileops.c: Unconditionally include <kernel-features.h>.
22431         * libio/freopen.c: Likewise.
22432         * libio/freopen64.c: Likewise.
22433         * misc/syslog.c: Likewise.
22434         * nscd/connections.c: Likewise.
22435         * nscd/netgroupcache.c: Likewise.
22436         * sysdeps/posix/getcwd.c: Likewise.
22438 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22440         * math/w_ilogbf.c: Add #include <limits.h>.
22442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22444         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22445         path instead of returning without unlocking.
22447         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22448         immediate-write ioctls.
22449         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22453         * sysdeps/mach/hurd/i386/init-first.c (init): Use
22454         __builtin_frame_address instead of making assumptions about the
22455         location of the return address relative to DATA.  Force early load of
22456         the return address.
22457         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22458         __builtin_frame_address.
22460         dup3 for GNU Hurd.
22461         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22462         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
22463         implement dup3 and do some further code clean-ups.
22464         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22465         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22469         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22471         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22472         HURD_CRITICAL_END around holding _hurd_dtable_lock.
22473         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22474         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22475         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22476         d->port.lock.
22478         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22479         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
22480         when handler == SIG_ERR, not when handler != SIG_ERR.
22482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22484         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22485         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22486         definitions.
22488         accept4 for GNU Hurd.
22489         * include/sys/socket.h (__libc_accept4): New prototype.
22490         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
22491         to implement __libc_accept4.
22492         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22493         __libc_accept4.
22494         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22496         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22497         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22498         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22499         signal-defines.sym.
22501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22503         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22507         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22508         assertion on O_CLOEXEC flag.
22509         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22510         * hurd/intern-fd.c: Likewise.
22511         * hurd/port2fd.c: Likewise.
22513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22515         [BZ #3906]
22516         * bits/in.h (IPV6_PKTINFO): Define new macro.
22517         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22519 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22521         [BZ #13954]
22522         [BZ #13955]
22523         [BZ #13956]
22524         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22526         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22527         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22529         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22530         * math/libm-test.inc (logb_test) : Additional logb tests.
22532 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
22533             Andreas Jaeger  <aj@suse.de>
22535         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22536         * configure: Regenerated.
22537         * config.h.in (LINK_OBSOLETE_RPC): New macro.
22538         * config.make.in (link-obsolete-rpc): New substituted variable.
22539         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22540         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22541         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22542         (shared-only-routines): Don't set it under [link-obsolete-rpc],
22543         so that libc.a contains the symbols.
22544         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22545         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22546         * sunrpc/auth_none.c: Likewise.
22547         * sunrpc/auth_unix.c: Likewise.
22548         * sunrpc/authdes_prot.c: Likewise.
22549         * sunrpc/authuxprot.c: Likewise.
22550         * sunrpc/clnt_gen.c: Likewise.
22551         * sunrpc/clnt_perr.c: Likewise.
22552         * sunrpc/clnt_raw.c: Likewise.
22553         * sunrpc/clnt_simp.c: Likewise.
22554         * sunrpc/clnt_tcp.c: Likewise.
22555         * sunrpc/clnt_udp.c: Likewise.
22556         * sunrpc/clnt_unix.c: Likewise.
22557         * sunrpc/des_crypt.c: Likewise.
22558         * sunrpc/des_soft.c: Likewise.
22559         * sunrpc/get_myaddr.c: Likewise.
22560         * sunrpc/key_call.c: Likewise.
22561         * sunrpc/key_prot.c: Likewise.
22562         * sunrpc/netname.c: Likewise.
22563         * sunrpc/pm_getmaps.c: Likewise.
22564         * sunrpc/pm_getport.c: Likewise.
22565         * sunrpc/pmap_clnt.c: Likewise.
22566         * sunrpc/pmap_prot.c: Likewise.
22567         * sunrpc/pmap_prot2.c: Likewise.
22568         * sunrpc/pmap_rmt.c: Likewise.
22569         * sunrpc/publickey.c: Likewise.
22570         * sunrpc/rpc_cmsg.c: Likewise.
22571         * sunrpc/rpc_common.c: Likewise.
22572         * sunrpc/rpc_dtable.c: Likewise.
22573         * sunrpc/rpc_prot.c: Likewise.
22574         * sunrpc/rpc_thread.c: Likewise.
22575         * sunrpc/rtime.c: Likewise.
22576         * sunrpc/svc.c: Likewise.
22577         * sunrpc/svc_auth.c: Likewise.
22578         * sunrpc/svc_raw.c: Likewise.
22579         * sunrpc/svc_run.c: Likewise.
22580         * sunrpc/svc_tcp.c: Likewise.
22581         * sunrpc/svc_udp.c: Likewise.
22582         * sunrpc/svc_unix.c: Likewise.
22583         * sunrpc/svcauth_des.c: Likewise.
22584         * sunrpc/xcrypt.c: Likewise.
22585         * sunrpc/xdr.c: Likewise.
22586         * sunrpc/xdr_array.c: Likewise.
22587         * sunrpc/xdr_float.c: Likewise.
22588         * sunrpc/xdr_intXX_t.c: Likewise.
22589         * sunrpc/xdr_mem.c: Likewise.
22590         * sunrpc/xdr_rec.c: Likewise.
22591         * sunrpc/xdr_ref.c: Likewise.
22592         * sunrpc/xdr_sizeof.c: Likewise.
22593         * sunrpc/xdr_stdio.c: Likewise.
22595 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22597         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22598         change.  Update copyright years.
22600 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22602         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22604 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
22605             Joseph Myers  <joseph@codesourcery.com>
22606             Paul Pluzhnikov  <ppluzhnikov@google.com>
22608         [BZ #14012]
22609         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22610         requiring rpcgen.
22611         [cross-compiling] (extra-libs): Likewise.
22612         [cross-compiling] (extra-libs-others): Likewise.
22613         [cross-compiling] (librpcsvc-routines): Likewise.
22614         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22615         [cross-compiling] (omit-deps): Likewise.
22616         (sunrpc-CPPFLAGS): New variable.
22617         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22618         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22619         (cross-rpcgen-objs): New variable.
22620         (extra-objs): Append $(cross-rpcgen-objs).
22621         ($(cross-rpcgen-objs)): New rule.
22622         ($(objpfx)cross-rpcgen): Likewise.
22623         (rpcgen-cmd): Define to use $(built-program-file).  Expand
22624         comment.
22625         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22626         ($(objpfx)x%.stmp): Likewise.
22627         * sunrpc/proto.h [IS_IN_build] (_): Define.
22628         [IS_IN_build] (_libc_intl_domainname): Likewise.
22630 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22633         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22634         and R_X86_64_TPOFF64.
22636 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22638         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22639         sysdeps/unix/sysv/syscalls.list.
22640         (stime): Likewise.
22641         (utime): Likewise.
22642         * sysdeps/unix/sysv/syscalls.list: Remove file.
22644 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
22646         [BZ #3440]
22647         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22648         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22649         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22650         (__LC_IDENTIFICATION): Make these macros useful in #if
22651         expressions, as required by C99.
22653 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
22655         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22656         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
22657         after this.
22659 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
22661         * stdlib/longlong.h: Updated from GCC.
22663 2012-05-09  Andreas Jaeger  <aj@suse.de>
22665         * nscd/nscd.c (run_modes): Make named enum, reorder so that
22666         default is first entry.
22667         (run_mode): Set type.
22668         (main): Remove informal message about syslog.
22669         (options): Fix typo.
22671         [BZ #14053]
22672         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22673         to asm.
22674         (lrint): Likewise.
22675         (llrintf): Likewise.
22676         (llrint): Likewise.
22677         (rint): Likewise.
22678         (rintf): Likewise.
22679         (nearbyint): Likewise.
22680         (nearbyintf): Likewise.
22682 2012-05-09  Andreas Jaeger  <aj@suse.de>
22683             Pedro Alves  <palves@redhat.com>
22685         * nscd/nscd.c (run_mode): Use enum.
22686         (main): Cleanup coding style issue.
22688 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
22689             Andreas Jaeger  <aj@suse.de>
22691         * nscd/nscd.c (go_background): Replaced with...
22692         (run_mode): ... this.
22693         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22694         (options): Add -F --foreground.
22695         (main): Implement it.
22696         (parse_opt): Parse it.
22698 2012-05-09  Andreas Jaeger  <aj@suse.de>
22700         [BZ #14083]
22701         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22702         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22703         -Wconversion warning.
22704         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22705         Likewise.
22707 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
22709         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
22710         == 0.
22711         (LC_ALL): Use macro-int-constant.
22712         (LC_COLLATE): Likewise.
22713         (LC_CTYPE): Likewise.
22714         (LC_MESSAGES): Likewise.
22715         (LC_MONETARY): Likewise.
22716         (LC_NUMERIC): Likewise.
22717         (LC_TIME): Likewise.
22718         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22719         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22721         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22722         Specify type.
22723         [C99-based standards] (float_t): Expect type.
22724         [C99-based standards] (double_t): Expect type.
22725         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
22726         type.
22727         [C99-based standards] (HUGE_VALL): Likewise.
22728         [C99-based standards] (INFINITY): Likewise.
22729         [C99-based standards] (NAN): Likewise.
22730         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22731         [C99-based standards] (FP_NAN): Likewise.
22732         [C99-based standards] (FP_NORMAL): Likewise.
22733         [C99-based standards] (FP_SUBNORMAL): Likewise.
22734         [C99-based standards] (FP_ZERO): Likewise.
22735         [C99-based standards] (FP_FAST_FMA): Use
22736         optional-macro-int-constant.  Specify type.  Require == 1.
22737         [C99-based standards] (FP_FAST_FMAF): Likewise.
22738         [C99-based standards] (FP_FAST_FMAL): Likewise.
22739         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22740         [C99-based standards] (FP_ILOGBNAN): Likewise.
22741         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22742         Specify type.
22743         [C99-based standards] (MATH_ERREXCEPT): Likewise.
22744         [C99-based standards] (math_errhandling): Specify type.
22745         [ISO99 || ISO11] (signgam): Do not allow.
22746         [non-C99-based standards] (copysignf): Do not allow.
22747         [non-C99-based standards] (exp2f): Likewise.
22748         [non-C99-based standards] (log2f): Likewise.
22749         [non-C99-based standards] (modff): Allow.
22750         [non-C99-based standards] (erff): Do not allow.
22751         [non-C99-based standards] (erfcf): Likewise.
22752         [non-C99-based standards] (gammaf): Likewise.
22753         [non-C99-based standards] (hypotf): Likewise.
22754         [non-C99-based standards] (j0f): Likewise.
22755         [non-C99-based standards] (j1f): Likewise.
22756         [non-C99-based standards] (jnf): Likewise.
22757         [non-C99-based standards] (lgammaf): Likewise.
22758         [non-C99-based standards] (tgammaf): Likewise.
22759         [non-C99-based standards] (y0f): Likewise.
22760         [non-C99-based standards] (y1f): Likewise.
22761         [non-C99-based standards] (ynf): Likewise.
22762         [non-C99-based standards] (isnanf): Likewise.
22763         [non-C99-based standards] (acoshf): Likewise.
22764         [non-C99-based standards] (asinhf): Likewise.
22765         [non-C99-based standards] (atanhf): Likewise.
22766         [non-C99-based standards] (cbrtf): Likewise.
22767         [non-C99-based standards] (expm1f): Likewise.
22768         [non-C99-based standards] (ilogbf): Likewise.
22769         [non-C99-based standards] (log1pf): Likewise.
22770         [non-C99-based standards] (logbf): Likewise.
22771         [non-C99-based standards] (nextafterf): Likewise.
22772         [non-C99-based standards] (remainderf): Likewise.
22773         [non-C99-based standards] (rintf): Likewise.
22774         [non-C99-based standards] (scalbf): Likewise.
22775         [non-C99-based standards] (copysignl): Likewise.
22776         [non-C99-based standards] (exp2l): Likewise.
22777         [non-C99-based standards] (log2l): Likewise.
22778         [non-C99-based standards] (modfl): Allow.
22779         [non-C99-based standards] (erfl): Do not allow.
22780         [non-C99-based standards] (erfcl): Likewise.
22781         [non-C99-based standards] (gammal): Likewise.
22782         [non-C99-based standards] (hypotl): Likewise.
22783         [non-C99-based standards] (j0l): Likewise.
22784         [non-C99-based standards] (j1l): Likewise.
22785         [non-C99-based standards] (jnl): Likewise.
22786         [non-C99-based standards] (lgammal): Likewise.
22787         [non-C99-based standards] (tgammal): Likewise.
22788         [non-C99-based standards] (y0l): Likewise.
22789         [non-C99-based standards] (y1l): Likewise.
22790         [non-C99-based standards] (ynl): Likewise.
22791         [non-C99-based standards] (isnanl): Likewise.
22792         [non-C99-based standards] (acoshl): Likewise.
22793         [non-C99-based standards] (asinhl): Likewise.
22794         [non-C99-based standards] (atanhl): Likewise.
22795         [non-C99-based standards] (cbrtl): Likewise.
22796         [non-C99-based standards] (expm1l): Likewise.
22797         [non-C99-based standards] (ilogbl): Likewise.
22798         [non-C99-based standards] (log1pl): Likewise.
22799         [non-C99-based standards] (logbl): Likewise.
22800         [non-C99-based standards] (nextafterl): Likewise.
22801         [non-C99-based standards] (remainderl): Likewise.
22802         [non-C99-based standards] (rintl): Likewise.
22803         [non-C99-based standards] (scalbl): Likewise.
22804         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22805         [non-C99-based standards] (FP_*): Do not allow.
22806         [C99-based standards] (FP_*): Change to
22807         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22808         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22809         allow.
22810         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22811         (SIG_ERR): Likewise.
22812         [X/Open-based standards] (SIG_HOLD): Likewise.
22813         (SIG_IGN): Likewise.
22814         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22815         positive value.
22816         (SIGFPE): Likewise.
22817         (SIGILL): Likewise.
22818         (SIGINT): Likewise.
22819         (SIGSEGV): Likewise.
22820         (SIGTER): Likewise.
22821         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22822         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22823         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22824         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22825         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22826         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22827         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22828         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22829         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22830         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22831         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22832         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22833         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22834         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22835         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22836         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22837         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22838         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22839         [X/Open-based standards] (SIGTRAP): Likewise.
22840         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22841         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22842         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22843         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22844         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22845         allow.
22847 2012-05-08  Ian Wienand  <ianw@vmware.com>
22849         [BZ #14080]
22850         * time/tzset.c (__tzset_parse_tz): Update default rules for
22851         daylight time changes in the Energy Policy Act of 2005.
22853 2012-05-09  Andreas Jaeger  <aj@suse.de>
22855         [BZ #13983]
22856         * elf/ldconfig.c (parse_conf): Change string to make clear that
22857         ldconfig only issued a warning if ld.so.conf does not exist.
22859 2012-05-08  David S. Miller  <davem@davemloft.net>
22861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22862         movxtod instead of popping the value on the stack.
22864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22866 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22868         * config.h.in: Add HAVE_ARM_PCS_VFP.
22870 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22872         [BZ #13979]
22873         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22874         checking but the checks are disabled for any reason.
22876 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22878         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22879         and ELF64_R_TYPE with ELFW(R_TYPE).
22881 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22883         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22884         (ulimit): Likewise.
22886         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22887         (settimeofday): Likewise.
22889 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22891         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22892         a struct th_u2 inside the union, and move tu_block/tu_code into
22893         a new th_u3 union of tu_block/tu_code inside of that.  Move
22894         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22895         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22896         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22897         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22898         (th_stuff): Change to th_u1.tu_stuff.
22899         (th_data): Define.
22900         (th_msg): Change to th_u1.th_u2.tu_data.
22902 2012-05-07  David S. Miller  <davem@davemloft.net>
22904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22906         [BZ #14074]
22907         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22908         (SETUP_PIC_REG): Use it.
22909         (SETUP_PIC_REG_LEAF): Use it.
22911 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22913         [BZ #13885]
22914         [BZ #13923]
22915         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22916         USE_AS_EXPM1L.
22917         (EXPL_FINITE): Likewise.
22918         (FLDLOG): Likewise.
22919         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22920         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22921         e_expl.S.
22922         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22923         USE_AS_EXPM1L.
22924         (EXPL_FINITE): Likewise.
22925         (FLDLOG): Likewise.
22926         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22927         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22928         e_expl.S.
22929         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22930         test of -max_value argument for long double.
22931         * sysdeps/i386/fpu/libm-test-ulps: Update.
22932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22934 2012-05-06  David S. Miller  <davem@davemloft.net>
22936         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22937         quad soft-float symbols whose references which are compiler
22938         generated.
22939         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22941 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22943         [BZ #13884]
22944         [BZ #13914]
22945         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22946         USE_AS_EXP10L.
22947         (EXPL_FINITE): Likewise.
22948         (FLDLOG): Likewise.
22949         (c0): Likewise.
22950         (c1): Likewise.
22951         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22952         Adjust comments for base varying.
22953         (__expl_finite): Change alias to EXPL_FINITE.
22954         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22955         e_expl.S.
22956         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22957         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22958         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22959         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22961         USE_AS_EXP10L.
22962         (EXPL_FINITE): Likewise.
22963         (FLDLOG): Likewise.
22964         (c0): Likewise.
22965         (c1): Likewise.
22966         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22967         Adjust comments for base varying.
22968         (__expl_finite): Change alias to EXPL_FINITE.
22969         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22970         tests for bugs.
22971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22973         [BZ #14064]
22974         * math/libm-test.inc (check_float_internal): Correct ulp
22975         calculation for subnormal expected results.
22977 2012-05-06  Andreas Jaeger  <aj@suse.de>
22979         * Makeconfig (+math-flags): New, set to -frounding-math.
22980         (+cflags): Add +math-flags so that all of glibc gets compiled with
22981         it.
22983         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22985 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22987         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22988         Disable one test.
22990         [BZ #13787]
22991         [BZ #13922]
22992         [BZ #14036]
22993         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22994         (__ieee754_expl): Allow for and saturate large arguments.
22995         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22996         (u_threshold): Likewise.
22997         (__exp): Call __ieee754_exp before checking for overflow and
22998         underflow.
22999         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23000         (u_threshold): Likewise.
23001         (__expf): Call __ieee754_expf before checking for overflow and
23002         underflow.
23003         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23004         (u_threshold): Likewise.
23005         (__expl): Call __ieee754_expl before checking for overflow and
23006         underflow.
23007         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23008         (__ieee754_expl): Allow for and saturate large arguments.
23009         * math/libm-test.inc (exp_test): Add another test.  Do not allow
23010         missing overflow exception on overflow.
23011         (expm1_test): Do not allow missing overflow exception on overflow.
23013         * sysdeps/i386/fpu/e_expl.c: Move to ...
23014         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
23015         rather than using inline asm.
23016         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23017         * sysdeps/x86_64/fpu/e_expl.S: Copy from
23018         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23020         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23021         (nice): Likewise.
23022         (poll): Likewise.
23023         (signal): Likewise.
23024         (time): Likewise.
23025         (times): Likewise.
23027 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23029         * sysdeps/unix/syscalls.list (adjtime): Add entry from
23030         sysdeps/unix/common/syscalls.list.
23031         (fchmod): Likewise.
23032         (fchown): Likewise.
23033         (ftruncate): Likewise.
23034         (getrusage): Likewise.
23035         (gettimeofday): Likewise.
23036         (setpgid): Likewise.
23037         (setregid): Likewise.
23038         (setreuid): Likewise.
23039         (sigaction): Likewise.
23040         (truncate): Likewise.
23041         (vhangup): Likewise.
23042         * sysdeps/unix/common/syscalls.list: Remove file.
23043         * sysdeps/unix/bsd/Implies: Don't include unix/common.
23044         * sysdeps/unix/sysv/linux/Implies: Likewise.
23046 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
23048         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23050         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23051         Moved to ...
23052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23053         Here.
23054         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23055         to ...
23056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23057         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23058         to ...
23059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23060         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23061         to ...
23062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23063         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23064         to ...
23065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23066         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23067         to ...
23068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23069         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23070         to ...
23071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23072         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23073         to ...
23074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23075         Here.
23076         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23077         to ...
23078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23079         Here.
23080         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23081         to ...
23082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23083         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23084         Moved to ...
23085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23086         Here.
23087         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23088         to ...
23089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23091 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23093         * sysdeps/unix/common/bits/dirent.h: Remove file.
23094         * sysdeps/unix/common/bits/fcntl.h: Likewise.
23096         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23097         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23098         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23099         * sysdeps/unix/bsd/isatty.c: Likewise.
23100         * sysdeps/unix/bsd/tcdrain.c: Likewise.
23101         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23102         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23104 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23106         [BZ #13563]
23107         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23108         long double comparison inaccuracies.
23109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23112 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
23114         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23115         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23117 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23119         [BZ #14049]
23120         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23121         nonzero digits before rounding a hex value.
23122         * stdlib/tst-strtod.c (tests): Add another test.
23124 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23126         * sysdeps/s390/fpu/libm-test-ulps: Update.
23128 2012-05-03  Andreas Jaeger  <aj@suse.de>
23130         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23131         does not get optimized out.
23132         (malloc_opt_barrier): New.
23134 2012-05-03  Andreas Jaeger  <aj@suse.de>
23135             Roland McGrath  <roland@hack.frob.com>
23137         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23138         intermediate file deletion.
23139         (generated): Add .symlist files.
23141 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
23143         [BZ #13775]
23144         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23145         Redirect under this condition.
23146         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23147         [__USE_GNU] (__dprintf_chk): Not under this condition.
23148         [__USE_GNU] (__vdprintf_chk): Likewise.
23149         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23150         under this condition.
23151         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23152         [__USE_XOPEN2K8] (dprintf): Define under this condition.
23153         [__USE_XOPEN2K8] (vdprintf): Likewise.
23154         [__USE_GNU] (__dprintf_chk): Not under this condition.
23155         [__USE_GNU] (__vdprintf_chk): Likewise.
23156         [__USE_GNU] (dprintf): Likewise.
23157         [__USE_GNU] (vdprintf): Likewise.
23159 2012-05-03  Roland McGrath  <roland@hack.frob.com>
23161         * elf/Makefile (common-generated): Set this instead of generated for
23162         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
23163         $(all-built-dso)-derived lists.
23165 2012-05-03  Andreas Jaeger  <aj@suse.de>
23167         * sysdeps/i386/fpu/libm-test-ulps: Update.
23169         * FAQ: Removed.
23170         * FAQ.in: Likewise.
23171         * scripts/gen-FAQ.pl: Likewise.
23172         * manual/install.texi (Installation): Point to online location of
23173         FAQ.
23174         * Makefile (files-for-dist): Remove FAQ.
23175         (FAQ): Remove.
23177 2012-05-02  Allan McRae  <allan@archlinux.org>
23179         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23180         (LDFLAGS-reldepmod5.so): Likewise.
23181         (LDFLAGS-reldep6mod1.so): Likewise.
23182         (LDFLAGS-reldep6mod4.so): Likewise.
23183         (LDFLAGS-reldep8mod3.so): Likewise.
23184         (LDFLAGS-unload4mod1.so): Likewise.
23185         (LDFLAGS-unload4mod2.so): Likewise.
23186         (LDFLAGS-tst-initorder): Likewise.
23187         (LDFLAGS-tst-initordera2.so): Likewise.
23188         (LDFLAGS-tst-initordera3.so): Likewise.
23189         (LDFLAGS-tst-initordera4.so): Likewise.
23190         (LDFLAGS-tst-initorderb2.so): Likewise.
23191         (LDFLAGS-noload): Likewise.
23192         (LDFLAGS-next): Likewise.
23193         (LDFLAGS-order2mod1.so): Likewise.
23194         (LDFLAGS-order2mod2.so): Likewise.
23195         (LDFLAGS-tst-initorder2): Likewise.
23196         (LDFLAGS-tst-initorder2a.so): Likewise.
23197         (LDFLAGS-tst-initorder2b.so): Likewise.
23198         (LDFLAGS-tst-initorder2c.so): Likewise.
23199         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23201 2012-05-02  David S. Miller  <davem@davemloft.net>
23203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23205 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23207         [BZ #14055]
23208         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23210 2012-05-02  Andreas Jaeger  <aj@suse.de>
23212         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23213         since we manipulate rounding mode.
23214         (CPPFLAGS-test-idouble.c): Likewise.
23215         (CPPFLAGS-test-ifloat.c): Likewise.
23216         (CFLAGS-test-ldouble.c): Likewise.
23217         (CFLAGS-test-double.c): Likewise.
23218         (CFLAGS-test-float.c): Likewise.
23219         (CFLAGS-test-misc.c): Likewise.
23220         (CFLAGS-test-test-fenv.c): Likewise.
23222 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23224         [BZ #2550]
23225         [BZ #2570]
23226         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23227         comparisons to determine direction to adjust input.
23229 2012-05-01  Roland McGrath  <roland@hack.frob.com>
23231         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23232         output to the target.
23234         * scripts/localplt.awk: New file.
23235         * elf/Makefile ($(objpfx)check-localplt): Target removed.
23236         (check-localplt-CFLAGS): Variable removed.
23237         ($(all-built-dso:=.jmprel)): New static pattern rule.
23238         (generated): Add those targets.
23239         (localplt-built-dso): New variable.
23240         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23242         * elf/check-localplt.c: File removed.
23244         * scripts/check-execstack.awk: New file.
23245         * elf/Makefile ($(objpfx)check-execstack): Target removed.
23246         (check-execstack-CFLAGS): Variable removed.
23247         ($(objpfx)check-execstack.h): Target removed.
23248         ($(objpfx)execstack-default): New target.
23249         (generated): Add that instead of check-execstack.h.
23250         ($(all-built-dso:=.phdr)): New static pattern rule.
23251         (generated): Add those targets.
23252         * elf/check-execstack.c: File removed.
23254         * scripts/check-textrel.awk: New file.
23255         * elf/Makefile ($(objpfx)check-textrel): Target removed.
23256         (check-textrel-CFLAGS): Variable removed.
23257         (all-built-dso): Use := to define.o
23258         ($(all-built-dso:=.dyn)): New static pattern rule.
23259         (generated): Add those targets.
23260         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23261         * config.make.in (READELF): New substituted variable.
23262         * elf/check-textrel.c: File removed.
23264 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23266         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23267         allow.
23268         * conform/data/ctype.h-data [C99-based standards] (isblank):
23269         Expect function.
23270         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23271         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23272         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23273         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23274         Specify type.  Require positive value.
23275         (EILSEQ): Likewise.
23276         (ERANGE): Likewise.
23277         [ISO || POSIX] (EILSEQ): Do not expect.
23278         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23279         Specify type.  Require positive value.
23280         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23281         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23282         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23283         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23284         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23285         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23286         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23287         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23288         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23289         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23290         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23291         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23292         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23293         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23294         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23295         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23296         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23297         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23298         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23299         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23300         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23301         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23302         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23303         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23304         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23305         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23306         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23307         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23308         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23309         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23310         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23311         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23312         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23313         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23314         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23315         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23316         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23317         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23318         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23319         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23320         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23321         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23322         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23323         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23324         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23325         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23326         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23327         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23328         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23329         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23330         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23331         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23332         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23333         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23334         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23335         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23336         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23337         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23338         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23339         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23340         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23341         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23342         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23343         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23344         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23345         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23346         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23347         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23348         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23349         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23350         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23351         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23352         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23353         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23354         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23355         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23356         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23357         Require >= 2.
23358         (FLT_ROUNDS): Expect as macro, not constant.
23359         (FLT_MANT_DIG): Use macro-int-constant.
23360         (DBL_MANT_DIG): Likewise.
23361         (LDBL_MANT_DIG): Likewise.
23362         (FLT_DIG): Likewise.
23363         (DBL_DIG): Likewise.
23364         (LDBL_DIG): Likewise.
23365         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
23366         (DBL_MIN_EXP): Likewise.
23367         (LDBL_MIN_EXP): Likewise.
23368         (FLT_MAX_EXP): Use macro-int-constant.
23369         (DBL_MAX_EXP): Likewise.
23370         (LDBL_MAX_EXP): Likewise.
23371         (FLT_MAX_10_EXP): Likewise.
23372         (DBL_MAX_10_EXP): Likewise.
23373         (LDBL_MAX_10_EXP): Likewise.
23374         (FLT_MAX): Use macro-constant.
23375         (DBL_MAX): Likewise.
23376         (LDBL_MAX): Likewise.
23377         (FLT_EPSILON): Use macro-constant.  Give upper bound.
23378         (DBL_EPSILON): Likewise.
23379         (LDBL_EPSILON): Likewise.
23380         (FLT_MIN): Likewise.
23381         (DBL_MIN): Likewise.
23382         (LDBL_MIN): Likewise.
23383         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23384         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23385         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23386         [ISO11] (FLT_HAS_SUBNORM): Likewise.
23387         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23388         [ISO11] (DBL_DECIMAL_DIG): Likewise.
23389         [ISO11] (FLT_DECIMAL_DIG): Likewise.
23390         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23391         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23392         [ISO11] (FLT_TRUE_MIN): Likewise.
23393         [ISO11] (LDBL_TRUE_MIN): Likewise.
23394         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23395         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23396         (SCHAR_MIN): Use macro-int-constant.  Specify type.
23397         (SCHAR_MAX): Likewise.
23398         (UCHAR_MAX): Likewise.
23399         (CHAR_MIN): Likewise.
23400         (CHAR_MAX): Likewise.
23401         (MB_LEN_MAX): Use macro-int-constant.
23402         (SHRT_MIN): Use macro-int-constant.  Specify type.
23403         (SHRT_MAX): Likewise.
23404         (USHRT_MAX): Likewise.
23405         (INT_MAX): Likewise.
23406         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
23407         bound negative.
23408         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23409         bound with "U".
23410         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23411         bound with "L".
23412         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
23413         bound negative.  Suffix upper bound with "L".
23414         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23415         bound with "UL".
23416         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23417         Specify type.
23418         [C99-based standards] (LLONG_MAX): Likewise.
23419         [C99-based standards] (ULLONG_MAX): Likewise.
23420         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
23421         == 0.
23422         [ISO11] (max_align_t): Require type.
23423         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23425         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23426         from $CFLAGS, without defining away __attribute__ calls.
23427         (checknamespace): Use $CFLAGS_namespace.
23429         * conform/conformtest.pl (@keywords): Only include C99 keywords
23430         for standards based on C99 or C11.
23432         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23433         Disable tests.
23434         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23435         UNIX98]: Likewise.
23437         * conform/conformtest.pl: Handle "macro-int-constant" and test for
23438         usability of symbols in #if.
23440         * conform/conformtest.pl: If macro or constant types start
23441         "promoted:", expect the symbol to be of the following type
23442         promoted by the integer promotions.
23444         * conform/conformtest.pl: Parse all "constant" and "macro" lines
23445         in one place.  Also handle "macro-constant".
23447         * conform/conformtest.pl: Only accept expected macro values with
23448         "==".  Parse all "macro" lines in one place.
23449         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23451         * conform/conformtest.pl: Handle braced types on "constant" lines
23452         instead of handling "typed-constant".
23453         * conform/data/signal.h-data: Use "constant" instead of
23454         "typed-constant".
23456         * conform/conformtest.pl: Handle "optional-" at start of lines in
23457         one place rather than duplicating several cases.  Handle each
23458         format of "macro" line with initial "optional-".
23460         * conform/conformtest.pl: Only accept expected constant or
23461         optional-constant values with "==".  Parse all "constant" lines in
23462         one place.  Parse all "optional-constant" lines in one place.
23463         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23464         * conform/data/fmtmsg.h-data: Likewise.
23465         * conform/data/netinet/in.h-data: Likewise.
23466         * conform/data/tar.h-data: Likewise.
23467         * conform/data/limits.h-data: Use "==" form on "constant" and
23468         "optional-constant" lines.
23470         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23471         Use -std=c99 for XOPEN2K.
23472         (@knownproblems): Remove.
23473         (newtoken): Don't check %isknown.
23475         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23476         Do not expect macro.
23477         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23478         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23479         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23480         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23481         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23482         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23483         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23484         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23485         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23486         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23487         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23488         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23489         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23490         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23491         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23492         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23493         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23494         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23495         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23496         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23497         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23498         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23499         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23500         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23501         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23502         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23503         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23504         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23505         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23506         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23507         [XPG3] (acosh): Likewise.
23508         [XPG3] (asinh): Likewise.
23509         [XPG3] (atanh): Likewise.
23510         [XPG3] (cbrt): Likewise.
23511         [XPG3] (expm1): Likewise.
23512         [XPG3] (ilogb): Likewise.
23513         [XPG3] (log1p): Likewise.
23514         [XPG3] (logb): Likewise.
23515         [XPG3] (nextafter): Likewise.
23516         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23517         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23518         [XPG3] (remainder): Likewise.
23519         [XPG3] (rint): Likewise.
23520         [XPG3 || XPG4 || UNIX98] (round): Likewise.
23521         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23522         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23523         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23524         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23525         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23526         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23527         [UNIX98 || XOPEN2K] (scalb): Expect.
23528         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23529         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23530         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23531         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23532         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23533         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23534         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23535         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23536         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23537         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23538         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23539         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23540         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23541         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23542         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23543         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23544         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23545         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23546         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23547         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23548         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23549         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23550         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23551         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23552         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23553         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23554         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23555         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23556         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23557         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23558         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23559         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23560         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23561         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23562         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23563         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23564         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23565         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23566         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23567         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23568         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23569         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23570         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23571         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23572         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23573         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23574         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23575         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23576         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23577         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23578         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23579         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23580         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23581         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23582         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23583         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23584         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23585         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23586         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23587         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23588         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23589         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23590         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23591         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23592         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23593         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23594         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23595         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23596         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23597         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23598         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23599         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23600         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23601         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23602         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23603         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23604         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23605         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23606         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23607         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23608         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23609         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23610         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23611         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23612         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23613         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23614         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23615         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23616         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23617         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23618         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23619         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23620         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23621         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23622         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23623         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23624         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23625         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23626         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23627         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23628         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23629         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23630         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23631         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23632         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23633         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23634         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23635         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23636         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23637         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23638         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23639         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23640         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23641         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23642         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23643         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23644         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23645         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23646         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23647         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23648         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23649         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23650         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23651         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23652         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23653         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23654         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23655         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23656         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23657         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23658         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23659         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23660         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23661         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23662         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23663         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23664         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23666         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23667         _XOPEN_SOURCE_EXTENDED for XPG4.
23669         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23671         * Makeconfig (localtime): Remove variable.
23672         (inst_localtime-file): Likewise.
23674 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23677         Update.
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23679         Update.
23680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23681         Update.
23682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23683         Update.
23684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23685         Update.
23686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23687         Update.
23688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23689         Update.
23690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23691         Update.
23692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23693         Update.
23695 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23697         [BZ #2550]
23698         [BZ #2570]
23699         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23700         comparisons to determine direction to adjust input.
23701         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23702         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23703         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23704         Likewise.
23705         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23706         Likewise.
23707         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23708         Likewise.
23709         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23710         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23711         Likewise.
23712         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23713         Likewise.
23714         * math/libm-test.inc (nexttoward_test): Add more tests.
23716 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23718         [BZ #14040]
23719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23720         in version GLIBC_2.1, not GLIBC_2.0.
23721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23722         Likewise.
23724 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
23726         [BZ #13942]
23727         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23728         (1 - x) * (1 + x).
23729         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23730         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23731         * math/libm-test.inc (acos_test): Add more tests.
23732         (asin_test): Likewise.
23733         * sysdeps/i386/fpu/libm-test-ulps: Update.
23734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23736         [BZ #14034]
23737         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23738         of square root.
23739         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23740         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23741         * math/libm-test.inc (acos_test_tonearest): New function.
23742         (acos_test_towardzero): Likewise.
23743         (acos_test_downward): Likewise.
23744         (acos_test_upward): Likewise.
23745         (asin_test_tonearest): Likewise.
23746         (asin_test_towardzero): Likewise.
23747         (asin_test_downward): Likewise.
23748         (asin_test_upward): Likewise.
23749         (main): Call the new functions.
23750         * sysdeps/i386/fpu/libm-test-ulps: Update.
23751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23753         [BZ #13884]
23754         [BZ #13924]
23755         * math/e_exp10.c: Include <float.h>.
23756         (__ieee754_exp10): Handle underflow here rather than multiplying
23757         large negative argument by M_LN10.
23758         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23759         of __ieee754_expf.
23760         * math/e_exp10l.c: Include <float.h>.
23761         (__ieee754_exp10l): Handle underflow here rather than multiplying
23762         large negative argument by M_LN10l.
23763         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
23764         spurious overflow exception on underflow.
23766 2012-04-29  Marek Polacek  <polacek@redhat.com>
23768         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23769         (__fortify_function): New macro.
23770         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23771         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23772         __extern_always_inline.
23773         * libio/bits/stdio2.h: Likewise.
23774         * libio/bits/stdio.h: Likewise.
23775         * string/string.h: Likewise.
23776         * string/bits/string3.h: Likewise.
23777         * include/stdio.h: Likewise.
23778         * stdlib/bits/stdlib.h: Likewise.
23779         * stdlib/stdlib.h: Likewise.
23780         * rt/bits/mqueue2.h: Likewise.
23781         * rt/mqueue.h: Likewise.
23782         * posix/bits/unistd.h: Likewise.
23783         * posix/unistd.h: Likewise.
23784         * io/bits/poll2.h: Likewise.
23785         * io/bits/fcntl2.h: Likewise.
23786         * io/fcntl.h: Likewise.
23787         * io/sys/poll.h: Likewise.
23788         * misc/bits/syslog.h: Likewise.
23789         * misc/bits/syslog-ldbl.h: Likewise.
23790         * misc/sys/syslog.h: Likewise.
23791         * socket/bits/socket2.h: Likewise.
23792         * socket/sys/socket.h: Likewise.
23793         * debug/tst-chk1.c: Likewise.
23794         * wcsmbs/bits/wchar2.h: Likewise.
23795         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23796         * wcsmbs/wchar.h: Likewise.
23798 2012-04-29  Andreas Jaeger  <aj@suse.de>
23800         * Makerules (tests): Remove enable-check-abi protection.
23801         (check-abi-warn): Remove.
23802         (check-abi-%): Remove check-abi-warn usage.
23804         * configure.in: Remove check-abi configure option.
23805         * configure: Regenerated.
23806         * config.make.in (enable-check-abi): Remove.
23808 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23810         [BZ #14033]
23811         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23812         double functions to double *_finite functions.
23814         [BZ #13941]
23815         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23816         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23817         LDBL_MIN_EXP.
23818         * stdio-common/Makefile (tests): Add tst-sprintf3.
23819         * stdio-common/tst-sprintf3.c: New file.
23821         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23822         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23824 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23826         * conform/conformtest.pl: Remove duplicate typed-constant
23827         handling.
23829 2012-04-28  David S. Miller  <davem@davemloft.net>
23831         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23832         (check-abi-%): Remove AWK script prerequisite and explicit
23833         abilist directory.
23834         (check-abi): Rewrite to just diff the symlist with the abilist.
23835         (config-tls, config-abi-config): Delete, no longer used.
23836         (update-abi-%): Remove AWK script and explicit abilist directory.
23837         (update-abi): Rewrite to simply compare and conditionally copy the
23838         symlist and the sysdep abilist file.  Remove update-abi-config
23839         checks.
23840         * abilist/ld.abilist: Remove.
23841         * abilist/libBrokenLocale.abilist: Remove.
23842         * abilist/libanl.abilist: Remove.
23843         * abilist/libcrypt.abilist: Remove.
23844         * abilist/libdl.abilist: Remove.
23845         * abilist/librt.abilist: Remove.
23846         * abilist/libthread_db.abilist: Remove.
23847         * abilist/libutil.abilist: Remove.
23848         * scripts/extract-abilist.awk: Remove.
23849         * scripts/merge-abilist.awk: Remove.
23850         * sysdeps/generic/libcidn.abilist: New file.
23851         * sysdeps/generic/libnss_compat.abilist: New file.
23852         * sysdeps/generic/libnss_db.abilist: New file.
23853         * sysdeps/generic/libnss_dns.abilist: New file.
23854         * sysdeps/generic/libnss_files.abilist: New file.
23855         * sysdeps/generic/libnss_hesiod.abilist: New file.
23856         * sysdeps/generic/libnss_nis.abilist: New file.
23857         * sysdeps/generic/libnss_nisplus.abilist: New file.
23858         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23859         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23860         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23861         file.
23862         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23863         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23864         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23865         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23866         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23867         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23868         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23869         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23870         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23871         file.
23872         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23873         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23874         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23875         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23876         file.
23877         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23878         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23879         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23880         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23881         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23882         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23883         file.
23884         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23885         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23886         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23887         file.
23888         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23890         New file.
23891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23892         New file.
23893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23894         New file.
23895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23896         New file.
23897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23898         New file.
23899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23900         New file.
23901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23902         New file.
23903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23904         New file.
23905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23906         New file.
23907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23908         New file.
23909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23910         New file.
23911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23912         New file.
23913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23914         New file.
23915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23916         file.
23917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23918         New file.
23919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23920         New file.
23921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23922         file.
23923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23924         New file.
23925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23926         New file.
23927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23928         file.
23929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23930         New file.
23931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23932         New file.
23933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23934         New file.
23935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23936         New file.
23937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23938         New file.
23939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23940         New file.
23941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23943         file.
23944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23945         New file.
23946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23947         file.
23948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23949         file.
23950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23951         file.
23952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23953         file.
23954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23955         file.
23956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23957         New file.
23958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23959         file.
23960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23961         file.
23962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23963         New file.
23964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23965         file.
23966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23968         file.
23969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23970         New file.
23971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23972         file.
23973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23974         file.
23975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23976         file.
23977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23978         file.
23979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23980         file.
23981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23982         New file.
23983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23984         file.
23985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23986         file.
23987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23988         New file.
23989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23990         file.
23991         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23992         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23993         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23994         file.
23995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23996         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23997         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23998         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23999         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24000         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24001         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24002         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24003         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24004         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24007         file.
24008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24009         New file.
24010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24011         file.
24012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24013         file.
24014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24015         file.
24016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24017         file.
24018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24019         file.
24020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24021         New file.
24022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24023         New file.
24024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24025         file.
24026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24027         New file.
24028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24029         file.
24030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24032         file.
24033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24034         New file.
24035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24036         file.
24037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24038         file.
24039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24040         file.
24041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24042         file.
24043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24044         file.
24045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24046         New file.
24047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24048         New file.
24049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24050         file.
24051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24052         New file.
24053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24054         file.
24056 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24058         * conform/conformtest.pl: Fix typo in handling typed-constant from
24059         allow-header.
24061 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24063         * README: Cut down references to pre-2.6 Linux kernels and
24064         Linuxthreads.  Update lists of configurations in libc and ports
24065         and sort alphabetically.  Say "or newer" with Linux kernel version
24066         requirements.
24068         * config.h.in [IS_IN_build]: Allow compiling without optimization.
24070 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24072         [BZ #887]
24073         * math/libm-test.inc (logb_test_downward): New test to expose
24074         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24075         rounding mode.
24077 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24079         [BZ #14027]
24080         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24081         to be done.
24082         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24083         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24085 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
24087         * sysdeps/unix/i386/brk.S: Remove file.
24088         * sysdeps/unix/i386/dl-brk.S: Likewise.
24089         * sysdeps/unix/i386/pipe.S: Likewise.
24090         * sysdeps/unix/i386/sigreturn.S: Likewise.
24091         * sysdeps/unix/i386/syscall.S: Likewise.
24092         * sysdeps/unix/i386/vfork.S: Likewise.
24093         * sysdeps/unix/i386/wait.S: Likewise.
24095         * sysdeps/unix/common/tcsendbrk.c: Move to ...
24096         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24098         * configure.in (arm*-none*): Do not allow without
24099         --enable-hacker-mode.
24100         (netbsd*): Remove case setting base_os.
24101         (386bsd*): Likewise.
24102         (freebsd*): Likewise.
24103         (bsdi*): Likewise.
24104         (osf*): Likewise.
24105         (sunos*): Likewise.
24106         (ultrix*): Likewise.
24107         (newsos*): Likewise.
24108         (dynix*): Likewise.
24109         (*bsd*): Likewise.
24110         (sysv*): Likewise.
24111         (isc*): Likewise.
24112         (esix*): Likewise.
24113         (sco*): Likewise.
24114         (minix*): Likewise.
24115         (irix4*): Likewise.
24116         (irix6*): Likewise.
24117         (solaris[2-9]*): Likewise.
24118         (none): Likewise.
24119         * configure: Regenerated.
24121 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24123         [BZ #11521]
24124         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24125         overflow or cancellation in calculating denominator.
24126         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24127         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24128         down expression to avoid unexpected rounding in newer GCCs.
24129         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24131 2012-04-26  David S. Miller  <davem@davemloft.net>
24133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24134         long-double compat symbols.
24135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24149 2012-04-25  David S. Miller  <davem@davemloft.net>
24151         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24152         HWCAP_* values only after the memory barriers have been defined.
24153         (atomic_full_barrier): Define.
24154         (atomic_read_barrier): Define.
24155         (atomic_write_barrier): Define.
24157 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24159         * shlib-versions: Add libgcc_s version information.
24160         * sysdeps/generic/libgcc_s.h: Remove.
24161         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24162         libgcc_s.h.
24163         * sysdeps/gnu/unwind-resume.c: Likewise.
24164         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24166 2012-04-25  David S. Miller  <davem@davemloft.net>
24168         * sysdeps/unix/sparc/brk.S: Delete.
24169         * sysdeps/unix/sparc/dl-brk.S: Delete.
24170         * sysdeps/unix/sparc/pipe.S: Delete.
24171         * sysdeps/unix/sparc/sysdep.S: Delete.
24172         * sysdeps/unix/sparc/sysdep.h: Delete.
24173         * sysdeps/unix/sparc/vfork.S: Delete.
24174         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24175         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24176         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24177         ret_ERRVAL, r0, r1, MOVE): Define.
24178         (JUMPTARGET): Remove.
24179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24180         sysdeps/unix/sparc/sysdep.h
24181         (ENTRY, END): Remove.
24182         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24184 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
24186         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24187         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24188         -DIS_IN_build.
24190         * timezone/README: Update upstream location and email address for
24191         tzcode and tzdata.
24192         * timezone/zdump.c: Update from tzcode 2012b.
24193         * timezone/zic.c: Likewise.
24195         * configure.in (libc_cv_as_needed): Remove test.
24196         * configure: Regenerated.
24197         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24198         conditional definition.
24199         [$(have-as-needed) != yes] (no-as-needed): Likewise.
24200         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24201         * config.make.in (have-as-needed): Remove variable.
24203 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24204             Paul Pluzhnikov  <ppluzhnikov@google.com>
24206         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24207         strings correctly.
24209 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
24211         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24212         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24213         * sysdeps/sh/strlen.S: Likewise.
24215 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24217         * sysdeps/unix/fork.S: Remove file.
24218         * sysdeps/unix/i386/fork.S: Likewise.
24219         * sysdeps/unix/sparc/fork.S: Likewise.
24221         * sysdeps/unix/system.c: Remove file.
24222         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24224         * sysdeps/unix/getegid.S: Remove file.
24225         * sysdeps/unix/geteuid.S: Likewise.
24227 2012-04-24  Roland McGrath  <roland@hack.frob.com>
24229         * scripts/check-localplt.awk: New file.
24230         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24231         of diff.
24232         * scripts/data/localplt-generic.data: Add a comment.
24234         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24235         NODE when __dir_mkfile failed.
24236         * sysdeps/mach/hurd/symlinkat.c: Likewise.
24237         Reported by Ludovic Courtès <ludo@gnu.org>.
24239 2012-04-24  Andreas Jaeger  <aj@suse.de>
24241         * Makerules (common-clean): Also remove gen-as-const-headers
24242         files.
24244 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24246         * Makerules (native-compile): Do not change working directory for
24247         build.  Use $(OUTPUT_OPTION) in command.
24248         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24250 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24252         [BZ #13886]
24253         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24254         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24255         * math/libm-test.inc (floor_test): Add more tests.
24256         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24258 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24260         * sysdeps/unix/getdents.c: Remove file.
24261         * sysdeps/unix/sysv/getdents.c: Likewise.
24262         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24264         * sysdeps/unix/syscalls.list (madvise): Add syscall from
24265         sysdeps/unix/mman/syscalls.list.
24266         (mmap): Likewise.
24267         (mprotect): Likewise.
24268         (msync): Likewise.
24269         (munmap): Likewise.
24270         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24271         * sysdeps/unix/mman/syscalls.list: Remove.
24272         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24274         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24275         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24276         * configure: Regenerated.
24277         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24278         $(libgcc_s_suffix).
24279         * config.make.in (libgcc_s_suffix): Remove variable.
24281 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
24283         * sysdeps/unix/sysv/gethostname.c: Move to ...
24284         * sysdeps/posix/gethostname.c: ... here.
24286         * sysdeps/unix/execve.S: Remove file.
24288         * sysdeps/unix/_exit.S: Remove file.
24290 2012-04-23  Andreas Jaeger  <aj@suse.de>
24292         [BZ #13739]
24293         * manual/Makefile: Remove make dist support, there's no
24294         need for a stand-alone documentation tar ball.
24295         (TEXI2DVI): Define always, it's not in Makeconfig.
24296         (dist): Removed.
24297         (tar-it): Removed.
24298         (edition): Removed.
24299         (glibc-doc-$(edition).tar): Removed
24300         (%.Z): Removed.
24301         (%.gz): Removed.
24302         (%.uu): Removed.
24303         (ETAGS): Remove, it's in Makeconfig.
24304         (move-if-change): Remove, it's in Makeconfig.
24306 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
24308         [BZ #13970]
24309         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24310         (strtod, strtof, strtold, strtol, strtoul, strtoq)
24311         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24312         (strtod_l, strtof_l, strtold_l): Remove __wur.
24313         It is not necessarily an error to ignore strtol's return value.
24314         One can reliably look at the stored endptr to decide whether
24315         the number had valid syntax.
24317 2012-04-21  Andreas Jaeger  <aj@suse.de>
24319         [BZ #13739]
24320         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24322 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
24324         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24325         * sysdeps/unix/sysv/Versions: Remove file.
24327 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
24329         [BZ #13927]
24330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24332 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
24334         [BZ #7064]
24335         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24336         version from __vm86.
24338 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
24340         * sysdeps/unix/common/lxstat.c: Remove file.
24341         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24343         * sysdeps/unix/sysv/Makefile: Remove file.
24345         * sysdeps/unix/sysv/direct.h: Remove file.
24347         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24348         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24349         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24350         * sysdeps/unix/sysv/bits/signum.h: Likewise.
24351         * sysdeps/unix/sysv/bits/stat.h: Likewise.
24352         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24353         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24355         * sysdeps/unix/sysv/setrlimit.c: Remove file.
24357         * sysdeps/unix/xmknod.c: Remove file.
24358         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24360         * sysdeps/unix/sysv/settimeofday.c: Remove file.
24362         * sysdeps/unix/sysv/i386/time.S: Remove file.
24364         * sysdeps/unix/fxstat.c: Remove file.
24365         * sysdeps/unix/xstat.c: Likewise.
24366         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24368         * sysdeps/unix/sysv/sigaction.c: Remove file.
24370         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24371         (sysdep_headers): Remove variable.
24372         [termio.h not in sysdep_headers] (generated): Likewise.
24373         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24374         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24375         * sysdeps/unix/sysv/tcdrain.c: Likewise.
24376         * sysdeps/unix/sysv/tcflow.c: Likewise.
24377         * sysdeps/unix/sysv/tcflush.c: Likewise.
24378         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24379         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24380         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24381         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24382         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24384         * sysdeps/unix/siglist.c: Remove file.
24386         * sysdeps/unix/getppid.S: Remove file.
24388         * sysdeps/unix/mkdir.c: Remove file.
24389         * sysdeps/unix/rmdir.c: Likewise.
24391 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
24393         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24394         ERR_MAX value.
24395         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24396         errlist-compat value.
24398 2012-04-18  David S. Miller  <davem@davemloft.net>
24400         * sysdeps/generic/memcopy.h (reg_char): Delete.
24401         * debug/strcat_chk.c: Use char, not reg_char.
24402         * debug/strcpy_chk.c: Likewise.
24403         * debug/strncat_chk.c: Likewise.
24404         * debug/strncpy_chk.c: Likewise.
24405         * string/memchr.c: Likewise.
24406         * string/memrchr.c: Likewise.
24407         * string/rawmemchr.c: Likewise.
24408         * string/strcat.c: Likewise.
24409         * string/strchr.c: Likewise.
24410         * string/strchrnul.c: Likewise.
24411         * string/strcmp.c: Likewise.
24412         * string/strcpy.c: Likewise.
24413         * string/strncat.c: Likewise.
24414         * string/strncmp.c: Likewise.
24415         * string/strncpy.c: Likewise.
24417 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24419         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24420         __builtin_memcopy is called when src and dest ranges are known to not
24421         overlap.
24423 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24425         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24426         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24427         fwd_align_merge macro call.
24428         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24429         bwd_align_merge macro call.
24430         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24432 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24434         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24435         bwd_align_merge macros.
24436         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24437         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24438         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24440 2012-04-18  David S. Miller  <davem@davemloft.net>
24442         * sysdeps/sparc/sparc64/memcopy.h: Delete.
24444 2012-04-18  Andreas Jaeger  <aj@suse.de>
24446         [BZ# 6794]
24447         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24448         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24449         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24451         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24452         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24453         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24455         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24456         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24457         Adjust for changed ldbl-128 files.
24459         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24460         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24461         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24463 2012-04-17  David S. Miller  <davem@davemloft.net>
24465         * sysdeps/sparc/sparc32/memcopy.h: Delete.
24467 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
24469         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24470         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24471         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24472         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24473         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24474         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24476 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24478         [BZ #6794]
24479         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24480         * math/libm-test.inc: Add ilogb errno and exception tests.
24481         * math/w_ilogb.c: New file: ilogb wrapper.
24482         * math/w_ilogbf.c: New file: ilogbf wrapper.
24483         * math/w_ilogbl.c: New file: ilogbl wrapper.
24484         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24485         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24486         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24487         exception being thrown with 0.0 as argument.
24488         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24489         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24490         exception being thrown with 0.0 as argument.
24491         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24492         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24493         exception being thrown with 0.0 as argument.
24494         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24495         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24496         exception being thrown with 0.0 as argument.
24497         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24498         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24499         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24500         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24501         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24502         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24503         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24504         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24505         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24507 2012-04-17  Petr Baudis  <pasky@ucw.cz>
24509         * include/sys/uio.h: Change __vector to __iovec to avoid clash
24510         with altivec.
24512 2012-04-16  Marek Polacek  <polacek@redhat.com>
24514         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24516 2012-04-16  Marek Polacek  <polacek@redhat.com>
24518         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24519         operands of fdivp instruction.
24521 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24523         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24524         * elf/tst-auditmod3b.c: Likewise.
24525         * elf/tst-auditmod4b.c: Likewise.
24526         * elf/tst-auditmod5b.c: Likewise.
24527         * elf/tst-auditmod6b.c: Likewise.
24528         * elf/tst-auditmod6c.c: Likewise.
24529         * elf/tst-auditmod7b.c: Likewise.
24530         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24531         * sysdeps/x86_64/preconfigure.in: Likewise.
24532         * sysdeps/x86_64/preconfigure: Regenerated.
24534 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24536         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24537         __ILP32__.
24539 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
24541         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24542         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24544 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
24546         [BZ #13973]
24547         * locale/iso-639.def: Fix gl language name. Spotted by
24548         Yaron Shahrabani.
24550 2012-04-12  Roland McGrath  <roland@hack.frob.com>
24552         [BZ #2074]
24553         * libio/libio.h (__io_write_fn): Update comment.
24555 2012-04-12  Petr Baudis  <pasky@ucw.cz>
24557         [BZ #2074]
24558         * stdio.texi (Hook Functions): The user provided writer function
24559         is not allowed to return -1.
24561 2012-04-11  David S. Miller  <davem@davemloft.net>
24563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24565 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
24567         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24568         Add a leading slash to rtkaio.
24570 2012-04-11  Jim Meyering  <meyering@redhat.com>
24572         [BZ #11959]
24573         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24574         It is not necessarily an error to ignore fwrite's return
24575         value.  One can reliably use ferror to test for errors after
24576         the fact.
24578 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24580         * bits/types.h (__snseconds_t): New type.
24581         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24583         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24584         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24585         (__SNSECONDS_T_TYPE): Likewise.
24586         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24587         (__SNSECONDS_T_TYPE): Likewise.
24588         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24589         (__SNSECONDS_T_TYPE): Likewise.
24591 2012-04-10  Andreas Jaeger  <aj@suse.de>
24593         [BZ #2636]
24594         * manual/time.texi (Processor Time): Return type of times is
24595         elapsed real time since an arbitrary point in the past.
24596         (CPU Time): Move CLK_TCK from here...
24597         (Processor Time): ...to here.  Correct description.
24598         * manual/conf.texi (Constants for Sysconf): Correct description of
24599         _SC_CLK_TCK.
24601 2012-04-10  David S. Miller  <davem@davemloft.net>
24603         [BZ #13967]
24604         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24605         where the is a gap between DT_REL(A) and DT_JMPREL.
24607 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24609         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24610         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24611         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24613 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24615         * elf/dl-support.c (_dl_inhibit_cache): New variable.
24616         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24617         (dl_main): Handle --inhibit-cache.
24618         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24619         _dl_inhibit_cache.
24620         * elf/dl-load.c (_dl_map_object): Use it.
24621         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24623 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24625         [BZ #13872]
24626         * sysdeps/i386/fpu/e_powl.S (p78): New object.
24627         (__ieee754_powl): Saturate large exponents rather than testing for
24628         overflow of y*log2(x).
24629         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24630         * math/libm-test.inc (pow_test): Do not permit spurious overflow
24631         exceptions.
24633         [BZ #11521]
24634         * math/s_ctan.c: Include <float.h>.
24635         (__ctan): Avoid internal overflow or cancellation in calculating
24636         denominator.
24637         * math/s_ctanf.c: Likewise.
24638         * math/s_ctanl.c: Likewise.
24639         * math/s_ctanh.c: Likewise.
24640         * math/s_ctanhf.c: Likewise.
24641         * math/s_ctanhl.c: Likewise.
24642         * math/libm-test.inc (ctan_test): Add more tests.
24643         (ctanh_test): Likewise.
24644         * sysdeps/i386/fpu/libm-test-ulps: Update.
24645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24647 2012-04-09  Andreas Jaeger  <aj@suse.de>
24649         [BZ #6894]
24650         * manual/filesys.texi (Directory Entries): Mention that d_namlen
24651         is an optional BSD extension.
24653         [BZ #10254]
24654         * manual/stdio.texi (Opening Streams): Document additional fopen
24655         parameters.
24657 2012-04-09  Roland McGrath  <roland@hack.frob.com>
24659         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24660         %eax without telling the compiler.
24662 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
24664         [BZ # 13963]
24665         * manual/install.texi: Use sourceware.org.
24667 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24669         [BZ #13873]
24670         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24671         (__ieee754_pow): Generate overflow and underflow using huge*huge
24672         and tiny*tiny rather than just returning constant infinity or zero
24673         for large exponents.
24674         * math/libm-test.inc (pow_test): Require overflow exceptions for
24675         applicable cases of large exponents.
24677         [BZ #706]
24678         * sysdeps/i386/fpu/e_pow.S (p10): New object.
24679         (__ieee754_pow): Use iterative multiplication algorithm only for
24680         integer exponents with absolute value below 1024.  Check for odd
24681         integer exponents when using algorithm for real exponents.
24682         * math/libm-test.inc (pow_test): Add more tests.
24683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24685 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
24687         [BZ #13705]
24688         * math/libm-test.inc (exp_test): Do not allow overflow exception
24689         on underflow test.
24691 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
24693         [BZ #13705]
24694         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24695         instead of __kernel_standard_f.
24697 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
24699         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24700         * sysdeps/x86_64/memset_chk.S: Likewise.
24702 2012-04-08  Andreas Jaeger  <aj@suse.de>
24704         [BZ #10153]
24705         * manual/startup.texi (Environment Access): Describe return value
24706         for putenv and setenv.
24708         [BZ #6895]
24709         * manual/filesys.texi (Directory Entries): Add description for
24710         DT_LNK.
24712         [BZ #6890]
24713         * manual/filesys.texi (Directory Entries): Clarify that it's file
24714         system not operating system in the description of DT_UNKNOWN.
24716         [BZ #6578]
24717         * manual/syslog.texi (closelog): Fix reference, it's openlog.
24719 2012-04-08  Stephen Compall  <s11@member.fsf.org>
24721         [BZ #6649]
24722         * manual/llio.texi (Opening and Closing Files): Add cross
24723         reference to explain mode argument.
24725 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
24727         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24728         * sysdeps/x86_64/memset_chk.S: Likewise.
24730 2012-04-07  David S. Miller  <davem@davemloft.net>
24732         * elf/elf.h (R_SPARC_WDISP10): Define.
24733         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24734         R_SPARC_SIZE32.
24735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24736         R_SPARC_SIZE64 and R_SPARC_H34.
24738 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
24740         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24741         conditions and remove no longer applicable assertion.
24743 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24745         * bits/byteswap.h: Include <features.h>.
24746         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24747         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24749 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24751         * bits/byteswap.h (__bswap_16): Removed.
24752         Include <bits/byteswap-16.h> to get __bswap_16.
24753         * sysdeps/i386/bits/byteswap.h: Likewise.
24754         * sysdeps/s390/bits/byteswap.h: Likewise.
24755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24756         * bits/byteswap-16.h: New file.
24757         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24758         * sysdeps/s390/bits/byteswap-16.h: Likewise.
24759         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24760         * string/Makefile (headers): Add bits/byteswap-16.h.
24762 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24764         [BZ #13895]
24765         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24766         extra indirection.
24767         * nss/Makefile (tests-static, tests): Add tst-nss-static.
24768         * nss/tst-nss-static.c: New.
24770 2012-04-06  Robert Millan  <rmh@gnu.org>
24772         [BZ #6486]
24773         * manual/llio.texi (File Position Primitive): lseek
24774         refers to WHENCE when it really means OFFSET.
24776 2012-04-06  Andreas Jaeger  <aj@suse.de>
24778         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24779         strncmp declarations.
24781         * abilist/libc.abilist: Add __poll and __ppoll.
24783 2012-04-05  David S. Miller  <davem@davemloft.net>
24785         * scripts/check-local-headers.sh: Accept a host triplet in the
24786         path matched by the exclude regexp.
24788         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24789         definition.
24790         * sysdeps/powerpc/powerpc32/dl-machine.h
24791         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24792         * sysdeps/s390/s390-32/dl-machine.h
24793         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24794         * sysdeps/sparc/sparc32/dl-machine.h
24795         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24796         * sysdeps/sparc/sparc64/dl-machine.h
24797         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24799         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24800         lazy binding.
24801         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24802         undefined symbol errors.
24804         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24805         DT_NEEDED entries.
24807 2012-04-05  Michael Matz  <matz@suse.de>
24809         [BZ #13592]
24810         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24812 2012-04-05  Andreas Jaeger  <aj@suse.de>
24814         [BZ #13908]
24815         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24816         comment.
24818 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24820         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24821         which ROUND is no valid rounding mode.
24823 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24825         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24826         read again.
24827         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24829 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24831         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24832         an exception using FPU order intentionally.
24834 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24836         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24837         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24838         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24839         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24841 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24843         [BZ #12340]
24844         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24845         EINVAL when BUFLEN is too smal.
24847 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24849         [BZ #13553]
24850         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24851         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24853 2012-04-03  Andreas Jaeger  <aj@suse.de>
24855         [BZ #13938]
24856         * manual/setjmp.texi (System V contexts): Fix sentence.
24858         [BZ #13926]
24859         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24860         New macro for this case.
24861         [!__GNUC__] (__bswap_64): New inline function for this case.
24862         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24863         * bits/byteswap.h: Likewise.
24864         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24865         ull, guard with __GLIBC_HAVE_LONG_LONG.
24867         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24868         __GLIBC_HAVE_LONG_LONG.
24870         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24871         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24873 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24875         [BZ #13691]
24876         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24877         inptr and inend, rather than using last_ch.
24879 2012-04-02  David S. Miller  <davem@davemloft.net>
24881         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24882         * stdio-common/printf-parse.h (read_int): Change return type to
24883         'int', return -1 on INT_MAX overflow.
24884         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24885         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24886         overflows INT_MAX.  Check for overflow of in-format-string precision
24887         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24888         SIZE_MAX not INT_MAX for integer overflow test.
24889         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24890         skip the construct in the format string but do not record anything.
24891         * stdio-common/bug22.c: Adjust to test both width/prevision
24892         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24893         explicitly for proper errno values.
24895 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24897         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24898         CHAR_MAX.
24899         * string/test-strcmp.c [! WIDE]: Likewise.
24900         * time/tst-mktime2.c: Likewise for INT_MAX.
24901         * string/test-string.h: #include <sys/param.h> for MIN.
24903         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24904         * sysdeps/i386/init-first.c (init): Likewise.
24905         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24906         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24907         * sysdeps/sh/init-first.c (init): Likewise.
24909 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24911         * po/ru.po: Update from translation team.
24912         * po/vi.po: Likewise.
24914 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24916         * resolv/nss_dns/dns-host.c: Merge copyright years.
24918 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24920         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24921         Optimize memcpy with prefetch if
24922         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24923         src, dst pointers have unequal 16 byte alignments.
24925 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24927         [BZ #13928]
24928         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24929         from a CNAME entry and return the minimum ttl for the query.
24930         (gaih_getanswer_slice): Likewise.
24932 2012-03-30  Jeff Law  <law@redhat.com>
24934         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24935         due to long keys.
24936         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24937         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24939         * resolv/nss_dns/dns-host.c: Update copyright year.
24941 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24943         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24944         requests to save a system call.  Fix check that all bytes are sent.
24946         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24947         comments for sendmmsg.
24949 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24951         [BZ #13691]
24952         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24953         with only 1 character between 0x0041 and 0x01b0.
24954         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24955         * wcsmbs/tst-mbsnrtowcs.c: New file.
24957 2012-03-29  David S. Miller  <davem@davemloft.net>
24959         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24960         small copies by hand.
24962 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24964         [BZ #13761]
24965         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24966         _nss_compat_initgroups_dyn): Fall back to malloc/free
24967         for large group memberships.
24969 2012-03-28  David S. Miller  <davem@davemloft.net>
24971         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24972         that branches into memcpy.
24973         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24976         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24977         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24978         bits.
24979         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24980         implementation too.
24981         * sysdeps/sparc/mempcpy.S: New file.
24983         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24984         the IFUNC routine in the libc case.
24985         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24987         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24988         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24989         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24990         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24991         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24992         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24993         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24994         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24996         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24997         loop to 256 bytes instead of 64 bytes and fix test signedness.
24999         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25000         * sysdeps/sparc/sparc32/Makefile: rather than here...
25001         * sysdeps/sparc/sparc64/Makefile: and here.
25003 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
25005         * malloc/mallocbug.c: Avoid warnings about unused variables.
25007 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25009         [BZ #13760]
25010         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25011         in the right place. Discard and retry query if response is
25012         larger than input buffer size.
25014 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
25016         [BZ #369]
25017         [BZ #2678]
25018         [BZ #3866]
25019         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25020         x for large integer exponent.
25021         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25022         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
25023         sign of result as needed afterwards.
25024         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25025         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25026         result for underflowing pow the same as for overflow.
25027         (__kernel_standard_l): Handle powl overflow and underflow here
25028         rather than calling __kernel_standard.
25029         * math/libm-test.inc (pow_test): Add more tests.
25031         [BZ #3868]
25032         [BZ #13879]
25033         [BZ #13910]
25034         [BZ #13911]
25035         [BZ #13912]
25036         [BZ #13913]
25037         [BZ #13915]
25038         [BZ #13916]
25039         [BZ #13917]
25040         [BZ #13918]
25041         [BZ #13919]
25042         [BZ #13920]
25043         [BZ #13921]
25044         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25045         * sysdeps/ieee754/k_standard.c: Include <float.h>.
25046         (__kernel_standard_l): New function.
25047         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25048         __kernel_standard.
25049         * math/w_acosl.c (__acosl): Likewise.
25050         * math/w_asinl.c (__asinl): Likewise.
25051         * math/w_atan2l.c (__atan2l): Likewise.
25052         * math/w_atanhl.c (__atanhl): Likewise.
25053         * math/w_coshl.c (__coshl): Likewise.
25054         * math/w_exp10l.c (__exp10l): Likewise.
25055         * math/w_exp2l.c (__exp2l): Likewise.
25056         * math/w_fmodl.c (__fmodl): Likewise.
25057         * math/w_hypotl.c (__hypotl): Likewise.
25058         * math/w_j0l.c (__j0l, __y0l): Likewise.
25059         * math/w_j1l.c (__j1l, __y1l): Likewise.
25060         * math/w_jnl.c (__jnl, __ynl): Likewise.
25061         * math/w_lgammal.c (__lgammal): Likewise.
25062         * math/w_log10l.c (__log10l): Likewise.
25063         * math/w_log2l.c (__log2l): Likewise.
25064         * math/w_logl.c (__logl): Likewise.
25065         * math/w_powl.c (__powl): Likewise.
25066         * math/w_remainderl.c (__remainderl): Likewise.
25067         * math/w_scalbl.c (sysv_scalbl): Likewise.
25068         * math/w_sinhl.c (__sinhl): Likewise.
25069         * math/w_sqrtl.c (__sqrtl): Likewise.
25070         * math/w_tgammal.c (__tgammal): Likewise.
25071         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25072         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25073         * math/libm-test.inc (acos_test): Add more tests.
25074         (acosh_test): Likewise.
25075         (asin_test): Likewise.
25076         (atanh_test): Likewise.
25077         (exp_test): Likewise.
25078         (exp10_test): Likewise.
25079         (exp2_test): Likewise.
25080         (expm1_test): Likewise.
25081         (lgamma_test): Likewise.
25082         (log_test): Likewise.
25083         (log10_test): Likewise.
25084         (log1p_test): Likewise.
25085         (log2_test): Likewise.
25086         (pow_test): Do not allow some spurious overflow exceptions.
25087         (sqrt_test): Add more tests.
25088         (tgamma_test): Likewise.
25089         (y0_test): Likewise.
25090         (y1_test): Likewise.
25091         (yn_test): Likewise.
25093 2012-03-27  Anton Blanchard  <anton@samba.org>
25095         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25096         MAP_HUGETLB.
25097         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25098         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25099         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25101 2012-03-27  David S. Miller  <davem@davemloft.net>
25103         * conform/Makefile: Run run-conformtest.sh using $(BASH).
25105         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25106         have-as-vis3 check.
25108 2012-03-27  Andreas Jaeger  <aj@suse.de>
25110         * sysdeps/x86_64/elf/configure.in: Moved to ...
25111         * sysdeps/x86_64/configure.in: ... here.
25112         * sysdeps/x86_64/elf/start.S: Moved to ...
25113         * sysdeps/x86_64/start.S: ... here.
25114         * sysdeps/x86_64/elf/configure: Delete.
25116         * sysdeps/x86_64/configure.in: Merge contents from
25117         sysdeps/i386/configure.in (without i686 check).
25119         * sysdeps/i386/elf/Versions: Merge into ...
25120         * sysdeps/i386/Versions: ... this.
25121         * sysdeps/i386/elf/Versions: Delete file.
25122         * sysdeps/i386/elf/start.S: Moved to ...
25123         * sysdeps/i386/start.S: ...here.
25124         * sysdeps/i386/elf/configure.in: Merge into...
25125         * sysdeps/i386/configure.in: ...here.
25126         * sysdeps/i386/elf/configure.in: Delete file.
25127         * sysdeps/i386/elf/configure: Delete file.
25129         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25130         * debug/backtracesyms.c: ... here.
25131         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25132         * debug/backtracesymsfd.c: ... here.
25133         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25134         * sysdeps/generic/ifunc-sel.h: ... here.
25136         * sysdeps/unix/i386/start.c: Delete file.
25137         * sysdeps/unix/sparc/start.c: Delete file.
25138         * sysdeps/unix/start.c: Delete file.
25140         * sysdeps/sh/elf/configure.in: Moved to ...
25141         * sysdeps/sh/configure.in: ... here.
25142         * sysdeps/sh/elf/start.S: Moved to ...
25143         * sysdeps/sh/start.S: ... here.
25144         * sysdeps/sh/elf/configure: Delete file.
25146         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25147         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25148         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25149         * sysdeps/powerpc/powerpc64/entry.h: ... here.
25150         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25151         * sysdeps/powerpc/powerpc64/start.S: here.
25152         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25153         * sysdeps/powerpc/powerpc64/Makefile: ... this.
25154         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25155         * sysdeps/powerpc/powerpc64/configure.in: ... this.
25156         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25158         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25159         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25160         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25161         * sysdeps/powerpc/powerpc32/start.S: ... here.
25162         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25163         * sysdeps/powerpc/powerpc32/configure.in: ... this.
25164         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25166         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25167         * sysdeps/powerpc/ifunc-sel.h: ... here.
25168         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25169         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25171         * sysdeps/sparc/elf/configure.in: Moved to ...
25172         * sysdeps/sparc/configure.in: ... here.
25173         * sysdeps/sparc/elf/configure: Delete file.
25174         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25175         * sysdeps/sparc/sparc32/start.S: ... here.
25176         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25177         * sysdeps/sparc/sparc64/start.S: ... here.
25178         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25179         * sysdeps/sparc/sparc32/Makefile: ... this.
25180         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25181         * sysdeps/sparc/sparc64/Makefile: ... this.
25183         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25184         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25185         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25186         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25187         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25188         * sysdeps/s390/s390-32/setjmp.S: ... here.
25189         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25190         * sysdeps/s390/s390-32/configure.in: ... here.
25191         * sysdeps/s390/s390-32/elf/configure: Delete file.
25192         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25193         * sysdeps/s390/s390-32/start.S: ... here.
25195         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25196         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25197         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25198         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25199         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25200         * sysdeps/s390/s390-64/setjmp.S: ... here.
25201         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25202         * sysdeps/s390/s390-64/configure.in: ... here
25203         * sysdeps/s390/s390-64/elf/configure: Delete file.
25204         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25205         * sysdeps/s390/s390-64/start.S: ... here.
25206         * sysdeps/s390/s390-64/elf/configure: Delete.
25208         * configure.in: Remove support for elf directories in sysdeps.
25210         * configure: Regenerated.
25211         * sysdeps/i386/configure: Regenerated.
25212         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25213         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25214         * sysdeps/s390/s390-32/configure: Regenerated.
25215         * sysdeps/s390/s390-64/configure: Regenerated.
25216         * sysdeps/sh/configure: Regenerated.
25217         * sysdeps/sparc/configure: Regenerated.
25218         * sysdeps/x86_64/configure: Regenerated.
25220 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
25222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25224         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25225         denormal result into account.
25227 2012-03-25  Roland McGrath  <roland@hack.frob.com>
25229         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25230         Reported by Allan McRae <allan@archlinux.org>.
25232 2012-03-23  Jeff Law  <law@redhat.com>
25234         * nss/getnssent.c (__nss_getent): Fix typo.
25236 2012-03-23  David S. Miller  <davem@davemloft.net>
25238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25240 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
25242         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25243         to pad to uint64_t for each field.
25244         (dl_tls_index): Replace unsigned long with uint64_t.
25246 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
25247         Paul Pluzhnikov  <ppluzhnikov@google.com>
25249         [BZ #6528]
25250         * grp/Makefile (otherlibs): Don't set it.
25251         * inet/Makefile (otherlibs): Likewise.
25252         * login/Makefile (otherlibs): Likewise.
25253         * nscd/Makefile (otherlibs): Likewise.
25254         * posix/Makefile (otherlibs): Likewise.
25255         * pwd/Makefile (otherlibs): Likewise.
25256         * rt/Makefile (otherlibs): Likewise.
25257         * sunrpc/Makefile (otherlibs): Likewise.
25258         * nss/Makefile (otherlibs): Likewise.
25259         Add libnss_files to routines and static-only-routines.
25260         ($(objpfx)getent): Remove rule.
25261         * resolv/Makefile: Add libnss_dns and libresolv to routines and
25262         static-only-routines.
25264 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
25266         [BZ #13892]
25267         * math/s_cexp.c: Include <float.h>.
25268         (__cexp): Handle exp result overflowing not necessarily
25269         overflowing both real and imaginary parts of result.
25270         * math/s_cexpf.c: Likewise.
25271         * math/s_cexpl.c: Likewise.
25272         * math/libm-test.inc (cexp_test): Add more tests.
25273         * sysdeps/i386/fpu/libm-test-ulps: Update.
25274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25276 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25278         * include/link.h (ELFW): New macro.
25279         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25280         Replace ELF64_R_TYPE with ELFW(R_TYPE).
25282 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25284         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25285         with uint64_t.
25287 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25289         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25290         declaration.
25291         (struct La_x32_retval): Likewise.
25293 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25295         * sysdeps/x86_64/preconfigure.in: New file.
25296         * sysdeps/x86_64/preconfigure: New generated file.
25298 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
25300         [BZ #13824]
25301         * math/e_exp2l.c: Include <float.h>.
25302         (__ieee754_exp2l): Handle overflow and underflow cases
25303         separately.  Only pass fractional part of argument to
25304         __ieee754_expl.
25305         * math/libm-test.inc (exp2_test): Add more tests.
25307         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25308         negating x to take absolute value.
25309         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25310         Likewise.
25311         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25312         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25313         Likewise.
25314         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25315         computing low part if x was negated.
25316         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25318 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25320         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25321         la_x32_gnu_pltexit.
25322         (pltexit): Cast int_retval to ptrdiff_t.
25323         * elf/tst-auditmod3b.c: Likewise.
25324         * elf/tst-auditmod4b.c: Likewise.
25325         * elf/tst-auditmod5b.c: Likewise.
25326         * elf/tst-auditmod6b.c: Likewise.
25327         * elf/tst-auditmod6c.c: Likewise.
25328         * elf/tst-auditmod7b.c: Likewise.
25330         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25331         and x32_gnu_pltexit.
25333         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25334         __ELF_NATIVE_CLASS.
25335         (La_x32_regs): New macro.
25336         (La_x32_retval): Likewise.
25337         (la_x32_gnu_pltenter): New function prototype.
25338         (la_x32_gnu_pltexit): Likewise.
25340 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
25342         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25343         exponent.
25345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25347         * configure.in (libc_cv_cc_nofma): Check for option to disable
25348         generation of FMA instructions.
25349         * configure: Regenerate.
25350         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25351         * sysdeps/ieee754/dbl-64/Makefile: New file.
25352         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25353         Remove brandred-fma4.
25354         (CFLAGS-brandred-fma4.c): Remove.
25355         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25356         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25357         define.
25358         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25359         define.
25361 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25363         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25364         LLONG_MAX != LONG_MAX.
25365         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25366         (_fitoa_word): Likewise.
25367         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25368         LLONG_MAX != LONG_MAX.
25369         * stdio-common/_itowa.h: Include <_itoa.h>.
25370         (_itowa_word): Use _ITOA_WORD_TYPE on value.
25371         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
25372         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
25373         only if not defined.
25374         (_ITOA_WORD_TYPE): Likewise.
25375         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25376         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25378 2012-03-21  David S. Miller  <davem@davemloft.net>
25380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25382 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25384         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25385         of x86_64 when setting libc_cv_slibdir, libdir and
25386         libc_cv_localedir.
25387         * sysdeps/unix/sysv/linux/configure: Regenerated.
25389 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25391         * manual/lang.texi (Old Varargs): Remove section.
25392         (How Variadic): Update menu.
25393         (va_start): Do not mention varargs.h.
25395 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25396             Joseph Myers  <joseph@codesourcery.com>
25398         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25399         link test.
25400         * configure: Regenerated.
25402 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25404         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25405         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25406         conformtest.pl
25408 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25410         * NOTES: Remove.
25411         * Makefile (files-for-dist): Remove NOTES.
25412         (NOTES): Remove rule.
25413         * README: Don't refer to NOTES.
25414         * manual/creature.texi: Don't include macros.texi.
25415         * manual/intro.texi (creature.texi): Remove comment referring to
25416         NOTES.
25418         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25419         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25420         * configure: Regenerated.
25421         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25422         LIBC_TRY_CC_OPTION.
25423         (libc_cv_as_i686): Likewise.
25424         (libc_cv_cc_avx): Likewise.
25425         (libc_cv_cc_sse2avx): Likewise.
25426         (libc_cv_cc_fma4): Likewise.
25427         (libc_cv_cc_novzeroupper): Likewise.
25428         * sysdeps/i386/configure: Regenerated.
25430         [BZ #13883]
25431         * sysdeps/i386/fpu/s_cexp.S: Remove.
25432         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25433         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25434         * math/libm-test.inc (cexp_test): Add more tests.
25435         * sysdeps/i386/fpu/libm-test-ulps: Update.
25436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25438 2012-03-21  Allan McRae  <allan@archlinux.org>
25440         * timezone/Makefile: Do not install iso3166.tab and zone.tab
25442 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25444         [BZ #13871]
25445         * math/w_exp2.c: Do not include <float.h>.
25446         (o_threshold, u_threshold): Remove.
25447         (__exp2): Calculate result before checking finiteness and calling
25448         __kernel_standard.
25449         * math/w_exp2f.c: Likewise.
25450         * math/w_exp2l.c: Likewise.
25451         * math/libm-test.inc (exp2_test): Require overflow exception for
25452         1e6 input.
25454         [BZ #3866]
25455         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25456         range of signed 64-bit integers before using fistpll.  Remove
25457         checks for whether integers fit in mantissa bits.
25458         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25459         the range of signed 32-bit integers before using fistpl.  Remove
25460         checks for whether integers fit in mantissa bits.
25461         * sysdeps/i386/fpu/e_powl.S (p64): New object.
25462         (__ieee754_powl): Test for y outside the range of signed 64-bit
25463         integers before using fistpll.  Reduce 64-bit values to 63-bit
25464         ones as needed.
25465         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25466         divide-by-zero is raised for zero to large negative powers.
25467         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25468         (__ieee754_powl): Test for y outside the range of signed 64-bit
25469         integers before using fistpll.  Reduce 64-bit values to 63-bit
25470         ones as needed.
25471         * math/libm-test.inc (pow_test): Add more tests.
25473 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25475         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25476         <stdio-common/_itoa.h>.
25477         * debug/segfault.c: Likewise.
25478         * elf/dl-cache.c: Likewise.
25479         * elf/dl-minimal.c: Likewise.
25480         * elf/dl-misc.c: Likewise.
25481         * elf/dl-sysdep.c: Likewise.
25482         * elf/dl-version.c: Likewise.
25483         * elf/rtld.c: Likewise.
25484         * hurd/hurdsock.c: Likewise.
25485         * hurd/lookup-retry.c: Likewise.
25486         * malloc/malloc.c: Likewise.
25487         * malloc/mtrace.c: Likewise.
25488         * nscd/nscd_getgr_r.c: Likewise.
25489         * nscd/nscd_getpw_r.c: Likewise.
25490         * nscd/nscd_getserv_r.c: Likewise.
25491         * posix/getopt_init.c: Likewise.
25492         * posix/wordexp.c: Likewise.
25493         * stdio-common/_itoa.c: Likewise.
25494         * stdio-common/printf_fphex.c: Likewise.
25495         * stdio-common/vfprintf.c: Likewise.
25496         * string/_strerror.c: Likewise.
25497         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25498         * sysdeps/i386/i686/hp-timing.h: Likewise.
25499         * sysdeps/mach/_strerror.c: Likewise.
25500         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25501         * sysdeps/mach/hurd/sethostid.c: Likewise.
25502         * sysdeps/mach/hurd/xmknodat.c: Likewise.
25503         * sysdeps/mach/xpg-strerror.c: Likewise.
25504         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25506         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25507         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25508         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25509         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25510         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25511         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25512         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25513         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25514         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25515         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25516         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25517         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25518         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25519         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25520         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25521         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25522         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25523         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25524         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25526         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25528         * stdio-common/_itoa.h: Moved to ...
25529         * sysdeps/generic/_itoa.h: Here.
25531         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25533         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25534         instead of "_itoa.h" and "_itowa.h".
25535         * stdio-common/vfprintf.: Likewise.
25537 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25539         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25540         <bits/wordsize.h>.
25541         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25542         (__signbit): Likwise.
25543         (llrintf): Likwise.
25544         (llrint): Likwise.
25546 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25548         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25549         __WORDSIZE != 64.
25551 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
25553         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25554         OVERFLOW_EXCEPTION_OK.
25555         * math/libm-test.inc ("Philosophy"): Update comment about
25556         exception testing.
25557         (OVERFLOW_EXCEPTION): Define.
25558         (OVERFLOW_EXCEPTION_OK): Likewise.
25559         (INVALID_EXCEPTION_OK): Renumber.
25560         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25561         (IGNORE_ZERO_INF_SIGN): Likewise.
25562         (test_exceptions): Handle FE_OVERFLOW.
25563         (exp10_test): Expect overflow exceptions.
25564         (exp2_test): Likewise.
25565         (expm1_test): Likewise.
25566         (nextafter_test): Likewise.
25567         (pow_test): Likewise.
25568         (scalbn_test): Likewise.
25569         (scalbln_test): Likewise.
25571 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25573         * sysdeps/x86_64/bits/atomic.h
25574         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25575         64bit integer.
25576         (atomic_exchange_acq): Likewise.
25577         (__arch_exchange_and_add_body): Likewise.
25578         (__arch_add_body): Likewise.
25579         (atomic_add_negative): Likewise.
25580         (atomic_add_zero): Likewise.
25582 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25584         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25585         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25587 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25589         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25590         Check __x86_64__ instead of __WORDSIZE.
25592 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25594         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25596 2012-03-19  David S. Miller  <davem@davemloft.net>
25598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25600         * sysdeps/sparc/fpu/fenv_private.h: New file.
25601         * sysdeps/sparc/fpu/math_private.h: Use it.
25602         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25603         Remove.
25604         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25605         (libc_feholdexcept_setroundl): Remove.
25606         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25607         Remove.
25608         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25609         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25611 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25613         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25614         int64_t instead of long int.
25615         (INSERT_WORDS64): Likwise.
25617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25619         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25620         _Unwind_GetCFA return to _Unwind_Ptr first.
25622 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
25624         [BZ #13629]
25625         * math/s_clog.c: Include <float.h>.
25626         (__clog): Scale large or subnormal inputs.
25627         * math/s_clogf.c: Likewise.
25628         * math/s_clogl.c: Likewise.
25629         * math/s_clog10.c: Include <float.h>.
25630         (M_LOG10_2): Define.
25631         (__clog10): Scale large or subnormal inputs.
25632         * math/s_clog10f.c: Likewise.
25633         * math/s_clog10l.c: Likewise.
25634         * math/libm-test.inc (clog_test): Add more tests.
25635         (clog10_test): Likewise.
25636         * sysdeps/i386/fpu/libm-test-ulps: Update.
25637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25639         [BZ #11451]
25640         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25641         x and y.
25642         * math/libm-test.inc (atan2_test): Add another test.
25644         * Makerules (common-objdir-compile): Remove.
25645         * sysdeps/unix/Makefile (config-generated): Do not add
25646         $(unix-generated) to variable.
25647         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25648         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25649         Remove rule.
25650         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25651         Likewise.
25652         [generic bits/local_lim.h] (before-compile): Do not append to
25653         variable.
25654         [generic bits/local_lim.h] (common-generated): Likewise.
25655         [generic sys/param.h] (before-compile): Do not append to variable.
25656         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25657         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25658         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25659         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25660         include.
25661         [generic sys/param.h] (sys/param.h-includes): Remove variable.
25662         [generic sys/param.h] (sys/param.h-includes): Remove rule.
25663         [generic sys/param.h] ($(addprefix
25664         $(common-objpfx),$(sys/param.h-includes))): Likewise.
25665         [generic sys/param.h] (common-generated): Do not append to
25666         variable.
25667         [generic sys/param.h] (sysdep_headers): Likewise.
25668         [generic bits/errno.h] (before-compile): Do not append to
25669         variable.
25670         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25671         rule.
25672         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25673         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25674         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25675         [generic bits/errno.h] (common-generated): Do not append to
25676         variable.
25677         [generic bits/ioctls.h] (before-compile): Do not append to
25678         variable.
25679         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25680         rule.
25681         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25682         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25683         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25684         rule.
25685         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25686         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25687         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25688         [generic bits/ioctls.h] (common-generated): Do not append to
25689         variable.
25690         [generic sys/syscall.h] (syscall.h): Remove variable.
25691         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25692         rule.
25693         [generic sys/syscall.h] (before-compile): Do not append to
25694         variable.
25695         [generic sys/syscall.h] (common-generated): Likewise.
25696         * sysdeps/unix/errnos-tmpl.c: Remove file.
25697         * sysdeps/unix/errnos.awk: Likewise.
25698         * sysdeps/unix/ioctls-tmpl.c: Likewise.
25699         * sysdeps/unix/ioctls.awk: Likewise.
25700         * sysdeps/unix/mk-local_lim.c: Likewise.
25701         * sysdeps/unix/snarf-ioctls: Likewise.
25703 2012-03-19  Richard Henderson  <rth@twiddle.net>
25705         * sysdeps/i386/fpu/fenv_private.h: New file.
25706         * sysdeps/i386/fpu/math_private.h: Use it.
25707         (math_opt_barrier, math_force_eval): Remove.
25708         (libc_feholdexcept_setround_53bit): Remove.
25709         (libc_feupdateenv_53bit): Remove.
25710         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25711         (math_opt_barrier, math_force_eval): Remove.
25712         (libc_feholdexcept): Remove.
25713         (libc_feholdexcept_setround): Remove.
25714         (libc_fetestexcept, libc_fesetenv): Remove.
25715         (libc_feupdateenv_test): Remove.
25716         (libc_feupdateenv, libc_feholdsetround): Remove.
25717         (libc_feresetround): Remove.
25719         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25720         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25722         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25723         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25724         (libc_feupdateenv_testl): New.
25725         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25726         (libc_feupdateenv_testf): New.
25727         (libc_feupdateenv): Use libc_feupdateenv_test.
25728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25729         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25731         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25732         (libc_feholdsetroundf, libc_feholdsetroundl): New.
25733         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25734         (libc_feresetround_noex): New.
25735         (libc_feresetround_noexf): New.
25736         (libc_feresetround_noexl): New.
25737         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25738         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25739         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25740         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25741         SET_RESTORE_ROUND.
25742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25743         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25744         (__cos): Likewise.
25745         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25746         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25747         SET_RESTORE_ROUND_NOEX.
25748         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25749         SET_RESTORE_ROUND_NOEXF.
25750         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25751         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25752         (libc_feholdsetroundf): New.
25753         (libc_feresetround, libc_feresetroundf): New.
25755         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25756         (libc_feholdexcept_setround_53bit): Convert from macro to function.
25757         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
25759         * sysdeps/generic/math_private.h: Include <fenv.h>.
25760         (default_libc_feholdexcept): New.
25761         (default_libc_feholdexcept_setround): New.
25762         (default_libc_fesetenv, default_libc_feupdateenv): New.
25763         (libc_feholdexcept): Only define if undefined.
25764         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25765         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25766         (libc_feholdexcept_setroundl): Likewise.
25767         (libc_feholdexcept_setround_53bit): Likewise.
25768         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25769         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25770         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25771         (libc_feupdateenv_53bit): Likewise.
25772         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25773         (libc_feholdexcept): Convert from macro to inline function.
25774         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25775         (libc_fesetenv, libc_feupdateenv): Likewise.
25777         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25778         not previously defined.
25779         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25780         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25781         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25782         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25783         * sysdeps/ieee754/flt-32/math_private.h: New file.
25784         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25785         math_private.h below SET_FLOAT_WORD.
25786         (__isnan, __isinf_ns, __finite): Remove.
25787         (__isnanf, __isinf_nsf, __finitef): Remove.
25789 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25793 2012-03-17  David S. Miller  <davem@davemloft.net>
25795         [BZ #6471]
25796         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25797         for 2.16.
25799 2012-03-16  David S. Miller  <davem@davemloft.net>
25801         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25802         warnings.
25804         [BZ #6471]
25805         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25806         properly.
25807         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25808         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25809         sysdep_routines when subdir is sysvipc.
25810         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25811         __getshmlba helper.
25813         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25815 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25817         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25818         [__LP64__].
25820 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25822         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25823         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25824         (__lround): Renamed to ...
25825         (__llround): This.  Replace long int with long long int.
25826         Define lround functions as aliases of llround functions.
25827         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25831         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25832         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25833         adresses to uintptr_t.  Replace "long int" and "unsigned long
25834         int" with "greg_t" on va_arg.
25836 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25838         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25839         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25841         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25842         Move e_machine check before EI_CLASS check.  Handle x32
25843         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25844         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25845         SKIP_EM_IA_64 and include
25846         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25848         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25849         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25850         (add_system_dir): New macro.
25852         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25853         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25855 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25857         [BZ #2551]
25858         [BZ #2552]
25859         [BZ #2553]
25860         [BZ #2554]
25861         [BZ #2562]
25862         [BZ #2563]
25863         [BZ #2565]
25864         [BZ #2566]
25865         [BZ #2576]
25866         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25867         (y0): Likewise.
25868         * math/w_j0f.c (j0f): Likewise.
25869         (y0f): Likewise.
25870         * math/w_j0l.c (__j0l): Likewise.
25871         (__y0l): Likewise.
25872         * math/w_j1.c (j1): Likewise.
25873         (y1): Likewise.
25874         * math/w_j1f.c (j1f): Likewise.
25875         (y1f): Likewise.
25876         * math/w_j1l.c (__j1l): Likewise.
25877         (__y1l): Likewise.
25878         * math/w_jn.c (jn): Likewise.
25879         (yn): Likewise.
25880         * math/w_jnf.c (jnf): Likewise.
25881         (ynf): Likewise.
25882         * math/w_jnl.c (__jnl): Likewise.
25883         (__ynl): Likewise.
25884         * math/libm-test.inc (j0_test): Add more tests.
25885         (j1_test): Likewise.
25886         (jn_test): Likewise.  Add trailing semicolon to existing test.
25887         (y0_test): Likewise.
25888         (y1_test): Likewise.
25889         * sysdeps/i386/fpu/libm-test-ulps: Update.
25890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25892         [BZ #13851]
25893         [BZ #13854]
25894         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25895         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25896         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25897         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25898         (__tanl): Set errno for infinite argument.
25899         * sysdeps/i386/fpu/mptan.c: Remove.
25900         * sysdeps/i386/fpu/s_tan.S: Likewise.
25901         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25902         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25903         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25904         * math/libm-test.inc (tan_test): Add more tests and enable more
25905         tests for double and long double.
25906         * sysdeps/i386/fpu/libm-test-ulps: Update.
25907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25909 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25911         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25912         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25914 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25916         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25917         * configure.in: Use it for both main tree and add-ons.
25918         * configure: Regenerated.
25920 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25922         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25924 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25926         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25927         in comment.
25929         [BZ #13851]
25930         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25931         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25932         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25933         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25934         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25935         infinite argument.
25936         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25937         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25938         != 0 for prec == 2.
25939         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25940         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25941         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25942         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25943         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25944         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25945         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25946         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25947         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25948         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25949         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25950         * math/libm-test.inc (cos_test): Add more tests and enable more
25951         tests for long double.
25952         (sin_test): Likewise.
25953         (sincos_test): Likewise.
25954         * sysdeps/i386/fpu/libm-test-ulps: Update.
25955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25957 2012-03-16  David S. Miller  <davem@davemloft.net>
25959         * sysdeps/sparc/fpu/math_private.h: New file.
25961 2012-03-15  David S. Miller  <davem@davemloft.net>
25963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25964         file.
25965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25967         file.
25968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25974         sysdep routines.
25975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25977         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25978         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25980         * sysdeps/sparc/sparc-ifunc.h: New file.
25981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25982         sparc-ifunc.h
25983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25985         Likewise.
25986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25987         Likewise.
25988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25992         Likewise.
25993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25998         Likewise.
25999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26000         Likewise.
26001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26008         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26020         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26022         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26023         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26024         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26026 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26028         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26029         scaling.
26030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26032 2012-03-15  Andreas Jaeger  <aj@suse.de>
26034         [BZ #13852]
26035         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26036         ieee754/flt-32 implementation for sin, cos and sincos.
26037         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26038         * sysdeps/i386/fpu/s_cosf.S: Likewise.
26039         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26040         * sysdeps/i386/fpu/s_sinf.S: Likewise.
26041         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26042         ieee754/flt-32 implementation for tan.
26044         * math/libm-test.inc (cos_test): Enable some large input tests for
26045         float as well
26046         (sin_test): Likewise.
26047         (sincos_test): Likewise.
26048         (tan_test): Add tests for large input.
26050         * sysdeps/i386/fpu/libm-test-ulps: Update.
26052 2012-03-15  Andreas Jaeger  <aj@suse.de>
26054         [BZ #13658]
26055         * math/libm-test.inc (cos_test): Add more test cases.
26056         (sin_test): Likewise.
26057         (sincos_test): Likewise.
26059 2012-03-15  Andreas Jaeger  <aj@suse.de>
26061         [BZ #13837]
26062         * math/libm-test.inc (cos_test): Add a test case for large input
26063         value.
26064         (sin_test): Likewise.
26065         (sincos_test): Likewise.
26067 2012-03-15  Andreas Jaeger  <aj@suse.de>,
26068         Joseph Myers  <joseph@codesourcery.com>
26070         [BZ #13658]
26071         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26072         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26073         * sysdeps/i386/fpu/branred.c: Likewise.
26074         * sysdeps/i386/fpu/dosincos.c: Likewise.
26075         * sysdeps/i386/fpu/mpa.c: Likewise.
26076         * sysdeps/i386/fpu/s_cos.S: Likewise.
26077         * sysdeps/i386/fpu/s_sin.S: Likewise.
26078         * sysdeps/i386/fpu/s_sincos.S: Likewise.
26079         * sysdeps/i386/fpu/sincos32.c: Likewise.
26081         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26082         Define.
26083         (libc_feupdateenv_53bit): Define.
26084         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26085         Define.
26086         (libc_feupdateenv_53bit): Define.
26088         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26089         53 bit (without extend i386 double precision).
26091         * math/libm-test.inc (sincos_test): Add tests for large input.
26092         (sin): Likewise.
26093         (cos): Likewise.
26095         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26097 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26101 2012-03-15  David S. Miller  <davem@davemloft.net>
26103         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26104         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26105         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26106         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26119         file.
26120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26122         file.
26123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26125         file.
26126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26128         file.
26129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26131         fmin/fmax sysdep routines.
26132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26134 2012-03-14  David S. Miller  <davem@davemloft.net>
26136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26141         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26159         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26161         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26164         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26165         routines.
26166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26167         file.
26168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26170         file.
26171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26173         file.
26174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26176         file.
26177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26179         file.
26180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26182         file.
26183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26184         file.
26185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26186         file.
26187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26188         file.
26189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26190         New file.
26191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26192         file.
26193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26194         file.
26195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26197         file.
26198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26200         file.
26201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26203         file.
26204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26206         VIS3 routines.
26208         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26209         New file.
26211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26213         * sysdeps/sparc/configure.in: New file.
26214         * sysdeps/sparc/configure: Generate.
26215         * configure.in (libc_cv_sparc_as_vis3): Substitute.
26216         * configure: Regenerate.
26217         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26218         * config.make.in (have-as-vis3): New.
26219         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26220         available use -Av9d instead of -Av9a.
26221         * sysdeps/sparc/sparc64/Makefile: Likewise.
26222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26224         New file.
26225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26226         file.
26227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26228         New file.
26229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26230         file.
26231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26233         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26234         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26237         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26238         fzeros/fnegs to load 0x80000000 into a float register instead of
26239         using the stack.
26240         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26242 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
26244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26245         bits/syscall.h.
26246         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26247         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26248         ($(inst_includedir)/bits/syscall.h): Remove rule.
26249         ($(objpfx)bits/syscall.d): Include instead of
26250         $(objpfx)syscall-list.d.
26251         (generated): Change syscall-list.h and syscall-list.d to
26252         bits/syscall.h and bits/syscall.d.
26254 2012-03-14  Roland McGrath  <roland@hack.frob.com>
26256         [BZ #13846]
26257         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26259 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
26261         [BZ #13841]
26262         * math/s_csqrt.c: Include <float.h>.
26263         (__csqrt): Scale large or subnormal inputs.
26264         * math/s_csqrtf.c: Likewise.
26265         * math/s_csqrtl.c: Likewise.
26266         * math/libm-test.inc (csqrt_test): Add more tests.
26267         * sysdeps/i386/fpu/libm-test-ulps: Update.
26268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26270         [BZ #13840]
26271         * math/libm-test.inc (hypot_test): Add more tests.
26273 2012-03-13  David S. Miller  <davem@davemloft.net>
26275         [BZ #13840]
26276         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26277         double-precision for the calculation instead of scaling.
26279 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
26281         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26282         manipulate bits before adding and subtracting TWO52[sx].
26283         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26284         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26285         Likewise.
26286         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26288 2012-03-13  David S. Miller  <davem@davemloft.net>
26290         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26291         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26292         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26293         rtld-global-offsets.h
26294         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26296         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26297         large parameters.
26299         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26301         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26302         'err' in the ifdef scope in which it is actually used.
26304         * nss/nss_db/db-init.c: Include string.h
26306 2012-03-12  David S. Miller  <davem@davemloft.net>
26308         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26309         masking out of the most significant byte of random value used.
26310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26311         Fix coding style in previous change.
26313         * sysdeps/unix/sysv/linux/kernel-features.h
26314         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26315         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26316         expression.
26317         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26318         later.
26320 2012-03-11  David S. Miller  <davem@davemloft.net>
26322         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26323         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26324         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26325         for 'resultvar' otherwise things get truncated on 64-bit.
26327         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26328         Fix masking out of the most significant byte of random value used.
26330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26332 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
26334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26336 2012-03-09  David S. Miller  <davem@davemloft.net>
26338         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26339         variables with appropriate CPP guards.
26340         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26341         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
26342         on resulting framesize and the management of the outregs buffer for pltexit.
26343         Preserve floating point return values across _dl_call_pltexit call.
26344         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26345         framesize and the management of the outregs buffer for pltexit.
26346         Preserve floating point return values across _dl_call_pltexit
26347         call.
26348         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26349         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26350         (print_exit): Fix format string for return register value.
26352 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
26354         * sunrpc/Makefile (others): Add rpcgen.
26355         ($(objpfx)rpcgen): Remove special build rule and dependency on
26356         libc.
26357         * sunrpc/rpcgen.c: New file.
26359 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
26361         [BZ #13673]
26362         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26363         * stdio-common/bug-vfprintf-nargs.c: Likewise.
26364         * sysdeps/i386/crti.S: Likewise.
26365         * sysdeps/i386/crtn.S: Likewise.
26366         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26367         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26368         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26369         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26370         * sysdeps/sh/crti.S: Likewise.
26371         * sysdeps/sh/crtn.S: Likewise.
26372         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26374         [BZ #13673]
26375         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26376         with URL.
26377         * locale/programs/locfile-kw.gperf: Likewise.
26378         * locale/programs/charmap-kw.h: Regenerated.
26379         * locale/programs/locfile-kw.h: Likewise.
26381         [BZ #13673]
26382         * intl/plural.y: Replace FSF snail mail address with URL.
26383         * intl/plural.c: Regenerated.
26385 2012-03-09  Richard Henderson  <rth@twiddle.net>
26387         * include/math_private.h: Remove file.
26388         * math/math_private.h: Move file ...
26389         * sysdeps/generic/math_private.h: ... here.
26391         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26392         * sysdeps/powerpc/fpu/math_private.h: Likewise.
26393         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26395         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26396         and <math_private.h>.
26397         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26398         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26399         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26400         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26401         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26402         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26403         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26404         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26405         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26406         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26407         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26408         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26409         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26410         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26411         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26412         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26413         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26414         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26415         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26416         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26417         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26418         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26419         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26420         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26421         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26422         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26423         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26424         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26425         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26426         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26427         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26428         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26429         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26430         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26431         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26432         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26433         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26434         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26435         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26436         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26437         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26438         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26439         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26440         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26441         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26442         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26443         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26444         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26445         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26446         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26447         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26448         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26449         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26450         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26451         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26452         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26453         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26454         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26455         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26456         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26457         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26458         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26459         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26460         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26461         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26462         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26463         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26464         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26465         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26466         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26467         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26468         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26469         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26470         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26471         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26472         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26475         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26476         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26477         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26478         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26479         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26480         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26481         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26482         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26483         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26484         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26485         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26486         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26487         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26488         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26489         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26490         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26491         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26492         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26493         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26494         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26495         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26496         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26497         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26498         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26499         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26500         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26501         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26502         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26503         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26504         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26505         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26506         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26507         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26508         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26509         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26510         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26511         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26512         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26513         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26514         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26515         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26516         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26517         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26518         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26519         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26520         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26521         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26522         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26523         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26524         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26525         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26526         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26527         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26528         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26529         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26530         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26531         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26532         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26533         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26534         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26535         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26536         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26537         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26538         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26539         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26540         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26541         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26542         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26543         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26544         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26545         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26546         * sysdeps/ieee754/k_standard.c: Likewise.
26547         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26548         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26549         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26550         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26551         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26552         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26553         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26554         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26555         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26556         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26557         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26558         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26559         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26560         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26561         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26562         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26563         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26564         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26565         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26566         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26567         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26568         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26569         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26570         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26571         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26572         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26573         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26574         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26575         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26576         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26577         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26578         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26579         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26580         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26581         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26582         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26583         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26584         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26585         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26586         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26587         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26588         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26589         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26590         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26591         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26592         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26593         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26594         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26595         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26596         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26597         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26598         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26599         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26600         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26601         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26602         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26603         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26604         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26605         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26606         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26607         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26608         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26609         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26610         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26611         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26612         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26613         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26614         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26615         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26616         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26617         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26618         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26619         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26620         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26621         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26622         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26623         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26624         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26625         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26626         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26627         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26628         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26629         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26630         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26631         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26632         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26633         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26634         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26635         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26637         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26638         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26639         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26640         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26641         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26642         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26643         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26644         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26645         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26646         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26647         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26648         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26649         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26650         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26651         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26652         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26653         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26654         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26655         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26656         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26657         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26658         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26659         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26660         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26661         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26662         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26663         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26664         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26665         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26666         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26667         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26668         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26669         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26670         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26671         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26672         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26673         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26674         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26675         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26676         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26677         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26678         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26679         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26680         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26681         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26682         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26683         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26684         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26685         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26686         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26687         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26688         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26689         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26690         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26691         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26692         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26693         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26694         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26695         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26696         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26697         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26698         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26699         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26700         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26701         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26702         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26703         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26704         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26705         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26706         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26707         * sysdeps/ieee754/s_lib_version.c: Likewise.
26708         * sysdeps/ieee754/s_matherr.c: Likewise.
26709         * sysdeps/ieee754/s_signgam.c: Likewise.
26710         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26711         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26712         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26713         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26714         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26715         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26716         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26717         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26718         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26719         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26720         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26721         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26722         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26723         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26724         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26725         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26726         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26727         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26728         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26732 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26734         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26735         * sunrpc/rpc_main.c: Likewise.
26736         * sunrpc/rpc_svcout.c: Likewise.
26738 2012-03-09  David S. Miller  <davem@davemloft.net>
26740         * include/math_private.h: New file.
26742 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26744         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26745         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26746         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26747         from <bits/socket_type.h>.
26748         (enum __socket_type): Don't define here.
26749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26751         bits/socket_type.h.
26753         [BZ #13566]
26754         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26755         checking __USE_GNU.
26757         * Makerules ($(inst_includedir)/%.h): New rule.
26758         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26759         (install-others): Remove variable setting.
26760         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26762 2012-03-08  Richard Henderson  <rth@twiddle.net>
26764         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26765         from macro to inline function; merge with the
26766         !__LIBC_INTERNAL_MATH_INLINES version.
26767         (__ieee754_sqrtf): Likewise.
26769         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26770         to inline function.
26771         (__rintf, __floor, __floorf): Likewise.
26773         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26774         macro to inline function.
26775         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26777         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26778         not <math/math_private.h>.
26780 2012-03-08  David S. Miller  <davem@davemloft.net>
26782         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26783         copyright year.
26784         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26786 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26788         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26789         normalization.
26790         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26791         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26793 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26795         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26796         be defined individually, they must be defined as a block.  Define
26797         S for printing a string instead of hidint the different by using a
26798         macro for adding the 'l'.
26799         * stdio-common/tst-fphex-wide.c: Adjust.
26801 2012-03-07  Marek Polacek  <polacek@redhat.com>
26803         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26805 2012-03-08  Marek Polacek  <polacek@redhat.com>
26807         [BZ #13806]
26808         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26809         * stdio-common/tst-fphex.c: Define a few macros to make the
26810         test reusable.  Use them.
26811         * stdio-common/tst-fphex-wide.c: New file.
26813 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26815         [BZ #6911]
26816         * manual/macros.texi (gnusystems): New macro.
26817         (nongnusystems): Likewise.
26818         (gnulinuxhurdsystems): Likewise.
26819         (gnuhurdsystems): Likewise..
26820         (gnulinuxsystems): Likewise.
26821         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26822         variants of the GNU system, not "GNU system".
26823         * manual/conf.texi: Likewise.
26824         * manual/errno.texi: Likewise.  Update example of errno macro
26825         expansion.
26826         * manual/filesys.texi: Likewise.
26827         (getumask): Document as specific to GNU/Hurd.
26828         * manual/install.texi: Likewise.  Reword some references to
26829         GNU/Linux.
26830         * manual/intro.texi: Likewise.
26831         * manual/io.texi: Likewise.
26832         (File Name Portability): Detail which constraints are inapplicable
26833         to all GNU systems and which are only inapplicable to GNU/Hurd.
26834         * manual/job.texi: Likewise.
26835         * manual/llio.texi: Likewise.
26836         (O_NOCTTY): Document as present on GNU/Linux.
26837         * manual/maint.texi: Likewise.
26838         * manual/memory.texi: Likewise.
26839         * manual/pattern.texi: Likewise.
26840         * manual/pipe.texi: Likewise.
26841         * manual/process.texi: Likewise.
26842         * manual/resource.texi: Likewise.
26843         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26844         child on GNU/Hurd.
26845         * manual/setjmp.texi: Likewise.
26846         * manual/signal.texi: Likewise.
26847         * manual/startup.texi: Likewise.
26848         * manual/stdio.texi: Likewise.
26849         * manual/terminal.texi: Likewise.
26850         (ONLCR): Document as POSIX.
26851         (OXTABS): Document availability on GNU/Linux as XTABS.
26852         (ONOEOT): Document availability separately from other bits.
26853         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26854         * manual/time.texi: Likewise.
26855         * manual/users.texi: Likewise.
26856         * INSTALL: Regenerated.
26857         * sysdeps/gnu/errlist.c: Regenerated.
26859         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26860         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26861         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26862         puts.
26863         * configure: Regenerated.
26865 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26867         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26868         default includes instead of AC_HEADER_CHECK.
26869         * sysdeps/i386/configure: Regenerated.
26871         [BZ #10716]
26872         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26873         * math/s_cacoshf.c (__cacoshf): Likewise.
26874         * math/s_cacoshl.c (__cacoshl): Likewise.
26875         * math/s_casinh.c (__casinh): Set signs of result from argument.
26876         * math/s_casinhf.c (__casinhf): Likewise.
26877         * math/s_casinhl.c (__casinhl): Likewise.
26878         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26879         (casinh_test): Add more tests.
26880         * sysdeps/i386/fpu/libm-test-ulps: Update.
26881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26883 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26885         * po/zh_TW.po: Update from translation team.
26887         * login/Makefile (distribute): Remove variable.
26888         * catgets/Makefile: Likewise.
26889         * mach/Makefile: Likewise.
26890         * malloc/Makefile: Likewise.
26891         * misc/Makefile: Likewise.
26892         * iconv/Makefile: Likewise.
26893         * nscd/Makefile: Likewise.
26894         * hurd/Makefile: Likewise.
26895         * manual/Makefile: Likewise.
26896         * locale/Makefile: Likewise.
26897         * intl/Makefile: Likewise.
26898         * conform/Makefile: Likewise.
26899         * nss/Makefile: Likewise.
26900         * time/Makefile: Likewise.
26901         * soft-fp/Makefile: Likewise.
26902         * dirent/Makefile: Likewise.
26903         * gmon/Makefile: Likewise.
26904         * po/Makefile: Likewise.
26905         * rt/Makefile: Likewise.
26906         * socket/Makefile: Likewise.
26907         * math/Makefile: Likewise.
26908         * signal/Makefile: Likewise.
26909         * debug/Makefile: Likewise.
26910         * elf/Makefile: Likewise.
26911         * timezone/Makefile: Likewise.
26912         * stdlib/Makefile: Likewise.
26913         * iconvdata/Makefile: Likewise.
26914         * sunrpc/Makefile: Likewise.
26915         * io/Makefile: Likewise.
26916         * argp/Makefile: Likewise.
26917         * inet/Makefile: Likewise.
26918         * hesiod/Makefile: Likewise.
26919         * grp/Makefile: Likewise.
26920         * csu/Makefile: Likewise.
26921         * wctype/Makefile: Likewise.
26922         * crypt/Makefile: Likewise.
26923         * libio/Makefile: Likewise.
26924         * string/Makefile: Likewise.
26925         * nis/Makefile: Likewise.
26926         * resolv/Makefile: Likewise.
26927         * stdio-common/Makefile: Likewise.
26928         * wcsmbs/Makefile: Likewise.
26929         * dlfcn/Makefile: Likewise.
26930         * posix/Makefile: Likewise.
26932         [BZ #6959]
26933         * timezone/Makefile: Don't install timezone files, just the programs
26934         and scripts.
26936 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26938         * nss/databases.def: Add missing gshadow entry.
26940         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26942 2012-03-06  Marek Polacek  <polacek@redhat.com>
26944         [BZ #13726]
26945         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26946         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26947         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26948         * stdio-common/tst-long-dbl-fphex.c: New file.
26950 2012-03-06  David S. Miller  <davem@davemloft.net>
26952         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26953         (set_obp_int): New function.
26954         (get_obp_int): New function.
26955         (__get_clockfreq_via_dev_openprom): Likewise.
26956         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26957         Avoid unused variable warnings on 'val' and use builtin_expect.
26958         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26959         __builtin_expect.
26960         (INLINE_CLONE_SYSCALL): Likewise.
26962 2012-03-05  David S. Miller  <davem@davemloft.net>
26964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26966 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26970         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26971         only for |x| >= 40.
26972         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26974 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26976         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26977         Replace gettimeofday with __vdso_gettimeofday.
26979         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26980         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26981         __vdso_clock_gettime and __vdso_getcpu.
26983         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26984         time with __vdso_time.
26986 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26988         * manual/lang.texi (size_t): Note types to which size_t may be
26989         equivalent with the GNU C Library, but do not describe when
26990         differences between them are significant.
26992 2012-03-05  Andreas Jaeger  <aj@suse.de>
26994         * sysdeps/i386/fpu/libm-test-ulps: Update.
26996 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26998         [BZ #3976]
26999         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27000         (__ieee754_pow): Save and restore rounding mode and use
27001         round-to-nearest for main computations.
27002         * math/libm-test.inc (pow_test_tonearest): New function.
27003         (pow_test_towardzero): Likewise.
27004         (pow_test_downward): Likewise.
27005         (pow_test_upward): Likewise.
27006         (main): Call the new functions.
27007         * sysdeps/i386/fpu/libm-test-ulps: Update.
27008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27010         [BZ #3976]
27011         * math/libm-test.inc (cosh_test_tonearest): New function.
27012         (cosh_test_towardzero): Likewise.
27013         (cosh_test_downward): Likewise.
27014         (cosh_test_upward): Likewise.
27015         (sinh_test_tonearest): Likewise.
27016         (sinh_test_towardzero): Likewise.
27017         (sinh_test_downward): Likewise.
27018         (sinh_test_upward): Likewise.
27019         (main): Call the new functions.
27020         * sysdeps/i386/fpu/libm-test-ulps: Update.
27021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27023 2012-03-05  Tom de Vries  <tom@codesourcery.com>
27025         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27026         default stack guard is set in last bytes.
27027         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27029 2012-03-05  Kees Cook  <keescook@chromium.org>
27031         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27033         [BZ #13656]
27034         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27035         possibly allocate from heap instead of stack.
27036         * stdio-common/bug-vfprintf-nargs.c: New file.
27037         * stdio-common/Makefile (tests): Add nargs overflow test.
27039 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
27041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27043 2012-03-03  Marek Polacek  <polacek@redhat.com>
27045         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27046         * math/math_private.h: Likewise.
27047         * stdlib/tst-strtod.c: Likewise.
27048         * sysdeps/i386/i486/bits/atomic.h: Likewise.
27049         * sysdeps/x86_64/bits/atomic.h: Likewise.
27051 2012-03-02  David S. Miller  <davem@davemloft.net>
27053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27057         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27058         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27059         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27060         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27062 2012-03-02  Roland McGrath  <roland@hack.frob.com>
27064         [BZ #13792]
27065         * manual/examples/README: New file, says the example source files
27066         can be used under GPL>=2.
27067         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27068         line containing just "*/".
27069         * manual/examples/add.c: Add copyright header (GPL>=2).
27070         * manual/examples/argp-ex1.c: Likewise.
27071         * manual/examples/argp-ex2.c: Likewise.
27072         * manual/examples/argp-ex3.c: Likewise.
27073         * manual/examples/argp-ex4.c: Likewise.
27074         * manual/examples/atexit.c: Likewise.
27075         * manual/examples/db.c: Likewise.
27076         * manual/examples/dir.c: Likewise.
27077         * manual/examples/dir2.c: Likewise.
27078         * manual/examples/execinfo.c: Likewise.
27079         * manual/examples/filecli.c: Likewise.
27080         * manual/examples/filesrv.c: Likewise.
27081         * manual/examples/fmtmsgexpl.c: Likewise.
27082         * manual/examples/genpass.c: Likewise.
27083         * manual/examples/inetcli.c: Likewise.
27084         * manual/examples/inetsrv.c: Likewise.
27085         * manual/examples/isockad.c: Likewise.
27086         * manual/examples/longopt.c: Likewise.
27087         * manual/examples/memopen.c: Likewise.
27088         * manual/examples/memstrm.c: Likewise.
27089         * manual/examples/mkfsock.c: Likewise.
27090         * manual/examples/mkisock.c: Likewise.
27091         * manual/examples/mygetpass.c: Likewise.
27092         * manual/examples/pipe.c: Likewise.
27093         * manual/examples/popen.c: Likewise.
27094         * manual/examples/rprintf.c: Likewise.
27095         * manual/examples/search.c: Likewise.
27096         * manual/examples/select.c: Likewise.
27097         * manual/examples/setjmp.c: Likewise.
27098         * manual/examples/sigh1.c: Likewise.
27099         * manual/examples/sigusr.c: Likewise.
27100         * manual/examples/stpcpy.c: Likewise.
27101         * manual/examples/strdupa.c: Likewise.
27102         * manual/examples/strftim.c: Likewise.
27103         * manual/examples/strncat.c: Likewise.
27104         * manual/examples/subopt.c: Likewise.
27105         * manual/examples/swapcontext.c: Likewise.
27106         * manual/examples/termios.c: Likewise.
27107         * manual/examples/testopt.c: Likewise.
27108         * manual/examples/testpass.c: Likewise.
27109         * manual/examples/timeval_subtract.c: Likewise.
27111         [BZ #13792]
27112         * manual/time.texi (Elapsed Time): Move timeval_subtract example
27113         function to ...
27114         * manual/timeval_subtract.c.texi: ... here, new file.
27116 2012-03-02  David S. Miller  <davem@davemloft.net>
27118         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27120 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
27122         [BZ #3976]
27123         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27124         (__sin): Save and restore rounding mode and use round-to-nearest
27125         for all computations.
27126         (__cos): Save and restore rounding mode and use round-to-nearest
27127         for all computations.
27128         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27129         <fenv.h>.
27130         (tan): Save and restore rounding mode and use round-to-nearest for
27131         all computations.
27132         * math/libm-test.inc (cos_test_tonearest): New function.
27133         (cos_test_towardzero): Likewise.
27134         (cos_test_downward): Likewise.
27135         (cos_test_upward): Likewise.
27136         (sin_test_tonearest): Likewise.
27137         (sin_test_towardzero): Likewise.
27138         (sin_test_downward): Likewise.
27139         (sin_test_upward): Likewise.
27140         (tan_test_tonearest): Likewise.
27141         (tan_test_towardzero): Likewise.
27142         (tan_test_downward): Likewise.
27143         (tan_test_upward): Likewise.
27144         (main): Call the new functions.
27145         * sysdeps/i386/fpu/libm-test-ulps: Update.
27146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27148         [BZ #10135]
27149         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27150         small n, then large n, before computing and testing k+n.
27151         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27152         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27153         Likewise.
27154         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27155         Likewise.
27156         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27157         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27158         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27159         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27160         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27161         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27162         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27163         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27164         * math/libm-test.inc (scalbn_test): Add more tests.
27165         (scalbln_test): Likewise.
27167         * manual/filesys.texi (mode_t): Describe constraints on size and
27168         signedness, not exact equivalence to a particular type.
27169         (ino_t): Likewise.
27170         (ino64_t): Likewise.
27171         (dev_t): Likewise.
27172         (nlink_t): Likewise.
27173         (blkcnt_t): Likewise.
27174         (blkcnt64_t): Likewise.
27175         * manual/llio.texi (off_t): Likewise.
27177         [BZ #3976]
27178         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27179         (__ieee754_exp): Save and restore rounding mode and use
27180         round-to-nearest for all computations.
27181         * math/libm-test.inc (exp_test_tonearest): New function.
27182         (exp_test_towardzero): Likewise.
27183         (exp_test_downward): Likewise.
27184         (exp_test_upward): Likewise.
27185         (main): Call the new functions.
27186         * sysdeps/i386/fpu/libm-test-ulps: Update.
27187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27189 2012-03-01  Chris Demetriou  <cgd@google.com>
27191         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27192         have predictable order.
27194 2012-03-01  David S. Miller  <davem@davemloft.net>
27196         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27198         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27199         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27200         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27201         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27203         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27204         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27205         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27207         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27208         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27209         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27210         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27211         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27215         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27216         * sysdeps/sparc/fpu/libm-test-ulps: to here.
27217         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27219         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27220         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27221         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27222         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27223         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27224         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27225         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27226         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27227         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27228         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27229         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27230         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27231         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27232         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27233         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27235         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27236         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27237         * sysdeps/sparc/elf/configure: Regenerated.
27239 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
27241         * configure.in (AS, LD): Require binutils 2.20 or later.
27242         * configure: Regenerated.
27243         * manual/install.texi (Tools for Compilation): Give binutils 2.20
27244         as required minimum version.
27245         * INSTALL: Regenerated.
27247         [BZ #2541]
27248         [BZ #4108]
27249         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27250         before squaring exponent.
27251         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27252         bottom long double and 27 bits of top long double before squaring
27253         exponent.
27254         * math/libm-test.inc (erfc_test): Add more tests.
27255         * sysdeps/i386/fpu/libm-test-ulps: Update.
27256         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27259 2012-03-01  Kai Tietz  <ktietz@redhat.com>
27261         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27262         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27263         containing bit-fields.
27264         * soft-fp/extended.h (_FP_UNION_E): Likewise.
27265         * soft-fp/single.h (_FP_UNION_S): Likewise.
27266         * soft-fp/double.h (_FP_UNION_D): Likewise.
27268 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
27270         [BZ #13786]
27271         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27272         not include ../strcmp.S.
27273         [USE_AS_STRNCASECMP_L]: Likewise.
27274         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27275         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27276         * sysdeps/i386/i686/multiarch/strncase_l-c.c
27277         (__strncasecmp_l_ia32): Define as alias to
27278         __strncasecmp_l_nonascii.
27280         [BZ #5794]
27281         * math/libm-test.inc (expm1_test): Add test for bug 5794.
27282         * sysdeps/i386/fpu/libm-test-ulps: Update.
27283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27285         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27288 2012-02-29  Jeff Law  <law@redhat.com>
27290         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27291         out of bounds read.
27293 2012-02-29  Marek Polacek  <polacek@redhat.com>
27295         [BZ #13706]
27296         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27297         * elf/Makefile: Add rules to run tst-unused-dep.out.
27299 2012-02-28  David S. Miller  <davem@davemloft.net>
27301         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27302         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27303         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27304         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27305         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27306         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27308 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
27310         * math/libm-test.inc (llround_test): Move one test from
27311         lround_test.  Use TEST_f_L in moved test.
27312         (lround_test): Move misplaced test to llround_test.  Add testcase
27313         from bug 2561.
27315 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
27317         * sysdeps/x86_64/fpu/e_expf.S: New file.
27318         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27320 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
27322         [BZ #13637]
27323         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27324         of remain_len that may cause incomplete multi-byte character and
27325         false match.
27326         * posix/bug-regex33.c: New file.
27327         * posix/Makefile (tests): Add bug-regex33.
27329 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
27331         * manual/macros.texi: New file.
27332         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27333         * manual/libc.texinfo: Include macros.texi.
27334         * manual/creatute.texi: Likewise.
27335         * manual/install.texi: Likewise.
27336         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27337         @glibcadj{} in references to the GNU C Library.
27338         * manual/charset.texi: Likewise.
27339         * manual/conf.texi: Likewise.
27340         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
27341         when not using those macros.
27342         * manual/creature.texi: Likewise.
27343         * manual/crypt.texi: Likewise.
27344         * manual/errno.texi: Likewise.
27345         * manual/filesys.texi: Likewise.
27346         * manual/header.texi: Likewise.
27347         * manual/install.texi: Likewise.
27348         * manual/intro.texi: Likewise.
27349         * manual/io.texi: Likewise.
27350         * manual/job.texi: Likewise.
27351         * manual/lang.texi: Likewise.
27352         * manual/libc.texiinfo: Likewise.
27353         * manual/llio.texi: Likewise.
27354         * manual/locale.texi: Likewise.
27355         * manual/maint.texi: Likewise.
27356         * manual/math.texi: Likewise.
27357         * manual/memory.texi: Likewise.
27358         * manual/message.texi: Likewise.
27359         * manual/nss.texi: Likewise.
27360         * manual/pattern.texi: Likewise.
27361         * manual/process.texi: Likewise.
27362         * manual/resource.texi: Likewise.
27363         * manual/search.texi: Likewise.
27364         * manual/setjmp.texi: Likewise.
27365         * manual/signal.texi: Likewise.
27366         * manual/socket.texi: Likewise.
27367         * manual/startup.texi: Likewise.
27368         * manual/stdio.texi: Likewise.
27369         * manual/string.texi: Likewise.
27370         * manual/sysinfo.texi: Likewise.
27371         * manual/syslog.texi: Likewise.
27372         * manual/terminal.texi: Likewise.
27373         * manual/time.texi: Likewise.
27374         * manual/users.texi: Likewise.
27375         * INSTALL: Regenerated.
27376         * NOTES: Regenerated.
27377         * sysdeps/gnu/errlist.c: Regenerated.
27379 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
27381         * include/dirent.h: Include <dirstream.h> before
27382         <dirent/dirent.h>.
27384 2012-02-28  David S. Miller  <davem@davemloft.net>
27386         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27387         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27388         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27389         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27391 2012-02-27  David S. Miller  <davem@davemloft.net>
27393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27395         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27396         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27399         frame pointer instead of stack pointer relative arg slot.
27400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27401         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27402         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27404 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
27406         [BZ #3992]
27407         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27409 2012-02-27  David S. Miller  <davem@davemloft.net>
27411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27415         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27416         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27417         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27418         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27420 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27422         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27423         later.  Allow versions 5-9.
27424         * configure: Regenerated.
27425         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27426         required minimum version and 4.6 as recommended version.  Do not
27427         mention bugs in GCC 2.7 and 2.8.
27428         * INSTALL: Regenerated.
27430 2012-02-27  David S. Miller  <davem@davemloft.net>
27432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27436         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27437         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27438         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27439         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27441         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27442         manipulate bits before adding and subtracting TWO112[sx].
27443         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27445 2012-02-27  Roland McGrath  <roland@hack.frob.com>
27447         [BZ #13775]
27448         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27449         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27450         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27451         being in POSIX, because they are in 1003.1-2008.
27453         * rt/tst-aio.c: Include <fcntl.h>.
27454         * rt/tst-aio7.c: Likewise.
27455         * rt/tst-aio64.c: Likewise.
27457         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27459 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27461         * manual/install.texi (--with-headers): Describe headers as
27462         interface headers, not private headers.
27463         (Specific advice for GNU/Linux systems): Describe use of headers
27464         from "make headers_install", not private headers from older
27465         kernels.
27466         * INSTALL: Regenerated.
27467         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27468         Change to 2.6.19.
27469         * sysdeps/unix/sysv/linux/configure: Regenerated.
27471         * manual/llio.texi (fclean): Remove documentation.
27473         * manual/Makefile (libc-texi-generated): New variable.  Include
27474         version.texi.
27475         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27476         $(libc-texi-generated), not duplicated list of files.
27477         (version.texi, stamp-version): New rules.
27478         (realclean): Remove $(libc-texi-generated), not individual files
27479         from that list.  Do not remove dir-add.texinfo.
27480         * manual/libc.texinfo: Comment out uses of edition numbers and
27481         references to printed manual.  Remove last-updated dates.
27482         (EDITION): Comment out.
27483         (ISBN): Likewise.
27484         (VERSION, UPDATED): Remove.
27485         (version.texi): Include.
27487 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
27489         * sysdeps/posix/spawni.c: Include <signal.h>.
27490         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27491         * sysdeps/pthread/aio_fsync.c: Likewise.
27493 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
27495         * conform/Makefile (tests): Run only when not cross-compiling and
27496         when fast-check is not defined.
27498         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27499         * conform/data/limits.h-data: Fixes for POSIX2008.
27500         * conform/run-conformtest.sh: Run all tests.
27501         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27502         headers.
27503         * include/bits/dlfcn.h: Likewise.
27504         * include/langinfo.h: Likewise.
27505         * include/monetary.h: Likewise.
27506         * include/sys/poll.h: Likewise.
27508         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27509         for __USE_GNU.
27510         * posix/spawn.h: Define __need_sigset_t.
27511         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27512         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27513         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
27514         to get sigevent_t only.
27515         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27516         only for __USE_GNU.
27517         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27518         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27519         process_vm_writev only for __USE_GNU.
27520         * termios/termios.h: Declare tcgetsid also for POSIX2008.
27522         * conform/Makefile: For now ignore errors from run-conformtest.
27523         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
27524         POSIX to avoid namespace pollution.  Don't prepend headers.
27525         * conform/data/aio.h-data: Fixes for POSIX testing.
27526         * conform/data/fcntl.h-data: Likewise.
27527         * conform/data/glob.h-data: Likewise.
27528         * conform/data/grp.h-data: Likewise.
27529         * conform/data/pthread.h-data: Likewise.
27530         * conform/data/pwd.h-data: Likewise.
27531         * conform/data/signal.h-data: Likewise.
27532         * conform/data/spawn.h-data: Likewise.
27533         * conform/data/stdio.h-data: Likewise.
27534         * conform/data/stdlib.h-data: Likewise.
27535         * conform/data/stropts.h-data: Likewise.
27536         * conform/data/sys/mman.h-data: Likewise.
27537         * conform/data/sys/stat.h-data: Likewise.
27538         * conform/data/sys/types.h-data: Likewise.
27539         * conform/data/sys/wait.h-data: Likewise.
27540         * conform/data/time.h-data: Likewise.
27541         * conform/data/unistd.h-data: Likewise.
27542         * conform/data/utime.h-data: Likewise.
27544         * io/sys/stat.h: fchmod was always in POSIX.
27545         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27546         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27547         * rt/aio.h: Define __need_timespec before including <time.h>.
27548         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27549         struct.  Add forward declaration of pthread_attr_t and use it in
27550         sigevent.
27551         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27553         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27554         always remove CLK_TCK definition.
27556 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
27558         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27560 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
27562         * conform/run-conformtest.sh: New file.
27563         * conform/Makefile: Run run-conformtest for tests.
27564         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
27565         support.
27567         * conform/data/uchar.h-data: New file.
27568         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27569         * conform/data/arpa/inet.h-data: Likewise.
27570         * conform/data/assert.h-data: Likewise.
27571         * conform/data/complex.h-data: Likewise.
27572         * conform/data/cpio.h-data: Likewise.
27573         * conform/data/ctype.h-data: Likewise.
27574         * conform/data/dirent.h-data: Likewise.
27575         * conform/data/dlfcn.h-data: Likewise.
27576         * conform/data/errno.h-data: Likewise.
27577         * conform/data/fcntl.h-data: Likewise.
27578         * conform/data/float.h-data: Likewise.
27579         * conform/data/fmtmsg.h-data: Likewise.
27580         * conform/data/fnmatch.h-data: Likewise.
27581         * conform/data/ftw.h-data: Likewise.
27582         * conform/data/glob.h-data: Likewise.
27583         * conform/data/grp.h-data: Likewise.
27584         * conform/data/iconv.h-data: Likewise.
27585         * conform/data/inttypes.h-data: Likewise.
27586         * conform/data/langinfo.h-data: Likewise.
27587         * conform/data/libgen.h-data: Likewise.
27588         * conform/data/limits.h-data: Likewise.
27589         * conform/data/locale.h-data: Likewise.
27590         * conform/data/math.h-data: Likewise.
27591         * conform/data/monetary.h-data: Likewise.
27592         * conform/data/mqueue.h-data: Likewise.
27593         * conform/data/ndbm.h-data: Likewise.
27594         * conform/data/net/if.h-data: Likewise.
27595         * conform/data/netdb.h-data: Likewise.
27596         * conform/data/netinet/in.h-data: Likewise.
27597         * conform/data/nl_types.h-data: Likewise.
27598         * conform/data/poll.h-data: Likewise.
27599         * conform/data/pthread.h-data: Likewise.
27600         * conform/data/pwd.h-data: Likewise.
27601         * conform/data/regex.h-data: Likewise.
27602         * conform/data/sched.h-data: Likewise.
27603         * conform/data/search.h-data: Likewise.
27604         * conform/data/semaphore.h-data: Likewise.
27605         * conform/data/setjmp.h-data: Likewise.
27606         * conform/data/signal.h-data: Likewise.
27607         * conform/data/spawn.h-data: Likewise.
27608         * conform/data/stdarg.h-data: Likewise.
27609         * conform/data/stdio.h-data: Likewise.
27610         * conform/data/stdlib.h-data: Likewise.
27611         * conform/data/string.h-data: Likewise.
27612         * conform/data/strings.h-data: Likewise.
27613         * conform/data/stropts.h-data: Likewise.
27614         * conform/data/sys/ipc.h-data: Likewise.
27615         * conform/data/sys/mman.h-data: Likewise.
27616         * conform/data/sys/msg.h-data: Likewise.
27617         * conform/data/sys/resource.h-data: Likewise.
27618         * conform/data/sys/select.h-data: Likewise.
27619         * conform/data/sys/sem.h-data: Likewise.
27620         * conform/data/sys/shm.h-data: Likewise.
27621         * conform/data/sys/socket.h-data: Likewise.
27622         * conform/data/sys/stat.h-data: Likewise.
27623         * conform/data/sys/statvfs.h-data: Likewise.
27624         * conform/data/sys/time.h-data: Likewise.
27625         * conform/data/sys/timeb.h-data: Likewise.
27626         * conform/data/sys/times.h-data: Likewise.
27627         * conform/data/sys/types.h-data: Likewise.
27628         * conform/data/sys/uio.h-data: Likewise.
27629         * conform/data/sys/un.h-data: Likewise.
27630         * conform/data/sys/utsname.h-data: Likewise.
27631         * conform/data/sys/wait.h-data: Likewise.
27632         * conform/data/syslog.h-data: Likewise.
27633         * conform/data/tar.h-data: Likewise.
27634         * conform/data/termios.h-data: Likewise.
27635         * conform/data/utime.h-data: Likewise.
27636         * conform/data/utmpx.h-data: Likewise.
27637         * conform/data/varargs.h-data: Likewise.
27638         * conform/data/wchar.h-data: Likewise.
27639         * conform/data/wctype.h-data: Likewise.
27640         * conform/data/wordexp.h-data: Likewise.
27642         * include/stropts.h: New file.
27643         * include/uchar.h: New file.
27644         * include/aio.h: Changes to allow conformtest.pl to use the headers.
27645         * include/assert.h: Likewise.
27646         * include/ctype.h: Likewise.
27647         * include/dirent.h: Likewise.
27648         * include/dlfcn.h: Likewise.
27649         * include/fcntl.h: Likewise.
27650         * include/fnmatch.h: Likewise.
27651         * include/glob.h: Likewise.
27652         * include/grp.h: Likewise.
27653         * include/libio.h: Likewise.
27654         * include/locale.h: Likewise.
27655         * include/math.h: Likewise.
27656         * include/net/if.h: Likewise.
27657         * include/netdb.h: Likewise.
27658         * include/netinet/in.h: Likewise.
27659         * include/pthread.h: Likewise.
27660         * include/pwd.h: Likewise.
27661         * include/regex.h: Likewise.
27662         * include/sched.h: Likewise.
27663         * include/search.h: Likewise.
27664         * include/setjmp.h: Likewise.
27665         * include/signal.h: Likewise.
27666         * include/stdio.h: Likewise.
27667         * include/stdlib.h: Likewise.
27668         * include/string.h: Likewise.
27669         * include/sys/cdefs.h: Likewise.
27670         * include/sys/mman.h: Likewise.
27671         * include/sys/msg.h: Likewise.
27672         * include/sys/resource.h: Likewise.
27673         * include/sys/select.h: Likewise.
27674         * include/sys/socket.h: Likewise.
27675         * include/sys/stat.h: Likewise.
27676         * include/sys/statvfs.h: Likewise.
27677         * include/sys/time.h: Likewise.
27678         * include/sys/times.h: Likewise.
27679         * include/sys/uio.h: Likewise.
27680         * include/sys/utsname.h: Likewise.
27681         * include/sys/wait.h: Likewise.
27682         * include/termios.h: Likewise.
27683         * include/time.h: Likewise.
27684         * include/ulimit.h: Likewise.
27685         * include/unistd.h: Likewise.
27686         * include/utime.h: Likewise.
27687         * include/wchar.h: Likewise.
27688         * include/wctype.h: Likewise.
27689         * include/wordexp.h: Likewise.
27691         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27693         * time/time.h: TIME_UTC must be a macro.
27694         Make timespec_get available for ISO C11 only as well.
27696 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
27698         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27699         Reported by Peng Haitao <penght@cn.fujitsu.com>.
27701 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27703         * configure.in: Use -o not -a in test for unsupported multi-arch.
27705 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27707         * manual/texinfo.tex: Update to version 2012-01-19.16.
27709 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27711         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27713 2012-02-24  Roland McGrath  <roland@hack.frob.com>
27715         [BZ #13738]
27716         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27717         * manual/fdl-1.3.texi: New file.
27718         * manual/fdl-1.1.texi: File removed.
27720         [BZ #13738]
27721         * manual/libc.texinfo (FDL_VERSION): New @set.
27722         Use it for mention of FDL in cover text.
27723         (Documentation License): Use it in @include file name.
27725 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27726             Roland McGrath  <roland@hack.frob.com>
27728         [BZ #5461]
27729         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27730         not LONG_LONG_MAX and LONG_LONG_MIN.
27731         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27732         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
27733         name.
27734         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27736 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27738         [BZ #2547]
27739         [BZ #11365]
27740         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27741         manipulate bits before adding and subtracting TWO23[sx].
27742         * math/libm-test.inc (nearbyint_test): Add more tests.
27744 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27746         [BZ #2548]
27747         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27748         bits before adding and subtracting TWO23[sx].
27749         * math/libm-test.inc (rint_test): Add more tests.
27750         (rint_test_tonearest): Likewise.
27751         (rint_test_towardzero): Likewise.
27752         (rint_test_downward): Likewise.
27753         (rint_test_upward: Likewise.
27755 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27757         [BZ #10110]
27758         * include/stdc-predef.h: New file.  Extracted from features.h.
27759         * include/features.h: Include stdc-predef.h.
27760         * Makefile (headers): Add stdc-predef.h.
27761         * CONFORMANCE (Compiler limitations): Update.
27763 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27765         * manual/libc.texinfo (VERSION, UPDATED): Revert.
27767 2012-02-21  David S. Miller  <davem@davemloft.net>
27769         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27770         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27772 2012-02-20  David S. Miller  <davem@davemloft.net>
27774         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27775         using a normal save/restore sequence, rather than allocating a
27776         dummy stack frame just to store a frame pointer and restore.
27777         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27779 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27781         * manual/install.texi: Fix stray word in line-wrapped comment.
27783 2012-02-20  David S. Miller  <davem@davemloft.net>
27785         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27786         both binutils and gcc support GOTDATA.
27788         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27789         "rd %pc" in the PIC register setup sequences.
27791         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27792         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27793         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27794         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27795         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27796         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27797         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27798         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27800         (SYSCALL_ERROR_HANDLER): Likewise.
27801         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27802         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27804         (SYSCALL_ERROR_HANDLER): Likewise.
27806         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27807         (HAVE_GCC_GOTDATA): New.
27808         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27809         relocation support in both binutils and gcc.
27810         * sysdeps/sparc/elf/configure: Regenerate.
27812         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27813         * sysdeps/sparc/sparc32/elf/configure: Delete.
27814         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27815         * sysdeps/sparc/sparc64/elf/configure: Delete.
27816         * sysdeps/sparc/elf/configure.in: New file.
27817         * sysdeps/sparc/elf/configure: Generate.
27819         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27820         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27821         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27822         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27823         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27825 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27827         * manual/install.texi: Do not mention specific glibc version
27828         numbers.
27829         * manual/libc.texinfo (VERSION, UPDATED): Update.
27830         (@copying): Use @copyright{} and range of years.
27832 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27834         [BZ #13695]
27835         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27836         [crti.S not in sysdirs] (generated): Do not append.
27837         [crti.S not in sysdirs] (omit-deps): Likewise.
27838         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27839         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27840         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27841         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27842         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27843         Likewise.
27844         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27845         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27846         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27847         * csu/defs.awk: Remove file.
27848         * sysdeps/generic/initfini.c: Likewise.
27849         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27850         variable.
27851         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27852         Likewise.
27854 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27856         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27857         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27858         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27859         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27860         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27861         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27862         <bits/epoll.h>.
27863         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27864         (__EPOLL_PACKED): Define to empty if not defined by
27865         <bits/epoll.h>.
27866         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27868         bits/epoll.h.
27870 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27872         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27873         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27874         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27875         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27876         <bits/timerfd.h>.
27877         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27879         bits/timerfd.h.
27881 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27883         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27884         in C locale.
27885         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27886         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27887         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27890 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27892         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27893         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27895 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27897         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27898         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27899         defined.
27900         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27901         Likewise.
27902         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27903         entry for 2.16.
27905 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27907         * math/w_acos.c: Use non-signaling floating-point comparisons.
27908         * math/w_acosf.c: Likewise.
27909         * math/w_acosh.c: Likewise.
27910         * math/w_acoshf.c: Likewise.
27911         * math/w_acoshl.c: Likewise.
27912         * math/w_acosl.c: Likewise.
27913         * math/w_asin.c: Likewise.
27914         * math/w_asinf.c: Likewise.
27915         * math/w_asinl.c: Likewise.
27916         * math/w_atanh.c: Likewise.
27917         * math/w_atanhf.c: Likewise.
27918         * math/w_atanhl.c: Likewise.
27919         * math/w_exp2.c: Likewise.
27920         * math/w_exp2f.c: Likewise.
27921         * math/w_exp2l.c: Likewise.
27922         * math/w_j0.c: Likewise.
27923         * math/w_j0f.c: Likewise.
27924         * math/w_j0l.c: Likewise.
27925         * math/w_j1.c: Likewise.
27926         * math/w_j1f.c: Likewise.
27927         * math/w_j1l.c: Likewise.
27928         * math/w_jn.c: Likewise.
27929         * math/w_jnf.c: Likewise.
27930         * math/w_log.c: Likewise.
27931         * math/w_log10.c: Likewise.
27932         * math/w_log10f.c: Likewise.
27933         * math/w_log10l.c: Likewise.
27934         * math/w_log2.c: Likewise.
27935         * math/w_log2f.c: Likewise.
27936         * math/w_log2l.c: Likewise.
27937         * math/w_logf.c: Likewise.
27938         * math/w_logl.c: Likewise.
27939         * math/w_sqrt.c: Likewise.
27940         * math/w_sqrtf.c: Likewise.
27941         * math/w_sqrtl.c: Likewise.
27942         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27943         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27944         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27945         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27946         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27948 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27950         [BZ #9739]
27951         * manual/string.texi (strnlen): Use correct parameter name in
27952         equivalent expression.
27954 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27956         [BZ #11174]
27957         * manual/users.texi (seteuid): Consistently use neweuid for
27958         argument name.
27960 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27962         [BZ #13704]
27963         * manual/nss.texi (Services in the NSS configuration): Correct
27964         list of services in example configuration file.
27966 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27968         [BZ #11322]
27969         * manual/arith.texi: Remove statements about negative zero
27970         behaving identically to zero.
27972 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27974         [BZ #5993]
27975         * manual/install.texi: Do not document upgrading from libc5.
27977 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27979         [BZ #4596]
27980         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27982 2012-02-18  David S. Miller  <davem@davemloft.net>
27984         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27985         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27986         %o7 across the call.
27987         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27988         instead.
27989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27990         SETUP_PIC_REG_LEAF.
27991         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27992         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27993         * sysdeps/sparc/crtn.S: Likewise.
27995 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27997         * aout/Makefile: Remove.
27999 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
28001         [BZ #13058]
28002         * manual/examples/argp-ex1.c (main): Format definition in GNU
28003         style.
28004         * manual/examples/argp-ex2.c (main): Likewise.
28005         * manual/examples/argp-ex3.c (main): Likewise.
28006         * manual/examples/argp-ex4.c (main): Likewise.
28007         * manual/examples/longopt.c (main): Use new-style prototype
28008         definition.
28009         * manual/examples/strncat.c (main): Specify return type and use
28010         (void) for arguments.
28011         * manual/examples/subopt.c (main): Use char **argv argument.
28013 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28015         [BZ #5077]
28016         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28017         rounding modes.
28019 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
28021         [BZ #6907]
28022         * manual/string.texi (strchr): Change when strchrnul is
28023         recommended.
28025 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
28027         [BZ #174]
28028         * manual/locale.texi (setlocale): Document LOCPATH.
28030 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28032         [BZ #10210]
28033         * manual/process.texi (execle): Move @dots{} before last argument.
28035 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
28037         [BZ #12047]
28038         * manual/charset.texi (Generic Charset Conversion): Fix typo
28039         (LC_TYPE -> LC_CTYPE).
28041 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
28043         [BZ #5805]
28044         * manual/arith.texi (scalbn): Use @var{} on parameter names.
28045         (scalbnf): Likewise.
28046         (scalbnl): Likewise.
28047         (scalbln): Likewise.
28048         (scalblnf): Likewise.
28049         (scalblnl): Likewise.
28050         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28051         (vwarnx): Likewise.
28052         (verr): Likewise.
28053         (verrx): Likewise.
28054         * manual/filesys.texi (telldir): Use braces around return type.
28055         * manual/llio.texi (mmap): Add space after comma.
28056         (mmap64): Likewise.
28057         * manual/math.texi (jn): Use @var{} on parameter names.
28058         (jnf): Likewise.
28059         (jnl): Likewise.
28060         (yn): Likewise.
28061         (ynf): Likewise.
28062         (ynl): Likewise.
28063         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28064         line.
28065         * manual/resource.texi (ulimit): Use @dots{} instead of literal
28066         "...".
28067         (sched_get_priority_min): Remove semicolon on @deftypefun line.
28068         (sched_get_priority_max): Likewise.
28069         * manual/signal.texi (sigvec): Add space after comma.
28070         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28071         names.
28072         (if_indextoname): Likewise.
28073         (if_freenameindex): Likewise.
28074         (sendto): Use ',' instead of '.' in prototype.
28075         * manual/startup.texi (syscall): Use @dots{} instead of literal
28076         "...".
28077         * manual/stdio.texi (__fpending): Separate initial words of
28078         paragraph from @deftypefun line.
28079         * manual/syslog.texi (syslog): Use @dots{} instead of literal
28080         "...".
28081         (vsyslog): Use @var{} on parameter names.
28082         * manual/terminal.texi (stty): Use @var{} on parameter names.
28083         * manual/users.texi (getutmp): Use @var{} on parameter names.
28084         (getutmpx): Likewise.
28086 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28088         [BZ #6884]
28089         * manual/stdio.texi (fopen): Fix typos in description of
28090         ",ccs=STRING".
28092 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
28094         [BZ #4026]
28095         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28096         get clock_id definition.
28098 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
28100         [BZ #4822]
28101         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28102         (madvise): Cast every argument to void on its own.
28104 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28106         [BZ #9902]
28107         * manual/startup.texi (Exit Status): Fix typo.
28109 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28111         [BZ #10140]
28112         * manual/examples/argp-ex1.c: Include <stdlib.h>.
28113         * manual/examples/argp-ex2.c: Likewise.
28114         * manual/examples/argp-ex3.c: Likewise.
28116 2012-02-16  Richard Henderson  <rth@redhat.com>
28118         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28119         * sysdeps/s390/s390-32/initfini.c: Remove.
28120         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28121         * sysdeps/s390/s390-64/initfini.c: Remove.
28123 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28125         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28126         compiler output for sysdeps/generic/initfini.c.
28127         * sysdeps/sh/elf/initfini.c: Remove file.
28129 2012-02-16  David S. Miller  <davem@davemloft.net>
28131         [BZ #11494]
28132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28134         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28135         * sysdeps/sparc/crti.S: New file.
28136         * sysdeps/sparc/crtn.S: New file.
28137         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28138         * sysdeps/sparc/sparc64/Makefile: Likewise.
28140 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
28142         [BZ #3335]
28143         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28145 2012-02-15  Roland McGrath  <roland@hack.frob.com>
28147         [BZ #4822]
28148         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28150         * mach/devstream.c (cookie_io_functions_t): Macro removed.
28151         (write, read, close): Likewise.
28152         Patch by Aurelien Jarno <aurelien@aurel32.net>.
28154 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
28156         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28157         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28158         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28159         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28160         <bits/signalfd.h>.
28161         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28163         bits/signalfd.h.
28165 2012-02-14  Marek Polacek  <polacek@redhat.com>
28167         * sysdeps/x86_64/crti.S: New file.
28168         * sysdeps/x86_64/crtn.S: New file.
28169         * sysdeps/x86_64/elf/initfini.c: Remove file.
28171 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
28173         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28174         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28175         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28176         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28177         <bits/inotify.h>.
28178         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28180         bits/inotify.h.
28182 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
28184         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28185         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28186         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28187         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28188         <bits/eventfd.h>.
28189         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28191         bits/eventfd.h.
28193 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
28195         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28196         __feraiseexcept instead of feraiseexcept.
28198         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28199         nanosleep invocations.
28200         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28201         strings, and add error checking for a nanosleep invocations.
28203 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
28205         Replace FSF snail mail address with URLs, as per GNU coding standards.
28206         Most of the snail mail addresses were wrong anyway, and omitting
28207         them makes the source code easier to maintain.  Almost all of the
28208         changes are to license notices and to locale LC_IDENTIFICATION
28209         addresses, except for this one:
28210         * manual/libc.texinfo: In "Published by", give the FSF's URL,
28211         not its snail mail address.
28213 2012-02-09  Richard Henderson  <rth@twiddle.net>
28215         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28216         of kernel-features.h.
28218         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28220 2012-02-08  Marek Polacek  <polacek@redhat.com>
28222         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28223         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28224         * sysdeps/gnu/_G_config.h: Likewise.
28225         * sysdeps/generic/_G_config.h: Likewise.
28227 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
28229         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28230         tests.
28231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28233         * sysdeps/powerpc/powerpc32/crti.S: New file.
28234         * sysdeps/powerpc/powerpc32/crtn.S: New file.
28235         * sysdeps/powerpc/powerpc64/crti.S: New file.
28236         * sysdeps/powerpc/powerpc64/crtn.S: New file.
28238         * Makeconfig (have-initfini): Don't set.
28239         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28240         * configure.in (nopic_initfini): Don't substitute.
28241         * config.h.in (HAVE_INITFINI): Don't #undef.
28242         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28243         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28245 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
28247         Support crti.S and crtn.S provided directly by architectures.
28248         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28249         [crti.S in sysdirs] (omit-deps): Likewise.
28250         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28251         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28252         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28253         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28254         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28255         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28256         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28257         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28258         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28259         compiler output for sysdeps/generic/initfini.c.
28260         * sysdeps/i386/elf/Makefile: Remove file.
28261         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28263 2012-02-07  Marek Polacek  <polacek@redhat.com>
28265         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28266         * sysdeps/gnu/_G_config.h: Likewise.
28267         * sysdeps/mach/hurd/_G_config.h: Likewise.
28269 2012-02-07  Marek Polacek  <polacek@redhat.com>
28271         * math/Makefile (tests): Add tst-CMPLX2.
28272         * math/tst-CMPLX2.c: New file.
28274 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
28276         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28278         * math/libm-test.inc (jn_test): Add missing L suffix.
28280 2012-02-06  Marek Polacek  <polacek@redhat.com>
28282         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28283         * sysdeps/i386/fpu/e_powf.S: Likewise.
28284         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28285         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28286         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28287         * sysdeps/i386/fpu/e_pow.S: Likewise.
28288         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28289         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28290         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28291         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28292         * sysdeps/i386/fpu/e_log2.S: Likewise.
28293         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28294         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28295         * sysdeps/i386/fpu/e_powl.S: Likewise.
28296         * sysdeps/i386/fpu/s_log1p.S: Likewise.
28297         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28298         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28299         * sysdeps/i386/fpu/e_logl.S: Likewise.
28300         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28301         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28302         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28303         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28304         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28305         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28306         * sysdeps/i386/fpu/e_log.S: Likewise.
28307         * sysdeps/i386/fpu/s_cexp.S: Likewise.
28308         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28309         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28310         * sysdeps/i386/fpu/e_logf.S: Likewise.
28311         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28312         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28313         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28314         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28315         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28316         * sysdeps/i386/fpu/e_log10.S: Likewise.
28317         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28318         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28319         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28320         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28321         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28322         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28323         * sysdeps/i386/asm-syntax.h: Likewise.
28324         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28325         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28326         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28327         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28328         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28329         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28330         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28331         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28332         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28333         * sysdeps/powerpc/sysdep.h: Likewise.
28334         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28335         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28337 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
28339         [BZ #411]
28340         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28342 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
28344         * sysdeps/i386/sysdep.h: Include <features.h>.
28345         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28346         version.
28348 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
28350         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28351         Define.
28352         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28353         LOAD_PIC_REG_STR.
28355 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28357         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28358         (SETUP_PIC_REG): Use GET_PC_THUNK.
28359         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28360         macro.
28362 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28364         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28365         for non-PIC compilation.
28366         (SETUP_PIC_REG): Add .p2align directive.
28367         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28368         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28369         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28370         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28371         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28372         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28373         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28374         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28375         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28376         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28377         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28378         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28379         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28380         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28381         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28382         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28383         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28384         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28385         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28386         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28387         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28388         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28389         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28390         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28391         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28392         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28393         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28394         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28395         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28396         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28397         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28398         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28399         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28400         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28401         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28402         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28403         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28404         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28405         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28406         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28407         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28409 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28411         * math/tst-CMPLX.c: Include <stdio.h>.
28413 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
28415         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28416         float.
28417         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28418         * sysdeps/sparc/bits/mathdef.h: Likewise.
28420 2012-01-31  Marek Polacek  <polacek@redhat.com>
28422         * libio/libio.h: Don't define _PARAMS.
28423         * locale/programs/config.h: Don't define PARAMS.
28424         * stdlib/strtol_l.c: Likewise.
28425         (__strtol_l): Remove PARAMS from the prototype.
28427 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
28429         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
28430         names.  Just use the correct names.  Remove unnecessary wrapper
28431         functions.
28432         * malloc/arena.c: Likewise.
28433         * malloc/hooks.c: Likewise.
28435         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28436         ARENA_TEST says not to.  Simplify test for creation of a new arena.
28437         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28439 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
28441         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28442         into tail calls.
28443         (update_get_addr): New function.
28444         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28445         GET_ADDR_MODULE parameter.
28447 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28449         * crypt/cert.c: Remove __STDC__ conditionals.
28450         * crypt/crypt-entry.c: Likewise.
28451         * crypt/crypt_util.c: Likewise.
28452         * libio/filedoalloc.c: Likewise.
28453         * libio/fileops.c: Likewise.
28454         * libio/genops.c: Likewise.
28455         * libio/iofclose.c: Likewise.
28456         * libio/iofdopen.c: Likewise.
28457         * libio/iofopen.c: Likewise.
28458         * libio/iofopen64.c: Likewise.
28459         * libio/iogetdelim.c: Likewise.
28460         * libio/iopopen.c: Likewise.
28461         * libio/obprintf.c: Likewise.
28462         * libio/oldfileops.c: Likewise.
28463         * libio/oldiofclose.c: Likewise.
28464         * libio/oldiofdopen.c: Likewise.
28465         * libio/oldiofopen.c: Likewise.
28466         * libio/oldiopopen.c: Likewise.
28467         * libio/wfiledoalloc.c: Likewise.
28468         * libio/wgenops.c: Likewise.
28469         * locale/programs/xmalloc.c: Likewise.
28470         * misc/syslog.c: Likewise.
28471         * stdio-common/xbug.c: Likewise.
28472         * string/memchr.c: Likewise.
28473         * string/memcmp.c: Likewise.
28474         * string/memrchr.c: Likewise.
28475         * string/rawmemchr.c: Likewise.
28476         * sysdeps/posix/getcwd.c: Likewise.
28477         * time/strftime_l.c: Likewise.
28479 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28481         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28482         * config.make.in (config-cflags-sse2avx): Define.
28483         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28484         Fix typo.
28486 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
28488         * scripts/config.guess: Update from upstream config git repository.
28489         * scripts/config.sub: Likewise.
28491 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
28493         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28494         (EM_NUM): Update.
28495         (R_TILEPRO_*, R_TILEGX_*): New macros.
28497         * scripts/firstversions.awk: Fix bug in version range handling.
28499         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28501         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28503         * include/sys/epoll.h: New file.
28504         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28505         libc_hidden_def.
28507 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
28509         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28510         Avoid unnecessary __WORDSIZE == 64 test.
28511         (fmaxf): Use VEX format if possible.
28512         (fmax): Likewise.
28513         (fminf): Likewise.
28514         (fmin): Likewise.
28516         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28517         * math/math_private.h: Remove libc_fegetround* and
28518         libc_fesetround*.
28519         * sysdeps/i386/configure.in: Check for -msse2avx.
28520         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28521         also if SSE2AVX is defined.
28522         Remove libc_fegetround* and libc_fesetround*.
28523         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28524         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
28525         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28526         of HAS_YMM_USABLE.
28527         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28528         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28529         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28530         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28531         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28533         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28535 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28537         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28538         size is not set.
28539         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28541 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
28543         [BZ #13618]
28544         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28545         relocation.
28546         * Makeconfig (libm): Define.
28547         * elf/Makefile: Add rules to build and run tst-relsort1.
28548         * elf/tst-relsort1.c: New file.
28549         * elf/tst-relsort1mod1.c: New file.
28550         * elf/tst-relsort1mod2.c: New file.
28552 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
28554         * math/s_ldexp.c: Remove __STDC__ conditionals.
28555         * math/s_ldexpf.c: Likewise.
28556         * math/s_ldexpl.c: Likewise.
28557         * math/s_nextafter.c: Likewise.
28558         * math/s_nexttowardf.c: Likewise.
28559         * math/s_significand.c: Likewise.
28560         * math/s_significandf.c: Likewise.
28561         * math/s_significandl.c: Likewise.
28562         * math/w_jnl.c: Likewise.
28563         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28564         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28565         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28566         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28567         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28568         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28569         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28570         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28571         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28572         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28573         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28574         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28575         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28576         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28577         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28578         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28579         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28580         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28581         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28582         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28583         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28584         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28585         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28586         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28587         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28588         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28589         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28590         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28591         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28592         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28593         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28594         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28595         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28596         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28597         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28598         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28599         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28600         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28601         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28602         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28603         * sysdeps/ieee754/k_standard.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28649         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28650         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28651         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28652         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28653         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28655         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28659         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28660         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28663         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28664         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28665         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28666         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28667         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28668         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28669         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28670         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28671         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28672         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28673         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28674         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28675         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28676         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28677         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28678         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28679         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28680         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28681         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28682         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28683         * sysdeps/ieee754/s_matherr.c: Likewise.
28684         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28685         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28686         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28687         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28689 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28691         * crypt/md5.h: Remove __STDC__ conditionals.
28692         * libio/libioP.h: Likewise.
28693         * locale/programs/config.h: Likewise.
28694         * sysdeps/generic/sysdep.h: Likewise.
28695         * sysdeps/i386/asm-syntax.h: Likewise.
28696         * sysdeps/s390/asm-syntax.h: Likewise.
28697         * sysdeps/unix/sysdep.h: Likewise.
28698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28701 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28703         * libio/libio.h: Remove __STDC__ conditionals.
28704         * malloc/obstack.h: Likewise.
28705         * math/complex.h: Likewise.
28706         * math/math.h: Likewise.
28707         * sysdeps/generic/_G_config.h: Likewise.
28708         * sysdeps/gnu/_G_config.h: Likewise.
28709         * sysdeps/mach/hurd/_G_config.h: Likewise.
28710         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28711         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28712         * sysdeps/sparc/bits/mathdef.h: Likewise.
28714 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
28716         [BZ #13583]
28717         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28718         Clean up HAS_* macros.
28719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28720         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28721         possible.
28722         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28723         HAS_AVX.
28724         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28725         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28726         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28727         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28728         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28730 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
28732         * elf/tst-unique3.cc (gets): Remove declaration.
28733         * elf/tst-unique3lib.cc (gets): Likewise.
28734         * elf/tst-unique3lib2.cc (gets): Likewise.
28735         * elf/tst-unique4.cc (gets): Likewise.
28737 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
28739         * include/stdio.h: Add C++ protection.  Add gets declarations and
28740         definitions.
28741         * debug/tst-chk1.c: Don't declare gets here.
28742         * stdio-common/tst-gets.c: Likewise.
28744 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28746         * posix/glob: Remove directory.
28748 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28750         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28752 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
28754         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28755         of the non-standard EPFNOSUPPORT.
28757 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28759         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28760         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28761         ANYWHERE set to 1 only on KERN_NO_SPACE error.
28763 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
28765         * wcsmbs/uchar.h: Test __STDC_VERSION__.
28767 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
28769         * nscd/aicache.c (addhstaiX): Do not cache negative results of
28770         transient errors.
28771         * nscd/grpcache.c (cache_addgr): Likewise.
28772         * nscd/hstcache.c (cache_addhst): Likewise.
28773         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28774         * nscd/pwdcache.c (cache_addpw): Likewise.
28775         * nscd/servicescache.c (cache_addserv): Likewise.
28777 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
28779         * malloc/malloc.c: Various cleanups.
28780         * malloc/hooks.c: Likewise.
28782         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28783         * stdlib/bug-fmtmsg1.c: New file.
28785         * stdlib/fmtmsg.c (init): Add missing unlock.
28786         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28788 2012-01-12  Marek Polacek  <polacek@redhat.com>
28790         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28791         and _GNU_SOURCE.
28793 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28795         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28796         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28797         macro to ensure uniqueness of label name.
28798         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28799         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28801 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28803         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28805         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28806         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28807         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28808         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28810 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28812         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28814         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28815         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28816         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28818         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28820         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28821         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28822         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28823         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28825         * math/bits/math-finite.h: Add ldexp support.
28827 2012-01-10  Marek Polacek  <polacek@redhat.com>
28829         * locale/programs/localedef.h (show_archive_content): Add noreturn
28830         attribute.
28832 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28834         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28836 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28838         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28840         * io/Makefile (headers): Add bits/poll2.h.
28842 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28845         typo #include statement.
28847 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28849         * include/sys/cdefs.h: Define __attribute_alloc_size.
28850         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28851         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28852         * elf/pldd.c: Likewise.
28853         * iconv/iconv_charmap.c: Likewise.
28854         * iconv/iconvconfig.c: Likewise.
28855         * iconv/strtab.c: Likewise.
28856         * locale/programs/locale.c: Likewise.
28857         * locale/programs/localedef.h: Likewise.
28858         * locale/programs/simple-hash.c: Likewise.
28859         * nscd/nscd.h: Likewise.
28860         * nss/makedb.c: Likewise.
28861         * sysdeps/generic/ldconfig.h: Likewise.
28862         * locale/programs/localedef.c: Remove xmalloc prototype.
28863         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28865 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28867         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28868         appropriate.
28870 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28872         * math/Makefile (tests): Add tst-CMPLX.
28873         * math/tst-CMPLX.c: New file.
28875         * math/complex.h (CMPLXL): Fix typo.
28877         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28878         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28879         GLIBC_2.16.
28880         * debug/tst-chk1.c: Add poll and ppoll tests.
28881         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28882         * include/sys/poll.h: Add hidden proto for ppoll.
28883         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28884         * sysdeps/mach/hurd/ppoll.c: Likewise.
28885         * io/ppoll.c: Likewise.
28886         * debug/poll_chk.c: New file.
28887         * debug/ppoll_chk.c: New file.
28888         * include/bits/poll2.h: New file.
28889         * io/bits/poll2.h: New file.
28891         [BZ #1350]
28892         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28894         * configure.in: static is always set to yes.  Remove.
28895         * config.make.in: Don't set build-static.
28896         * Makeconfig: Remove use of build-static.
28897         * dlfcn/Makefile: Likewise.
28898         * elf/Makefile: Likewise.
28899         * math/Makefile: Likewise.
28900         * misc/Makefile: Likewise.
28901         * nptl/Makefile: Likewise.
28902         * sysdeps/mach/hurd/Makefile: Likewise.
28904         * configure.in: PWD_P is not used anymore.
28905         * config.make.in: Remove PWD_P entry.
28907         * configure.in: Remove last remnants of RANLIB.
28908         No need to check for signed size_t anymore.
28909         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28910         and IA-64.
28911         Remove __builtin_expect test because we require at least gcc 3.4.
28912         * aclocal.m4: Likewise.
28914         * wcsmbs/mbrtoc16.c: Implement using towc function.
28915         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28916         * wcsmbs/wcsmbsload.c: Likewise.
28917         * iconv/gconv_simple.c: Likewise.
28918         * iconv/gconv_int.h: Likewise.
28919         * iconv/gconv_builtin.h: Likewise.
28920         * iconv/iconv_prog.c: Remove CHAR16 handling.
28922         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28924         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28926         * configure.in: Remove --with-elf and --enable-bounded options.
28927         Dont set base_machine for ia64.  More non-ELF conditions removed.
28928         Remove testing and setting of leading underscore information.
28929         * config.make.in (build-bounded): Set to no.
28930         * config.h.in: Remove NO_UNDERSCORES entry.
28931         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28932         them.
28933         * csu/start.c: Remove !NO_UNDERSCORE code.
28934         * locale/localeinfo.h: Likewise.
28935         * sysdeps/generic/machine-gmon.h: Likewise.
28936         * sysdeps/generic/sysdep.h: Likewise.
28937         * sysdeps/i386/sysdep.h: Likewise.
28938         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28939         * sysdeps/mach/sysdep.h: Likewise.
28940         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28941         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28942         * sysdeps/sh/sysdep.h: Likewise.
28943         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28944         * sysdeps/unix/i386/sysdep.S: Likewise.
28945         * sysdeps/unix/sparc/start.c: Likewise.
28946         * sysdeps/unix/sparc/sysdep.S: Likewise.
28947         * sysdeps/unix/sparc/sysdep.h: Likewise.
28948         * sysdeps/unix/start.c: Likewise.
28949         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28950         * sysdeps/x86_64/sysdep.h: Likewise.
28952 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28954         [BZ #13553]
28955         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28956         for non-gcc.
28957         * argp/argp-fmtstream.h: Use const instead __const.
28958         * argp/argp.h: Likewise.
28959         * assert/assert.h: Likewise.
28960         * bits/fenv.h: Likewise.
28961         * bits/sched.h: Likewise.
28962         * bits/sigset.h: Likewise.
28963         * bits/sigthread.h: Likewise.
28964         * catgets/nl_types.h: Likewise.
28965         * conform/data/pthread.h-data: Likewise.
28966         * crypt/crypt-private.h: Likewise.
28967         * crypt/crypt.h: Likewise.
28968         * crypt/crypt_util.c: Likewise.
28969         * ctype/ctype.h: Likewise.
28970         * debug/execinfo.h: Likewise.
28971         * debug/mbsnrtowcs_chk.c: Likewise.
28972         * debug/mbsrtowcs_chk.c: Likewise.
28973         * debug/wcsnrtombs_chk.c: Likewise.
28974         * debug/wcsrtombs_chk.c: Likewise.
28975         * debug/wcstombs_chk.c: Likewise.
28976         * dirent/dirent.h: Likewise.
28977         * dlfcn/dlfcn.h: Likewise.
28978         * elf/neededtest4.c: Likewise.
28979         * grp/grp.h: Likewise.
28980         * gshadow/gshadow.h: Likewise.
28981         * iconv/gconv.h: Likewise.
28982         * iconv/gconv_int.h: Likewise.
28983         * iconv/gconv_simple.c: Likewise.
28984         * iconv/iconv.h: Likewise.
28985         * iconv/loop.c: Likewise.
28986         * iconv/skeleton.c: Likewise.
28987         * include/aio.h: Likewise.
28988         * include/aliases.h: Likewise.
28989         * include/argz.h: Likewise.
28990         * include/arpa/inet.h: Likewise.
28991         * include/assert.h: Likewise.
28992         * include/dirent.h: Likewise.
28993         * include/dlfcn.h: Likewise.
28994         * include/execinfo.h: Likewise.
28995         * include/fcntl.h: Likewise.
28996         * include/fenv.h: Likewise.
28997         * include/glob.h: Likewise.
28998         * include/grp.h: Likewise.
28999         * include/libintl.h: Likewise.
29000         * include/mntent.h: Likewise.
29001         * include/netdb.h: Likewise.
29002         * include/pwd.h: Likewise.
29003         * include/rpc/netdb.h: Likewise.
29004         * include/sched.h: Likewise.
29005         * include/search.h: Likewise.
29006         * include/shadow.h: Likewise.
29007         * include/signal.h: Likewise.
29008         * include/stdio.h: Likewise.
29009         * include/stdlib.h: Likewise.
29010         * include/string.h: Likewise.
29011         * include/sys/socket.h: Likewise.
29012         * include/sys/stat.h: Likewise.
29013         * include/sys/statfs.h: Likewise.
29014         * include/sys/statvfs.h: Likewise.
29015         * include/sys/syslog.h: Likewise.
29016         * include/sys/time.h: Likewise.
29017         * include/sys/uio.h: Likewise.
29018         * include/time.h: Likewise.
29019         * include/unistd.h: Likewise.
29020         * include/utmp.h: Likewise.
29021         * include/wchar.h: Likewise.
29022         * include/wctype.h: Likewise.
29023         * inet/aliases.h: Likewise.
29024         * inet/arpa/inet.h: Likewise.
29025         * inet/netinet/ether.h: Likewise.
29026         * inet/netinet/in.h: Likewise.
29027         * intl/libintl.h: Likewise.
29028         * io/bits/fcntl2.h: Likewise.
29029         * io/fcntl.h: Likewise.
29030         * io/ftw.h: Likewise.
29031         * io/sys/poll.h: Likewise.
29032         * io/sys/stat.h: Likewise.
29033         * io/sys/statfs.h: Likewise.
29034         * io/sys/statvfs.h: Likewise.
29035         * io/utime.h: Likewise.
29036         * libio/bits/stdio.h: Likewise.
29037         * libio/bits/stdio2.h: Likewise.
29038         * libio/libio.h: Likewise.
29039         * libio/libioP.h: Likewise.
29040         * libio/stdio.h: Likewise.
29041         * locale/lc-ctype.c: Likewise.
29042         * locale/locale.h: Likewise.
29043         * login/utmp.h: Likewise.
29044         * malloc/arena.c: Likewise.
29045         * malloc/malloc.c: Likewise.
29046         * malloc/malloc.h: Likewise.
29047         * malloc/mcheck.c: Likewise.
29048         * malloc/mtrace.c: Likewise.
29049         * math/bits/mathcalls.h: Likewise.
29050         * math/fenv.h: Likewise.
29051         * math/math_private.h: Likewise.
29052         * misc/bits/error.h: Likewise.
29053         * misc/bits/syslog.h: Likewise.
29054         * misc/err.h: Likewise.
29055         * misc/error.h: Likewise.
29056         * misc/fstab.h: Likewise.
29057         * misc/mntent.h: Likewise.
29058         * misc/regexp.h: Likewise.
29059         * misc/search.h: Likewise.
29060         * misc/sgtty.h: Likewise.
29061         * misc/sys/mman.h: Likewise.
29062         * misc/sys/syslog.h: Likewise.
29063         * misc/sys/uio.h: Likewise.
29064         * misc/sys/xattr.h: Likewise.
29065         * misc/ttyent.h: Likewise.
29066         * nis/rpcsvc/ypclnt.h: Likewise.
29067         * nss/nss.h: Likewise.
29068         * posix/bits/unistd.h: Likewise.
29069         * posix/fnmatch.h: Likewise.
29070         * posix/glob.h: Likewise.
29071         * posix/sched.h: Likewise.
29072         * posix/spawn.h: Likewise.
29073         * posix/sys/wait.h: Likewise.
29074         * posix/unistd.h: Likewise.
29075         * posix/wordexp.h: Likewise.
29076         * pwd/pwd.h: Likewise.
29077         * resolv/netdb.h: Likewise.
29078         * resource/sys/resource.h: Likewise.
29079         * rt/aio.h: Likewise.
29080         * rt/bits/mqueue2.h: Likewise.
29081         * rt/mqueue.h: Likewise.
29082         * shadow/shadow.h: Likewise.
29083         * signal/signal.h: Likewise.
29084         * socket/send.c: Likewise.
29085         * socket/sendto.c: Likewise.
29086         * socket/sys/socket.h: Likewise.
29087         * stdio-common/printf.h: Likewise.
29088         * stdlib/bits/stdlib.h: Likewise.
29089         * stdlib/fmtmsg.h: Likewise.
29090         * stdlib/monetary.h: Likewise.
29091         * stdlib/stdlib.h: Likewise.
29092         * stdlib/ucontext.h: Likewise.
29093         * streams/stropts.h: Likewise.
29094         * string/argz.h: Likewise.
29095         * string/bits/string2.h: Likewise.
29096         * string/string.h: Likewise.
29097         * string/strings.h: Likewise.
29098         * sunrpc/rpc/auth.h: Likewise.
29099         * sunrpc/rpc/auth_des.h: Likewise.
29100         * sunrpc/rpc/clnt.h: Likewise.
29101         * sunrpc/rpc/netdb.h: Likewise.
29102         * sunrpc/rpc/pmap_clnt.h: Likewise.
29103         * sunrpc/rpc/xdr.h: Likewise.
29104         * sysdeps/generic/inttypes.h: Likewise.
29105         * sysdeps/generic/net/if.h: Likewise.
29106         * sysdeps/generic/sys/swap.h: Likewise.
29107         * sysdeps/gnu/net/if.h: Likewise.
29108         * sysdeps/gnu/utmpx.h: Likewise.
29109         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29110         * sysdeps/i386/i486/bits/string.h: Likewise.
29111         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29112         * sysdeps/s390/bits/string.h: Likewise.
29113         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29114         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29115         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29116         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29117         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29118         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29119         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29120         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29121         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29122         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29123         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29124         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29125         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29126         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29127         * sysdeps/unix/sysv/linux/readv.c: Likewise.
29128         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29129         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29130         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29131         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29132         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29133         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29134         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29135         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29136         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29137         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29138         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29139         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29140         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29141         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29142         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29143         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29144         * sysvipc/sys/ipc.h: Likewise.
29145         * sysvipc/sys/msg.h: Likewise.
29146         * sysvipc/sys/sem.h: Likewise.
29147         * sysvipc/sys/shm.h: Likewise.
29148         * termios/termios.h: Likewise.
29149         * time/sys/time.h: Likewise.
29150         * time/time.h: Likewise.
29151         * wcsmbs/bits/wchar2.h: Likewise.
29152         * wcsmbs/uchar.h: Likewise.
29153         * wcsmbs/wchar.h: Likewise.
29154         * wctype/wctype.h: Likewise.
29156         [BZ #13551]
29157         * Makeconfig: Remove all but ELF support including AIX support.
29158         * Makerules: Likewise.
29159         * config.h.in: Likewise.
29160         * config.make.in: Likewise.
29161         * configure: Likewise.
29162         * configure.in: Likewise.
29163         * csu/Makefile: Likewise.
29164         * csu/version.c: Likewise.
29165         * debug/Makefile: Likewise.
29166         * dlfcn/Makefile: Likewise.
29167         * elf/Makefile: Likewise.
29168         * extra-lib.mk: Likewise.
29169         * iconv/Makefile: Likewise.
29170         * include/libc-symbols.h: Likewise.
29171         * include/shlib-compat.h: Likewise.
29172         * resolv/Makefile: Likewise.
29173         * resolv/res_libc.c: Likewise.
29174         * rt/Makefile: Likewise.
29175         * sysdeps/i386/asm-syntax.h: Likewise.
29176         * sysdeps/i386/sysdep.h: Likewise.
29177         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29178         * sysdeps/mach/sysdep.h: Likewise.
29179         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29180         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29181         * sysdeps/s390/asm-syntax.h: Likewise.
29182         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29183         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29184         * sysdeps/sh/sysdep.h: Likewise.
29185         * sysdeps/unix/sparc/sysdep.h: Likewise.
29186         * sysdeps/wordsize-32/divdi3.c: Likewise.
29187         * sysdeps/x86_64/sysdep.h: Likewise.
29189         * argp/Versions: Remove _argp_unlock_xxx.
29191         [BZ #13559]
29192         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
29193         * abilist/libBrokenLocale.abilist: Likewise.
29194         * abilist/libanl.abilist: Likewise.
29195         * abilist/libc.abilist: Likewise.
29196         * abilist/libcrypt.abilist: Likewise.
29197         * abilist/libdl.abilist: Likewise.
29198         * abilist/libm.abilist: Likewise.
29199         * abilist/libnsl.abilist: Likewise.
29200         * abilist/libpthread.abilist: Likewise.
29201         * abilist/libresolv.abilist: Likewise.
29202         * abilist/librt.abilist: Likewise.
29203         * abilist/libthread_db.abilist: Likewise.
29204         * abilist/libutil.abilist: Likewise.
29205         * abilist/libnss_db.abilist: New file.
29207         * scripts/abilist.awk: Add support for indirect functions.
29209         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29211         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29213         * shlib-versions: Remove entries for ports architectures.
29215         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
29216         files in ports.
29217         * elf/stackguard-macros.h: Remove support for IA-64.
29218         * elf/tst-auditmod1.c: Likewise.
29219         * sysdeps/generic/ldsodefs.h: Likewise.
29221         * sysdeps/unix/sysv/linux/configure.in: Ports should define
29222         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29223         configure files.
29225         [BZ #13552]
29226         * configure.in: Remove --enable-omitfp support.
29227         * FAQ.in: Adjust.
29228         * config.make.in: Likewise.
29229         * Makeconfig: Likewise.
29230         * manual/install.texi: Likewise.
29232         In case anyone cares, the IA-64 architecture could move to ports.
29233         * sysdeps/ia64/*: Removed.
29234         * sysdeps/unix/sysv/linux/ia64/*: Removed.
29235         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29237         [BZ #13555]
29238         * configure.in: Remove entries for unsupported architectures.
29240         [BZ #13533]
29241         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29242         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
29243         routines.
29244         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29245         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29246         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
29247         fall back to using wcrtomb.
29248         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29249         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
29250         renaming.
29251         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29252         * wcsmbs/tst-c16c32-1.c: New file.
29254         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29255         local variable.
29257         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29259         * elf/tst-unique3.cc: Add explicit declaration of gets.
29260         * elf/tst-unique3lib.cc: Likewise.
29261         * elf/tst-unique3lib2.cc: Likewise.
29262         * elf/tst-unique4.cc: Likewise.
29264         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29266 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
29268         [BZ #13566]
29269         * assert/assert.h (static_assert): Don't define for C++.
29270         * libio/stdio.h (gets): Do declare for C++ <= C++11.
29271         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29273 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
29275         * iconv/loop.c (single loop): Fix assertion in storing of
29276         remaining bytes.
29278         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29280 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
29282         * posix/getconf.c: Update copyright year.
29283         * nss/getent.c: Likewise.
29284         * nss/makedb.c: Likewise.
29285         * iconv/iconvconfig.c: Likewise.
29286         * iconv/iconv_prog.c: Likewise.
29287         * elf/ldconfig.c: Likewise.
29288         * elf/pldd.c: Likewise.
29289         * elf/sotruss.ksh: Likewise.
29290         * catgets/gencat.c: Likewise.
29291         * csu/version.c: Likewise.
29292         * elf/ldd.bash.in: Likewise.
29293         * elf/sprof.c (print_version): Likewise.
29294         * locale/programs/locale.c: Likewise.
29295         * locale/programs/localedef.c: Likewise.
29296         * login/programs/pt_chown.c: Likewise.
29297         * nscd/nscd.c (print_version): Likewise.
29298         * debug/xtrace.sh: Likewise.
29299         * malloc/memusage.sh: Likewise.
29300         * malloc/mtrace.pl: Likewise.
29301         * debug/catchsegv.sh: Likewise.
29303 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
29305         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29306         pure attribute.
29308 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
29310         [BZ #13533]
29311         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29312         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29313         transformations.
29314         * iconv/gconv_int.h: Likewise.
29315         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29316         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29317         from libc for GLIBC_2.16.
29318         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29319         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29320         * wcsmbs/uchar.h: Really define mbstate_t.
29321         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29322         * wcsmbs/c16rtomb.c: New file.
29323         * wcsmbs/mbrtoc16.c: New file.
29324         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29325         for C/POSIX locale.
29326         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29327         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29329         * wcsmbs/wchar.h: Add missing __restrict.
29331 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29333         [BZ #13532]
29334         * time/Makefile (routines): Add timespec_get.
29335         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29336         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
29337         timespec for ISO C11.
29338         * time/timespec_get.c: New file.
29339         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29340         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29342         [BZ #13531]
29343         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29344         * stdlib/stdlib.h: Declare aligned_alloc.
29345         * Versions.def: Add GLIBC_2.16 for libc.
29346         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29348         [BZ 13527]
29349         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29350         ISO C11.
29352         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29353         code.
29355         [BZ #13528]
29356         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29358         [BZ #13529]
29359         * assert/assert.h (static_assert): Define.
29361         * version.h: Update for 2.16 development version.
29363         [BZ #13526]
29364         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29365         _ISOC11_SOURCE.
29367         * version.h (RELEASE): Bump for 2.15 release.
29368         * include/features.h (__GLIBC_MINOR__): Bump to 15.
29370         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29371         Patch by Marek Polacek <mpolacek@redhat.com>.
29373         * bits/byteswap.h: Protect long long constants with __extension__.
29374         * sysdeps/i386/bits/byteswap.h: Likewise.
29375         * sysdeps/ia64/bits/byteswap.h: Likewise.
29376         * sysdeps/s390/bits/byteswap.h: Likewise.
29377         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29379 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29381         [BZ #13540]
29382         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29383         destination buffer.
29384         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29386 2011-12-23  Marek Polacek  <polacek@redhat.com>
29388         * elf/dl-addr.c (determine_info): Add inline keyword.
29389         * elf/tst-auditmod4b.c (check_avx): Likewise.
29390         * elf/tst-auditmod6b.c (check_avx): Likewise.
29391         * elf/tst-auditmod6c.c (check_avx): Likewise.
29392         * elf/tst-auditmod7b.c (check_avx): Likewise.
29394 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29396         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29397         !__SSE_MATH__.
29399 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29401         [BZ #13540]
29402         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29403         processing for last bytes.
29405 2011-08-06  Bruno Haible  <bruno@clisp.org>
29407         [BZ #13061]
29408         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29409         U+0385, not to U+1FEE.
29411         [BZ #13062]
29412         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29413         entry for U+00A5 U+0301.
29415 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29417         [BZ #13166]
29418         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29419         buffer for the output is too small.
29421         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29422         optimization.
29424         [BZ #13185]
29425         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29426         SSE flags if possible.
29428 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29430         [BZ #13540]
29431         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29432         processing for last bytes.
29434 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
29436         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29437         (syscall-list-default-options, syscall-list-default-condition)
29438         (syscall-list-includes): Define.
29439         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29440         list of ABIs and options and #if conditions for each ABI.  Do not
29441         handle common syscalls between ABIs specially.
29442         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29443         Remove.
29444         (syscall-list-variants, syscall-list-32bit-options)
29445         (syscall-list-32bit-condition, syscall-list-64bit-options)
29446         (syscall-list-64bit-condition): Define.
29447         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29448         (syscall-list-variants, syscall-list-32bit-options)
29449         (syscall-list-32bit-condition, syscall-list-64bit-options)
29450         (syscall-list-64bit-condition): Define.
29451         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29452         Remove.
29453         (syscall-list-variants, syscall-list-32bit-options)
29454         (syscall-list-32bit-condition, syscall-list-64bit-options)
29455         (syscall-list-64bit-condition): Define.
29456         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29457         Remove.
29458         (syscall-list-variants, syscall-list-32bit-options)
29459         (syscall-list-32bit-condition, syscall-list-64bit-options)
29460         (syscall-list-64bit-condition): Define.
29462 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29464         * locale/iso-639.def: Add brx entry.
29466         [BZ #13328]
29467         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29468         Proposed by Mariusz_Cukr <marcukr@op.pl>.
29470         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29471         __feraiseexcept_renamed.
29473 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29475         [BZ #13538]
29476         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29477         EPOLLET with unsigned values.
29478         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29479         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29481         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29482         to large cancellation.
29483         * math/s_cacoshf.c: Likewise.
29484         * math/s_cacoshl.c: Likewise.
29486 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
29488         [BZ #13305]
29489         [BZ #12786]
29490         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29491         * math/s_cacoshf.c: Likewise.
29492         * math/s_cacoshl.c: Likewise.
29494 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29496         [BZ #13439]
29497         * iconv/gconv.h: Define __GCONV_SWAP.
29498         * iconvdata/unicode.c: The swap bit must be stored in __flags.
29499         * iconvdata/utf-16.c: Likewise.
29500         * iconvdata/utf-32.c: Likewise.
29502 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29504         [BZ #13524]
29505         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29506         numerator after shifting it by one limb.
29508 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
29510         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29511         under [__USE_EXTERN_INLINES].
29513 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29515         [BZ #13446]
29516         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29518 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29520         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29521         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29522         optimized code.
29523         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29524         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29525         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29526         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29527         for strncasecmp/strncasecmp_l compilation.
29528         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29529         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29531 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
29533         [BZ #13484]
29534         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29535         of __asm__.
29537 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29539         [BZ #13506]
29540         * time/tzfile.c (__tzfile_read): Check values from file header.
29542 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29544         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29545         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29546         * powerpc/powerpc32/dl-start.S: Likewise.
29547         * powerpc/powerpc32/elf/start.S: Likewise.
29548         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29549         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29550         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29551         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29552         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29553         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29554         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29555         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29556         * powerpc/powerpc32/fpu/s_round.S: Likewise.
29557         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29558         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29559         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29560         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29561         * powerpc/powerpc32/memset.S: Likewise.
29562         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29563         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29564         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29565         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29566         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29567         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29568         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29569         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29570         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29571         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29572         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29573         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29574         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29576 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29578         * math/libm-test.inc: Added more nearbyint tests.
29579         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29580         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29581         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29582         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29584 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
29586         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29587         FD_CLOEXEC.
29589 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29591         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29592         Add wcscpy-ssse3 wcscpy-c.
29593         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29594         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29595         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29596         * sysdeps/x86_64/wcschr.S: New file.
29597         * sysdeps/x86_64/wcsrchr.S: New file.
29598         * string/test-strcmp.c: Remove checking of wcscmp function for
29599         wrong alignments.
29600         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29601         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29602         wcsrchr-sse2 wcsrchr-c.
29603         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29604         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29605         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29606         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29607         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29608         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29609         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29610         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29611         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29612         * wcsmbc/wcschr.c (WCSCHR): New macro.
29614 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29616         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29617         * wcsmbs/test-wcsrchr.c: New file.
29618         * string/test-strrchr.c: Add wcsrchr support.
29619         (WIDE): New macro.
29620         * wcsmbs/test-wcscpy.c: New file.
29621         * string/test-strcpy.c: Add wcscpy support.
29622         (WIDE): New macro.
29624 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
29626         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29627         the inner loop.
29629 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
29631         [BZ #13472]
29632         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29634 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
29636         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29637         Minor optimizations.
29639         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29640         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29641         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29643 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
29645         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29646         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29647         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29648         for gcc to avoid warnings.
29649         * inet/Makefile (tests): Add tst-checks.
29650         * inet/tst-checks.c: New file.
29652         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29653         warning.
29655         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29656         __wmemcmp_sse2.
29658         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29659         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29661         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29663 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
29665         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29666         problem.
29668         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29670 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
29672         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29673         conditional on GCC version.
29674         (__arch_compare_and_exchange_val_8_acq)
29675         (__arch_compare_and_exchange_val_16_acq)
29676         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29677         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29678         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29680 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
29682         * sysdeps/sh/backtrace.c: New file.
29684 2011-12-02  Andreas Schwab  <schwab@redhat.com>
29686         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
29687         parenthesis.
29689 2011-12-01  Andreas Schwab  <schwab@redhat.com>
29691         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29692         falling back to utime.
29694 2011-11-30  Andreas Schwab  <schwab@redhat.com>
29696         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29697         expectations for float.
29699 2011-11-29  Andreas Schwab  <schwab@redhat.com>
29701         * locale/weight.h (findidx): Add parameter len.
29702         * locale/weightwc.h (findidx): Likewise.
29703         * posix/fnmatch_loop.c (FCT): Adjust caller.
29704         * posix/regcomp.c (build_equiv_class): Likewise.
29705         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29706         * posix/regexec.c (check_node_accept_bytes): Likewise.
29707         * string/strcoll_l.c (STRCOLL): Likewise.
29708         * string/strxfrm_l.c (STRXFRM): Likewise.
29710 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
29712         * Makefile.in: Remove CVSOPT handling.
29713         * configure.in: Remove use of AC_REVISION.
29714         * iconvdata/Makefile (distribute): No need to filter out CVS.
29715         * scripts/list-sources.sh: Remove CVS, subversion and monotone
29716         handling.
29718 2011-11-16  Andreas Schwab  <schwab@redhat.com>
29720         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29721         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29722         [USE_AS_STRNCASECMP_L]: Likewise.
29723         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29724         NO_TLS_DIRECT_SEG_REFS.
29725         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29726         Fix argument offsets for non-PIC.
29727         [USE_AS_STRNCASECMP_L]: Likewise.
29728         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29729         NO_TLS_DIRECT_SEG_REFS.
29731 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29733         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29734         O_CLOEXEC.
29735         * locale/loadlocale.c (_nl_load_locale): Likewise.
29737 2011-11-15  Andreas Schwab  <schwab@redhat.com>
29739         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29740         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29741         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29742         (SYSCALL_GETTIME): Set errno on error.
29744         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29745         count references to noai6ai_cached.
29747 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29749         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29751         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29752         FD_CLOEXEC for /proc/self/maps.
29754         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29755         FD_CLOEXEC for /proc/meminfo.
29757         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29758         gai.conf.
29760         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
29761         FD_CLOEXEC for given file.
29763         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29765         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29766         FD_CLOEXEC for /etc/hosts.
29767         (_gethtent): Likewise.
29769         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29771         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29772         cancellation and set FD_CLOEXEC for /etc/netgroup.
29774         * nss/nss_files/files-key.c (search): Don't allow cancellation when
29775         reading /etc/publickey.
29777         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29778         allow cancellation when reading /etc/group.
29780         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29781         cancellation.
29782         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29784         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29785         when using data file.
29787         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29789         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29790         (write_nis_obj): Use "c" and "e" in fopen.
29792         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29794         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29796         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29798         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29800         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29801         locale.alias.
29803         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29805         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29807         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29809         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29810         file parsing and set FD_CLOEXEC.
29812 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29814         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29816 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29818         * malloc/arena.c (arena_get2): Don't call reused_arena when
29819         _int_new_arena failed.
29821 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29823         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29824         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29825         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29826         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29827         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29828         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29829         to compile strcasecmp and strncasecmp.
29830         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29831         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29833         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29835 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29837         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29838         locale-defines.sym to gen-as-const-headers.
29839         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29840         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29841         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29842         to compile strcasecmp and strncasecmp.
29843         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29844         strcasecmp_l and strncasecmp_l.
29845         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29846         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29847         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29848         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29849         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29850         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29851         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29852         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29853         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29854         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29855         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29857 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29859         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29860         result of SYSDEP_GETTIME_CPU to retval.
29861         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29862         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29864         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29865         variable.
29867         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29868         mantissa words.
29869         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29871         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29872         from unused variable.
29874         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29875         DWARF definitions.
29876         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29877         for assembling.
29879         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29880         over namespaces.
29882         * sunrpc/rpc_prot.c (rejected): Fix case value.
29884         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29885         unsigned long long int to avoid warnings in shift.
29887         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29888         of use of trans.
29889         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29890         variable tmp.
29892         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29893         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29894         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29896         * nis/nis_table.c (nis_list): Use variable of correct type for
29897         result of __follow_path call.
29899 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29901         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29902         of math functions ceil, trunc, floor, round, and sqrt, when
29903         avaliable on the platform.
29904         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29905         name clash.
29906         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29907         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29908         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29910 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29912         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29913         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29915 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29917         * include/unistd.h: Fix __readlink return type.
29918         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29920 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29922         * stdlib/ucontext.h: Undo last change for makecontext.
29924 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29926         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29928         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29929         * setjmp/setjmp.h: Mark functions as non-leaf.
29930         * setjmp/bits/setjmp2.h: Likewise.
29931         * stdlib/ucontext.h: Likewise.
29933 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29935         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29936         (reused_arena): Don't check arena limit.
29937         (arena_get2): Atomically check arena limit.
29939 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29941         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29942         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29944         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29945         instructions.
29947 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29949         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29950         handler when locking.
29952         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29953         Fix size of allocated buffer.
29955 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29957         [BZ #10103]
29958         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29959         declarations for long double functions.
29960         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29962         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29964 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29966         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29967         installed.
29969         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29970         is disabled.
29972 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29974         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29976 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29978         * include/alloca.h (stackinfo_alloca_round): Define.
29979         (extend_alloca): Use it.
29980         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29981         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29982         here.
29984         * scripts/check-local-headers.sh: Ignore libaudit.h.
29986         * nscd/Makefile (extra-objs): Make recursively expanded.
29988 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29990         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29991         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29993         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29994         * posix/tst-rfc3484-2.c: Likewise.
29995         * posix/tst-rfc3484-3.c: Likewise.
29997         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29998         process_vm_writev.
29999         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30000         process_vm_writev.
30001         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30002         process_vm_writev from libc using GLIBC_2.15 version.
30004         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30006 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
30008         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30009         stack usage.
30011 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
30013         [BZ #13367]
30014         * nss/getent.c (initgroups_keys): Show error message in case no group
30015         names are given.
30017         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30018         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30019         __bump_nl_timestamp.
30020         * nscd/connections (nscd_init): When host database is served open
30021         netlink socket and request notification about configuration changes.
30022         (main_loop_poll): Track netlink file descriptor and bump timestamp
30023         in case data becomes available.
30024         (main_loop_epoll): Likewise.
30025         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30026         (database_pers_head): Add extra_data fileds.
30027         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30028         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30029         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30030         Adjust caller.
30031         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30032         in6ai data, call __free_in6ai.
30033         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30034         Add -DHAVE_NETLINK.
30035         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
30036         interface information.  Reuse previous data if netlink timestamp
30037         is not changed.
30038         (__bump_nl_timestamp): New function.
30039         (__free_in6ai): New function.
30041 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
30043         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30044         close_not_cancel_no_status here.
30045         (__check_pf): Reorganize code a bit to not call close twice if OOM.
30047 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30049         [BZ #13276]
30050         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30051         return value.
30053         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30054         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30055         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30057 2011-07-03  Andreas Jaeger  <aj@suse.de>
30059         [BZ #10709]
30060         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30061         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30062         * math/libm-test.inc (sin_test): Add test case.
30064 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30066         [BZ #13337]
30067         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30068         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30070         * elf/chroot_canon.c (chroot_canon): Cleanups.
30072         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30074         [BZ #13335]
30075         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30076         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30078         * string/test-strchr.c: Make usable for strchrnul testing.
30079         * string/test-strchrnul.c: New file.
30080         * string/Makefile (strop-tests): Add strchrnul.
30082         * po/it.po: Update from translation team.
30083         * po/es.po: Likewise.
30085 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
30087         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30088         the three constants needed as parameters.  Drop the others.
30089         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30090         __m128i_strloadu_tolower.
30091         Create and initialize variable zero and use it in all the places
30092         where _mm_setzero_si128 was used.
30094         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30095         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30096         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30097         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30098         anymore.
30099         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30100         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30101         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30102         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30103         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30104         __mpranred, __mptan.
30105         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30106         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30107         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30108         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30109         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30110         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30111         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30112         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30113         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30115 2011-10-28  Andreas Schwab  <schwab@redhat.com>
30117         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30118         redefine if SHARED.
30119         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30122         wide char related routines to wcsmbs subdir.
30124 2011-10-27  Andreas Schwab  <schwab@redhat.com>
30126         [BZ #13344]
30127         * misc/sys/cdefs.h (__THROWNL): Define.
30128         * posix/unistd.h: Use __THREADNL instead of __THREAD
30129         for memory synchronization functions.
30131 2011-10-26  Roland McGrath  <roland@hack.frob.com>
30133         [BZ #13349]
30134         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30135         doesn't exist.
30136         * manual/stdio.texi (Obstack Streams): Node removed.
30138 2011-10-26  Andreas Schwab  <schwab@redhat.com>
30140         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30141         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30142         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30144         * math/math_private.h (math_force_eval): Allow non-addressable
30145         arguments.
30146         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30148 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30150         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30151         file is not needed.
30153         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30154         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30155         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30156         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30157         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30158         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30159         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30160         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30161         Add AVX variants.
30162         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30163         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30164         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30165         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30166         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30167         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30168         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30169         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30170         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30171         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30172         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30173         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30174         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30175         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30176         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30177         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30178         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30179         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30180         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30182         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30183         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
30185         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30186         place.  Use VEX encoding when compiling for AVX.
30188 2011-10-25  Andreas Schwab  <schwab@redhat.com>
30190         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30191         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30193         * string/test-strchr.c (do_test): Don't generate NUL bytes.
30195 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30197         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30198         useless if() expression.
30199         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30200         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30201         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30202         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30203         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30204         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30205         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30206         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30207         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30208         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30209         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30210         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30211         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30212         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30213         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30214         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30215         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30216         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30217         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30219         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30221 2011-10-25  Andreas Schwab  <schwab@redhat.com>
30223         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30224         condition.
30225         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30227 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30229         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30230         .text section.  Avoid duplicate constants.
30231         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30232         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30233         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30235         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30238         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30239         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30240         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30241         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30242         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30243         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30244         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30245         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30246         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30247         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30248         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30249         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30250         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30251         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30252         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30253         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30254         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30255         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30256         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30257         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30258         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30259         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30260         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30261         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30262         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30263         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30264         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30265         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30266         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30267         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30268         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30269         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30270         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30271         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30272         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30273         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30274         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30275         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30277 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
30279         * sysdeps/x86_64/dla.h: Move to ...
30280         * sysdeps/x86_64/fpu/dla.h: ...here.
30281         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30282         situations.  Use __builtin_fma only for gcc 4.6 and up.
30284         * config.make.in: Add have-mfma4 entry.
30285         * configure.in: Substitute libc_cv_cc_fma4.
30286         * math/Makefile (dbl-only-routines): Add sincostab.
30287         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30288         Use __sincostab not sincos.
30289         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30290         name is a macro.
30291         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30293         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30294         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
30295         using __copysign.
30296         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
30297         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
30298         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30299         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30300         and __inv.
30301         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30302         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30303         __copysign.
30304         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
30305         define aliases when function name is a macro.
30306         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30307         sysdeps/ieee754/dbl-64/sincos.tbl.
30308         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30309         fma4-enabled routines.
30310         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30311         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30312         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30313         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30314         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30315         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30316         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30317         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30318         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30319         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30320         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30321         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30322         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30323         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30324         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30325         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30326         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30327         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30328         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30329         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30330         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30331         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30332         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30333         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30334         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30335         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30336         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30337         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30338         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30339         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30341         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30342         rename.
30343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30344         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30345         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30346         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30347         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30348         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30349         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30350         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30352 2011-10-24  Andreas Schwab  <schwab@redhat.com>
30354         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30356 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30358         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30360         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30361         prediction.
30362         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30364         * string/strnlen.c: Don't define STRNLEN, reverse logic.
30365         Remove unused variable magic_bits.
30366         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30368         * string/strnlen.c: Define and use STRNLEN macro.
30369         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30370         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30371         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30372         * wcsmbs/wcslen.c: Define and use WCSLEN.
30373         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30374         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30375         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30376         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30377         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30378         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30379         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30381 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30384         strnlen-sse2-no-bsf.
30385         Rename strlen-no-bsf to strlen-sse2-no-bsf.
30386         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30387         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30388         Add strnlen support.
30389         (USE_AS_STRNLEN): New macro.
30390         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30391         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30392         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30393         * sysdeps/x86_64/wcslen.S: New file.
30395 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
30397         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30398         XMM-moves are used for copying on small sizes.
30400 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30402         * wcsmbs/Makefile (strop-tests): Add wcschr.
30403         * wcsmbs/test-wcschr.c: New file.
30404         * string/test-strchr.c: Update.
30405         Add wcschr support.
30406         (WIDE): New macro.
30408 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30410         * wcsmbs/Makefile (strop-tests): Add wcslen.
30411         * wcsmbs/test-wcslen.c: New file.
30412         * string/test-strlen.c: Update.
30413         Add wcslen support.
30414         (WIDE): New macro.
30416 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30418         * po/it.po: Update from translation team.
30420 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30422         * sysdeps/x86_64/wcscmp.S: Update.
30423         Fix wrong comparison semantics.
30424         wcscmp shall use signed comparison not unsigned.
30425         Don't use substraction to avoid overflow bug.
30426         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30427         * wcsmbc/wcscmp.c: Likewise.
30428         * string/test-strcmp.c: Likewise.
30429         Add new tests to check cases with negative values.
30431 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30433         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30434         * sysdeps/x86_64/dla.h: ...here.  New file.
30435         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30436         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30437         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30438         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30439         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30440         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30441         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30442         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30443         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30445 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
30447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30448         __ynl_finite aliases.
30450 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30454         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30455         define DLA_FMA.
30456         [DLA_FMA] (EMULV): Use DLA_FMA.
30457         [DLA_FMA] (MUL12): Use EMULV.
30458         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30459         that are not needed.
30460         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30461         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30462         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30463         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30464         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30465         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30466         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30468 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
30470         * math/s_nan.c: Undef __nan.
30471         * math/s_nanf.c: Undef __nanf.
30472         * math/s_nanl.c: Undef __nanl.
30473         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30474         "math_private.h".
30476 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30478         * math/s_catan.c: Add branch predictions.
30479         * math/s_catanf.c: Likewise.
30480         * math/s_catanh.c: Likewise.
30481         * math/s_catanhf.c: Likewise.
30482         * math/s_catanhl.c: Likewise.
30483         * math/s_catanl.c: Likewise.
30484         * math/s_cexp.c: Likewise.
30485         * math/s_cexpf.c: Likewise.
30486         * math/s_cexpl.c: Likewise.
30487         * math/s_clog.c: Likewise.
30488         * math/s_clog10.c: Likewise.
30489         * math/s_clog10f.c: Likewise.
30490         * math/s_clog10l.c: Likewise.
30491         * math/s_clogf.c: Likewise.
30492         * math/s_clogl.c: Likewise.
30493         * math/s_csqrt.c: Likewise.
30494         * math/s_csqrtf.c: Likewise.
30495         * math/s_csqrtl.c: Likewise.
30496         * math/s_ctanf.c: Likewise.
30497         * math/s_ctanh.c: Likewise.
30498         * math/s_ctanhf.c: Likewise.
30499         * math/s_ctanhl.c: Likewise.
30500         * math/s_ctanl.c: Likewise.
30502         * math/math_private.h: Define __nan, __nanf, __nanl.
30503         * math/s_cacosh.c: Include <math_private.h>.
30504         * math/s_cacoshl.c: Likewise.
30505         * math/s_casinh.c: Likewise.
30506         * math/s_casinhf.c: Likewise.
30507         * math/s_casinhl.c: Likewise.
30508         * math/s_ccos.c: Rely entire on ccosh.
30509         * math/s_ccosf.c: Rely entire on ccoshf.
30510         * math/s_ccosl.c: Rely entirely on ccoshl.
30511         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
30512         Remove tests for FE_INVALID.
30513         * math/s_ccoshf.c: Likewise.
30514         * math/s_ccoshl.c: Likewise.
30515         * math/s_csin.c: Likewise.
30516         * math/s_csinf.c: Likewise.
30517         * math/s_csinh.c Likewise.
30518         * math/s_csinhf.c: Likewise.
30519         * math/s_csinhl.c: Likewise.
30520         * math/s_csinl.c: Likewise.
30521         * math/s_ctan.c: Likewise.
30522         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30523         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30524         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30526 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
30528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30529         compilation problems.
30531         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30532         __builtin_expect.
30534 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
30536         * sysdeps/i386/configure.in: Test for -mfma4 option.
30537         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30538         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30539         COMMON_CPUID_INDEX_80000001.
30540         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30541         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30542         use it if FMA3 is not supported.
30543         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30545         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30546         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30548 2011-10-20  Andreas Schwab  <schwab@redhat.com>
30550         [BZ #12892]
30551         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30552         it would create a cycle with a link time dependency.
30554 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
30556         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30557         instruction.
30558         * string/Makefile (strop-tests): Add rawmemchr.
30559         * string/test-rawmemchr.c: New file.
30561         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30562         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
30563         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
30564         when compiling str{,n}casecmp and when AVX is available.  Hook up
30565         new optimized code in initializers.
30567 2011-10-19  Andreas Schwab  <schwab@redhat.com>
30569         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30570         __feraiseexcept instead of feraiseexcept.
30572 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
30574         * math/math_private.h: Define defaults for libc_fetestexcept and
30575         libc_feupdateenv.
30576         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30577         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30578         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30579         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30580         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30581         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30582         libc_fetestexcept and libc_feupdateenv.
30584         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30585         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30586         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30587         * sysdeps/x86_64/fpu/math_private.h: Define special version of
30588         libc_feholdexcept_setround.
30590         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30591         Add s_nearbyint-c and s_nearbyintf-c.
30592         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30593         nearbyintf inlines.
30594         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30595         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30596         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30597         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30599         * math/math_private.h: Define defaults for libc_fegetround,
30600         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30601         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30602         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30603         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30604         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30605         standard functions.
30606         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30607         Remove comments and hacks for old compiler versions.
30608         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30609         libc_fegetround, libc_fesetround, libc_feholdexcept, and
30610         libc_feholdexceptl.
30612 2011-10-18  Andreas Schwab  <schwab@redhat.com>
30614         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30615         (__feraiseexcept_renamed): Add __NTH.
30616         (feraiseexcept): Add __NTH.  Rename local variables to fix
30617         namespace violations.
30619 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
30621         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30623         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30625         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30626         recently added interfaces.
30627         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30629         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30630         about macro parameter expansion.
30632         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30633         __NO_MATH_INLINES is defined.  Cleanups.
30635         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30636         and __floorf is target has SSE4.1.
30637         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30638         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30639         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30640         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30642         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30643         name.
30644         (floorf): Likewise.
30646         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30648 2011-10-17  Andreas Schwab  <schwab@redhat.com>
30650         * misc/sys/cdefs.h: Fix last change.
30652         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30653         database lookup.
30655 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
30657         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30659         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30660         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30661         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30662         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30663         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30664         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30665         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30666         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30667         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30668         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30669         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30670         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30671         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30672         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30673         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30674         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30675         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30676         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30677         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30678         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30679         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30680         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30682         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30683         ceil, ceilf, floor, floorf.
30685         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30686         Perform IRELATIVE relocations last.
30688         * elf/do-rel.h: Add another parameter nrelative, replacing the
30689         local variable with the same name.  Change name of the function
30690         to end in Rel or Rela (uppercase).
30691         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30692         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
30693         elf_dynamic_do_##reloc function.
30695 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30697         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30698         is sufficient, at least on modern CPUs.
30700         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30702         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30703         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30705         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30706         __expl_finite.
30707         * math/bits/math-finite.h: Add entries for exp.
30708         * math/e_expl.c: Add __*_finite alias.
30709         * sysdeps/i386/fpu/e_exp.S: Likewise.
30710         * sysdeps/i386/fpu/e_expf.S: Likewise.
30711         * sysdeps/i386/fpu/e_expl.c: Likewise.
30712         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30713         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30714         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30715         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30716         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30717         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30718         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30720         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30721         is sufficient, at least on modern CPUs.
30723         * ctype/ctype-info.c (__ctype_init): Define.
30724         * include/ctype.h (__ctype_init): Declare.
30725         (__ctype_b_loc): The variable is always initialized.
30726         (__ctype_toupper_loc): Likewise.
30727         (__ctype_tolower_loc): Likewise.
30728         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30729         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30731 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
30733         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30735         * configure.in: Also look in $cxxmachine/include for C++ system
30736         headers.
30738 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30740         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30741         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30742         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30743         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
30744         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30745         (USE_AS_WMEMCMP): New macro.
30746         Fixing indents.
30747         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30748         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30749         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30750         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30752         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30753         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30754         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30755         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30756         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30757         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30758         (USE_AS_WMEMCMP): New macro.
30759         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30760         * sysdeps/string/test-memcmp.c: Update.
30761         Fix simple_wmemcmp.
30762         Add new tests.
30763         * wcsmbs/wmemcmp.c: Update.
30764         (WMEMCMP): New macro.
30765         Fix overflow bug.
30767 2011-10-12  Andreas Jaeger  <aj@suse.de>
30769         [BZ #13268]
30770         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30772 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30774         * libio/iofwide.c (do_length): Avoid warning.
30776         * ctype/ctype.h (__isctype_f): Add missing __THROW.
30778 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30780         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30782         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30783         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30784         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30785         * sysdeps/i386/i686/fpu/e_log.S: New file.
30786         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30787         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30789         * ctype/ctype.h: Add support for inlined isXXX functions when
30790         compiling C++ code.
30792 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30794         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30796         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30798 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30800         [BZ #13291]
30801         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30803 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30805         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30806         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30807         feraiseexcept.
30809         * sysdeps/x86_64/memrchr.S: Check for zero size.
30811         * string/stratcliff.c: Add memrchr tests.
30813 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30816         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30817         rawmemchr-sse2 rawmemchr-sse2-bsf.
30818         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30819         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30820         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30821         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30822         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30823         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30824         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30825         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30826         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30827         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30828         * string/memrchr.c (MEMRCHR): New macro.
30830 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30832         Add integration with gcc's -ffinite-math-only and optimize wrapper
30833         functions in libm.
30834         * Versions.def: Define GLIBC_2.15 version for libm.
30835         * math/Makefile (headers): Add bits/math-finite.h.
30836         * math/bits/math-finite.h: New file.
30837         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30838         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30839         * math/e_acoshl.c: Add __*_finite alias.
30840         * math/e_acosl.c: Likewise.
30841         * math/e_asinl.c: Likewise.
30842         * math/e_atan2l.c: Likewise.
30843         * math/e_atanhl.c: Likewise.
30844         * math/e_coshl.c: Likewise.
30845         * math/e_exp10.c: Likewise.
30846         * math/e_exp10f.c: Likewise.
30847         * math/e_exp10l.c: Likewise.
30848         * math/e_exp2l.c: Likewise.
30849         * math/e_fmodl.c: Likewise.
30850         * math/e_gammal_r.c: Likewise.
30851         * math/e_hypotl.c: Likewise.
30852         * math/e_j0l.c: Likewise.
30853         * math/e_j1l.c: Likewise.
30854         * math/e_jnl.c: Likewise.
30855         * math/e_lgammal_r.c: Likewise.
30856         * math/e_log10l.c: Likewise.
30857         * math/e_log2l.c: Likewise.
30858         * math/e_logl.c: Likewise.
30859         * math/e_powl.c: Likewise.
30860         * math/e_sinhl.c: Likewise.
30861         * math/e_sqrtl.c: Likewise.
30862         * math/e_scalb.c: Completely rewritten and optimized.
30863         * math/e_scalbf.c: Likewise.
30864         * math/e_scalbl.c: Likewise.
30865         * math/w_acos.c: Likewise.
30866         * math/w_acosf.c: Likewise.
30867         * math/w_acosl.c: Likewise.
30868         * math/w_acosh.c: Likewise.
30869         * math/w_acoshf.c: Likewise.
30870         * math/w_acoshl.c: Likewise.
30871         * math/w_asin.c: Likewise.
30872         * math/w_asinf.c: Likewise.
30873         * math/w_asinl.c: Likewise.
30874         * math/w_atan2.c: Likewise.
30875         * math/w_atan2f.c: Likewise.
30876         * math/w_atan2l.c: Likewise.
30877         * math/w_atanh.c: Likewise.
30878         * math/w_atanhf.c: Likewise.
30879         * math/w_atanhl.c: Likewise.
30880         * math/w_exp10.c: Likewise.
30881         * math/w_exp10f.c: Likewise.
30882         * math/w_exp10l.c: Likewise.
30883         * math/w_fmod.c: Likewise.
30884         * math/w_fmodf.c: Likewise.
30885         * math/w_fmodl.c: Likewise.
30886         * math/w_j0.c: Likewise.
30887         * math/w_j0f.c: Likewise.
30888         * math/w_j0l.c: Likewise.
30889         * math/w_j1.c: Likewise.
30890         * math/w_j1f.c: Likewise.
30891         * math/w_j1l.c: Likewise.
30892         * math/w_jn.c: Likewise.
30893         * math/w_jnf.c: Likewise.
30894         * math/w_log.c: Likewise.
30895         * math/w_logf.c: Likewise.
30896         * math/w_logl.c: Likewise.
30897         * math/w_log10.c: Likewise.
30898         * math/w_log10f.c: Likewise.
30899         * math/w_log10l.c: Likewise.
30900         * math/w_log2.c: Likewise.
30901         * math/w_log2f.c: Likewise.
30902         * math/w_log2l.c: Likewise.
30903         * math/w_pow.c: Likewise.
30904         * math/w_powf.c: Likewise.
30905         * math/w_powl.c: Likewise.
30906         * math/w_remainder.c: Likewise.
30907         * math/w_remainderf.c: Likewise.
30908         * math/w_remainderl.c: Likewise.
30909         * math/w_scalb.c: Likewise.
30910         * math/w_scalbf.c: Likewise.
30911         * math/w_scalbl.c: Likewise.
30912         * math/w_sqrt.c: Likewise.
30913         * math/w_sqrtf.c: Likewise.
30914         * math/w_sqrtl.c: Likewise.
30915         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30916         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30917         used.
30918         * math/math_private.h: Declare __kernel_standard_f.
30919         * math/w_cosh.c: Remove cruft and optimize a bit.
30920         * math/w_coshf.c: Likewise.
30921         * math/w_coshl.c: Likewise.
30922         * math/w_exp2.c: Likewise.
30923         * math/w_exp2f.c: Likewise.
30924         * math/w_exp2l.c: Likewise.
30925         * math/w_hypot.c: Likewise.
30926         * math/w_hypotf.c: Likewise.
30927         * math/w_hypotl.c: Likewise.
30928         * math/w_lgamma.c: Likewise.
30929         * math/w_lgamma_r.c: Likewise.
30930         * math/w_lgammaf.c: Likewise.
30931         * math/w_lgammaf_r.c: Likewise.
30932         * math/w_lgammal.c: Likewise.
30933         * math/w_lgammal_r.c: Likewise.
30934         * math/w_sinh.c: Likewise.
30935         * math/w_sinhf.c: Likewise.
30936         * math/w_sinhl.c: Likewise.
30937         * math/w_tgamma.c: Likewise.
30938         * math/w_tgammaf.c: Likewise.
30939         * math/w_tgammal.c: Likewise.
30940         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30941         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30942         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30943         Minor optimizations.  Pretty printing.  Remove cruft.
30944         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30945         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30946         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30947         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30948         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30949         * sysdeps/i386/fpu/e_asin.S: Likewise.
30950         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30951         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30952         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30953         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30954         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30955         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30956         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30957         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30958         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30959         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30960         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30961         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30962         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30963         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30964         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30965         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30966         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30967         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30968         * sysdeps/i386/fpu/e_log.S: Likewise.
30969         * sysdeps/i386/fpu/e_log10.S: Likewise.
30970         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30971         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30972         * sysdeps/i386/fpu/e_log2.S: Likewise.
30973         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30974         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30975         * sysdeps/i386/fpu/e_logf.S: Likewise.
30976         * sysdeps/i386/fpu/e_logl.S: Likewise.
30977         * sysdeps/i386/fpu/e_pow.S: Likewise.
30978         * sysdeps/i386/fpu/e_powf.S: Likewise.
30979         * sysdeps/i386/fpu/e_powl.S: Likewise.
30980         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30981         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30982         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30983         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30984         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30985         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30986         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30987         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30988         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30989         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30990         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30992         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30993         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30994         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30995         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30996         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30997         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30998         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30999         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31000         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31002         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31003         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31004         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31005         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31006         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31007         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31008         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31009         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31010         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31011         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31012         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31013         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31014         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31015         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31016         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31017         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31018         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31019         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31020         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31021         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31022         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31023         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31024         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31025         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31026         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31027         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31028         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31029         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31030         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31031         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31032         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31033         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31034         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31035         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31036         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31037         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31038         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31039         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31040         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31041         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31042         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31043         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31044         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31045         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31046         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31047         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31048         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31049         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31050         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31051         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31052         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31053         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31054         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31055         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31056         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31057         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31058         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31059         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31060         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31061         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31062         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31063         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31064         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31065         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31066         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31067         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31068         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31069         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31070         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31071         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31072         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31073         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31074         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31075         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31076         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31077         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31078         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31079         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31080         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31081         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31082         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31083         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31084         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31085         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31086         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31087         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31088         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31089         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31090         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31091         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31092         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31093         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31094         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31095         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31096         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31097         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31098         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31099         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
31100         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31101         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31102         (__isnanf): Likewise.
31103         (__isinf_ns): Likewise.
31104         (__isinf_nsf): Likewise.
31105         (__finite): Likewise.
31106         (__finitef): Likewise.
31107         (__ieee754_sqrt): Define as macro.
31108         (__ieee754_sqrtf): Define as macro.
31109         (__ieee754_sqrtl): Define as macro.
31110         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31111         inlined copy.
31112         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31113         __FINITE_MATH_ONLY__ consistent.
31114         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31116 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
31118         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31119         of rawmemchr.
31121         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31123 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
31125         * po/ja.po: Update from translation team.
31127 2011-10-08  Roland McGrath  <roland@hack.frob.com>
31129         * locale/programs/locarchive.c (prepare_address_space): New function.
31130         (create_archive, enlarge_archive, open_archive): Use it.
31132         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31133         inside [SHARED], where it is used.
31135         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31137         * nss/getent.c (netgroup_keys): Remove unused variable.
31138         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31140 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
31142         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31143         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31144         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31145         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31146         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31147         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31148         * math/Makefile (libm-calls): Add s_isinf_ns.
31149         * math/divtc3.c: Use __isinf_nsl instead of isinf.
31150         * math/multc3.c: Likewise.
31151         * math/s_casin.c: Likewise.
31152         * math/s_casinf.c: Likewise.
31153         * math/s_casinl.c: Likewise.
31154         * math/s_ccos.c: Likewise.
31155         * math/s_ccosf.c: Likewise.
31156         * math/s_ccosl.c: Likewise.
31157         * math/s_ctan.c: Likewise.
31158         * math/s_ctanf.c: Likewise.
31159         * math/s_ctanh.c: Likewise.
31160         * math/s_ctanhf.c: Likewise.
31161         * math/s_ctanhl.c: Likewise.
31162         * math/s_ctanl.c: Likewise.
31163         * math/w_fmod.c: Likewise.
31164         * math/w_fmodf.c: Likewise.
31165         * math/w_fmodl.c: Likewise.
31166         * math/w_remainder.c: Likewise.
31167         * math/w_remainderf.c: Likewise.
31168         * math/w_remainderl.c: Likewise.
31169         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31170         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31171         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31172         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31173         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31174         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31175         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31176         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31178         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31179         of the number.
31180         * stdio-common/printf_fphex.c: Likewise.
31181         * stdio-common/printf_size.c: Likewise.
31183         * math/e_exp10.c: Include math_private.h using <...> not "...".
31184         * math/e_exp10f.c: Likewise.
31185         * math/e_exp10l.c: Likewise.
31186         * math/e_exp2l.c: Likewise.
31187         * math/e_j0l.c: Likewise.
31188         * math/e_j1l.c: Likewise.
31189         * math/e_jnl.c: Likewise.
31190         * math/e_lgammal_r.c: Likewise.
31191         * math/e_rem_pio2l.c: Likewise.
31192         * math/e_scalb.c: Likewise.
31193         * math/e_scalbf.c: Likewise.
31194         * math/e_scalbl.c: Likewise.
31195         * math/k_cosl.c: Likewise.
31196         * math/k_sinl.c: Likewise.
31197         * math/k_tanl.c: Likewise.
31198         * math/s_cacoshf.c: Likewise.
31199         * math/s_catan.c: Likewise.
31200         * math/s_catanf.c: Likewise.
31201         * math/s_catanh.c: Likewise.
31202         * math/s_catanhf.c: Likewise.
31203         * math/s_catanhl.c: Likewise.
31204         * math/s_catanl.c: Likewise.
31205         * math/s_ccosh.c: Likewise.
31206         * math/s_ccoshf.c: Likewise.
31207         * math/s_ccoshl.c: Likewise.
31208         * math/s_cexp.c: Likewise.
31209         * math/s_cexpf.c: Likewise.
31210         * math/s_cexpl.c: Likewise.
31211         * math/s_clog.c: Likewise.
31212         * math/s_clog10.c: Likewise.
31213         * math/s_clog10f.c: Likewise.
31214         * math/s_clog10l.c: Likewise.
31215         * math/s_clogf.c: Likewise.
31216         * math/s_clogl.c: Likewise.
31217         * math/s_csin.c: Likewise.
31218         * math/s_csinf.c: Likewise.
31219         * math/s_csinh.c: Likewise.
31220         * math/s_csinhf.c: Likewise.
31221         * math/s_csinhl.c: Likewise.
31222         * math/s_csinl.c: Likewise.
31223         * math/s_csqrt.c: Likewise.
31224         * math/s_csqrtf.c: Likewise.
31225         * math/s_csqrtl.c: Likewise.
31226         * math/s_ctan.c: Likewise.
31227         * math/s_ctanf.c: Likewise.
31228         * math/s_ctanh.c: Likewise.
31229         * math/s_ctanhf.c: Likewise.
31230         * math/s_ctanhl.c: Likewise.
31231         * math/s_ctanl.c: Likewise.
31232         * math/s_ldexp.c: Likewise.
31233         * math/s_ldexpf.c: Likewise.
31234         * math/s_ldexpl.c: Likewise.
31235         * math/s_significand.c: Likewise.
31236         * math/s_significandf.c: Likewise.
31237         * math/s_significandl.c: Likewise.
31238         * math/w_acos.c: Likewise.
31239         * math/w_acosf.c: Likewise.
31240         * math/w_acosh.c: Likewise.
31241         * math/w_acoshf.c: Likewise.
31242         * math/w_acoshl.c: Likewise.
31243         * math/w_acosl.c: Likewise.
31244         * math/w_asin.c: Likewise.
31245         * math/w_asinf.c: Likewise.
31246         * math/w_asinl.c: Likewise.
31247         * math/w_atan2.c: Likewise.
31248         * math/w_atan2f.c: Likewise.
31249         * math/w_atan2l.c: Likewise.
31250         * math/w_atanh.c: Likewise.
31251         * math/w_atanhf.c: Likewise.
31252         * math/w_atanhl.c: Likewise.
31253         * math/w_cosh.c: Likewise.
31254         * math/w_coshf.c: Likewise.
31255         * math/w_coshl.c: Likewise.
31256         * math/w_dremf.c: Likewise.
31257         * math/w_exp10.c: Likewise.
31258         * math/w_exp10f.c: Likewise.
31259         * math/w_exp10l.c: Likewise.
31260         * math/w_exp2.c: Likewise.
31261         * math/w_exp2f.c: Likewise.
31262         * math/w_fmod.c: Likewise.
31263         * math/w_fmodf.c: Likewise.
31264         * math/w_fmodl.c: Likewise.
31265         * math/w_hypot.c: Likewise.
31266         * math/w_hypotf.c: Likewise.
31267         * math/w_hypotl.c: Likewise.
31268         * math/w_j0.c: Likewise.
31269         * math/w_j0f.c: Likewise.
31270         * math/w_j0l.c: Likewise.
31271         * math/w_j1.c: Likewise.
31272         * math/w_j1f.c: Likewise.
31273         * math/w_j1l.c: Likewise.
31274         * math/w_jn.c: Likewise.
31275         * math/w_jnf.c: Likewise.
31276         * math/w_jnl.c: Likewise.
31277         * math/w_lgamma.c: Likewise.
31278         * math/w_lgamma_r.c: Likewise.
31279         * math/w_lgammaf.c: Likewise.
31280         * math/w_lgammaf_r.c: Likewise.
31281         * math/w_lgammal.c: Likewise.
31282         * math/w_lgammal_r.c: Likewise.
31283         * math/w_log.c: Likewise.
31284         * math/w_log10.c: Likewise.
31285         * math/w_log10f.c: Likewise.
31286         * math/w_log10l.c: Likewise.
31287         * math/w_log2.c: Likewise.
31288         * math/w_log2f.c: Likewise.
31289         * math/w_log2l.c: Likewise.
31290         * math/w_logf.c: Likewise.
31291         * math/w_logl.c: Likewise.
31292         * math/w_pow.c: Likewise.
31293         * math/w_powf.c: Likewise.
31294         * math/w_powl.c: Likewise.
31295         * math/w_remainder.c: Likewise.
31296         * math/w_remainderf.c: Likewise.
31297         * math/w_remainderl.c: Likewise.
31298         * math/w_scalb.c: Likewise.
31299         * math/w_scalbf.c: Likewise.
31300         * math/w_scalbl.c: Likewise.
31301         * math/w_sinh.c: Likewise.
31302         * math/w_sinhf.c: Likewise.
31303         * math/w_sinhl.c: Likewise.
31304         * math/w_sqrt.c: Likewise.
31305         * math/w_sqrtf.c: Likewise.
31306         * math/w_sqrtl.c: Likewise.
31307         * math/w_tgamma.c: Likewise.
31308         * math/w_tgammaf.c: Likewise.
31309         * math/w_tgammal.c: Likewise.
31311         * po/ja.po: Update from translation team.
31313 2011-09-29  Andreas Jaeger  <aj@suse.de>
31315         [BZ #13179]
31316         * sunrpc/netname.c (netname2host): Fix logic.
31318         [BZ #6779]
31319         [BZ #6783]
31320         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31321         correctly.
31322         * math/w_remainder.c (__remainder): Likewise.
31323         * math/w_remainderf.c (__remainderf): Likewise.
31324         * math/libm-test.inc (remainder_test): Add test cases.
31326 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31328         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
31329         sdiv_qrnnd.
31331 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31333         * string/test-memcmp.c: Avoid unncessary #defines.
31334         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31336 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31338         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31339         Use new sse2 version for core i3 - i7 as it's faster
31340         than sse42 version.
31341         (bit_Prefer_PMINUB_for_stringop): New.
31342         * sysdeps/x86_64/rawmemchr.S: Update.
31343         Replace with faster SSE2 version.
31344         * sysdeps/x86_64/memrchr.S: New file.
31345         * sysdeps/x86_64/memchr.S: Update.
31346         Replace with faster SSE2 version.
31348 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
31350         * elf/dl-load.c (lose): Add cast to avoid warning.
31352 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31354         * po/ca.po: Update from translation team.
31356         * inet/getnetgrent_r.c: Hook up nscd.
31357         * nscd/Makefile (routines): Add nscd_netgroup.
31358         (nscd-modules): Add netgroupcache.
31359         (CFLAGS-netgroupcache.c): Define.
31360         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31361         (cache_search): Add const to second parameter.
31362         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31363         INNETGR.
31364         (dbs): Add netgrdb entry.
31365         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31366         (verify_persistent_db): Handle netgrdb.
31367         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31368         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31369         GETFDNETGR.
31370         (netgroup_response_header): Define.
31371         (innetgroup_response_header): Define.
31372         (datahead): Add netgroup_response_header and innetgroup_response_header
31373         elements.
31374         * nscd/nscd.conf: Add entries for netgroup cache.
31375         * nscd/nscd.h (dbtype): Add netgrdb.
31376         (_PATH_NSCD_NETGROUP_DB): Define.
31377         (netgroup_iov_disabled): Declare.
31378         (xmalloc, xcalloc, xrealloc): Move declarations here.
31379         (cache_search): Adjust prototype.
31380         Add netgroup-related prototypes.
31381         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31382         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31383         (__nscd_innetgr): Declare.
31384         * nscd/selinux.c (perms): Use access_vector_t as element type and
31385         add netgroup-related initializers.
31386         * nscd/netgroupcache.c: New file.
31387         * nscd/nscd_netgroup.c: New file.
31388         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31389         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31390         For four parameters use innetgr.
31391         * nss/nss_files/files-init.c: Add definition and callback for netgr.
31392         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31393         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31394         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31396         * nscd/connections.c (register_traced_file): Don't register file
31397         for disabled databases.
31399 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
31401         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31403         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31404         from tree and freeing node.
31406 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
31408         * nss/nsswitch.c (__nss_database_lookup): Handle
31409         nss_parse_service_list out of memory case.
31411 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
31413         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31414         out of memory case.
31416 2011-10-04  Andreas Schwab  <schwab@redhat.com>
31418         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31419         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31420         pass it down.
31421         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31422         elf_machine_rela, elf_machine_lazy_rel.
31423         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31424         (ELF_DYNAMIC_DO_REL): Likewise.
31425         (ELF_DYNAMIC_DO_RELA): Likewise.
31426         (ELF_DYNAMIC_RELOCATE): Likewise.
31427         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31428         to ELF_DYNAMIC_DO_REL.
31429         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31430         (dl_main): In trace mode always set __RTLD_NOIFUNC.
31431         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31432         elf_machine_rela.
31433         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31434         skip_ifunc, don't call ifunc function if non-zero.
31435         (elf_machine_rela): Likewise.
31436         (elf_machine_lazy_rel): Likewise.
31437         (elf_machine_lazy_rela): Likewise.
31438         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31439         (elf_machine_lazy_rel): Likewise.
31440         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31441         Likewise.
31442         (elf_machine_lazy_rel): Likewise.
31443         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31444         Likewise.
31445         (elf_machine_lazy_rel): Likewise.
31446         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31447         (elf_machine_lazy_rel): Likewise.
31448         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31449         (elf_machine_lazy_rel): Likewise.
31450         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31451         (elf_machine_lazy_rel): Likewise.
31452         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31453         (elf_machine_lazy_rel): Likewise.
31454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31455         (elf_machine_lazy_rel): Likewise.
31456         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31457         (elf_machine_lazy_rel): Likewise.
31459 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
31461         * nss/nss_files/files-init.c (_nss_files_init): Use static
31462         initialization for all the *_traced_file variables.
31464 2011-09-28  Andreas Schwab  <schwab@redhat.com>
31466         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31468 2011-09-27  Roland McGrath  <roland@hack.frob.com>
31470         [BZ #13226]
31471         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31473 2011-09-27  Andreas Schwab  <schwab@redhat.com>
31475         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31476         Reread the line before reparsing it.
31478 2011-09-26  Andreas Schwab  <schwab@redhat.com>
31480         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31482 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
31483             Maxim Kuvyrkov  <maxim@codesourcery.com>
31484             Joseph Myers  <joseph@codesourcery.com>
31486         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31487         if needed for __stack_chk_guard.
31489 2011-09-19  Roland McGrath  <roland@hack.frob.com>
31491         * sysdeps/posix/spawni.c (script_execute): Always define it.
31492         It will be optimized away if unused.
31493         (maybe_script_execute): New function.
31494         (__spawni): Call it.
31496         * Makerules: Don't include tls.make.
31497         (config-tls): Always set to thread.
31498         * tls.make.c: File removed.
31500 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
31502         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31503         * config.make.in (CPPFLAGS-config): New substituted variable.
31505 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31507         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31509         [BZ #13192]
31510         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31511         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31513 2011-09-15  Roland McGrath  <roland@hack.frob.com>
31515         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31516         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31517         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31518         (CALL_FAIL): Likewise.
31519         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31520         (CALL_FAIL): Macro removed.
31521         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31523 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31525         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31526         for __FINITE_MATH_ONLY__ == 1.
31528 2011-09-15  Andreas Schwab  <schwab@redhat.com>
31530         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31531         __ieee754_sqrt instead of sqrt.
31532         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31533         __ieee754_sqrtf instead of sqrtf.
31534         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31535         __floorf instead of floorf.
31536         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31537         __floorf, __truncf instead of floorf, truncf.
31539 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
31541         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31543         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31544         __extern_always_inline.
31545         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31546         32-bit.
31548 2011-09-14  Andreas Schwab  <schwab@redhat.com>
31550         * elf/rtld.c (dl_main): Also relocate in dependency order when
31551         doing symbol dependency testing.
31553 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
31555         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31556         Always define `refsym'.
31558 2011-09-13  Andreas Schwab  <schwab@redhat.com>
31560         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31561         (__FD_ELT): Renamed from __FDELT.
31562         * misc/bits/select2.h (__FD_ELT): Likewise.
31563         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31564         __FD_MASK instead of __FDELT, __FDMASK.
31565         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31566         Likewise.
31567         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31568         Likewise.
31570         * elf/Makefile (gen-ldd): Fix pattern.
31572         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31573         (init_tls): Likewise.
31575 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
31577         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31579 2011-09-12  Andreas Schwab  <schwab@redhat.com>
31581         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31582         `struct cmsghdr *' instead of `void *'.
31583         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31584         Likewise.
31586 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
31588         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31589         if non-absolute.
31590         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31591         ldd_rewrite_script.
31593 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
31595         * configure.in: Remove --with-tls option.
31596         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31597         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31598         out in case it is missing.
31599         * sysdeps/ia64/elf/configure.in: Likewise.
31600         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31601         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31602         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31603         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31604         * sysdeps/sh/elf/configure.in: Likewise.
31605         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31606         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31607         * sysdeps/x86_64/elf/configure.in: Likewise.
31608         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31609         * sysdeps/mach/hurd/tls.h: Likewise.
31611         [BZ #13067]
31612         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31614         [BZ #13090]
31615         * configure.in: Fix use of AC_INIT.
31617         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31619 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
31621         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31622         __set_errno.
31623         * malloc/hooks.c: Likewise.
31625         [BZ #11929]
31626         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
31627         variables statically.
31628         (narenas): Initialize.
31629         (list_lock): Initialize.
31630         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
31631         initializtion of main_arena and list_lock.  Small cleanups.
31632         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31633         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
31634         Add initializers to main_arena and mp_.
31635         (malloc_state): Remove pagesize member.  Change all users to use
31636         GLRO(dl_pagesize).
31638         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31639         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
31640         is always initialized.
31642         * malloc/malloc.c: Removed unused configurations and dead code.
31643         * malloc/arena.c: Likewise.
31644         * malloc/hooks.c: Likewise.
31645         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31647         * include/tls.h: Removed.  USE___THREAD must always be defined.
31648         * bits/libc-tsd.h: Don't handle !USE___THREAD.
31649         * elf/dl-libc.c: Likewise.
31650         * elf/dl-tsd.c: Likewise.
31651         * include/errno.h: Likewise.
31652         * include/netdb.h: Likewise.
31653         * include/resolv.h: Likewise.
31654         * inet/herrno-loc.c: Likewise.
31655         * inet/herrno.c: Likewise.
31656         * malloc/arena.c: Likewise.
31657         * malloc/hooks.c: Likewise.
31658         * malloc/malloc.c: Likewise.
31659         * resolv/res-state.c: Likewise.
31660         * resolv/res_libc.c: Likewise.
31661         * sysdeps/i386/dl-machine.h: Likewise.
31662         * sysdeps/ia64/dl-machine.h: Likewise.
31663         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31664         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31665         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31666         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31667         * sysdeps/sh/dl-machine.h: Likewise.
31668         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31669         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31670         * sysdeps/unix/i386/sysdep.S: Likewise.
31671         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31672         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31677         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31678         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31679         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31681         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31682         * sysdeps/x86_64/dl-machine.h: Likewise.
31683         * tls.make.c: Likewise.
31685         * configure.in: Remove --with-__thread option.  Make tests for
31686         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31687         tls_model attribute fail if no support is available.  Remove
31688         USE_IN_LIBIO.
31689         * Makeconfig: Adjust for dropped configure option.  All features are
31690         now mandatory.
31691         * Makerules: Likewise.
31692         * Versions.def: Likewise.
31693         * argp/argp-fmtstream.c: Likewise.
31694         * argp/argp-fmtstream.h: Likewise.
31695         * argp/argp-help.c: Likewise.
31696         * assert/assert.c: Likewise.
31697         * config.h.in: Likewise.
31698         * config.make.in: Likewise.
31699         * configure: Likewise.
31700         * configure.in: Likewise.
31701         * csu/Versions: Likewise.
31702         * csu/init.c: Likewise.
31703         * elf/tst-audit2.c: Likewise.
31704         * elf/tst-tls10.c: Likewise.
31705         * elf/tst-tls10.h: Likewise.
31706         * elf/tst-tls11.c: Likewise.
31707         * elf/tst-tls12.c: Likewise.
31708         * elf/tst-tls14.c: Likewise.
31709         * elf/tst-tlsmod11.c: Likewise.
31710         * elf/tst-tlsmod12.c: Likewise.
31711         * elf/tst-tlsmod13.c: Likewise.
31712         * elf/tst-tlsmod13a.c: Likewise.
31713         * elf/tst-tlsmod14a.c: Likewise.
31714         * elf/tst-tlsmod15b.c: Likewise.
31715         * elf/tst-tlsmod16a.c: Likewise.
31716         * elf/tst-tlsmod16b.c: Likewise.
31717         * elf/tst-tlsmod7.c: Likewise.
31718         * elf/tst-tlsmod8.c: Likewise.
31719         * elf/tst-tlsmod9.c: Likewise.
31720         * gmon/gmon.c: Likewise.
31721         * grp/fgetgrent_r.c: Likewise.
31722         * grp/putgrent.c: Likewise.
31723         * hurd/fopenport.c: Likewise.
31724         * include/libc-symbols.h: Likewise.
31725         * include/tls.h: Likewise.
31726         * intl/gettextP.h: Likewise.
31727         * intl/loadinfo.h: Likewise.
31728         * locale/global-locale.c: Likewise.
31729         * locale/localeinfo.h: Likewise.
31730         * mach/devstream.c: Likewise.
31731         * malloc/arena.c: Likewise.
31732         * malloc/set-freeres.c: Likewise.
31733         * misc/err.c: Likewise.
31734         * misc/getttyent.c: Likewise.
31735         * misc/mntent_r.c: Likewise.
31736         * posix/getopt.c: Likewise.
31737         * posix/wordexp.c: Likewise.
31738         * pwd/fgetpwent_r.c: Likewise.
31739         * resolv/Versions: Likewise.
31740         * resolv/res_hconf.c: Likewise.
31741         * shadow/fgetspent_r.c: Likewise.
31742         * shadow/putspent.c: Likewise.
31743         * stdio-common/printf_fphex.c: Likewise.
31744         * stdio-common/tmpfile.c: Likewise.
31745         * stdlib/abort.c: Likewise.
31746         * stdlib/fmtmsg.c: Likewise.
31747         * sunrpc/auth_unix.c: Likewise.
31748         * sunrpc/clnt_perr.c: Likewise.
31749         * sunrpc/clnt_tcp.c: Likewise.
31750         * sunrpc/clnt_udp.c: Likewise.
31751         * sunrpc/clnt_unix.c: Likewise.
31752         * sunrpc/openchild.c: Likewise.
31753         * sunrpc/svc_simple.c: Likewise.
31754         * sunrpc/svc_tcp.c: Likewise.
31755         * sunrpc/svc_udp.c: Likewise.
31756         * sunrpc/svc_unix.c: Likewise.
31757         * sunrpc/xdr.c: Likewise.
31758         * sunrpc/xdr_array.c: Likewise.
31759         * sunrpc/xdr_rec.c: Likewise.
31760         * sunrpc/xdr_ref.c: Likewise.
31761         * sunrpc/xdr_stdio.c: Likewise.
31763 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31765         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31767 2011-07-03  Andreas Jaeger  <aj@suse.de>
31769         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31770         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31771         regenerate with gen-libm-tests.pl.
31773 2010-05-12  Petr Baudis  <pasky@suse.cz>
31775         [BZ #11589]
31776         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31777         around j0() zero points by switching to j1().
31778         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31779         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31780         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31781         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31783 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31785         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31786         instead of 0.
31787         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31788         instead of 0.
31789         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31790         Patch in part by Pavel Roskin <proski@gnu.org>.
31792         [BZ #13138]
31793         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31794         realloc.
31795         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31796         Free memory block if necessary.
31798         [BZ #12847]
31799         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31800         be NULL.  Don't lock in this case.
31802 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31804         * elf/elf.h (ELFOSABI_GNU): New macro.
31805         (ELFOSABI_LINUX): Define to that.
31807 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31809         * string/strncat.c (strncat): Undef the symbol in case it has been
31810         defined in bits/string.h.
31812 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31814         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31816         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31817         link map.
31819 2011-08-17  Andreas Jaeger  <aj@suse.de>
31821         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31823 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31824             Ian Lance Taylor  <iant@google.com>
31826         * math/libm-test.inc (lround_test): New testcase.
31827         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31829 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31831         * Makefile: Remove support for automatic cvs check-ins.
31832         * Makerules: Likewise.
31833         * config.make.in: Likewise.
31834         * configure.in: Likewise.
31835         * intl/Makefile: Likewise.
31836         * locale/Makefile: Likewise.
31837         * po/Makefile: Likewise.
31838         * posix/Makefile: Likewise.
31839         * sysdeps/gnu/Makefile: Likewise.
31840         * sysdeps/mach/hurd/Makefile: Likewise.
31841         * sysdeps/sparc/sparc32/Makefile: Likewise.
31843         [BZ #13118]
31844         * posix/Makefile (bug-regex32-ENV): Define.
31845         Patch by John Stanley <jpsinthemix@verizon.net>.
31847         * misc/Makefile (headers): Add bits/select2.h.
31848         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31849         * misc/bits/select2.h: New file.
31850         * include/bits/select2.h: New file.
31851         * debug/Makefile (routines): Add fdelt_chk.
31852         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31853         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31854         FD_ISSET.
31855         * debug/fdelt_chk.c: New file.
31857         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31858         * wcsmbs/test-wmemcmp.c: Likewise.
31859         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31860         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31862 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31864         * string/Makefile (strop-tests): Add memcmp.
31865         * string/test-wmemcmp.c: New file.
31866         * string/test-memcmp.c: Add wmemcmp support.
31868 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31870         [BZ #13153]
31871         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31872         2011-07-19 change.
31874         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31875         garbage value in a __mach_port_mod_refs call in the cases of the
31876         task-self and thread-self ports.
31878 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31880         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31882 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31884         * elf/dl-load.c (lose): Check for non-null L.
31886 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31888         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31890         * elf/dl-libc.c (dlerror_run): Pass back error code from
31891         dl_catch_error.
31893         [BZ #13123]
31894         * elf/dl-load.c (lose): Free l_origin if it is valid.
31896         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31897         names.
31898         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31899         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31900         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31901         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31902         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31903         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31905 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31907         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31908         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31909         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31910         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31911         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31912         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31913         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31914         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31915         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31916         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31918 2011-08-15  Alan Modra  <amodra@gmail.com>
31920         [BZ #13092]
31921         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31922         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31923         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31924         ppc_mcount to static-only-routines.
31925         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31926         __mcount_internal.
31927         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31928         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31930 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31932         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31933         for finite and infinity parameters.
31935 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31937         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31938         and add nop instructions for throughput optimization.
31939         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31941 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31943         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31944         aligned copy for power7 with vector-scalar instructions.
31945         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31947 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31950         AVX check.
31952 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31954         [BZ #13144]
31955         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31956         last change.
31958 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31960         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31961         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31962         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31963         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31964         clock_gettime.
31966 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31968         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31969         Forgot to demangle the pointer.
31971         * sysdeps/i386/sysdep.h: Define atom_text_section.
31972         * sysdeps/x86_64/sysdep.h: Likewise.
31973         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31974         section with atom_text_section.
31975         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31976         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31977         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31978         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31979         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31981         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31982         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31983         already be defined.  Change to take two parameters and don't assign
31984         result to variable.  Adjust all users.
31985         Define INTERNAL_GETTIME if not already defined.
31986         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31987         call.
31988         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31989         HAVE_CLOCK_GETTIME_VSYSCALL.
31990         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31992         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31993         gettimeofday vsyscall, just use time.
31995 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31997         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31998         <errno.h>.
32000 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32002         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32003         syscall on x86-64.
32004         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32005         syscall.
32006         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32007         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32008         syscall if possible.
32010 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32012         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32013         e_ident.  Don't pass to find_mapsXX.
32014         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32016 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32019         strchr-sse2-no-bsf strrchr-sse2-no-bsf
32020         * sysdeps/x86_64/multiarch/strchr.S: Update.
32021         Check bit_slow_BSF bit.
32022         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32023         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32024         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32026 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32028         [BZ #13134]
32029         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32030         before glibc 2.15.
32031         (tryshell): Define.
32032         (__spawni): Change last parameter to be flag.  Test
32033         SPAWN_XFLAGS_USE_PATH flag to use path or not.
32034         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32035         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32036         * posix/spawni.c: Likewise.
32037         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32038         * posix/spawnp.c: Likewise.  Change normal version to use
32039         SPAWN_XFLAGS_USE_PATH.
32040         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32041         SPAWN_XFLAGS_TRY_SHELL.
32043         [BZ #13150]
32044         * posix/glob.h: Remove gcc 1.x support.
32046         [BZ #13068]
32047         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32049 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32051         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32052         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32053         strrchr-sse2-bsf
32054         * sysdeps/i386/i686/multiarch/strchr.S: New file.
32055         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32056         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32057         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32058         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32059         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32061 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32063         * sysdeps/x86_64/wcscmp.S: New file.
32065         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32066         wcscmp-c wcscmp-sse2
32067         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32068         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32069         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32070         * wcsmbs/wcscmp.c: Allow renaming.
32072 2011-09-05  David S. Miller  <davem@davemloft.net>
32074         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32075         stack slot, rather than the struct return pointer slot.
32076         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32077         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32079         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32081 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32083         * po/ja.po: Update from translation team.
32085         [BZ #13144]
32086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32087         kernel in 64-bit binaries.
32089 2011-09-01  David S. Miller  <davem@davemloft.net>
32091         * elf/elf.h (HWCAP_SPARC_*): Move to..
32092         * sysdeps/sparc/sysdep.h: this new file and add new values.
32093         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32094         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32095         _DL_HWCAP_COUNT to 24.
32096         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32097         entries.
32098         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32099         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32100         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32102         instead of magic constants.
32103         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32105 2011-08-31  David S. Miller  <davem@davemloft.net>
32107         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32108         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32109         Reimplement to do errno handling inline.
32110         (SYSCALL_ERROR_HANDLER): New macro.
32111         (__SYSCALL_STRING): Do not do errno handling in asm.
32112         (__CLONE_SYSCALL_STRING): Delete.
32113         (__INTERNAL_SYSCALL_STRING): Delete.
32114         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32115         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32116         (PSEUDO): Reimplement to do errno handling inline.
32117         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32118         (SYSCALL_ERROR_HANDLER): New macro.
32119         (__SYSCALL_STRING): Do not do errno handling in asm.
32120         (__CLONE_SYSCALL_STRING): Delete.
32121         (__INTERNAL_SYSCALL_STRING): Delete.
32122         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32123         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32124         i386.
32125         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32126         (inline_syscall*): Add 'err' argument.
32127         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32128         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32129         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32130         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32132         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32133         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32135 2011-08-30  Andreas Schwab  <schwab@redhat.com>
32137         * elf/rtld.c (dl_main): Relocate objects in dependency order.
32139 2011-08-29  Jiri Olsa <jolsa@redhat.com>
32141         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32142         directive.
32144 2011-08-24  David S. Miller  <davem@davemloft.net>
32146         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32148 2011-08-24  Andreas Schwab  <schwab@redhat.com>
32150         * elf/Makefile: Add rules to build and run unload8 test.
32151         * elf/unload8.c: New file.
32152         * elf/unload8mod1.c: New file.
32153         * elf/unload8mod1x.c: New file.
32154         * elf/unload8mod2.c: New file.
32155         * elf/unload8mod3.c: New file.
32157         * elf/dl-close.c (_dl_close_worker): Reset private search list if
32158         it wasn't used.
32160 2011-08-23  David S. Miller  <davem@davemloft.net>
32162         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32163         subtract stack bias.
32164         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32165         %sp not %fp in calculations.
32166         (_JMPBUF_UNWINDS_ADJ): Likewise.
32168         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32169         (aio_suspend): Call it to force an exception region around the
32170         AIO_MISC_WAIT() invocation.
32172 2011-08-23  Andreas Schwab  <schwab@redhat.com>
32174         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32175         backslash.
32177 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
32179         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32180         protection macro.
32181         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32182         and <dl-machine.h>.
32183         (Elf64_FuncDesc): Remove.
32185 2011-08-22  David S. Miller  <davem@davemloft.net>
32187         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32188         sigaltstack check, add missing cfi directives.
32189         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32190         missing cfi directives, and sigaltstack handling.
32192 2011-08-16  Andreas Schwab  <schwab@redhat.com>
32194         [BZ #11724]
32195         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32196         object is seen twice.
32197         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32199         * elf/Makefile (distribute): Add tst-initorder2.c.
32200         (tests): Add tst-initorder2.
32201         (modules-names): Add tst-initorder2a tst-initorder2b
32202         tst-initorder2c tst-initorder2d.  Add rules to build them.
32203         ($(objpfx)tst-initorder2.out): New rule.
32204         * elf/tst-initorder2.c: New file.
32205         * elf/tst-initorder2.exp: New file.
32207 2011-08-22  Andreas Schwab  <schwab@redhat.com>
32209         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32211         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32212         dependencies back to end of function.
32214         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32215         $(elfobjdir)/ld.so.
32217 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
32219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32220         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32221         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32222         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32223         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32224         of __vdso_gettimeofday.
32225         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32226         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
32227         attribute_hidden.
32228         (_libc_vdso_platform_setup): Remove initialization of
32229         __vdso_gettimeofday and __vdso_time.
32231 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
32233         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32234         and fgetc_unlocked.
32235         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32236         getc_unlocked.
32238         * elf/dl-open.c (add_to_global): Report additions to the global scope
32239         for LD_DEBUG=scopes.
32240         (dl_open_worker): Also print scope of newly loaded dependencies.
32241         (_dl_show_scope): Indicate if there is no scope.
32243         [BZ #13114]
32244         * stdio-common/Makefile (tests): Add bug24.
32245         * stdio-common/bug24.c: New file.
32247 2011-08-19  Andreas Jaeger  <aj@suse.de>
32249         [BZ #13114]
32250         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32251         non-existant file when using close-on-exec mode.
32253 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
32255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32256         the very first instruction.
32258         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32259         the CFI state in the end.
32260         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32261         inclusion of dl-trampoline.h.
32262         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32264 2011-08-19  Andreas Schwab  <schwab@redhat.com>
32266         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32267         expectations for long double.
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32270         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32272 2011-08-14  David S. Miller  <davem@davemloft.net>
32274         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32275         artificual limit depends upon the system page size.
32277 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
32279         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32280         * resolv/Makefile: Define CFLAGS-libresolv.
32282 2011-08-17  Andreas Schwab  <schwab@redhat.com>
32284         * nss/makedb.c (compute_tables): Make variables used in nested
32285         function static.
32287 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
32289         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32290         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32291         if buffer was too small.
32293         * elf/pldd.c (main): Attach to all threads in the process.
32294         Rewrite /proc handling to use *at functions.
32296 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
32298         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32299         specifies first scope to show.
32300         (dl_open_worker): Update callers.  Move printing scope of new
32301         object to before the relocation.
32302         * elf/rtld.c (dl_main): Update _dl_show_scope call.
32303         * sysdeps/generic/ldsodefs.h: Update declaration.
32305         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32306         string for the scope number.
32308 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
32310         * nscd/servicescache.c (cache_addserv): Make sure written is always
32311         initialized.
32313 2011-08-14  Roland McGrath  <roland@hack.frob.com>
32315         * sysdeps/i386/i486/bits/atomic.h
32316         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32317         statement expression, so as to suppress "set but not used" warning.
32318         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32320         * string/strncat.c (STRNCAT): Use prototype definition.
32322         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32323         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32324         -Iprograms here.
32325         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32326         (localedef-modules): Add localedef.
32327         (locale-modules): Add locale.
32329         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32330         * elf/rtld.c (dl_main): Invert order of assignment in last change,
32331         to avoid a warning.
32333 2011-08-14  David S. Miller  <davem@davemloft.net>
32335         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32336         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32338 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
32340         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32341         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32342         * elf/rtld.c (dl_main): Set l_name of vDSO.
32343         Call _dl_show_scope when DL_DEBUG_SCOPES.
32344         (process_dl_debug): Recognize scopes flag and also set it for all.
32345         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32346         Declare _dl_show_scope.
32348         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32349         (do_dlopen): Pass caller_dlopen to dl_open.
32350         (__libc_dlopen_mode): Initialize caller_dlopen.
32352         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32353         of libc.  Make tolower call locale-independent.  Optimize a bit by
32354         using isdigit instead of isalnum.
32355         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32357 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
32359         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32360         was a dependency or dynamically loaded.
32362 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
32364         * intl/l10nflist.c: Allow architecture-specific pop function.
32365         * sysdeps/x86_64/l10nflist.c: New file.
32367         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32368         classification.
32370 2011-08-10  Andreas Schwab  <schwab@redhat.com>
32372         * include/dirent.h: Add libc_hidden_proto for scandirat and
32373         scandirat64.  Don't declare __scandirat64.
32374         * dirent/scandirat.c: Add libc_hidden_def.
32375         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32376         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32378 2011-08-10  David S. Miller  <davem@davemloft.net>
32380         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32381         enum.
32382         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32383         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32384         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32386 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
32388         * Versions.def [libc]: Add GLIBC_2.15.
32389         * dirent/Makefile (routines): Add scandirat and scandirat64.
32390         * dirent/Versions [libc]: Export scandirat and scandirat64 for
32391         GLIBC_2.15.
32392         * dirent/dirent.h: Declare scandirat and scandirat64.
32393         * dirent/scandirat.c: New file.
32394         * dirent/scandirat64.c: New file.
32395         * sysdeps/wordsize-64/scandirat.c: New file.
32396         * sysdeps/wordsize-64/scandirat64.c: New file.
32397         * dirent/opendir.c: Define opendirat.
32398         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
32399         using scandirat.
32400         * dirent/scandir64.c: Adjust for scandir.c change.
32401         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
32402         __scandirat64, and __scandir_cancel_handler.
32403         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
32404         additional parameter and use openat instead of open (outside of ld.so).
32405         Add new __opendir as wrapper around __opendirat.
32406         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32407         here without requiring old scandirat implementation.
32409 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
32411         * dirent/scandir.c (cancel_handler): Renamed to
32412         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
32413         defined.  Adjust users.
32414         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32415         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32417 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
32419         * string/test-string.h (IMPL): Use __STRING to expand name and then
32420         stringify it.
32422         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
32423         of cleanups.
32425 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32427         * string/Makefile: Update.
32428         (strop-tests): Append strncat.
32429         * string/test-wcscmp.c: New file.
32430         New comprehensive test for wcscmp.
32431         * string/test-strcmp.c: Update.
32432         (WIDE): New define.
32434 2011-07-22  Andreas Schwab  <schwab@redhat.com>
32436         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32437         line.
32439 2011-07-26  Andreas Schwab  <schwab@redhat.com>
32441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32442         encoding to ACE if AI_IDN.
32444 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
32446         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32447         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32449 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32451         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32452         Fix overflow bug in strncat.
32453         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32455         * string/test-strncat.c: Update.
32456         Add new tests for checking overflow bugs.
32458 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32460         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32461         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32462         * sysdeps/i386/i686/multiarch/strcat.S: New file.
32463         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32464         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32465         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32466         * sysdeps/i386/i686/multiarch/strncat.S: New file.
32467         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32468         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32470         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32471         (USE_AS_STRCAT): Define.
32472         Add strcat and strncat support.
32473         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32475 2011-07-25  Andreas Schwab  <schwab@redhat.com>
32477         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32478         __n bigger than INT_MAX+1.
32479         (__strncmp_g): Likewise.
32481 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
32483         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32484         * libio/stido.h: Likewise.
32486         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32487         (AF_NFC): Define.
32488         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32489         (AF_NFC): Define.
32491         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32492         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32493         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32494         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32495         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32497         [BZ #13021]
32498         * scripts/test-installation.pl: Don't expect libnss_test1 to be
32499         installed.
32501         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32502         typo.
32503         (_dl_x86_64_save_sse): Likewise.
32505 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
32507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32508         OSXSAVE.
32509         (_dl_x86_64_save_sse): Likewise.
32511         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32513         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32515 2011-07-21  Andreas Schwab  <schwab@redhat.com>
32517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32518         change.
32519         (_dl_x86_64_save_sse): Use correct AVX check.
32521 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32523         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32524         bug in strncpy/strncat.
32525         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32527 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
32529         * string/tester.c (test_strcat): Add tests for different alignments
32530         of source and destination.
32531         (test_strncat): Likewise.
32533 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32535         [BZ #12852]
32536         * posix/glob.c (glob): Check passed in values before using them in
32537         expressions to avoid some overflows.
32538         (glob_in_dir): Likewise.
32540         [BZ #13007]
32541         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32542         check for AVX enablement so that we don't crash with old kernels and
32543         new hardware.
32544         * elf/tst-audit4.c: Add same checks here.
32545         * elf/tst-audit6.c: Likewise.
32547         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32549 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
32551         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32553 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32555         * po/cs.po: Update from translation team.
32556         * po/bg.po: Likewise.
32558 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
32560         * misc/sys/cdefs.h: Add support for const attribute.
32561         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32562         to gnu_dev_{major,minor,makedev} functions.
32564 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
32566         * intl/dcigettext.c (get_output_charset): Add missing bracket.
32568 2011-07-20  Andreas Schwab  <schwab@redhat.com>
32570         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32571         strlen results.
32573 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32575         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32576         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32577         register in order to avoid conflicts with the soft frame pointer
32578         being held in r11 when necessary.
32579         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32580         (INTERNAL_VSYSCALL_NCS): Likewise.
32582 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
32584         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32585         * elf/dl-fini.c (_dl_fini): Adjust caller.
32586         * elf/dl-close.c (_dl_close_worker): Likewise.
32587         * sysdeps/generic/ldsodefs.h: Adjust declaration.
32589 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32591         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32592         "aux_cache->nlibs < 0".
32594         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32595         in the reload-count case.
32597 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32600         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32601         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32602         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32603         * sysdeps/x86_64/multiarch/strcat.S: New file.
32604         * sysdeps/x86_64/multiarch/strncat.S: New file.
32605         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32606         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32607         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32608         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32609         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32610         (USE_AS_STRCAT): Define.
32611         Add strcat and strncat support.
32612         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32613         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32614         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32615         * string/strncat.c: Update.
32616         (USE_AS_STRNCAT): Define.
32617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32618         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32619         and i7.
32620         * sysdeps/x86_64/multiarch/init-arch.h
32621         (bit_Prefer_PMINUB_for_stringop): New.
32622         (index_Prefer_PMINUB_for_stringop): Likewise.
32623         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32624         bit_Prefer_PMINUB_for_stringop.
32626 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32628         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32629         buffer64.
32630         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32631         of casting of buffer.
32632         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32633         buffer32 and buffer64.
32634         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32635         writes instead of casting of buffer.
32636         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32637         buffer32.
32638         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32639         casting of buffer.
32641 2011-07-19  Andreas Schwab  <schwab@redhat.com>
32643         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32645 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32647         * nscd/nscd.c (termination_handler): Don't do anything for a database
32648         if it has not yet been initialized.
32650 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32652         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32654 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32656         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32658 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32660         * po/nl.po: Update from translation team.
32661         * po/sv.po: Likewise.
32663 2011-07-16  Roland McGrath  <roland@hack.frob.com>
32665         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32666         now disallowed by GCC.
32668         * configure.in (use-default-link): Default to yes if a test -shared
32669         link meets our qualifications.
32670         * configure: Regenerated.
32672         * config.make.in (output-format): New variable.
32673         * configure.in: Check for ld --print-output-format support.
32674         * configure: Regenerated.
32675         * Makerules ($(common-objpfx)format.lds)
32676         [$(output-format) != unknown]: Just use $(output-format),
32677         instead of the linker-script munging.
32679 2011-07-14  Roland McGrath  <roland@hack.frob.com>
32681         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32682         of $(common-objpfx)shlib.lds.
32683         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32685         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32686         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32688         * configure.in (-z relro check): Adjust test code to add a large
32689         writable data section after it.
32690         * configure: Regenerated.
32692 2011-07-11  Roland McGrath  <roland@hack.frob.com>
32694         * configure.in (-z relro check): Fix test code to make the variable
32695         truly const.
32696         * configure: Regenerated.
32698 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
32700         * nscd/nscd.h (struct traced_file): Define.
32701         (struct database_dyn): Remove inotify_descr, reset_res, and filename
32702         elements.  Add traced_files.
32703         (inotify_fd): Declare.
32704         (register_traced_file): Declare.
32705         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32706         (inotify_fd): Export.
32707         (resolv_conf_descr): Remove.
32708         (nscd_init): Move inotify descriptor creation to main.
32709         Don't register files for notification here.
32710         (register_traced_file): New function.
32711         (invalidate_cache): Don't use reset_res to determine whether to call
32712         res_init, go through the list of registered files.
32713         (main_loop_poll): The inotify descriptors are now stored in the
32714         structures for the traced files.
32715         (main_loop_epoll): Likewise
32716         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
32717         to __nss_disable_nscd.
32718         * nscd/cache.c (prune_cache): There is no single inotify descriptor
32719         for a database anymore.  Check the records for all the registered
32720         files instead.
32721         * nss/Makefile (libnss_files-routines): Add files-init.
32722         (libnss_db-routines): Add db-init.
32723         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32724         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32725         * nss/nss_db/db-init.c: New file.
32726         * nss/nss_files/files-init.c: New file.
32727         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
32728         __nss_lookup_function.
32729         (__nss_lookup_function): Call nss_load_library.
32730         (nss_load_all_libraries): New function.
32731         (__nss_disable_nscd): Take parameter with callback function for files
32732         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
32733         used for the cached services.
32734         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32735         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32736         options for features to all the files in nscd.
32738         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32740 2011-07-10  Roland McGrath  <roland@hack.frob.com>
32742         * csu/elf-init.c (__libc_csu_init): Comment typo.
32744 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
32746         * po/pl.po: Update from translation team.
32747         * po/ja.po: Likewise.
32748         * po/ru.po: Likewise.
32749         * po/ko.po: Likewise.
32750         * po/fr.po: Likewise.
32752 2011-07-09  Roland McGrath  <roland@hack.frob.com>
32754         * configure.in (.ctors/.dtors header and trailer check):
32755         Use an empirical test on a built program.
32756         * configure: Regenerated.
32758         * configure.in (-z relro check): Use an empirical test on a built DSO.
32759         Detect, but do not require, on ia64.
32760         * configure: Regenerated.
32762         * configure.in (READELF): Find it with AC_CHECK_TOOL.
32763         Update tests that use readelf to use $READELF instead.
32764         * configure: Regenerated.
32766 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
32768         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32769         if the result is not used.
32771 2011-07-05  Andreas Jaeger  <aj@suse.de>
32773         [BZ#9696]
32774         * stdlib/tst-strtod.c: Add testcase.
32776 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
32778         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32779         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32780         The latter has a higher limit.  Take additional parameter to pass to
32781         the new function.
32782         (__pathconf): Pass file to __statfs_link_max.
32783         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32784         __statfs_link_max.
32785         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32786         __statfs_link_max.
32788         [BZ #12868]
32789         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32790         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32791         Handle Lustre.
32792         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32793         (__statfs_filesize_max): Likewise.
32794         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32796 2011-07-05  Andreas Jaeger  <aj@suse.de>
32798         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32800 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32802         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32803         `status' variable.
32804         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32805         Likewise.
32807 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32809         * Makefile (strop-tests): Add strncat.
32810         * string/test-strncat.c: New file.
32812 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32814         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32816 2011-06-21  Andreas Jaeger  <aj@suse.de>
32818         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32819         Copy rule from iconvdata/Makefile.
32821 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32823         [BZ #12922]
32824         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32825         but no long options are defined, just return 'W'.
32827 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32829         [BZ #9696]
32830         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32832 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32834         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32835         netgroups to read.
32836         (innetgr): Likewise.
32838 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32840         * config.make.in (install_root): Default to $(DESTDIR).
32842 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32844         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32846 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32848         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32850         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32851         containing directory rather than embedding absolute directory names.
32853         * scripts/check-local-headers.sh: Rewritten using awk.
32854         Match by word, not by line.  Print error messages for matches.
32855         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32857         * Makerules [shlib-lds-flags empty]:
32858         ($(common-objpfx)libc_pic.opts): New target.
32859         ($(common-objpfx)libc_pic.os.clean): New target.
32860         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32862         * config.make.in (OBJCOPY): New variable.
32863         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32864         * configure: Regenerated.
32866         * config.make.in (use-default-link): New variable.
32867         * configure.in (use_default_link): Grok --with-default-link to set it.
32868         * configure: Regenerated.
32869         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32870         (shlib-lds, shlib-lds-flags): Define to empty.
32872         * Makerules (shlib-lds): New variable.
32873         (shlib-lds-flags): New variable.
32874         (build-shlib, build-moduile, build-module-asneeded): Use it.
32875         ($(common-objpfx)libc.so): Use $(shlib-lds).
32876         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32877         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32879         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32880         DT_FLAGS/DT_FLAGS_1 with zero flags.
32882         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32883         linker script munging.
32885 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32887         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32888         as 128-bit value.
32889         * crypt/sha512.c (sha512_process_block): Perform total addition using
32890         128-bit if possible.
32891         (__sha512_finish_ctx): Likewise.
32892         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32893         as 64-bit value.
32894         * crypt/sha256.c (SWAP64): Define.
32895         (sha256_process_block): Perform total addition using 64-bit if
32896         possible.
32897         (__sha256_finish_ctx): Likewise.
32899 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32901         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32902         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32903         * nscd/hstcache.c (cache_addhst): Likewise.
32904         * nscd/grpcache.c (cache_addgr): Likewise.
32905         * nscd/aicache.c (addhstaiX): Likewise
32906         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32908 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32910         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32911         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32912         * nscd/hstcache.c (cache_addhst): Likewise.
32913         * nscd/grpcache.c (cache_addgr): Likewise.
32914         * nscd/aicache.c (addhstaiX): Likewise
32916 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32918         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32919         domain only when needed.
32921 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32924         is always restored.
32926 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32928         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32929         are re-adding the entry.
32930         * nscd/servicescache.c (cache_addserv): Likewise.
32932 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32934         * sysdeps/generic/dl-irel.h: fix protection against multiple
32935         inclusions.
32936         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32938 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32940         [BZ #12935]
32941         * malloc/memusage.sh: Fix quoting in message.
32942         * debug/xtrace.sh: Likewise.
32944         * configure.in: Remove support for --experimental-malloc option, make
32945         it the default.
32946         * config.make.in: Likewise.
32947         * malloc/Makefile: Likewise.
32949 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32951         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32952         two-byte characters.
32954 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32956         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32957         AC_CACHE_CHECK invocation.
32958         * configure: Regenerated.
32960         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32962 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32964         [BZ #12350]
32965         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32966         bit from old_res_options.
32968         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32970         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32971         value type for setfct.
32973 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32975         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32976         __gettimeofday instead of gettimeofday.
32978 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32980         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32982 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32984         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32986         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32987         info.
32989 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32992         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32993         strcpy-sse2-unaligned strncpy-sse2-unaligned
32994         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32995         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32996         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32997         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32998         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32999         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33000         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33001         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33002         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33003         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33004         (STRCPY): Support SSE2 and SSSE3 versions.
33006 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
33008         [BZ #12874]
33009         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33010         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33011         kernels which artificially limit size of requests.
33013 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33015         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33016         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33017         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33018         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33019         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33020         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33021         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33022         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33023         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33024         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33025         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33026         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33027         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33028         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33029         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33031         Enable unaligned load optimization for Intel Core i3, i5 and i7
33032         processors.
33033         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33034         Define.
33035         (index_Fast_Unaligned_Load): Define.
33036         (HAS_FAST_UNALIGNED_LOAD): Define.
33038 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
33040         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33042 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33044         [BZ #12907]
33045         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33046         until it is clear that the information is realy needed.
33047         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33049 2011-06-22  Andreas Schwab  <schwab@redhat.com>
33051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33053 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33055         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33056         /sys/devices/system/cpu/online if it is usable.
33058         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33059         reading the information from the /proc filesystem to once a second.
33061 2011-06-21  Andreas Jaeger  <aj@suse.de>
33063         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33064         NULL after inclusion of kernel headers.
33066 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
33068         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33069         calls to internal_setent.
33071         [BZ #12885]
33072         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33073         addresses using gethostbyname4_r ignore IPv4 addresses.
33075         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33076         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
33078         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33080 2011-06-20  David S. Miller  <davem@davemloft.net>
33082         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33083         inclusions.
33084         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33086         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33087         (elf_irel): Use it.
33088         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33089         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33090         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33091         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33092         * sysdeps/x86_64/dl-irel.h: Likewise.
33094         * elf/dl-runtime.c: Use elf_ifunc_invoke.
33095         * elf/dl-sym.c: Likewise.
33097 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33099         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
33100         need to dereference resplen2.
33102 2011-06-14  Andreas Schwab  <schwab@redhat.com>
33104         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33106 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33108         * Makeconfig: Define vardbdir and inst_vardbdir.
33109         * nss/Makefile: Add rules to install db-Makefile.
33111         * nss/nss_db/db-XXX.c: Cleanup.
33113         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33114         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33115         GLIBC_PRIVATE.
33116         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33117         * nss/makedb.c: Implement -g option to specify that value strings
33118         are generated and should not be added to table iterated over for
33119         get*ent calls.
33120         * nss/nss_db/db-initgroups.c: New file.
33122         * nss/getent.c: Add support for initgroups lookups through getgrouplist
33123         interface.
33125         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33126         (internal_getgrouplist): Adjust to name change.
33127         Update use_initgroups_entry if this is not the first call.
33128         * nss/databases.def: Add initgroups entry.
33130         * nss/makedb.c (compute_tables): Check result of multiple hash table
33131         sizes to minimize maximum chain length.
33133 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
33135         * Versions.def: Add entry for libnss_db.
33136         * shlib-versions: Likewise.
33137         * nss/Makefile: Add rules to build libnss_db.
33138         * nss/Versions: Add libnss_db information.  Organize libnss_files
33139         entries better.
33140         * nss/db-Makefile: Add gshadow support.  Change rules for the new
33141         makedb progra.  Some minor improvements to generate smaller files.
33142         * nss/nss_db/nss_db.h: Move NSS database header data structures to
33143         here from...
33144         * nss/makedb.c: ...here.
33145         Improve database format to be smaller and require less memory at
33146         runtime.
33147         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
33148         db anymore.
33149         * nss/nss_db/db-netgrp.c: Likewise.
33150         * nss/nss_db/db-open.c: Likewise.
33151         * nss/nss_files/flies-XXX.x: Adjust comments.
33152         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33153         * nss/nss_files/files-grp.c: Likewise.
33154         * nss/nss_files/files-hosts.c: Likewise.
33155         * nss/nss_files/files-network.c: Likewise.
33156         * nss/nss_files/files-proto.c: Likewise.
33157         * nss/nss_files/files-pwd.c: Likewise.
33158         * nss/nss_files/files-rpc.c: Likewise.
33159         * nss/nss_files/files-service.c: Likewise.
33160         * nss/nss_files/files-sgrp.c: Likewise.
33161         * nss/nss_files/files-spwd.c: Likewise.
33162         * nss/nss_db/db-alias.c: Removed.
33163         * nss/nss_db/dummy-db.h: Removed.
33165 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
33167         * nss/makedb.c: Rewritten to not use database library.
33168         * nss/Makefile: Update to build new makedb program.
33170 2011-06-14  Andreas Jaeger  <aj@suse.de>
33172         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33173         memset declaration.
33175 2011-06-10  Andreas Schwab  <schwab@redhat.com>
33177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33178         tmpbuf.
33180 2011-06-10  Roland McGrath  <roland@hack.frob.com>
33182         * Makerules (shlib.lds): Fail if the linker script comes out empty.
33183         * elf/Makefile ($(objpfx)ld.so): Likewise.
33185         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33186         Don't list ld.so twice in dependencies.
33188         * posix/bug-regex31.c: Include <stdlib.h>.
33190         * nscd/hstcache.c (cache_addhst): Remove unused variable.
33192         * nis/nss_compat/compat-spwd.c
33193         (getspent_next_nss_netgr): Remove unused variable.
33194         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33196         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33197         nonmembers" output to use the right array.
33199         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33201         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33203         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33204         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33205         * catgets/gencat.c (read_input_file): Likewise.
33206         * locale/programs/locarchive.c (enlarge_archive): Likewise.
33208         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33209         variable definition inside #if's controlling its use.
33211         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33213         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33215         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33217         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33218         unreachable code.
33220         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33222         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33223         * configure: Regenerated.
33225         * Makerules: Revert last change.
33226         * elf/Makefile: Likewise.
33228 2011-06-09  Roland McGrath  <roland@hack.frob.com>
33230         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33231         * elf/Makefile ($(objpfx)librtld.os): Likewise.
33232         (reloc-link): Likewise.
33234 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
33236         * elf/Makefile: Add rules to build pldd.
33237         * elf/pldd.c: New file.
33238         * elf/pldd-xx.c: New file.
33240 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
33242         * version.h: Update for 2.15 development version.
33244 2011-06-07  David S. Miller  <davem@davemloft.net>
33246         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33247         ifuncs.
33248         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33249         elf_machine_lazy_rel): Likewise.
33250         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33252         elf_machine_lazy_rel): Likewise.
33253         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33254         dl_hwcap via passed in argument.
33255         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33256         Likewise.
33258 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33260         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
33262 2011-06-06  Roland McGrath  <roland@hack.frob.com>
33264         [BZ #12849]
33265         * manual/fdl-1.1.texi: New file, verbatim from:
33266         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33267         * manual/lgpl-2.1.texi: New file, verbatim from:
33268         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33269         * manual/Makefile (licenses): New variable, list those new file names.
33270         (texis): Use it.
33271         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33273         * manual/fdl.texi: File removed.
33274         * manual/lesser.texi: File removed.
33275         * manual/libc.texinfo (Copying, Documentation License):
33276         Use new @include file names, put @appendix directive before @include.
33278 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
33280         [BZ #12841]
33281         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33282         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33283         (mq_open): Add __NTH.
33285 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
33287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33288         Assume Intel Core i3/i5/i7 processor if AVX is available.
33290 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
33292         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33293         typo.
33295 2011-05-31  Andreas Schwab  <schwab@redhat.com>
33297         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33298         memory.  Use alloca_account.  Fix memory leak when retrying.
33300 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
33302         * version.h (RELEASE): Bump for 2.14 release.
33303         * include/features.h (__GLIBC_MINOR__): Bump to 14.
33305         * config.make.in (RANLIB): Remove entry.
33307 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
33309         * po/Makefile (po-sed-cmd): Add ksh to extensions.
33310         (libc.pot): Work around missing support for .ksh extension in xgettext.
33312         [BZ #12684]
33313         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33314         if both request failed.
33315         (send_dg): In case of server errors clear resplen or *resplen2.
33317         [BZ #12454]
33318         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33319         when there are multiple maps.
33320         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33321         (_dl_fini): Remove test here.
33323         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33325 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
33327         [BZ #12350]
33328         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33329         bit from old_res_options.
33330         (gaih_inet): Likewise.
33332         [BZ #11099]
33333         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33334         as signed.
33336         * resolv/res_init.c (res_setoptions): Make the code more compact.
33338         [BZ #11558]
33339         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33340         set RES_USEVC.
33342         [BZ #11634]
33343         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33345         * malloc/malloc.h: Mark malloc hook variables as deprecated.
33347         [BZ #11781]
33348         * malloc/malloc.h: Declare malloc hook variables as volatile.
33350         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33351         in last patch.
33353         [BZ #11799]
33354         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33355         raise in the comment.
33356         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33357         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33358         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33360 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
33362         [BZ #12811]
33363         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33364         grow the buffers more if it already has to be sufficient.
33365         (build_wcs_upper_buffer): Likewise.
33366         * posix/regexec.c (check_matching): Likewise.
33367         (clean_state_log_if_needed): Likewise.
33368         (extend_buffers): Don't enlarge buffers beyond size of the input
33369         buffer.
33370         Patches mostly by Emil Wojak <emil@wojak.eu>.
33371         * posix/bug-regex32.c: New file.
33372         * posix/Makefile (tests): Add bug-regex32.
33374         * locale/findlocale.c (_nl_find_locale): Return right away if
33375         _nl_explode_name failed.
33376         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33378         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33380         * debug/xtrace.sh: Unify messages.
33381         * malloc/memusage.sh: Likewise.
33383         [BZ #12813]
33384         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33385         time symbol from vDSO.  Substitute with vsyscall if not available.
33386         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33387         __vdso_time.
33389         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33390         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33391         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33392         Add sendmmsg and internal_sendmmsg.
33393         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33394         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33395         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33397         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33398         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33399         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33401 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
33403         [BZ #12813]
33404         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33405         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
33406         available.
33407         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33408         __vdso_getcpu.
33410         [BZ #12814]
33411         * iconvdata/Makefile (tests): Add bug-iconv9.
33412         * iconvdata/bug-iconv9.c: New file.
33414 2011-05-27  Andreas Schwab  <schwab@redhat.com>
33416         [BZ #12814]
33417         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33419 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
33421         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33422         (struct user_regs_struct): Change intcs field back to cs.
33424 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
33426         * po/ja.po: Update from translation team.
33428 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
33430         [BZ #12795]
33431         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33432         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33434 2011-05-20  Andreas Schwab  <schwab@redhat.com>
33436         * stdlib/longlong.h: Update from GCC.
33438 2011-05-23  Andreas Schwab  <schwab@redhat.com>
33440         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33441         parameter name.
33442         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33443         Add parameter name.
33444         (__sysconf): Pass it down.
33446 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
33448         [BZ #12671]
33449         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33450         some situations.
33451         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33452         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33453         add in in __libc_use_alloca calls.  Adjust callers.
33454         (glob): Use malloc in some situations.
33456         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33457         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33458         pltexit.
33460 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
33462         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33463         and CLOCK_BOOTTIME_ALARM.
33465         [BZ #12782]
33466         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33467         is returned.
33469         * string/_strerror.c (__strerror_r): Print negative errors as signed
33470         numbers.
33472         [BZ #12777]
33473         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33474         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33475         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33477         * configure.in: Fix typo in redirection and correct removal of test
33478         files in two cases.
33480         [BZ #12788]
33481         * locale/setlocale.c (new_composite_name): Fix test to check for
33482         identical name of all categories.
33484         [BZ #12792]
33485         * libio/filedoalloc.c (local_isatty): New function.
33486         (_IO_file_doallocate): Use local_isatty.
33487         * stdio-common/perror.c (perror): In case a new stream is used
33488         forward the stream error.
33489         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33490         error flag.
33492 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
33494         [BZ #11869]
33495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33496         alloca.
33497         * include/alloca.h (extend_alloca_account): Define.
33499         [BZ #11857]
33500         * posix/regex.h: Fix comments with documentation of user-accessible
33501         fields after compilation and describe correct free'ing of pattern
33502         after re_compile_pattern.
33503         Patch by Reuben Thomas <rrt@sc3d.org>.
33505 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
33507         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33508         and -mno-altivec to prevent the compiler from using Altivec and/or
33509         VSX instructions when the corresponding registers are not available.
33511 2011-05-19  Andreas Schwab  <schwab@redhat.com>
33513         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33515 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
33517         * libio/freopen.c (freopen): Use __dup2, not dup2.
33518         * libio/freopen64.c (freopen64): Likewise.
33520 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33522         [BZ #12775]
33523         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33524         * math/Makefile (tests): Add test-powl.
33525         (CFLAGS-test-powl.c): Define.
33526         * math/test-powl.c: New file.
33528 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33530         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33532 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
33534         [BZ #11837]
33535         * iconvdata/gb18030.c: Update to GB18020-2005.
33537 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
33539         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33540         RE_SYNTAX_POSIX_AWK): Update to match recent development.
33541         Patch by Aharon Robbins <arnold@skeeve.com>.
33543         [BZ #11892]
33544         * stdlib/putenv.c (putenv): Don't always create copy of the variable
33545         on the stack.
33547         [BZ #11895]
33548         * misc/pselect.c (__pselect): Handle timeout value errors hidden
33549         through underflows.
33551         [BZ #12766]
33552         * misc/error.c (error_at_line): Ensure file_name and old_file_name
33553         point to strings before performing equality test for error_one_per_line
33554         mode.
33556         [BZ #11697]
33557         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33559         [BZ #11820]
33560         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33561         (struct user_fpregs_struct): Avoid __uint*_t types.
33563         [BZ #6420]
33564         * malloc/mtrace.c (tr_where): Add additional parameter to point to
33565         symbol info.  Use it instead of calling _dl_addr locally.
33566         (lock_and_info): New function.
33567         (tr_freehook): Call lock_and_info and pass symbol info as additional
33568         parameter to tr_where.
33569         (tr_mallochook): Likewise.
33570         (tr_reallochook): Likewise.
33571         (tr_memalignhook): Likewise.
33573         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
33574         used and couldn't be at all thread-safe.
33576 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
33578         * libio/freopen.c (freopen): Don't close old file descriptor
33579         before the new one is opened.  Instead dup the new file descriptor
33580         to the old one after the new stream is created.
33581         * libio/freopen64.c (freopen64): Likewise.
33582         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33583         * libio/fileops.c (_IO_new_file_close_it): Handle new
33584         _IO_FLAGS2_NOCLOSE flag.
33585         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33586         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33587         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33588         _IO_FLAGS2_NOCLOSE flag.
33589         * include/unistd.h: Add hidden_proto for dup3.
33590         Define __have_dup3.
33591         * io/dup3.c: Define hidden symbol.
33592         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33594         [BZ #7101]
33595         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33596         when an incomplete long option is used.
33597         * posix/tst-getopt_long1.c: New file.
33598         * posix/Makefile (tests): Add tst-getopt_long1.
33600         [BZ #10138]
33601         * scripts/config.guess: Update from autoconf-2.68.
33602         * scripts/config.sub: Likewise.
33604         [BZ #10157]
33605         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33606         tests into ...
33607         (has_cpuclock): ...this.  New function.
33608         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33609         macro here based on has_cpuclock code.
33611         [BZ #10149]
33612         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33613         First byte (not low byte) is now always NUL.
33614         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33617         Use non-cancelable interfaces.
33619         [BZ #9809]
33620         * locale/iso-639.def: Add entry for Sorani.
33622         [BZ #11901]
33623         * include/stdlib.h: Move include protection to the right place.
33624         Define abort_msg_s.  Declare __abort_msg with it.
33625         * stdlib/abort.c (__abort_msg): Adjust type.
33626         * assert/assert.c (__assert_fail_base): New function.  Majority
33627         of code from __assert_fail.  Allocate memory for __abort_msg with
33628         mmap.
33629         (__assert_fail): Now call __assert_fail_base.
33630         * assert/assert-perr.c: Remove bulk of implementation.  Use
33631         __assert_fail_base.
33632         * include/assert.hL Declare __assert_fail_base.
33633         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33634         mmap.
33635         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33637 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
33639         [BZ #11952]
33640         [BZ #12453]
33641         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33642         until all modules are registered in the DTV.
33643         * elf/Makefile: Add rules to build and run tst-tls19.
33644         * elf/tst-tls19.c: New file.
33645         * elf/tst-tls19mod1.c: New file.
33646         * elf/tst-tls19mod2.c: New file.
33647         * elf/tst-tls19mod3.c: New file.
33648         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33650         [BZ #12083]
33651         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33652         correctly.
33654         [BZ #12601]
33655         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33656         two-byte sequence errors.
33657         * iconvdata/Makefile (tests): Add bug-iconv8.
33658         * iconvdata/bug-iconv8.c: New file.
33660         [BZ #12626]
33661         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33662         buf2 definition.
33664         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33666         [BZ #12432]
33667         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33668         (dummy_getcfa): New function.
33669         (init): Get _Unwind_GetCFA address, use dummy if not found.
33670         (backtrace_helper): In recursion check, also check whether CFA changes.
33671         (__backtrace): Completely initialize arg.
33673         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33674         storing incomplete byte sequence in state object.  Avoid testing for
33675         guaranteed too small input if we know there is enough data available.
33677 2011-05-11  Andreas Schwab  <schwab@redhat.com>
33679         * Makeconfig (+link-pie): Indent.
33680         * Rules (binaries-pie): Define if $(have-fpie) and
33681         $(build-shared).
33682         (binaries-shared): Also filter out $(binaries-pie).
33683         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33684         * nscd/Makefile (others-pie): Add nscd.
33685         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33686         ($(objpfx)nscd): Remove command override.
33687         * login/Makefile (others-pie): Add pt_chown.
33688         ($(objpfx)pt_chown): Remove command override.
33689         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33690         remove command overrides.
33692 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
33694         * libio/tst_putwc.c: Fix error messages.
33696         [BZ #12724]
33697         * libio/fileops.c (_IO_new_file_close_it): Always flush when
33698         currently writing and seek to current position when not.
33699         * libio/Makefile (tests): Add bug-fclose1.
33700         * libio/bug-fclose1.c: New file.
33702 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
33704         [BZ #12511]
33705         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33706         don't set DF_1_NODELETE here.
33707         (do_lookup_x): When entering new entry test for copy relocation
33708         and if necessary set DF_1_NODELETE flag.
33709         * elf/tst-unique4.cc: New file.
33710         * elf/tst-unique4.h: New file.
33711         * elf/tst-unique4lib.cc: New file.
33712         * elf/Makefile: Add rules to build and run tst-unique4.
33713         Patch by Piotr Bury <pbury@goahead.com>.
33715 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
33717         [BZ #12052]
33718         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33720         [BZ #12625]
33721         * misc/mntent_r.c (addmntent): Flush the stream after the output
33723         [BZ #12393]
33724         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33725         (is_trusted_path_normalize): Skip initial colon.  Append slash
33726         to empty buffer.  Duplicate is_trusted_path code but allow
33727         constructed patch to be prefix.
33728         (is_dst): Allow $ORIGIN followed by /.
33729         (_dl_dst_substitute): Correct clearing of check_for_trusted.
33730         Correct testing of result of is_trusted_path_normalize
33731         (decompose_rpath): Fix warning.
33733 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
33735         [BZ #11257]
33736         * grp/initgroups.c (internal_getgrouplist): When we found the service
33737         list through the initgroups entry in nsswitch.conf do not always
33738         continue on a successful lookup.  Don't always use the
33739         __nss_group_database value if it is set.
33740         * nss/nsswitch.conf (initgroups): Change action for successful db
33741         lookup to continue for compatibility.
33743 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
33745         [BZ #11532]
33746         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33747         and CP774 modules.
33748         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33749         and CP774 modules.
33750         * iconvdata/tst-tables.sh: Likewise.
33751         * iconvdata/cp770.c: New file.
33752         * iconvdata/cp771.c: New file.
33753         * iconvdata/cp772.c: New file.
33754         * iconvdata/cp773.c: New file.
33755         * iconvdata/cp774.c: New file.
33756         * iconvdata/testdata/CP770: New file.
33757         * iconvdata/testdata/CP770..UTF8: New file.
33758         * iconvdata/testdata/CP771: New file.
33759         * iconvdata/testdata/CP771..UTF8: New file.
33760         * iconvdata/testdata/CP772: New file.
33761         * iconvdata/testdata/CP772..UTF8: New file.
33762         * iconvdata/testdata/CP773: New file.
33763         * iconvdata/testdata/CP773..UTF8: New file.
33764         * iconvdata/testdata/CP774: New file.
33765         * iconvdata/testdata/CP774..UTF8: New file.
33767         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33768         END CHARMAP line.
33769         * iconvdata/gen-8bit-gap.sh: Likewise.
33770         * iconvdata/gen-8bit.sh: Likewise.
33772         * locale/iso-639.def: Add ary entry.
33774         [BZ #11258]
33775         * locale/C-translit.h.in: Add U20A1 transliteration.
33777         [BZ #12178]
33778         * locale/iso-639.def: Add wae entry.
33779         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33781         [BZ #12545]
33782         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33783         for n.
33785         [BZ #12711]
33786         * locale/C-translit.h.in: Add entry for U20B9.
33787         Patch by pravin.d.s@gmail.com.
33789 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33791         [BZ #12713]
33792         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33793         ENAMETOOLONG use generic getcwd.
33794         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33795         in rtld.  Use *stat64.
33796         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33797         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33798         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33799         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33800         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33801         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33802         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33803         __fstatat64 macros.
33804         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33805         * dirent/rewinddir.c: Add libc_hidden_def.
33806         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33807         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33809         * include/dirent.h (__alloc_dir): Add flags parameter.
33810         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33811         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33812         __alloc_dir.
33813         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33814         from fdopendir if O_CLOEXEC is already set.
33816 2011-03-15  Alan Modra  <amodra@gmail.com>
33818         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33819         l_tls_firstbyte_offset non-zero.  Save padding offset in
33820         l_tls_firstbyte_offset for later use.
33821         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33822         freeing static tls block.
33824 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33826         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33827         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33828         being defined by the kernel headers.
33830 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33832         [BZ #12734]
33833         * resolv/resolv.h: Define RES_NOTLDQUERY.
33834         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33835         no-tld-query and set RES_NOTLDQUERY.
33836         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33837         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33838         modern BIND to search name as TLD unless forbidden.
33840 2011-05-07  Petr Baudis  <pasky@suse.cz>
33841             Ulrich Drepper  <drepper@gmail.com>
33843         [BZ #12393]
33844         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33845         (is_trusted_path): ...to here.
33846         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33847         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33848         using is_trusted_path_normalize() in setuid scripts.
33850 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33852         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33853         __BEGIN/__END_DECLS.
33855 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33857         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33858         NSS_STATUS_NOTFOUND if no record was found.
33860 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33862         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33863         (headers-not-in-tirpc): Remove rpc/netdb.h
33864         * resolv/netdb.h: Revert last change.
33866 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33868         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33869         circular dependency between libgcc.a and libc.a.
33871 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33873         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33874         * nis/Makefile: Don't install rpcsvc/*.
33875         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33876         instead of <rpc/types.h>.
33877         (MAXHOSTNAMELEN): Define.
33879 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33881         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33883 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33885         [BZ #12714]
33886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33887         gethostbyname4_r when IPv6 results are possible.
33889 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33891         [BZ #12723]
33892         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33893         _PC_PIPE_BUF handling.
33895 2011-04-30  Bruno Haible  <bruno@clisp.org>
33897         [BZ #12717]
33898         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33899         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33900         to 'int'.
33901         * inet/getnameinfo.c (getnameinfo): Likewise.
33903 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33905         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33906         to groups setting in database lookup.
33907         * nss/nsswitch.conf: Add initgroups entry.
33909 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33911         [BZ #12685]
33912         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33913         mode string.
33914         Patch by Eric Blake <eblake@redhat.com>.
33916 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33918         * sunrpc/Makefile (need-export-routines): Add svc_run.
33919         (routines): Remove svc_run.
33920         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33921         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33922         * sunrpc/svc_run.c (svc_run): Likewise.
33923         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33925 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33927         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33928         problem in reallocation in last patch.
33930 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33932         * sunrpc/Makefile: Move inclusion of Rules.
33934 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33936         * nss/nss_files/files-initgroups.c: New file.
33937         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33938         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33939         _nss_files_initgroups_dyn.
33941 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33943         * elf/elf.h (R_ARM_IRELATIVE): Define.
33945 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33947         * po/ru.po: Update from translation team.
33949 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33951         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33952         dependencies.
33954 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33956         [BZ #12653]
33957         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33958         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33959         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33960         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33961         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33963 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33965         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33966         differing bytes.
33967         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33968         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33969         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33971 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33973         [BZ #12420]
33974         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33975         storing it.
33976         * stdlib/bug-getcontext.c: New file.
33977         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33979 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33981         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33982         instructions into .machine "z9-109".
33983         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33984         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33986 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33988         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33989         between environment variables and auxiliary vector.
33991 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33993         * Makefile: Add rules to build linkobj/libc.so.
33994         * include/libc-symbols.h: Define libc_hidden_nolink.
33995         * include/rpc/auth.h: Mark functions which are to be hidden.
33996         * include/rpc/auth_des.h: Likewise.
33997         * include/rpc/auth_unix.h: Likewise.
33998         * include/rpc/clnt.h: Likewise.
33999         * include/rpc/des_crypt.h: Likewise.
34000         * include/rpc/key_prot.h: Likewise.
34001         * include/rpc/pmap_clnt.h: Likewise.
34002         * include/rpc/pmap_prot.h: Likewise.
34003         * include/rpc/pmap_rmt.h: Likewise.
34004         * include/rpc/rpc_msg.h: Likewise.
34005         * include/rpc/svc.h: Likewise.
34006         * include/rpc/svc_auth.h: Likewise.
34007         * include/rpc/xdr.h: Likewise.
34008         * nis/Makefile: Link all DSOs against linkobj/libc.so.
34009         * nss/Makefile: Likewise.
34010         * sunrpc/Makefile: Don't install headers.  Build library with normal
34011         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
34012         * sunrpc/auth_des.c: Hide exported symbols by default, export some
34013         for the compat linking library.  Remove use of INTDEF/INTUSE.
34014         * sunrpc/auth_none.c: Likewise.
34015         * sunrpc/auth_unix.c: Likewise.
34016         * sunrpc/authdes_prot.c: Likewise.
34017         * sunrpc/authuxprot.c: Likewise.
34018         * sunrpc/clnt_gen.c: Likewise.
34019         * sunrpc/clnt_perr.c: Likewise.
34020         * sunrpc/clnt_raw.c: Likewise.
34021         * sunrpc/clnt_simp.c: Likewise.
34022         * sunrpc/clnt_tcp.c: Likewise.
34023         * sunrpc/clnt_udp.c: Likewise.
34024         * sunrpc/clnt_unix.c: Likewise.
34025         * sunrpc/des_crypt.c: Likewise.
34026         * sunrpc/des_soft.c: Likewise.
34027         * sunrpc/get_myaddr.c: Likewise.
34028         * sunrpc/key_call.c: Likewise.
34029         * sunrpc/key_prot.c: Likewise.
34030         * sunrpc/netname.c: Likewise.
34031         * sunrpc/pm_getmaps.c: Likewise.
34032         * sunrpc/pm_getport.c: Likewise.
34033         * sunrpc/pmap_clnt.c: Likewise.
34034         * sunrpc/pmap_prot.c: Likewise.
34035         * sunrpc/pmap_prot2.c: Likewise.
34036         * sunrpc/pmap_rmt.c: Likewise.
34037         * sunrpc/publickey.c: Likewise.
34038         * sunrpc/rpc_cmsg.c: Likewise.
34039         * sunrpc/rpc_common.c: Likewise.
34040         * sunrpc/rpc_dtable.c: Likewise.
34041         * sunrpc/rpc_prot.c: Likewise.
34042         * sunrpc/rpc_thread.c: Likewise.
34043         * sunrpc/rtime.c: Likewise.
34044         * sunrpc/svc.c: Likewise.
34045         * sunrpc/svc_auth.c: Likewise.
34046         * sunrpc/svc_authux.c: Likewise.
34047         * sunrpc/svc_raw.c: Likewise.
34048         * sunrpc/svc_run.c: Likewise.
34049         * sunrpc/svc_simple.c: Likewise.
34050         * sunrpc/svc_tcp.c: Likewise.
34051         * sunrpc/svc_udp.c: Likewise.
34052         * sunrpc/svc_unix.c: Likewise.
34053         * sunrpc/svcauth_des.c: Likewise.
34054         * sunrpc/xcrypt.c: Likewise.
34055         * sunrpc/xdr.c: Likewise.
34056         * sunrpc/xdr_array.c: Likewise.
34057         * sunrpc/xdr_float.c: Likewise.
34058         * sunrpc/xdr_intXX_t.c: Likewise.
34059         * sunrpc/xdr_mem.c: Likewise.
34060         * sunrpc/xdr_rec.c: Likewise.
34061         * sunrpc/xdr_ref.c: Likewise.
34062         * sunrpc/xdr_sizeof.c: Likewise.
34063         * sunrpc/xdr_stdio.c: Likewise.
34065 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
34067         [BZ #12650]
34068         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34069         * sysdeps/ia64/dl-tls.h: Likewise.
34070         * sysdeps/powerpc/dl-tls.h: Likewise.
34071         * sysdeps/s390/dl-tls.h: Likewise.
34072         * sysdeps/sh/dl-tls.h: Likewise.
34073         * sysdeps/sparc/dl-tls.h: Likewise.
34074         * sysdeps/x86_64/dl-tls.h: Likewise.
34075         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34077 2011-03-14  Andreas Schwab  <schwab@redhat.com>
34079         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34080         rpath element also skip the following colon.
34081         (expand_dynamic_string_token): Add is_path parameter and pass
34082         down to DL_DST_REQUIRED and _dl_dst_substitute.
34083         (decompose_rpath): Call expand_dynamic_string_token with
34084         non-zero is_path.  Ignore empty rpaths.
34085         (_dl_map_object_from_fd): Call expand_dynamic_string_token
34086         with zero is_path.
34088 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
34090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34091         Make cancelable.
34093 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
34095         [BZ #12655]
34096         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34097         Patch by Filipe David Manana <fdmanana@apache.org>.
34099 2011-04-07  Andreas Schwab  <schwab@redhat.com>
34101         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34102         Maintain aligned stack.
34103         (CHECK_RSP): Remove unused macro.
34105 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
34107         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34108         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34110 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
34112         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34114         * include/features.h: Mention __USE_XOPEN2K8 in comment.
34116 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
34118         [BZ #12518]
34119         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34120         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34121         * sysdeps/x86_64/memmove.c: New file.
34122         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34123         (memcpy): Renamed to ...
34124         (__new_memcpy): This.
34125         (memcpy): Provide GLIBC_2_14 memcpy.
34126         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34127         (memcpy): Provide GLIBC_2_2_5 memcpy.
34129 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34131         [BZ #12631]
34132         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34134 2011-03-30  Andreas Schwab  <schwab@redhat.com>
34136         * misc/syncfs.c: New file.
34137         * misc/Makefile (routines): Add syncfs.
34138         * posix/unistd.h: Declare syncfs.
34139         * sysdeps/unix/syscalls.list: Add syncfs.
34141 2011-04-01  Andreas Schwab  <schwab@redhat.com>
34143         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34144         open_by_handle_at.
34145         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34146         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34147         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34148         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34149         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34150         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34151         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34153 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34155         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34156         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34157         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34159         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34161         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34163         * io/Makefile: Compile fallocate.c, fallocate64.c, and
34164         sync_file_range.c with -fexceptions.
34165         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34166         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34167         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34168         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34169         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34170         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34171         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34172         sync_file_range as cancellation point
34173         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
34174         now a wrapper around __call_sync_file_range with cancellation handling.
34175         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34176         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
34177         function name to __call_sync_file_range.
34178         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34179         Add call_sync_file_range.
34181 2011-04-01  Andreas Schwab  <schwab@redhat.com>
34183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34184         bits/timex.h.
34186 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34188         * iconv/iconv.h: Fix typo in comment.
34189         * io/fcntl.h: Likewise.
34190         * libio/stdio.h: Likewise.
34191         * posix/spawn.h: Likewise.
34192         * posix/unistd.h: Likewise.
34193         * stdlib/stdlib.h: Likewise.
34194         * time/time.h: Likewise.
34195         * wcsmbs/wchar.h: Likewise.
34197         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34198         open_by_handle): Add.
34199         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34200         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
34201         Augment a few comments.
34202         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34204         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34205         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34206         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34207         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34208         open_by_handle.
34210         * io/fcntl.h (AT_EMPTY_PATH): Define.
34212 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
34214         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34215         * sysdeps/unix/sysv/linux/bits/time.h: New file.
34216         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34217         to...
34218         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
34219         * Versions.def: Add GLIBC_2.14.
34220         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34221         Export.
34223 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
34225         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34226         round counter.
34227         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34229 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34231         [BZ #12597]
34232         * string/test-strncmp.c (do_page_test): New function.
34233         (check2): Likewise.
34234         (test_main): Call check2.
34235         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34237 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
34239         [BZ #12587]
34240         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34241         Handle cache information in CPU leaf 4.
34242         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34244 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
34246         [BZ #12583]
34247         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34248         character representation.
34249         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34251 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
34253         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34254         END(__isnan) to END(__isnanf) to match function entry point/label
34255         EALIGN(__isnanf,...).
34257 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
34259         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34261 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
34263         [BZ #12510]
34264         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34265         copy from the symbol referenced in the relocation to initialize the
34266         used variable.
34267         Patch by Piotr Bury <pbury@goahead.com>.
34268         * elf/Makefile: Add rules to build and tst-unique3.
34269         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34270         * elf/tst-unique3.cc: New file.
34271         * elf/tst-unique3.h: New file.
34272         * elf/tst-unique3lib.cc: New file.
34273         * elf/tst-unique3lib2.cc: New file.
34275         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34277 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
34279         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34280         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
34281         to _start.
34283 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
34285         * elf/dl-load.c (_dl_map_object): If we are looking for the first
34286         to-be-loaded object along a path to loader is ld.so.
34288 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
34289             Ulrich Drepper  <drepper@gmail.com>
34291         * sysdeps/x86_64/memset.S: After aligning destination, code
34292         branches to different locations depending on the value of
34293         misalignment, when multiarch is enabled. Fix this.
34295 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
34297         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34298         Set _x86_64_preferred_memory_instruction for AMD processsors.
34299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34300         Set bit_Prefer_SSE_for_memop for AMD processors.
34302 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
34304         * libio/fmemopen.c (fmemopen): Optimize a bit.
34306 2011-03-03  Andreas Schwab  <schwab@redhat.com>
34308         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34310 2011-03-03  Roland McGrath  <roland@redhat.com>
34312         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34314 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
34316         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34317         __bzero_ultra1 instead of __memset_ultra1.
34319 2011-02-23  Andreas Schwab  <schwab@redhat.com>
34320             Ulrich Drepper  <drepper@gmail.com>
34322         [BZ #12509]
34323         * include/link.h (struct link_map): Add l_orig_initfini.
34324         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34325         returning unsuccessfully.
34326         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34327         close of a file loaded at startup, restore the original l_initfini
34328         list.
34329         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34330         list, store the pointer.
34331         * elf/Makefile ($(objpfx)noload-mem): New rule.
34332         (noload-ENV): Define.
34333         (tests): Add $(objpfx)noload-mem.
34334         * elf/noload.c: Include <memcheck.h>.
34335         (main): Call mtrace.  Close all opened handles.
34337 2011-02-17  Andreas Schwab  <schwab@redhat.com>
34339         [BZ #12454]
34340         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34341         dependencies are missing.
34343 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34345         Fix __if_freereq crash: Unlike the generic version which uses free,
34346         Hurd needs munmap.
34347         * sysdeps/mach/hurd/ifreq.h: New file.
34349 2011-01-27  Petr Baudis  <pasky@suse.cz>
34350             Ulrich Drepper  <drepper@gmail.com>
34352         [BZ 12445]#
34353         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34354         to extend_alloca().
34355         * stdio-common/bug23.c: New file.
34356         * stdio-common/Makefile (tests): Add bug23.
34358 2010-09-28  Andreas Schwab  <schwab@redhat.com>
34359             Ulrich Drepper  <drepper@gmail.com>
34361         [BZ #12489]
34362         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34363         before performing relro protection.  At old place add assertion
34364         to make sure nothing changed.
34366 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
34367             Glauber de Oliveira Costa  <glommer@gmail.com>
34369         * elf/elf.h: Add new ARM TLS relocs.
34371 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
34373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34374         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34375         cast from r3.
34376         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
34377         'tests' variable.
34378         * sysdeps/wordsize-64/tst-writev.c: New file.
34380 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
34382         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34383         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34384         insns in _dl_start to prevent a TOC reference before relocs are
34385         resolved.
34387 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
34389         [BZ #12469]
34390         * Makeconfig: Remove RANLIB definition.
34391         * Makerules: Don't use RANLIB.
34392         * aclocal.m4: Remove ranlib test.
34393         * configure.in: No need to check for ranlib.
34394         * elf/rtld-Rules: Don't use RANLIB.
34396 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34398         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34399         protection macro.
34400         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34401         inclusion protection macro.
34403         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34404         SIGRTMIN and SIGRTMAX and print information in that case only when
34405         SIGRTMIN is defined.
34407 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
34409         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34410         arginfo fn returning -1.
34412         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34413         and thousands string is zero terminated.
34415 2011-02-03  Andreas Schwab  <schwab@redhat.com>
34417         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34418         sysdeps/unix/sysv/linux/bits/socket.h.
34420 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34422         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34423         (__CPU_COUNT): Remove old macros.
34424         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34425         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34426         (__CPU_ALLOC, __CPU_FREE): Add macros.
34427         (__sched_cpualloc, __sched_cpufree): Add declarations.
34429 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
34431         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34432         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34433         * nscd/aicache.c (addhstaiX): Return timeout of added value.
34434         (readdhstai): Return value of addhstaiX call.
34435         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34436         (addgrbyX): Return value returned by cache_addgr.
34437         (readdgrbyname): Return value returned by addgrbyX.
34438         (readdgrbygid): Likewise.
34439         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34440         (addpwbyX): Return value returned by cache_addpw.
34441         (readdpwbyname): Return value returned by addhstbyX.
34442         (readdpwbyuid): Likewise.
34443         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34444         (addservbyX): Return value returned by cache_addserv.
34445         (readdservbyname): Return value returned by addservbyX:
34446         (readdservbyport): Likewise.
34447         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34448         (addhstbyX): Return value returned by cache_addhst.
34449         (readdhstbyname): Return value returned by addhstbyX.
34450         (readdhstbyaddr): Likewise.
34451         (readdhstbynamev6): Likewise.
34452         (readdhstbyaddrv6): Likewise.
34453         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34454         (readdinitgroups): Return value returned by addinitgroupsX.
34455         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34456         (prune_cache): Keep track of timeout value of re-added entries.
34457         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34458         * nscd/nscd.h: Adjust prototypes of readd* functions.
34460 2011-02-04  Roland McGrath  <roland@redhat.com>
34462         * nis/nis_server.c (nis_servstate): Use the right name for 0.
34463         (nis_stats): Likewise.
34464         * nis/nis_modify.c (nis_modify): Likewise.
34465         * nis/nis_remove.c (nis_remove): Likewise.
34466         * nis/nis_add.c (nis_add): Likewise.
34468         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34470         * posix/fnmatch_loop.c: Add some consts.
34472         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34474 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
34476         [BZ #12460]
34477         * config.make.in (config-cflags-novzeroupper): Define.
34478         * configure.in: Substitute libc_cv_cc_novzeroupper.
34479         * elf/Makefile (AVX-CFLAGS): Define.
34480         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34481         (CFLAGS-tst-auditmod4a.c): Likewise.
34482         (CFLAGS-tst-auditmod4b.c): Likewise.
34483         (CFLAGS-tst-auditmod6b.c): Likewise.
34484         (CFLAGS-tst-auditmod6c.c): Likewise.
34485         (CFLAGS-tst-auditmod7b.c): Likewise.
34486         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34488 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
34490         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34491         function to the callback.
34492         Patch partly by Jiri Olsa <jolsa@redhat.com>.
34494 2011-02-02  Andreas Schwab  <schwab@redhat.com>
34496         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34497         of errno.
34499 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
34501         [BZ #11724]
34502         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34503         of constructors.
34504         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34505         of destructors.
34506         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34508         [BZ #11724]
34509         * elf/Makefile: Add rules to build and run new test.
34510         * elf/tst-initorder.c: New file.
34511         * elf/tst-initorder.exp: New file.
34512         * elf/tst-initordera1.c: New file.
34513         * elf/tst-initordera2.c: New file.
34514         * elf/tst-initordera3.c: New file.
34515         * elf/tst-initordera4.c: New file.
34516         * elf/tst-initorderb1.c: New file.
34517         * elf/tst-initorderb2.c: New file.
34518         * elf/tst-order-a1.c: New file.
34519         * elf/tst-order-a2.c: New file.
34520         * elf/tst-order-a3.c: New file.
34521         * elf/tst-order-a4.c: New file.
34522         * elf/tst-order-b1.c: New file.
34523         * elf/tst-order-b2.c: New file.
34524         * elf/tst-order-main.c: New file.
34525         New test case by George Gensure <werkt0@gmail.com>.
34527 2010-10-01  Andreas Schwab  <schwab@redhat.com>
34529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34530         decoding ACE if AI_CANONIDN.
34532 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
34534         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34536 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
34538         * version.h (RELEASE): Bump for 2.13 release.
34539         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34541         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34543         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34544         MADV_NOHUGEPAGE.
34545         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34546         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34547         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34548         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34550         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34552         * posix/getconf.c: Update copyright year.
34553         * catgets/gencat.c: Likewise.
34554         * csu/version.c: Likewise.
34555         * debug/catchsegv.sh: Likewise.
34556         * debug/xtrace.sh: Likewise.
34557         * elf/ldconfig.c: Likewise.
34558         * elf/ldd.bash.in: Likewise.
34559         * elf/sprof.c (print_version): Likewise.
34560         * iconv/iconv_prog.c: Likewise.
34561         * iconv/iconvconfig.c: Likewise.
34562         * locale/programs/locale.c: Likewise.
34563         * locale/programs/localedef.c: Likewise.
34564         * malloc/memusage.sh: Likewise.
34565         * malloc/mtrace.pl: Likewise.
34566         * nscd/nscd.c (print_version): Likewise.
34567         * nss/getent.c: Likewise.
34569         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34570         PF_CAIF, and PF_ALG.
34571         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34573 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
34575         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34576         (modules-names): Use them.
34577         (ifunc-test-modules, ifunc-pie-tests): Define.
34578         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34579         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34580         (test-extras): Likewise.
34581         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34582         $(compile-command.c).
34583         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34584         (all-built-dso): Define.
34585         (check-textrel.out, check-execstack.out): Depend on it.
34587         * configure.in: Don't override --enable-multi-arch.
34589 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
34591         [BZ #6812]
34592         * nscd/hstcache.c (tryagain): Define.
34593         (cache_addhst): Return tryagain not notfound for temporary errors.
34594         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34595         failed.
34597 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
34599         [BZ #10563]
34600         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34601         to make the syscall.
34602         * sysdeps/unix/sysv/linux/setgroups.c: New file.
34604         [BZ #12378]
34605         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34606         and fall back to matching as normal character if the string ends before
34607         the matching ']' is found.  This is what POSIX requires.
34608         * posix/testfnm.c: Adjust test result.
34609         * posix/globtest.sh: Adjust test result.  Add new test.
34610         * posix/tst-fnmatch.input: Likewise.
34611         * posix/tst-fnmatch2.c: Add new test.
34613 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
34615         * elf/Makefile (check-execstack): Revert last change.  Depend on
34616         check-execstack.h.
34617         (check-execstack.h): New target.
34618         (generated): Add check-execstack.h.
34619         * elf/check-execstack.c: Include "check-execstack.h".
34620         (main): Revert last change.
34621         (handle_file): Return zero if GNU_STACK is absent and
34622         DEFAULT_STACK_PERMS doesn't include PF_X.
34624 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
34626         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34627         in child fails because the descriptor is already closed.
34628         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34629         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34630         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34632         [BZ #12397]
34633         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34634         syscall.
34636         [BZ #10484]
34637         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34638         temporary buffer used to handle multi lookups locally.
34639         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34641 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34643         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34644         loader is ld.so.
34646 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
34648         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34649         alignment for SSE2.
34651 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34653         [BZ #12394]
34654         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34655         characters.  When rounding increased number of integer digits recompute
34656         number of groups.
34657         * stdio-common/tst-grouping.c: New file.
34658         * stdio-common/Makefile: Add rules to build and run tst-grouping.
34660 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
34662         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34663         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
34665         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34666         void.
34667         * bits/select.h: Likewise.
34669 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
34671         * po/ja.po: Update from translation team.
34673 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
34675         [BZ #11155]
34676         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34677         implementation just like for lxstat, fxstatat, et al.
34679 2010-12-27  Jim Meyering  <meyering@redhat.com>
34681         [BZ #12348]
34682         * posix/regexec.c (build_trtable): Return failure indication upon
34683         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
34685 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
34687         [BZ #12201]
34688         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34689         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34690         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34691         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34693         [BZ #12207]
34694         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34696         [BZ #12204]
34697         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34698         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34700 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
34702         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34703         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34704         script has SORT_BY_INIT_PRIORITY.
34705         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34706         NO_CTORS_DTORS_SECTIONS is defined.
34707         * elf/soinit.c: Likewise.
34708         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34709         NO_CTORS_DTORS_SECTIONS is defined.
34710         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34711         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34712         * sysdeps/sh/init-first.c: Likewise.
34713         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34715 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
34717         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34718         always use the slow path.
34720 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
34722         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34723         similar rule which adds the sysdep directories to the header search in
34724         order to pick up the correct platform stackinfo.h.
34725         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34726         perform test if it is, otherwise return successfully without testing.
34727         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34728         DEFAULT_STACK_PERMS define in stackinfo.h.
34729         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34730         defined in stackinfo.h.
34731         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34732         DEFAULT_STACK_PERMS defined in stackinfo.h.
34733         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34734         * sysdeps/ia64/stackinfo.h: Likewise.
34735         * sysdeps/s390/stackinfo.h: Likewise.
34736         * sysdeps/sh/stackinfo.h: Likewise.
34737         * sysdeps/sparc/stackinfo.h: Likewise.
34738         * sysdeps/x86_64/stackinfo.h: Likewise.
34739         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34740         PF_X for powerpc64.  Retain PF_X for powerpc32.
34742 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
34744         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34745         accurately.
34746         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34747         GETDENTS_64BIT_ALIGNED.
34749 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
34751         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34753 2010-12-10  Andreas Schwab  <schwab@redhat.com>
34755         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34756         _GNU_SOURCE.
34758         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34759         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34760         Remove __restrict.
34761         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34762         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34764 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
34766         [BZ #11655]
34767         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34768         are initialized.
34770 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
34772         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34774 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
34776         * po/it.po: Update from translation team.
34778 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34780         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34781         unused codes.
34783 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34785         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34787 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34789         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34790         specially.
34791         (gaih_getanswer_slice): Likewise.
34793 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34797 2010-05-31  Petr Baudis  <pasky@suse.cz>
34799         [BZ #11149]
34800         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34801         silently even in the chroot mode.
34803 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34805         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34806         last patch a bit.  Pretty printing
34808 2010-05-31  Petr Baudis <pasky@suse.cz>
34810         [BZ #10085]
34811         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34812         initialization of skip_initgroups_dyn.
34814 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34816         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34817         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34819 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34821         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34823 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34825         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34826         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34827         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34828         ($(objpfx)tst-fnmatch-mem): New rule.
34829         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34830         * posix/tst-fnmatch.c (main): Call mtrace.
34832 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34835         Support Intel processor model 6 and model 0x2c.
34837 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34839         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34840           signed comparison.
34842 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34844         [BZ #12205]
34845         * string/test-strncasecmp.c (check_result): New function.
34846         (do_one_test): Use it.
34847         (check1): New function.
34848         (test_main): Use it.
34849         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34850         Support strcasecmp and strncasecmp.
34852 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34854         [BZ #12194]
34855         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34856         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34858 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34860         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34861         IFUNC support.
34862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34863         memset-x86-64.
34864         * sysdeps/x86_64/multiarch/bzero.S: New file.
34865         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34866         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34867         * sysdeps/x86_64/multiarch/memset.S: New file.
34868         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34870         Set bit_Prefer_SSE_for_memop for Intel processors.
34871         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34872         Define.
34873         (index_Prefer_SSE_for_memop): Define.
34874         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34876 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34878         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34879         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34881 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34883         [BZ #12191]
34884         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34885         (__x86_64_raw_data_cache_size_half): Likewise.
34886         (__x86_64_raw_shared_cache_size): Likewise.
34887         (__x86_64_raw_shared_cache_size_half): Likewise.
34889         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34890         (__x86_64_raw_data_cache_size_half): Likewise.
34891         (__x86_64_raw_shared_cache_size): Likewise.
34892         (__x86_64_raw_shared_cache_size_half): Likewise.
34893         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34894         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34895         and __x86_64_raw_shared_cache_size_half.  Round
34896         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34897         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34898         to multiple of 256 bytes.
34900 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34902         [BZ #12167]
34903         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34904         of inacessible symlinks.  Verify result of symlink before returning it.
34905         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34906         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34908 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34910         * math/math.h (isinf): Fix typo in comment.
34912 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34914         * po/da.po: Update from translation team.
34916 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34918         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34919         is added to the list.
34921 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34922             Ulrich Drepper  <drepper@gmail.com>
34924         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34925         the global list here.  Move code to...
34926         (_dl_add_to_namespace_list): ...here.  New function.
34927         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34928         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34929         * elf/dl-load.c (lose): Don't remove the element from the list.
34930         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34931         (_dl_map_object): Likewise.
34933 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34935         [BZ #12159]
34936         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34937         into all bytes of SSE register.
34938         Patch by Richard Li <richardpku@gmail.com>.
34940 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34942         [BZ #12140]
34943         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34944         perturbing.
34946 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34948         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34949         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34950         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34951         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34953         submachine.
34954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34956 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34958         * include/dlfcn.h (__RTLD_SECURE): Define.
34959         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34960         mode & __RTLD_SECURE instead.
34961         (open_path): Rename preloaded parameter to secure.
34962         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34963         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34964         * elf/dl-deps.c (openaux): Likewise.
34965         * elf/rtld.c (struct map_args): Remove is_preloaded.
34966         (map_doit): Don't use it.
34967         (dl_main): Likewise.
34968         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34969         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34971 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34973         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34974         (sysd-rules-targets): Remove duplicates.
34975         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34976         rtld-%.$o dependency.
34978 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34980         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34981         _dl_map_object do it.
34983 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34985         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34986         fast fma builtins, define the macros in the C99 standard.
34987         (FP_FAST_FMAF): Likewise.
34988         (FP_FAST_FMAL): Likewise.
34989         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34991         * bits/mathdef.h: Update copyright year.
34992         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34994 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34996         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34997         builtins, define the macros in the C99 standard.
34998         (FP_FAST_FMAF): Likewise.
34999         (FP_FAST_FMAL): Likewise.
35000         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35001         multiply/add.
35002         (FP_FAST_FMAF): Likewise.
35004 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
35006         [BZ #3268]
35007         * math/libm-test.inc (fma_test): Some new testcases.
35008         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35009         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35010         y and infinite z.  Do multiplication by C already in long double.
35011         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35013         y and infinite z.  Do bitwise or of inexact bit into u.d.
35014         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35015         * sysdeps/i386/fpu/s_fmaf.S: Removed.
35016         * sysdeps/i386/fpu/s_fma.S: Removed.
35017         * sysdeps/i386/fpu/s_fmal.S: Removed.
35019 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
35021         [BZ #3268]
35022         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35023         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35024         computation is not scheduled after fetestexcept.  Fix value
35025         of minimum denormal long double.
35027 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
35029         [BZ #3268]
35030         * math/libm-test.inc (fma_test): Add some more tests.
35031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35032         correctly.
35034 2010-10-15  Andreas Schwab  <schwab@redhat.com>
35036         * scripts/data/localplt-s390-linux-gnu.data: New file.
35037         * scripts/data/localplt-s390x-linux-gnu.data: New file.
35039 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
35041         [BZ #3268]
35042         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35043         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35044         instead of dbl-64.
35045         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35046         inlines.
35047         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35048         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35049         if one of x and y is very large and the other is subnormal.
35050         * sysdeps/s390/fpu/s_fmaf.c: New file.
35051         * sysdeps/s390/fpu/s_fma.c: New file.
35052         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35053         * sysdeps/powerpc/fpu/s_fma.S: New file.
35054         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35055         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35056         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35058 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
35060         [BZ #3268]
35061         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35062         fma tests.
35063         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35064         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35065         * sysdeps/i386/i686/multiarch/s_fma.c: Include
35066         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35067         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35068         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35069         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35071 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
35073         [BZ #12078]
35074         * posix/regcomp.c (parse_branch): One more memory leak plugged.
35075         * posix/bug-regex31.input: Add test case.
35077 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35079         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35080         * posix/bug-regex31.input: New file.
35082         [BZ #12078]
35083         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35084         (parse_sub_exp): Fix last change, use postorder.
35086         * posix/bug-regex31.c: New file.
35087         * posix/Makefile: Add rules to build and run bug-regex31.
35089         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35091         [BZ #12078]
35092         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35094         [BZ #12108]
35095         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35096         to have entries in sys_siglist.
35098         [BZ #12093]
35099         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35100         be NULL.
35102 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
35104         [BZ #3268]
35105         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35106         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35107         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35108         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35109         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35110         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35111         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35112         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35113         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35114         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35115         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35116         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35117         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35118         * math/ftestexcept.c (fetestexcept): Likewise.
35119         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35120         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35121         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35122         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35123         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35124         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35125         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35127 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35129         [BZ #12107]
35130         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35131         newline.
35133 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
35135         * string/bug-strstr1.c: New file.
35136         * string/Makefile: Add rules to build and run bug-strstr1.
35138 2010-10-05  Eric Blake  <eblake@redhat.com>
35140         [BZ #12092]
35141         * string/str-two-way.h (two_way_long_needle): Always clear memory
35142         when skipping input due to the shift table.
35144 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
35146         [BZ #12005]
35147         * malloc/mcheck.c: Handle large requests.
35149         [BZ #12077]
35150         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35151         for strncmp and strncasecmp.
35152         * string/stratcliff.c: Add tests for strcmp and strncmp.
35153         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35155 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35157         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35158         __set_fpscr.
35160 2010-09-30  Andreas Jaeger  <aj@suse.de>
35162         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35163         (CGROUP_SUPER_MAGIC): Define.
35164         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35165         Handle btrfs and cgroup file systems.
35166         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35167         Likewise.
35169 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
35171         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35172         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35174 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35176         [BZ #12067]
35177         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35178         trying to locate the ELF header.
35180 2010-09-27  Andreas Schwab  <schwab@redhat.com>
35182         [BZ #11611]
35183         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35184         Mask out sign-bit copies when constructing f_fsid.
35186 2010-09-24  Petr Baudis <pasky@suse.cz>
35188         * debug/stack_chk_fail_local.c: Add missing licence exception.
35189         * debug/warning-nop.c: Likewise.
35191 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
35193         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35194         implementing getdents64 using getdents syscall, set d_type if
35195         __ASSUME_GETDENTS32_D_TYPE.
35197 2010-09-16  Andreas Schwab  <schwab@redhat.com>
35199         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35200         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35202 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
35204         [BZ #12037]
35205         * posix/unistd.h: Undo change of feature selection for ftruncate from
35206         2010-01-11.
35208 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
35210         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35211         detection.
35213 2010-09-20  Andreas Schwab  <schwab@redhat.com>
35215         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35216         fanotify_mark.
35217         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35219 2010-09-14  Andreas Schwab  <schwab@redhat.com>
35221         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35222         variables after CHECK_SP call.
35223         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35225 2010-09-13  Andreas Schwab  <schwab@redhat.com>
35226             Ulrich Drepper  <drepper@redhat.com>
35228         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35229         re-relocationg ld.so.
35230         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35231         _dl_init_paths call.
35232         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
35233         here anymore.
35235 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
35237         * resolv/res_init.c (__res_vinit): Count the default server we added.
35239 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
35240             Ulrich Drepper  <drepper@redhat.com>
35242         [BZ #11968]
35243         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35244         (____longjmp_chk): Use %ebx for saving value across system call.
35245         Add unwind info.
35247 2010-09-06  Andreas Schwab  <schwab@redhat.com>
35249         * manual/Makefile: Don't mix pattern rules with normal rules.
35251 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35253         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35254         operation.
35255         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35256         * libio/iofopncook.c (_IO_cookie_init): Likewise.
35257         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35258         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35260         Likewise.
35262 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
35264         [BZ #11979]
35265         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35266         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35268 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
35270         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35271         * sysdeps/x86_64/addmul_1.S: Likewise.
35272         * sysdeps/x86_64/lshift.S: Likewise.
35273         * sysdeps/x86_64/mul_1.S: Likewise.
35274         * sysdeps/x86_64/rshift.S: Likewise.
35275         * sysdeps/x86_64/sub_n.S: Likewise.
35276         * sysdeps/x86_64/submul_1.S: Likewise.
35278 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35280         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35281         Define __sched_param instead of SCHED_* and sched_param when
35282         <bits/sched.h> is included with __need_schedparam defined.
35283         * bits/sched.h [__need_schedparam]
35284         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35285         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35286         (__defined_schedparam): Define to 1.
35287         (__sched_param): New structure, identical to sched_param.
35288         (__need_schedparam): Undefine.
35290 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
35292         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35293         (epoll_create1): Declare.
35295         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35297 2010-08-31  Andreas Schwab  <schwab@redhat.com>
35299         [BZ #7066]
35300         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35301         shifting retval into place.
35303 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
35305         * nis/rpcsvc/nis.h: Update copyright notice.
35306         * nis/rpcsvc/nis.x: Likewise.
35307         * nis/rpcsvc/nis_callback.h: Likewise.
35308         * nis/rpcsvc/nis_callback.x: Likewise.
35309         * nis/rpcsvc/nis_object.x: Likewise.
35310         * nis/rpcsvc/nis_tags.h: Likewise.
35311         * nis/rpcsvc/yp.h: Likewise.
35312         * nis/rpcsvc/yp.x: Likewise.
35313         * nis/rpcsvc/ypupd.h: Likewise.
35314         * nis/yp_xdr.c: Likewise.
35315         * nis/ypupdate_xdr.c: Likewise.
35317         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
35318         mainly the body of pmap_getport.  Add parameters to specify timeouts.
35319         (pmap_getport): Use __libc_rpc_getport.
35320         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35321         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35322         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35324 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
35326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35327         fanotify_mark.
35329 2010-08-27  Roland McGrath  <roland@redhat.com>
35331         * sysdeps/i386/i686/multiarch/Makefile
35332         (CFLAGS-varshift.c): New variable.
35334 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
35336         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35337         * sysdeps/i386/i686/multiarch/varshift.c: New file.
35339         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35341         * sysdeps/x86_64/strlen.S: Minimal code improvement.
35343 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
35345         * sysdeps/x86_64/strlen.S: Unroll the loop.
35346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35347         strlen-sse2 strlen-sse2-bsf.
35348         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35349         __strlen_no_bsf if bit_Slow_BSF is set.
35350         (__strlen_sse42): Removed.
35351         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35352         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35354 2010-08-25  Roland McGrath  <roland@redhat.com>
35356         * sysdeps/x86_64/multiarch/varshift.S: File removed.
35357         * sysdeps/x86_64/multiarch/varshift.c: New file.
35358         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35359         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35360         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35361         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35363 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
35365         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35366         strlen-sse2 strlen-sse2-bsf.
35367         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35368         __strlen_sse2_bsf if bit_Slow_BSF is unset.
35369         (__strlen_sse2): Removed.
35370         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35371         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35373         bit_Slow_BSF for Atom.
35374         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35375         (index_Slow_BSF): Define.
35376         (HAS_SLOW_BSF): Define.
35378 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
35380         [BZ #10851]
35381         * resolv/res_init.c (__res_vinit): When no server address at all
35382         is given default to loopback.
35384 2010-08-24  Roland McGrath  <roland@redhat.com>
35386         * configure.in: Remove config-name.h generation.
35387         * configure: Regenerated.
35388         * config-name.in: File removed.
35389         * scripts/config-uname.sh: New file.
35390         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35391         ($(objdir)config-name.h): New target.
35393         * sunrpc/rpc_parse.h: Avoid nested comment.
35395 2010-08-24  Richard Henderson  <rth@redhat.com>
35396             Ulrich Drepper  <drepper@redhat.com>
35397             H.J. Lu  <hongjiu.lu@intel.com>
35399         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35401         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35402         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
35403         _mm_alignr_epi8 with _mm_loadu_si128.
35404         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35405         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35406         (__m128i_shift_right): Removed.
35407         * sysdeps/i386/i686/multiarch/varshift.h: New file.
35408         * sysdeps/i386/i686/multiarch/varshift.S: New file.
35409         * sysdeps/x86_64/multiarch/varshift.h: New file.
35410         * sysdeps/x86_64/multiarch/varshift.S: New file.
35412 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
35414         * configure.in: Move assembler checks to before sysdep dir checking.
35416 2010-08-20  Petr Baudis  <pasky@suse.cz>
35418         * LICENSES: Sync the sunrpc license.
35420 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
35422         * sunrpc/auth_des.c: Update copyright notice once again.
35423         * sunrpc/auth_none.c: Likewise.
35424         * sunrpc/auth_unix.c: Likewise.
35425         * sunrpc/authdes_prot.c: Likewise.
35426         * sunrpc/authuxprot.c: Likewise.
35427         * sunrpc/bindrsvprt.c: Likewise.
35428         * sunrpc/clnt_gen.c: Likewise.
35429         * sunrpc/clnt_perr.c: Likewise.
35430         * sunrpc/clnt_raw.c: Likewise.
35431         * sunrpc/clnt_simp.c: Likewise.
35432         * sunrpc/clnt_tcp.c: Likewise.
35433         * sunrpc/clnt_udp.c: Likewise.
35434         * sunrpc/clnt_unix.c: Likewise.
35435         * sunrpc/des_crypt.c: Likewise.
35436         * sunrpc/des_soft.c: Likewise.
35437         * sunrpc/get_myaddr.c: Likewise.
35438         * sunrpc/getrpcport.c: Likewise.
35439         * sunrpc/key_call.c: Likewise.
35440         * sunrpc/key_prot.c: Likewise.
35441         * sunrpc/openchild.c: Likewise.
35442         * sunrpc/pm_getmaps.c: Likewise.
35443         * sunrpc/pm_getport.c: Likewise.
35444         * sunrpc/pmap_clnt.c: Likewise.
35445         * sunrpc/pmap_prot.c: Likewise.
35446         * sunrpc/pmap_prot2.c: Likewise.
35447         * sunrpc/pmap_rmt.c: Likewise.
35448         * sunrpc/rpc/auth.h: Likewise.
35449         * sunrpc/rpc/auth_unix.h: Likewise.
35450         * sunrpc/rpc/clnt.h: Likewise.
35451         * sunrpc/rpc/des_crypt.h: Likewise.
35452         * sunrpc/rpc/key_prot.h: Likewise.
35453         * sunrpc/rpc/netdb.h: Likewise.
35454         * sunrpc/rpc/pmap_clnt.h: Likewise.
35455         * sunrpc/rpc/pmap_prot.h: Likewise.
35456         * sunrpc/rpc/pmap_rmt.h: Likewise.
35457         * sunrpc/rpc/rpc.h: Likewise.
35458         * sunrpc/rpc/rpc_des.h: Likewise.
35459         * sunrpc/rpc/rpc_msg.h: Likewise.
35460         * sunrpc/rpc/svc.h: Likewise.
35461         * sunrpc/rpc/svc_auth.h: Likewise.
35462         * sunrpc/rpc/types.h: Likewise.
35463         * sunrpc/rpc/xdr.h: Likewise.
35464         * sunrpc/rpc_clntout.c: Likewise.
35465         * sunrpc/rpc_cmsg.c: Likewise.
35466         * sunrpc/rpc_common.c: Likewise.
35467         * sunrpc/rpc_cout.c: Likewise.
35468         * sunrpc/rpc_dtable.c: Likewise.
35469         * sunrpc/rpc_hout.c: Likewise.
35470         * sunrpc/rpc_main.c: Likewise.
35471         * sunrpc/rpc_parse.c: Likewise.
35472         * sunrpc/rpc_parse.h: Likewise.
35473         * sunrpc/rpc_prot.c: Likewise.
35474         * sunrpc/rpc_sample.c: Likewise.
35475         * sunrpc/rpc_scan.c: Likewise.
35476         * sunrpc/rpc_scan.h: Likewise.
35477         * sunrpc/rpc_svcout.c: Likewise.
35478         * sunrpc/rpc_tblout.c: Likewise.
35479         * sunrpc/rpc_util.c: Likewise.
35480         * sunrpc/rpc_util.h: Likewise.
35481         * sunrpc/rpcinfo.c: Likewise.
35482         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35483         * sunrpc/rpcsvc/key_prot.x: Likewise.
35484         * sunrpc/rpcsvc/klm_prot.x: Likewise.
35485         * sunrpc/rpcsvc/mount.x: Likewise.
35486         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35487         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35488         * sunrpc/rpcsvc/rex.x: Likewise.
35489         * sunrpc/rpcsvc/rstat.x: Likewise.
35490         * sunrpc/rpcsvc/rusers.x: Likewise.
35491         * sunrpc/rpcsvc/sm_inter.x: Likewise.
35492         * sunrpc/rpcsvc/spray.x: Likewise.
35493         * sunrpc/rpcsvc/yppasswd.x: Likewise.
35494         * sunrpc/rtime.c: Likewise.
35495         * sunrpc/svc.c: Likewise.
35496         * sunrpc/svc_auth.c: Likewise.
35497         * sunrpc/svc_authux.c: Likewise.
35498         * sunrpc/svc_raw.c: Likewise.
35499         * sunrpc/svc_run.c: Likewise.
35500         * sunrpc/svc_simple.c: Likewise.
35501         * sunrpc/svc_tcp.c: Likewise.
35502         * sunrpc/svc_udp.c: Likewise.
35503         * sunrpc/svc_unix.c: Likewise.
35504         * sunrpc/svcauth_des.c: Likewise.
35505         * sunrpc/xcrypt.c: Likewise.
35506         * sunrpc/xdr.c: Likewise.
35507         * sunrpc/xdr_array.c: Likewise.
35508         * sunrpc/xdr_float.c: Likewise.
35509         * sunrpc/xdr_mem.c: Likewise.
35510         * sunrpc/xdr_rec.c: Likewise.
35511         * sunrpc/xdr_ref.c: Likewise.
35512         * sunrpc/xdr_sizeof.c: Likewise.
35513         * sunrpc/xdr_stdio.c: Likewise.
35515         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35516         handling.
35518 2010-08-19  Andreas Schwab  <schwab@redhat.com>
35520         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35522 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
35524         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35525         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35526         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35527         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35528         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35529         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35530         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35531         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35532         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35533         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35534         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35535         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35536         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35537         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35539 2010-07-26  Anton Blanchard  <anton@samba.org>
35541         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35542         * malloc/arena.c (heap_trim): Likewise.
35544 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
35546         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35547         here.  Not...
35548         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35549         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35551 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35553         * sysdeps/i386/elf/Makefile: New file.
35555 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35557         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35558         from fanotify_init.
35559         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35560         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35562 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
35564         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35565         of strncasecmp_l.
35566         * sysdeps/multiarch/strcmp.S: Likewise.
35568 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
35570         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35571         strncase_l-nonascii.
35572         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35573         Add strncase_l-ssse3.
35574         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35575         * sysdeps/x86_64/strcmp.S: Likewise.
35576         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35577         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35578         * sysdeps/x86_64/strncase.S: New file.
35579         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35580         * sysdeps/x86_64/strncase_l.S: New file.
35581         * string/Makefile (strop-tests): Add strncasecmp.
35582         * string/test-strncasecmp.c: New file.
35584         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35585         warning.
35587         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35588         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35590 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35592         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35594 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
35596         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35597         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35598         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35600 2010-05-01  Alan Modra  <amodra@gmail.com>
35602         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35603         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35604         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35605         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35606         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35607         tidying.  Don't tail-call __sigjmp_save for static lib.
35608         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35609         save location.
35610         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35611         (CALL_MCOUNT): Add eh info, and nop after bl.
35612         (TAIL_CALL_SYSCALL_ERROR): New macro.
35613         (PSEUDO_RET): Use it.
35614         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35615         Correct save location of integer regs and cr.
35616         (_dl_profile_resolve): Correct cr save location.  Delete nops
35617         after bl when SHARED.  Reduce cfi size a little by better
35618         placement of cfi directives.
35619         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35620         make a stack frame.  Instead use parm save area as a temp.
35621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35622         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
35623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35624         Don't make a stack frame for parent, use parm save area.
35625         Increase child stack frame to 112 bytes.  Don't save unused reg,
35626         and adjust reg usage.  Set up cfi on error recovery and
35627         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35629         (__makecontext): Add dummy nop after jump to exit.
35630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35631         Use correct parm save area and cr save, reduce stack frame.
35632         Correct cfi for possible PSEUDO_RET frame setup.
35633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35634         Branch to local label emitted by PSEUDO_RET rather than
35635         __syscall_error.
35637 2010-08-12  Andreas Schwab  <schwab@redhat.com>
35639         [BZ #11904]
35640         * locale/programs/locale.c (print_assignment): New function.
35641         (show_locale_vars): Use it.
35643 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
35645         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35646         field.
35647         (struct statfs64): Likewise.
35648         (_STATFS_F_FLAGS): Define.
35649         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35650         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35651         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35652         (ST_VALID): Define locally.
35653         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35654         __statvfs_getflags, use the provided value.
35655         * sysdeps/unix/sysv/linux/kernel-features.h: Define
35656         __ASSUME_STATFS_F_FLAGS.
35658         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35660         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35661         Add sys/fanotify.h.
35662         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35663         fanotify_mask for GLIBC_2.13.
35664         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35665         fanotify_init and fanotify_mark.
35666         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35667         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35669         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35670         Add prlimit.
35671         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35672         prlimit64 for GLIBC_2.13.
35673         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35674         prlimit64.
35675         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35676         syscall.
35677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35679         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35680         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35681         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
35682         add prlimit alias.
35683         * sysdeps/unix/sysv/linux/prlimit.c: New file.
35685         [BZ #11903]
35686         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35687         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35689         * nss/Makefile: Add rules to build and run tst-nss-test1.
35690         * shlib-versions: Add entry for libnss_test1.
35691         * nss/nss_test1.c: New file.
35692         * nss/tst-nss-test1.c: New file.
35694         * nss/nsswitch.c (__nss_database_custom): Define new variable.
35695         (__nss_configure_lookup): Set appropriate entry in
35696         __nss_configure_lookup to true.
35697         * nss/nsswitch.h: Define enum with indeces of databases in
35698         databases and __nss_database_custom arrays.  Declare
35699         __nss_database_custom.
35700         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35701         to avoid using nscd when custom rules are installed.
35702         * nss/getXXbyYY_r.c: Likewise.
35703         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35705         * nss/nss_files/files-parse.c: Whitespace fixes.
35707 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
35709         [BZ #11883]
35710         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35711         * posix/fnmatch_loop.c: Likewise.
35713 2010-07-17  Andi Kleen  <ak@linux.intel.com>
35715         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35716         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35717         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35718         * Versions.def [GLIBC_2.13]: Add.
35720 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
35722         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35723         Also fail if tpwd after pwuid call is NULL.
35725 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35727         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35728         when converting to ms.
35730 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35732         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35733         EOPNOTSUPP errors with ENOTTY.
35734         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35735         EOPNOTSUPP errors with ENOTTY.
35737 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
35739         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35740         Add strcasecmp_l-ssse3.
35741         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35742         strcasecmp.
35743         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35744         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35745         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35747 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
35749         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35751         * string/Makefile (strop-tests): Add strcasecmp.
35752         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35753         strcasecmp_l-nonascii.
35754         (gen-as-const-headers): Add locale-defines.sym.
35755         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35756         * sysdeps/x86_64/strcasecmp.S: New file.
35757         * sysdeps/x86_64/strcasecmp_l.S: New file.
35758         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35759         * sysdeps/x86_64/locale-defines.sym: New file.
35760         * string/test-strcasecmp.c: New file.
35762         * string/test-strcasestr.c: Test both ends of the range of characters.
35763         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35765 2010-07-29  Roland McGrath  <roland@redhat.com>
35767         [BZ #11856]
35768         * manual/locale.texi (Yes-or-No Questions): Fix example code.
35770 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
35772         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35773         for ld.so.
35775 2010-07-27  Andreas Schwab  <schwab@redhat.com>
35777         * manual/memory.texi (Malloc Tunable Parameters): Document
35778         M_PERTURB.
35780 2010-07-26  Roland McGrath  <roland@redhat.com>
35782         [BZ #11840]
35783         * configure.in (-fgnu89-inline check): Set and substitute
35784         gnu89_inline, not libc_cv_gnu89_inline.
35785         * configure: Regenerated.
35786         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35788 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35790         * string/test-strnlen.c: New file.
35791         * string/Makefile (strop-tests): Add strnlen.
35792         * string/tester.c (test_strnlen): Add a few more test cases.
35793         * string/tst-strlen.c: Better error reporting.
35795         * sysdeps/x86_64/strnlen.S: New file.
35797 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35799         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35800         lower-latency instructions.
35802 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35804         * string/test-strcasestr.c: New file.
35805         * string/test-strstr.c: New file.
35806         * string/Makefile (strop-tests): Add strstr and strcasestr.
35807         * string/str-two-way.h: Don't undefine MAX.
35808         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35810 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35813         strcasestr-nonascii.
35814         (CFLAGS-strcasestr-nonascii.c): Define.
35815         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35816         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35817         Remove unused attribute.
35819 2010-07-20  Roland McGrath  <roland@redhat.com>
35821         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35822         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35823         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35824         like LD_HWCAP_MASK can disable hwcaps.
35826 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35828         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35830 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35832         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35833         call in strcasestr.
35834         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35835         __strcasestr_sse42_nonascii.
35836         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35837         strcasestr-nonascii.c.
35838         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35840 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35842         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35843         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35844         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35845         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35847 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35849         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35850         fcntl.
35852 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35854         [BZ #11577]
35855         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35856         dl_signal_cerror.
35858 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35860         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35861         _PC_PIPE_BUF using F_GETPIPE_SZ.
35863 2010-07-05  Roland McGrath  <roland@redhat.com>
35865         * manual/arith.texi (Rounding Functions): Fix rint description
35866         implicit in round description.
35868 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35870         * elf/Makefile: Fix linking for a few tests to make recent linker
35871         happy.
35873 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35875         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35876         $(common-objpfx)libc_nonshared.a.
35878 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35880         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35881         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35882         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35883         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35884         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35885         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35886         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35887         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35902         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35903         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35904         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35905         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35906         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35907         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35908         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35909         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35910         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35911         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35912         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35913         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35929 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35931         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35932         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35933         * string/memmove.c (memmove): Renamed to ...
35934         (MEMMOVE): ...this.  Default to memmove.
35935         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35936         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35937         (END_CHK): Define.
35938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35939         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35940         mempcpy-ssse3-back memmove-ssse3-back.
35941         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35942         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35943         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35944         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35945         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35946         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35947         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35948         * sysdeps/x86_64/multiarch/memmove.c: New file.
35949         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35950         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35951         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35952         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35953         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35954         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35955         Define.
35956         (index_Fast_Copy_Backward): Define.
35957         (HAS_ARCH_FEATURE): Define.
35958         (HAS_FAST_REP_STRING): Define.
35959         (HAS_FAST_COPY_BACKWARD): Define.
35961 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35963         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35964         Restore proper fallback handling.
35966 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35968         [BZ #11701]
35969         * posix/group_member.c (__group_member): Correct checking loop.
35971         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35972         OOM in getpwuid_r correctly.  Return error number when the caller
35973         should return, otherwise -1.
35974         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35975         call returning > 0 value.
35976         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35978 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35980         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35981         libc_nonshared.a from targets in modules-names.
35983 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35985         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35986         requires it.
35988 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35990         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35991         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35992         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35993         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35995 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35997         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35999 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
36001         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36002         and F_GETPIPE_SZ.
36003         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36004         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36005         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36006         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36007         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36008         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36010 2010-06-14  Roland McGrath  <roland@redhat.com>
36012         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36014 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
36016         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36017         __REDIRECT followed by __THROW.
36018         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36019         * posix/getopt.h (getopt): Likewise.
36021 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36023         * hurd/lookup-at.c (__file_name_lookup_at): Accept
36024         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
36025         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36026         in AT_FLAGS.
36027         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36028         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36030 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
36032         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36034 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
36036         [BZ #11640]
36037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36038         Properly check family and model.
36040 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
36042         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36044 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
36046         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36048 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
36050         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36051         symbol reference.
36053 2010-05-19  Andreas Schwab  <schwab@redhat.com>
36055         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36056         symbol reference.
36058 2010-05-21  Andreas Schwab  <schwab@redhat.com>
36060         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36061         and internal_recvmmsg.
36062         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36063         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36064         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36065         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36067         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36068         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36069         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36071 2010-05-20  Andreas Schwab  <schwab@redhat.com>
36073         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36075 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
36077         POWER7 optimizations.
36078         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36079         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36081 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
36083         * version.h: Update for 2.13 development version.
36085 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
36087         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36088         exceptions.  Return 0.
36090 2010-05-07  Roland McGrath  <roland@redhat.com>
36092         * elf/ldconfig.c (main): Add a const.
36094 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
36096         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36097         (args_options): Add no-idn option.
36098         (ahosts_keys_int): Add idn_flags to ai_flags.
36099         (parse_option): Handle 'i' option to clear idn_flags.
36101         * malloc/malloc.c (_int_free): Possible race in the most recently
36102         added check.  Only act on the data if no current modification
36103         happened.
36105 See ChangeLog.17 for earlier changes.