Add bug numbers 926, 4772 and 16274 to NEWS.
[glibc.git] / ChangeLog
blobcf60c7741d320d7fddd901b0134c445d251e564e
1 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #6807]
4         [BZ #15901]
5         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6         * math/w_j0f.c (y0f): Likewise.
7         * math/w_j0l.c (__y0l): Likewise.
8         * math/w_j1.c (y1): Likewise.
9         * math/w_j1f.c (y1f): Likewise.
10         * math/w_j1l.c (__y1l): Likewise
11         * math/w_jn.c (yn): Likewise.
12         * math/w_jnf.c (ynf): Likewise.
13         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15         value for Bessel function domain errors outside _SVID_ mode.
16         Adjust sign of return value for yn (negative integer, 0).
17         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18         by zero in return for negative x and set sign appropriately for
19         negative n.
20         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22         * math/libm-test.inc (y0_test_data): Add more tests and adjust
23         expectations in error cases.
24         (y1_test_data): Likewise.
25         (yn_test_data): Likewise.
26         * sysdeps/i386/fpu/libm-test-ulps: Update.
27         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32         "64" to "64-v1".  Add "64-v2".
33         (abi-64-options): Rename to ...
34         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35         (abi-64-condition): Rename to ...
36         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37         (abi-64-ld-soname): Rename to ...
38         (abi-64-v1-ld-soname): ... this.
39         (abi-64-v2-options): Define.
40         (abi-64-v2-condition): Likewise.
41         (abi-64-v2-ld-soname): Likewise.
42         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
48 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49             Alan Modra  <amodra@gmail.com>
51         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
52         New versions for use with the ELFv2 ABI.
53         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
55         declaration.
56         (struct La_ppc64v2_retval): Likewise.
57         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
61         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
62         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63         Do not save or restore CR.
64         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
65         (_dl_profile_resolve): Do no save or restore CR.  Support extended
66         return values for ELFv2 ABI.  Fix location of FPR return registers.
67         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
68         updated values for _CALL_ELF == 2.
69         (La_regs, La_retval, int_retval): Likewise.
71 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
73         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
74         (FRAME_MIN_SIZE_PARM): Likewise.
75         (FRAME_BACKCHAIN): Likewise.
76         (FRAME_CR_SAVE): Likewise.
77         (FRAME_LR_SAVE): Likewise.
78         (FRAME_TOC_SAVE): Likewise.
79         (FRAME_PARM_SAVE): Likewise.
80         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
81         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
82         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
83         (call_mcount_parm_offset): New macro.
84         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
85         (PROF): Use symbolic stack frame offsets.
86         (TAIL_CALL_SYSCALL_ERROR): Likewise.
87         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
88         Redefine in terms of FRAME_MIN_SIZE.
89         (_dl_runtime_resolve): Use symbolic stack frame offsets.
90         (_dl_profile_resolve): Likewise.  Update comment.
91         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
92         symbols stack frame offsets.
93         (__sigsetjmp): Likewise.
94         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
95         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
96         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
97         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
99         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
100         (FRAME_BACKCHAIN): Remove.
101         (FRAME_CR_SAVE): Likewise.
102         (FRAME_LR_SAVE): Likewise.
103         (FRAME_COMPILER_DW): Likewise.
104         (FRAME_LINKER_DW): Likewise.
105         (FRAME_TOC_SAVE): Likewise.
106         (FRAME_PARM_SAVE): Likewise.
107         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
108         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
109         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
111         (CHECK_SP): Use symbolic stack frame offsets.
112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
113         zone" instead of caller's parameter save area for temp storage.
114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
115         Likewise.  Also, use symbolic stack frame offsets.
116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
117         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
118         our own stack frame instead of the caller's.
119         (__socket): Use symbolic stack frame offsets.
121 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
122             Alan Modra  <amodra@gmail.com>
124         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
125         Define.
126         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
127         PPC64_LOCAL_ENTRY_OFFSET): Define.
128         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
129         New function.
130         (elf_machine_fixup_plt): Call it.
131         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
132         reloc arguments.
133         (elf_machine_rela): Update call to elf_machine_plt_conflict.
134         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
135         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
136         r2 before calling target.
138 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
139             Alan Modra  <amodra@gmail.com>
141         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
142         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
143         versions of macros to support ELFv2 ABI.
144         (LOCALENTRY): New macro.
145         (ENTRY, EALIGN): Use it.
146         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
147         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
148         fall through into ENTRY entry point.
149         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
150         Only define if _CALL_ELF != 2.
152         (elf_machine_matches_host): Verify ABI version matches.
153         (RTLD_START): Use LOCALENTRY.
154         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
155         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
156         (PLT_ENTRY_WORDS): New macro.
157         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
158         (elf_machine_runtime_setup): Support ELFv2 ABI.
159         (elf_machine_fixup_plt): Likewise.
160         (elf_machine_plt_conflict): Likewise.
161         (resolve_ifunc): Likewise.
162         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
163         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
164         Likewise.
165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
166         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
168         (makecontext): Support ELFv2 ABI.
169         * elf/elf.h (EF_PPC64_ABI): Define.
171 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
173         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
174         New assembler macro.
175         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
176         [ASSEMBLER] (ENTRY): ... but instead here ...
177         [ASSEMBLER] (EALIGN): ... and here.
178         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
179         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
180         [!ASSEMBLER] (ENTRY_2): Use it.
181         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
182         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
183         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
184         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
185         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
187         Use PPC64_LOAD_FUNCPTR.
189 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
191         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
193 2013-12-04  Alan Modra  <amodra@gmail.com>
195         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
196         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
197         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
198         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
200         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
201         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
202         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
203         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
204         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
205         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
207 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
210         (__makecontext): Fix incorrect CFI when backtracing out of
211         context created via makecontext.
212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
213         (__setcontext): Fix incorrect CFI during switch to new context.
214         (__novec_setcontext): Likewise.
216 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
218         [BZ #4772]
219         * time/strptime_l.c (__strptime_internal): Allow modifiers
220         in strptime.
221         * time/tst-strptime.c (day_tests): Add testcase.
224 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
226         * scripts/bench.pl: Skip over blank lines.
228 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
230         [BZ #926]
231         * manual/time.texi (Calendar Time): Clarify what timezone functions
232         use.
234 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
238 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
240         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
241         implementation.
242         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
243         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
244         * debug/memset_chk.c (__memset_chk): Likewise.
245         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
246         * debug/strncpy_chk.c: Likewise.
248 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
250         [BZ #15268]
251         [BZ #15425]
252         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
253         (__ieee754_exp): For possibly underflowing results, check size of
254         result and force underflow exception if required.
255         * math/auto-libm-test-in: Add more tests of exp.
256         * math/auto-libm-test-out: Regenerated.
257         * sysdeps/i386/fpu/libm-test-ulps: Update.
258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
260         [BZ #16283]
261         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
262         * math/w_exp2f.c (__exp2f): Likewise.
263         * math/w_exp2l.c (__exp2l): Likewise.
264         * math/auto-libm-test-in: Do not allow missing errno on exp2
265         underflow.
266         * math/auto-libm-test-out: Regenerated.
268 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
270         [BZ #16274]
271         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
272         handle filename validation.
273         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
274         (do_open): Delete.
276 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
278         [BZ #6786]
279         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
280         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
281         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
282         <float.h>.
283         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
284         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
285         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
287         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
288         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
289         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
290         * math/auto-libm-test-in: Don't allow missing errno from erfc.
291         Add more erfc tests.
292         * math/auto-libm-test-out: Regenerated.
293         * sysdeps/i386/fpu/libm-test-ulps: Update.
294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
296         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
297         exp2, expm1, j0 and j1.
298         * math/auto-libm-test-out: Regenerated.
299         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
300         (erfc_test_data): Likewise.
301         (exp_test_data): Likewise.
302         (exp_tonearest_test_data): Likewise.
303         (exp_towardzero_test_data): Likewise.
304         (exp_downward_test_data): Likewise.
305         (exp_upward_test_data): Likewise.
306         (exp10_test_data): Likewise.
307         (exp2_test_data): Likewise.
308         (expm1_test_data): Likewise.
309         (j0_test_data): Likewise.
310         (j1_test_data): Likewise.
311         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
312         (input_flag_type): Add flag_xfail_rounding.
313         (input_flags): Add xfail-rounding.
314         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
315         (output_for_one_input_case): Handle flag_xfail_rounding.
316         * sysdeps/i386/fpu/libm-test-ulps: Update.
317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
319 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
321         [BZ #16289]
322         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
323         division by 0.
325 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
327         [BZ #16195]
328         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
329         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
330         (STAP_PROBE0): New macro.
331         (STAP_PROBE1): Likewise.
332         (STAP_PROBE2): Likewise.
333         (STAP_PROBE3): Likewise.
334         (STAP_PROBE4): Likewise.
336 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
338         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
340 2013-12-02  Steve Ellcey  <sellcey@mips.com>
342         * benchtests/Makefile (bench): Add sqrt.
343         (LDLIBS-bench-sqrt): New.
344         * benchtests/sqrt-input: New.
346 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
348         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
349         (GAIH_EAI): Likewise.
350         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
351         (gaih_inet): Likewise.
352         (getaddrinfo): Don't use GAIH_EAI.
354         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
355         (struct gaih): Remove definition.
357 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
359         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
360         Use HERRNOP directly.
362 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
366 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
368         * math/gen-auto-libm-tests.c (test_functions): Add more
369         single-argument functions.
370         (special_fill_pi_2): New function.
371         (special_fill_minus_pi_2): Likewise.
372         (special_fill_pi_6): Likewise.
373         (special_fill_minus_pi_6): Likewise.
374         (special_fill_pi_3): Likewise.
375         (special_fill_2pi_3): Likewise.
376         (special_fill_e): Likewise.
377         (special_fill_1_e): Likewise.
378         (special_fill_e_minus_1): Likewise.
379         (special_real_inputs): Add more special inputs.
380         (output_for_one_input_case): Do not require ERANGE on underflow to
381         zero if round-to-nearest result does not underflow to zero, unless
382         exact results required.
383         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
384         atan, atanh, cbrt, cos and cosh.
385         * math/auto-libm-test-out: Regenerated.
386         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
387         (acos_tonearest_test_data): Likewise.
388         (acos_towardzero_test_data): Likewise.
389         (acos_downward_test_data): Likewise.
390         (acos_upward_test_data): Likewise.
391         (acosh_test_data): Likewise.
392         (asin_test_data): Likewise.
393         (asin_tonearest_test_data): Likewise.
394         (asin_towardzero_test_data): Likewise.
395         (asin_upward_test_data): Likewise.
396         (asinh_test_data): Likewise.
397         (atan_test_data): Likewise.
398         (atanh_test_data): Likewise.
399         (cbrt_test_data): Likewise.
400         (cos_test_data): Likewise.
401         (cos_tonearest_test_data): Likewise.
402         (cos_towardzero_test_data): Likewise.
403         (cos_downward_test_data): Likewise.
404         (cos_upward_test_data): Likewise.
405         (cosh_test_data): Likewise.
406         (cosh_tonearest_test_data): Likewise.
407         (cosh_towardzero_test_data): Likewise.
408         (cosh_downward_test_data): Likewise.
409         (cosh_upward_test_data): Likewise.
410         * sysdeps/i386/fpu/libm-test-ulps: Update.
411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
413 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
415         [BZ #6787]
416         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
417         * math/w_exp10f.c (__exp10f): Likewise.
418         * math/w_exp10l.c (__exp10l): Likewise.
419         * math/libm-test.inc (exp10_test_data): Add more tests and expect
420         errno settings in existing tests.
422         [BZ #14032]
423         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
424         precision control set to double precision.
425         * sysdeps/i386/fpu/w_sqrt.c: New file.
426         * math/auto-libm-test-in: Add more tests.
427         * math/auto-libm-test-out: Update.
429         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
430         (sqrt_test_tonearest): New function.
431         (sqrt_towardzero_test_data): New variable.
432         (sqrt_test_towardzero): New function.
433         (sqrt_downward_test_data): New variable.
434         (sqrt_test_downward): New function.
435         (sqrt_upward_test_data): New variable.
436         (sqrt_test_upward): New function.
437         (main): Call the new functions.
439         * math/gen-auto-libm-tests.c: New file.
440         * math/auto-libm-test-in: Likewise.
441         * math/auto-libm-test-out: New generated file.
442         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
443         variables.
444         (%beautify): Add generated representations of zero.
445         (top level): Set $auto_input and call parse_auto_input.
446         (beautify): Remove trailing "f" from hex float constants.
447         (parse_args): Handle XFAIL_TEST.
448         (convert_condition): New function.
449         (or_value): Likewise.
450         (or_cond_value): Likewise.
451         (generate_testfile): Handle AUTO_TESTS_* lines.
452         (parse_auto_input): New function.
453         * math/libm-test.inc (XFAIL_TEST): New macro.
454         (ERRNO_UNCHANGED): Update value.
455         (ERRNO_EDOM): Likewise.
456         (ERRNO_ERANGE): Likewise.
457         (IGNORE_RESULT): Likewise.
458         (TEST_COND_flt_32): New macro.
459         (TEST_COND_dbl_64): Likewise.
460         (TEST_COND_ldbl_96_intel): Likewise.
461         (TEST_COND_ldbl_96_m68k): Likewise.
462         (TEST_COND_ldbl_128): Likewise.
463         (TEST_COND_ldbl_128ibm): Likewise.
464         (TEST_COND_long32): Likewise.
465         (TEST_COND_long64): Likewise.
466         (TEST_COND_before_rounding): Likewise.
467         (TEST_COND_after_rounding): Likewise.
468         (enable_test): Handle XFAIL_TEST flag.
469         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
470         with finite results.
471         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
472         auto-libm-test-out.
474 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
475             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
477         [BZ #16214]
478         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
479         __tls_get_addr_internal instead of __tls_get_offset in order to
480         avoid GOT pointer dependency.  Make rtld export
481         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
482         __tls_get_addr since we are a __tls_get_offset platform.
483         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
484         GOT pointer being set up before.
485         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
487 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
489         * manual/math.texi (Errors in Math Functions): Document accuracy
490         goals.
492         [BZ #15004]
493         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
494         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
495         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
496         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
497         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
498         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
499         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
500         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
501         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
502         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
503         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
504         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
505         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
506         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
507         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
508         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
510         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
511         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
512         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
513         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
514         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
515         Likewise.
516         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
517         Likewise.
518         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
519         Likewise.
520         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
521         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
522         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
523         atomic-feupdateenv and flt-rounds.
524         * sysdeps/powerpc/nofpu/Versions (libc): Add
525         __atomic_feholdexcept, __atomic_feclearexcept,
526         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
527         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
528         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
529         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
530         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
531         here.
532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
533         Update.
535         * manual/arith.texi (FP Exceptions): Document that exceptions may
536         not be raised when matherr is used.
537         (Math Error Reporting): Document overflow in directed rounding
538         modes.  Document that errno may not be set when finite values are
539         returned on overflow.  Document intent to set errno on underflow
540         only for underflow to zero.
542         [BZ #16271]
543         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
544         round-to-nearest then adjust result for other rounding modes.
545         * include/fenv.h (fegetround): Use libm_hidden_proto.
546         * math/fegetround.c (fegetround): Use libm_hidden_def.
547         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
548         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
549         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
550         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
551         Likewise.
552         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
553         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
554         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
555         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
557 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
559         [BZ #16077]
560         * nss/Versions (libnss_files): Add
561         _nss_files_gethostbyname3_r.
562         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
563         New function.
564         (HOST_DB_LOOKUP): Remove macro.
565         (_nss_files_gethostbyname_r): Implement function without the
566         HOST_DB_LOOKUP macro.
567         (_nss_files_gethostbyname2_r): Likewise.
569 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
571         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
573 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
575         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
576         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
577         warning.
579 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
581         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
582         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
583         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
584         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
585         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
586         __fe_nomask_env_priv and attribute_hidden.
587         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
588         (libc_feupdateenv_test_ppc): Likewise.
589         (libc_feresetround_ppc): Likewise.
590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
591         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
592         compat_symbol macro.
593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
594         (__fe_nomask_env): Likewise.
595         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
597 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
599         * string/Makefile: Remove ifunc tests.
600         * string/test-string.h: Define TEST_IFUNC.
601         * string/test-bcopy-ifunc.c: Remove.
602         * string/test-bzero-ifunc.c: Likewise.
603         * string/test-memccpy-ifunc.c: Likewise.
604         * string/test-memchr-ifunc.c: Likewise.
605         * string/test-memcmp-ifunc.c: Likewise.
606         * string/test-memcpy-ifunc.c: Likewise.
607         * string/test-memmem-ifunc.c: Likewise.
608         * string/test-memmove-ifunc.c: Likewise.
609         * string/test-mempcpy-ifunc.c: Likewise.
610         * string/test-memrchr-ifunc.c: Likewise.
611         * string/test-memset-ifunc.c: Likewise.
612         * string/test-rawmemchr-ifunc.c: Likewise.
613         * string/test-stpcpy-ifunc.c: Likewise.
614         * string/test-stpncpy-ifunc.c: Likewise.
615         * string/test-strcasecmp-ifunc.c: Likewise.
616         * string/test-strcasestr-ifunc.c: Likewise.
617         * string/test-strcat-ifunc.c: Likewise.
618         * string/test-strchr-ifunc.c: Likewise.
619         * string/test-strchrnul-ifunc.c: Likewise.
620         * string/test-strcmp-ifunc.c: Likewise.
621         * string/test-strcpy-ifunc.c: Likewise.
622         * string/test-strcspn-ifunc.c: Likewise.
623         * string/test-strlen-ifunc.c: Likewise.
624         * string/test-strncasecmp-ifunc.c: Likewise.
625         * string/test-strncat-ifunc.c: Likewise.
626         * string/test-strncmp-ifunc.c: Likewise.
627         * string/test-strncpy-ifunc.c: Likewise.
628         * string/test-strnlen-ifunc.c: Likewise.
629         * string/test-strpbrk-ifunc.c: Likewise.
630         * string/test-strrchr-ifunc.c: Likewise.
631         * string/test-strspn-ifunc.c: Likewise.
632         * string/test-strstr-ifunc.c: Likewise.
634 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
636         * benchtests/Makefile: Remove ifunc tests.
637         * benchtests/bench-string.h: Define TEST_IFUNC.
638         * benchtests/bench-bcopy-ifunc.c: Remove.
639         * benchtests/bench-bzero-ifunc.c: Likewise.
640         * benchtests/bench-memccpy-ifunc.c: Likewise.
641         * benchtests/bench-memchr-ifunc.c: Likewise.
642         * benchtests/bench-memcmp-ifunc.c: Likewise.
643         * benchtests/bench-memcpy-ifunc.c: Likewise.
644         * benchtests/bench-memmem-ifunc.c: Likewise.
645         * benchtests/bench-memmove-ifunc.c: Likewise.
646         * benchtests/bench-mempcpy-ifunc.c: Likewise.
647         * benchtests/bench-memrchr-ifunc.c: Likewise.
648         * benchtests/bench-memset-ifunc.c: Likewise.
649         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
650         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
651         * benchtests/bench-stpcpy-ifunc.c: Likewise.
652         * benchtests/bench-stpncpy-ifunc.c: Likewise.
653         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
654         * benchtests/bench-strcasestr-ifunc.c: Likewise.
655         * benchtests/bench-strcat-ifunc.c: Likewise.
656         * benchtests/bench-strchr-ifunc.c: Likewise.
657         * benchtests/bench-strchrnul-ifunc.c: Likewise.
658         * benchtests/bench-strcmp-ifunc.c: Likewise.
659         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
660         * benchtests/bench-strcpy-ifunc.c: Likewise.
661         * benchtests/bench-strcspn-ifunc.c: Likewise.
662         * benchtests/bench-strlen-ifunc.c: Likewise.
663         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
664         * benchtests/bench-strncat-ifunc.c: Likewise.
665         * benchtests/bench-strncmp-ifunc.c: Likewise.
666         * benchtests/bench-strncpy-ifunc.c: Likewise.
667         * benchtests/bench-strnlen-ifunc.c: Likewise.
668         * benchtests/bench-strpbrk-ifunc.c: Likewise.
669         * benchtests/bench-strrchr-ifunc.c: Likewise.
670         * benchtests/bench-strsep-ifunc.c: Likewise.
671         * benchtests/bench-strspn-ifunc.c: Likewise.
672         * benchtests/bench-strstr-ifunc.c: Likewise.
674 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
676         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
678 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
680         * resolv/netdb.h: Use __glibc_reserved instead __unused.
681         * rt/aio.h: Likewise.
682         * sysdeps/gnu/bits/utmp.h: Likewise.
683         * sysdeps/gnu/bits/utmpx.h: Likewise.
684         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
685         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
686         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
687         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
688         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
689         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
690         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
691         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
692         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
693         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
694         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
695         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
696         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
699         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
700         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
701         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
702         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
703         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
704         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
705         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
706         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
707         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
708         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
709         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
710         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
711         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
712         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
713         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
714         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
715         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
716         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
717         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
718         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
719         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
720         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
721         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
722         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
723         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
724         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
725         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
727 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
729         [BZ #16245]
730         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
731         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
733 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
735         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
736         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
737         Likewise.
739 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
741         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
742         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
743         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
744         (__fesetround): Remove define.
745         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
746         rounding and exceptions handling.
747         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
748         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
749         (__fe_nomask_env): Likewise.
750         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
751         __fegetround instead of fegetround.
752         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
753         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
755 2013-11-21  Roland McGrath  <roland@hack.frob.com>
757         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
758         it's there.
760         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
762 2013-11-21  Meador Inge  <meadori@codesourcery.com>
764         [BZ #11157]
765         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
766         (encrypt_r): Likewise.
767         * malloc/obstack.h (obstack_free): Likewise.
768         * posix/unistd.h (encrypt): Likewise.
770 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
772         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
773         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
774         DL_CALL_DT_FINI() that call the functions directly.
775         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
776         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
777         * elf/dl-fini.c: Likewise.
779 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
781         * malloc/hooks.c (memalign_check): Add alignment rounding.
782         * malloc/malloc.c (_mid_memalign): New function.
783         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
784         Implement by calling _mid_memalign.
785         * manual/probes.texi (Memory Allocation Probes): Remove
786         memory_valloc_retry and memory_pvalloc_retry.
788 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
790         * locale/programs/locarchive.c (open_archive): Add const
791         qualifier to ARCHIVEFNAME and copy default fname to
792         DEFAULT_FNAME.
794         [BZ #15601]
795         * libio/tst-widetext.input: Rename Oriya to Odia.
796         * locale/iso-639.def: Likewise.
798         * manual/probes.texi (Mathematical Function Probes): Add
799         documentation for sin, cos, asin and acos probes.
800         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
801         (__sin32): Add slowasin probe.
802         (__cos32): Add slowacos probe.
803         (__mpsin): Add slowsin probe.
804         (__mpcos): Add slowcos probe.
806 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
808         [BZ #15483]
809         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
810         thread-local __sim_exceptions_thread and global
811         __sim_exceptions_global.
812         (__sim_disabled_exceptions): Change to thread-local
813         __sim_disabled_exceptions_thread and global
814         __sim_disabled_exceptions_global.
815         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
816         and global __sim_round_mode_global.
817         (__simulate_exceptions): Use thread-local floating-point state and
818         set global state from it as needed.
819         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
820         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
821         __sim_round_mode_thread.
822         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
823         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
824         and global __sim_exceptions_global.
825         (__sim_disabled_exceptions): Change to thread-local
826         __sim_disabled_exceptions_thread and global
827         __sim_disabled_exceptions_global.
828         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
829         and global __sim_round_mode_global.
830         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
831         (SIM_SET_GLOBAL): Likewise.
832         * sysdeps/powerpc/soft-fp/sfp-machine.h
833         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
834         __sim_round_mode_thread.
835         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
836         __sim_disabled_exceptions_thread.
837         (__sim_exceptions): Change to __sim_exceptions_thread.
838         (__sim_disabled_exceptions): Change to
839         __sim_disabled_exceptions_thread.
840         (__sim_round_mode): Change to __sim_round_mode_thread.
841         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
842         thread-local floating-point state and set global state from it as
843         needed.
844         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
845         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
846         (__sim_disabled_exceptions): Remove extern declaration.
847         (feenableexcept): Use thread-local floating-point state and set
848         global state from it as needed.
849         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
850         extern declaration.
851         (__sim_disabled_exceptions): Likewise.
852         (__sim_round_mode): Likewise.
853         (__fegetenv): Use thread-local floating-point state.
854         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
855         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
856         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
857         floating-point state and set global state from it as needed.
858         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
859         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
860         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
861         Likewise.
862         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
863         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
864         Likewise.
865         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
866         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
867         Use __sim_round_mode_thread.
868         * math/test-fenv-tls.c: New file.
869         * math/Makefile (tests): Add test-fenv-tls.
870         ($(objpfx)test-fenv-tls): Depend on
871         $(common-objpfx)nptl/libpthread.so.
873 2013-11-19  Andreas Schwab  <schwab@suse.de>
875         * locale/programs/locale.c (show_info): Decode wordarray elements.
876         * locale/categories.def (LC_MONETARY): Add element for
877         _NL_MONETARY_CRNCYSTR.
878         * locale/C-monetary.c (conversion_rate): New variable.
879         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
880         element.
882 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
884         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
885         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
887 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
889         * elf/Makefile (tst-auxv): New test.
890         * elf/tst-auxv.c: New
891         * elf/rtld.c (dl_main): Adjust AT_EXECFN
893 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
895         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
896         (hidden_proto): Caller changed.
897         (hidden_tls_proto): New macro.
898         (libc_hidden_tls_proto): Likewise.
899         (rtld_hidden_tls_proto): Likewise.
900         (libm_hidden_tls_proto): Likewise.
901         (libresolv_hidden_tls_proto): Likewise.
902         (librt_hidden_tls_proto): Likewise.
903         (libdl_hidden_tls_proto): Likewise.
904         (libnss_files_hidden_tls_proto): Likewise.
905         (libnsl_hidden_tls_proto): Likewise.
906         (libnss_nisplus_hidden_tls_proto): Likewise.
907         (libutil_hidden_tls_proto): Likewise.
909 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
911         [BZ #10253]
912         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
913         (decompose_rpath): Defer expansion to fillin_rpath.
914         (_dl_init_paths): Pass linkmap to fillin_rpath.
916 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
918         * benchtests/Makefile: Add strsep.
919         * benchtests/bench-strsep.c: New file: strsep benchtest.
920         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
922 2013-11-18  Andreas Schwab  <schwab@suse.de>
924         * locale/programs/locale.c (show_info) [case byte]: Check for
925         '\377' instead of '\177'.
926         * locale/C-monetary.c (not_available): Always use "\377".
927         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
928         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
929         detect unavailable sign_posn locale elements.
930         * locale/localeconv.c (__localeconv): For grouping and
931         mon_grouping handle "\177" and "\377" like no grouping.
932         (INT_ELEM): New macro.  Use it to set all numeric members.
933         * locale/programs/ld-monetary.c (monetary_read)
934         <tok_mon_grouping>: Normalize single -1 to the empty string.
935         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
936         Likewise.
938 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
940         [BZ #16055]
941         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
942         when we match (nil).
943         * stdio-common/tst-sscanf.c (struct test): Add testcase.
945 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
947         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
948         (NO_TEST_INLINE): Update value.
949         (ERRNO_UNCHANGED): Likewise.
950         (ERRNO_EDOM): Likewise.
951         (ERRNO_ERANGE): Likewise.
952         (IGNORE_RESULT): Likewise.
953         (check_float_internal): Check signs of NaN results if
954         TEST_NAN_SIGN used.
955         (check_complex): Pass TEST_NAN_SIGN flag through to second
956         check_float_internal call.
957         (copysign_test_data): Add tests with quiet NaNs as second
958         argument.  Use TEST_NAN_SIGN.
959         (fabs_test_data): Add test of negative quiet NaN argument.  Use
960         TEST_NAN_SIGN.
961         (signbit_test_data): Add tests of quiet NaN argument.
962         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
964         * math/gen-libm-test.pl (show_exceptions): Take extra argument
965         $ignore_result.
966         (parse_args): Handle function results specified as IGNORE.
967         * math/libm-test.inc (IGNORE_RESULT): New macro.
968         (check_float_internal): Do not check numerical result if flag
969         IGNORE_RESULT set.
970         (check_complex): Pass through IGNORE_RESULT to second
971         check_float_internal call.
972         (check_int): Do not check numerical result if flag IGNORE_RESULT
973         set.
974         (check_long): Likewise.
975         (check_bool): Likewise.
976         (check_longlong): Likewise.
977         (lrint_test_data): Add tests of infinite and NaN arguments.
978         (lrint_tonearest_test_data): Likewise.
979         (lrint_towardzero_test_data): Likewise.
980         (lrint_downward_test_data): Likewise.
981         (lrint_upward_test_data): Likewise.
982         (llrint_test_data): Likewise.
983         (llrint_tonearest_test_data): Likewise.
984         (llrint_towardzero_test_data): Likewise.
985         (llrint_downward_test_data): Likewise.
986         (llrint_upward_test_data): Likewise.
987         (lround_test_data): Likewise.
988         (llround_test_data): Likewise.
990         * math/libm-test.inc (NO_TEST_INLINE): New macro.
991         (ERRNO_UNCHANGED): Update value.
992         (ERRNO_EDOM): Likewise.
993         (ERRNO_ERANGE): Likewise.
994         (NO_TEST_INLINE_FLOAT): New macro.
995         (NO_TEST_INLINE_DOUBLE): Likewise.
996         (enable_test): New function.
997         (RUN_TEST_f_f): Check enable_test before running test.
998         (RUN_TEST_2_f): Likewise.
999         (RUN_TEST_fff_f): Likewise.
1000         (RUN_TEST_c_f): Likewise.
1001         (RUN_TEST_f_f1): Likewise.
1002         (RUN_TEST_fF_f1): Likewise.
1003         (RUN_TEST_fI_f1): Likewise.
1004         (RUN_TEST_ffI_f1): Likewise.
1005         (RUN_TEST_c_c): Likewise.
1006         (RUN_TEST_cc_c): Likewise.
1007         (RUN_TEST_f_i): Likewise.
1008         (RUN_TEST_f_i_tg): Likewise.
1009         (RUN_TEST_ff_i_tg): Likewise.
1010         (RUN_TEST_f_b): Likewise.
1011         (RUN_TEST_f_b_tg): Likewise.
1012         (RUN_TEST_f_l): Likewise.
1013         (RUN_TEST_f_L): Likewise.
1014         (RUN_TEST_fFF_11): Likewise.
1015         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1016         conditionals.
1017         (cosh_test_data): Likewise.
1018         (exp_test_data): Likewise.
1019         (expm1_test_data): Likewise.
1020         (hypot_test_data): Likewise.
1021         (pow_test_data): Likewise.
1022         (sinh_test_data): Likewise.
1023         (tanh_test_data): Likewise.
1024         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1025         flags argument.
1027         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1028         tests with quiet NaN input and output.
1029         (acosh_test_data): Likewise.
1030         (asin_test_data): Likewise.
1031         (asinh_test_data): Likewise.
1032         (atan_test_data): Likewise.
1033         (atanh_test_data): Likewise.
1034         (atan2_test_data): Likewise.
1035         (cbrt_test_data): Likewise.
1036         (cos_test_data): Likewise.
1037         (cosh_test_data): Likewise.
1038         (erf_test_data): Likewise.
1039         (erfc_test_data): Likewise.
1040         (exp_test_data): Likewise.
1041         (exp10_test_data): Likewise.
1042         (exp2_test_data): Likewise.
1043         (expm1_test_data): Likewise.
1044         (hypot_test_data): Likewise.
1045         (j0_test_data): Likewise.
1046         (j1_test_data): Likewise.
1047         (jn_test_data): Likewise.
1048         (lgamma_test_data): Likewise.
1049         (log_test_data): Likewise.
1050         (log10_test_data): Likewise.
1051         (log1p_test_data): Likewise.
1052         (log2_test_data): Likewise.
1053         (pow_test_data): Likewise.
1054         (scalb_test_data): Likewise.
1055         (sin_test_data): Likewise.
1056         (sincos_test_data): Likewise.
1057         (sinh_test_data): Likewise.
1058         (tan_test_data): Likewise.
1059         (tanh_test_data): Likewise.
1060         (tgamma_test_data): Likewise.
1061         (y0_test_data): Likewise.
1062         (y1_test_data): Likewise.
1063         (yn_test_data): Likewise.
1065         [BZ #16167]
1066         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1067         argument being NaN and avoid computations with second argument in
1068         that case.
1069         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1070         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1071         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1073 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
1075         * locale/iso-639.def: Add Chitwani Tharu (the).
1077 2013-11-14  Andreas Schwab  <schwab@suse.de>
1079         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1080         word instead of empty string.
1082 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1085         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1087         (__fe_nomask_env): Likewise.
1089 2013-11-13  Steve Ellcey  <sellcey@mips.com>
1091         * benchtests/bench-timing.h: Include time.h.
1093 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1095         [BZ #15997]
1096         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1097         to 3.4.0 for x32.
1098         * sysdeps/unix/sysv/linux/configure: Regenerated.
1100 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
1102         [BZ #16151]
1103         * stdlib/strtod_l.c (round_and_return): Do not consider
1104         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1105         exponent one less than half the least subnormal exponent.
1106         * stdlib/test-strtod-round-data: Add more tests.
1107         * stdlib/tst-strtod-round.c (tests): Regenerated.
1109 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1111         [BZ #14143]
1112         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1113         (__fe_mask_env): Likewise.
1114         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1115         libm_hidden_proto and add function prototype.
1116         (__fe_mask_env): Add function prototype.
1117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1118         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1120         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1122         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1124 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1126         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1127         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1129 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1131         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1132         of htab_find_slot().
1134 2013-11-11  David S. Miller  <davem@davemloft.net>
1136         [BZ #16150]
1137         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1138         symbol in the non-vis3 case in static builds.
1139         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1140         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1141         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1142         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1144 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1146         [BZ #387]
1147         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1148         it is empty.
1150 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1152         * benchtests/Makefile: Add bench-strtod.
1153         * benchtests/bench-strtod.c: New file: strtod benchtest
1155 2013-11-11  Andreas Schwab  <schwab@suse.de>
1157         [BZ #16153]
1158         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1159         terminating NUL in key length.
1161 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1163         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1164         Add artificial ODP entry for vDSO symbol for PPC64.
1165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1166         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1168 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
1170         [BZ #15374]
1171         * nss/getent.c (services_keys): Recognize services starting with digit.
1173 2013-11-06  David S. Miller  <davem@davemloft.net>
1175         [BZ #15985]
1176         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1177         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1179 2013-11-06  Will Newton  <will.newton@linaro.org>
1181         * manual/memory.texi (Malloc Examples): Remove register
1182         keyword from examples.
1184 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
1186         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1188 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
1190         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1191         depending on [__GCC_IEC_559 > 0].
1192         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1193         depending on [__GCC_IEC_559_COMPLEX > 0].
1195 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
1197         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1198         to iso-639.def.
1200 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
1202         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1204 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
1206         [BZ #16112]
1207         * malloc/malloc (malloc_info): Do not handle first bin as
1208         special case.
1210 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
1212         * locale/iso-639.def: Add Central Nahuatl (nhn).
1214 2013-11-01  Bruno Haible  <bruno@clisp.org>
1216         [BZ #7003]
1217         * manual/math.texi (BSD Random): Specify range upper bound as
1218         in POSIX.
1220 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
1222         * locale/iso-639.def: Add Meadow Mari (mhr).
1224 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
1226         [BZ #14752], [BZ #15763]
1227         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1228         Validate name.
1229         * rt/tst_shm.c: Add test for escaping directory.
1231 2013-10-31  Andreas Schwab  <schwab@suse.de>
1233         [BZ #15917]
1234         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1235         followed by 'x' as part of digit sequence.
1236         * stdio-common/tst-sscanf.c (double_tests2): New tests.
1238 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1240         [BZ #16037]
1241         * configure.ac: allow GNU Make 4.0 and greater.
1242         * configure: Regenerated.
1244 2013-10-30  Will Newton  <will.newton@linaro.org>
1246         [BZ #16038]
1247         * malloc/hooks.c (memalign_check): Limit alignment to the
1248         maximum representable power of two.
1249         * malloc/malloc.c (__libc_memalign): Likewise.
1250         * malloc/tst-memalign.c (do_test): Add test for very
1251         large alignment values.
1252         * malloc/tst-posix_memalign.c (do_test): Likewise.
1254 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
1256         [BZ #11087]
1257         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1258         (munmap_chunk): Likewise.
1259         (mremap_chunk): Likewise.
1261 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
1263         [BZ #15799]
1264         * stdlib/div.c (div): Remove obsolete code.
1265         * stdlib/ldiv.c (ldiv): Likewise.
1266         * stdlib/lldiv.c (lldiv): Likewise.
1268 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1270         [BZ #16071]
1271         * nss/nss_files/files-XXX.c (get_contents_ret): New
1272         enumerator.
1273         (get_contents): New function.
1274         (internal_getent): Use it.  Expand size of LINEBUFLEN.
1276 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
1278         * configure.in: Moved to ...
1279         * configure.ac: ... here. Change reference to configure.in
1280         to configure.ac.
1281         * sysdeps/arm/preconfigure.ac: ... here.
1282         configure.in to configure.ac.
1283         * sysdeps/gnu/configure.in: Moved to ...
1284         * sysdeps/gnu/configure.ac: ... here.
1285         * sysdeps/i386/configure.in: Moved to ...
1286         * sysdeps/i386/configure.ac: ... here.
1287         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1288         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1289         * sysdeps/mach/configure.in: Moved to ...
1290         * sysdeps/mach/configure.ac: ... here.
1291         * sysdeps/mach/hurd/configure.in: Moved to ...
1292         * sysdeps/mach/hurd/configure.ac: ... here.
1293         * sysdeps/powerpc/configure.in: Moved to ...
1294         * sysdeps/powerpc/configure.ac: ... here.
1295         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1296         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1297         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1298         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1299         * sysdeps/s390/s390-32/configure.in: Moved to ...
1300         * sysdeps/s390/s390-32/configure.ac: ... here.
1301         * sysdeps/s390/s390-64/configure.in: Moved to ...
1302         * sysdeps/s390/s390-64/configure.ac: ... here.
1303         * sysdeps/sh/configure.in: Moved to ...
1304         * sysdeps/sh/configure.ac: ... here.
1305         * sysdeps/sparc/configure.in: Moved to ...
1306         * sysdeps/sparc/configure.ac: ... here.
1307         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1308         * sysdeps/unix/sysv/linux/configure.ac: ... here.
1309         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1310         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1311         * sysdeps/x86_64/configure.in: Moved to ...
1312         * sysdeps/x86_64/configure.ac: ... here.
1313         * sysdeps/x86_64/preconfigure.in: Moved to ...
1314         * sysdeps/x86_64/preconfigure.ac: ... here.
1315         * aclocal.m4: Change reference to configure.in to configure.ac.
1316         * config.h.in: Likewise.
1317         * manual/install.texi: Likewise.
1318         * manual/maint.texi: Likewise.
1319         * Makefile: Likewise.
1320         * malloc/Makefile: Likewise.
1321         * nscd/Makefile: Likewise.
1322         * Makeconfig: Change reference to configure.in and
1323         preconfigure.in to configure.ac and preconfigure.ac
1324         respectively.
1325         * INSTALL: Regenerated.
1326         * configure: Likewise.
1327         * sysdeps/gnu/configure: Likewise.
1328         * sysdeps/i386/configure: Likewise.
1329         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1330         * sysdeps/mach/configure: Likewise.
1331         * sysdeps/mach/hurd/configure: Likewise.
1332         * sysdeps/powerpc/configure: Likewise.
1333         * sysdeps/powerpc/powerpc32/configure: Likewise.
1334         * sysdeps/powerpc/powerpc64/configure: Likewise.
1335         * sysdeps/s390/s390-32/configure: Likewise.
1336         * sysdeps/s390/s390-64/configure: Likewise.
1337         * sysdeps/sh/configure: Likewise.
1338         * sysdeps/sparc/configure: Likewise.
1339         * sysdeps/unix/sysv/linux/configure: Likewise.
1340         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1341         * sysdeps/x86_64/configure: Likewise.
1342         * sysdeps/x86_64/preconfigure: Likewise.
1344 2013-10-29  Andreas Schwab  <schwab@suse.de>
1346         * stdio-common/Makefile (tst-swscanf-ENV): Define.
1348 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1350         * benchtests/pow-inputs: Add new inputs.
1352         * benchtests/exp-inputs: Add new inputs.
1354         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1355         conditional check for return value.
1356         (__cos32): Likewise.
1358 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1360         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1361         to provide a boost for large inputs with word alignment.
1362         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1363         implementation based on optimized PPC64 strcpy.
1364         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1365         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1366         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1367         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1369 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1371         [BZ #2801]
1372         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1374 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1376         [BZ #14876]
1377         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1378         * time/tst-strptime.c (day_tests): Add testcase.
1380 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
1382         [BZ #14029]
1383         * manual/pattern.texi: Acknowledge that fnmatch can fail.
1385 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
1387         [BZ #16074]
1388         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1389         MAP_FAILED on error.
1391 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1393         [BZ #16072]
1394         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1395         heap for large requests.
1397 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
1399         [BZ #9954]
1400         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1401         result if the result has no associated interface.
1402         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1403         interface for all 127.X.Y.Z addresses.
1405 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
1407         * locale/iso-639.def: Add Ligurian (lij)
1409 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
1411         [BZ #15825]
1412         * sunrpc/rpc_main.c: Document rpcgen -5.
1414 2013-10-19  Michael Stahl  <mstahl@redhat.com>
1416         * elf/rtld.c (do_preload): Print the reason why preloading failed.
1418 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1420         [BZ #10278]
1421         * posix/glob.c: Match only directories when trailing slash is present.
1422         * posix/tst-gnuglob.c (my_opendir): Do not open files.
1423         (main): Add testcase.
1425 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1427         [BZ #15670]
1428         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1430 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
1432         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1433         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1434         AUTH_DES and cindex for FIPS 140-2.
1435         (DES Encryption): Add cindex FIPS 46-3.
1437         * locale/locarchive.h (struct locarhandle): Add fname.
1438         * locale/programs/localedef.c (main): Pass ARGV[remaining]
1439         if an optional argument was specified to --list-archive,
1440         otherwise NULL.
1441         * locale/programs/locarchive.c (show_archive_content): Take new
1442         argument fname and pass it via ah.fname to open_archive.
1443         * locale/programs/localedef.h: Update decl.
1444         (open_archive): If AH->fname is non-null, open that file
1445         rather than the default file name, and don't ignore ENOENT.
1446         (create_archive): Set AH.fname to NULL.
1447         (delete_locales_from_archive): Likewise.
1448         (add_locales_to_archive): Likewise.
1449         * locale/programs/locfile.c (write_all_categories): Likewise.
1451 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
1452             Aldy Hernandez  <aldyh@redhat.com>
1454         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1455         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1456         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1457         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1458         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1459         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1460         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1461         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1462         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1463         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1464         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1465         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1466         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1467         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1468         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1469         Likewise.
1470         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1471         Likewise.
1472         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1473         Likewise.
1474         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1475         Likewise.
1476         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1477         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1478         Likewise.
1479         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1480         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1481         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1482         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1483         Likewise.
1484         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1485         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1486         * sysdeps/powerpc/preconfigure: Likewise.
1487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1488         Likewise.
1489         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1490         Replace contents of file by #include of <fenv_libc.h>.
1491         * sysdeps/powerpc/soft-fp/sfp-machine.h
1492         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1493         and <sys/prctl.h>.
1494         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1498         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1499         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1501         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1502         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1503         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1504         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1505         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1507         Allow copysignl PLT reference to be missing.
1509 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
1510             Joseph Myers  <joseph@codesourcery.com
1512         [BZ #15948]
1513         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1514         single character.
1515         (add_to_tablewc): Assert sequence of wide characters is nonempty.
1517 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1519         * elf/tst-tls-dlinfo.c: Don't include tls.h.
1520         * elf/tst-tls1.c: Likewise.
1521         * elf/tst-tls10.h: Likewise.
1522         * elf/tst-tls14.c: Likewise.
1523         * elf/tst-tls2.c: Likewise.
1524         * elf/tst-tls3.c: Likewise.
1525         * elf/tst-tls4.c: Likewise.
1526         * elf/tst-tls5.c: Likewise.
1527         * elf/tst-tls6.c: Likewise.
1528         * elf/tst-tls7.c: Likewise.
1529         * elf/tst-tls8.c: Likewise.
1530         * elf/tst-tls9.c: Likewise.
1531         * elf/tst-tlsmod1.c: Likewise.
1532         * elf/tst-tlsmod13.c: Likewise.
1533         * elf/tst-tlsmod13a.c: Likewise.
1534         * elf/tst-tlsmod14a.c: Likewise.
1535         * elf/tst-tlsmod16a.c: Likewise.
1536         * elf/tst-tlsmod16b.c: Likewise.
1537         * elf/tst-tlsmod2.c: Likewise.
1538         * elf/tst-tlsmod3.c: Likewise.
1539         * elf/tst-tlsmod4.c: Likewise.
1540         * elf/tst-tlsmod5.c: Likewise.
1541         * elf/tst-tlsmod6.c: Likewise.
1543 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
1545         [BZ #12486]
1546         * malloc/malloc.c: remove checks for statistics.
1548 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1550         [BZ #15277]
1551         * inet/inet_net.c (inet_network): Detect additional invalid strings.
1552         * inet/tst-network.c: Add testcase.
1554 2013-10-17  Andreas Schwab  <schwab@suse.de>
1556         [BZ #15218]
1557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1558         to determine canonical name.
1560 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1562         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1563         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1564         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1565         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1567         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1568         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1569         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1570         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1571         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1572         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1573         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1574         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1575         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1576         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1577         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1579         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1580         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1581         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1582         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1583         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1584         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1585         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1586         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1587         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1588         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1589         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1590         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1591         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1592         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1593         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1594         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1595         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1596         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1597         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1598         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1599         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1600         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1601         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1602         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1603         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1604         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1605         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1606         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1607         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1608         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1609         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1610         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1611         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1612         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1613         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1614         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1615         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1616         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1617         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1619         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1621 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
1623         [BZ #16041]
1624         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1625         make result into a quiet NaN.
1627 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
1629         * soft-fp/adddf3.c: Fix horizontal whitespace.
1630         * soft-fp/addsf3.c: Likewise.
1631         * soft-fp/addtf3.c: Likewise.
1632         * soft-fp/divdf3.c: Likewise.
1633         * soft-fp/divsf3.c: Likewise.
1634         * soft-fp/divtf3.c: Likewise.
1635         * soft-fp/double.h: Likewise.
1636         * soft-fp/eqdf2.c: Likewise.
1637         * soft-fp/eqsf2.c: Likewise.
1638         * soft-fp/eqtf2.c: Likewise.
1639         * soft-fp/extenddftf2.c: Likewise.
1640         * soft-fp/extended.h: Likewise.
1641         * soft-fp/extendsfdf2.c: Likewise.
1642         * soft-fp/extendsftf2.c: Likewise.
1643         * soft-fp/extendxftf2.c: Likewise.
1644         * soft-fp/fixdfdi.c: Likewise.
1645         * soft-fp/fixdfsi.c: Likewise.
1646         * soft-fp/fixdfti.c: Likewise.
1647         * soft-fp/fixsfdi.c: Likewise.
1648         * soft-fp/fixsfsi.c: Likewise.
1649         * soft-fp/fixsfti.c: Likewise.
1650         * soft-fp/fixtfdi.c: Likewise.
1651         * soft-fp/fixtfsi.c: Likewise.
1652         * soft-fp/fixtfti.c: Likewise.
1653         * soft-fp/fixunsdfdi.c: Likewise.
1654         * soft-fp/fixunsdfsi.c: Likewise.
1655         * soft-fp/fixunsdfti.c: Likewise.
1656         * soft-fp/fixunssfdi.c: Likewise.
1657         * soft-fp/fixunssfsi.c: Likewise.
1658         * soft-fp/fixunssfti.c: Likewise.
1659         * soft-fp/fixunstfdi.c: Likewise.
1660         * soft-fp/fixunstfsi.c: Likewise.
1661         * soft-fp/fixunstfti.c: Likewise.
1662         * soft-fp/floatdidf.c: Likewise.
1663         * soft-fp/floatdisf.c: Likewise.
1664         * soft-fp/floatditf.c: Likewise.
1665         * soft-fp/floatsidf.c: Likewise.
1666         * soft-fp/floatsisf.c: Likewise.
1667         * soft-fp/floatsitf.c: Likewise.
1668         * soft-fp/floattidf.c: Likewise.
1669         * soft-fp/floattisf.c: Likewise.
1670         * soft-fp/floattitf.c: Likewise.
1671         * soft-fp/floatundidf.c: Likewise.
1672         * soft-fp/floatundisf.c: Likewise.
1673         * soft-fp/floatunditf.c: Likewise.
1674         * soft-fp/floatunsidf.c: Likewise.
1675         * soft-fp/floatunsisf.c: Likewise.
1676         * soft-fp/floatunsitf.c: Likewise.
1677         * soft-fp/floatuntidf.c: Likewise.
1678         * soft-fp/floatuntisf.c: Likewise.
1679         * soft-fp/floatuntitf.c: Likewise.
1680         * soft-fp/fmadf4.c: Likewise.
1681         * soft-fp/fmasf4.c: Likewise.
1682         * soft-fp/fmatf4.c: Likewise.
1683         * soft-fp/gedf2.c: Likewise.
1684         * soft-fp/gesf2.c: Likewise.
1685         * soft-fp/getf2.c: Likewise.
1686         * soft-fp/ledf2.c: Likewise.
1687         * soft-fp/lesf2.c: Likewise.
1688         * soft-fp/letf2.c: Likewise.
1689         * soft-fp/muldf3.c: Likewise.
1690         * soft-fp/mulsf3.c: Likewise.
1691         * soft-fp/multf3.c: Likewise.
1692         * soft-fp/negdf2.c: Likewise.
1693         * soft-fp/negsf2.c: Likewise.
1694         * soft-fp/negtf2.c: Likewise.
1695         * soft-fp/op-1.h: Likewise.
1696         * soft-fp/op-2.h: Likewise.
1697         * soft-fp/op-4.h: Likewise.
1698         * soft-fp/op-8.h: Likewise.
1699         * soft-fp/op-common.h: Likewise.
1700         * soft-fp/quad.h: Likewise.
1701         * soft-fp/single.h: Likewise.
1702         * soft-fp/soft-fp.h: Likewise.
1703         * soft-fp/sqrtdf2.c: Likewise.
1704         * soft-fp/sqrtsf2.c: Likewise.
1705         * soft-fp/sqrttf2.c: Likewise.
1706         * soft-fp/subdf3.c: Likewise.
1707         * soft-fp/subsf3.c: Likewise.
1708         * soft-fp/subtf3.c: Likewise.
1709         * soft-fp/truncdfsf2.c: Likewise.
1710         * soft-fp/trunctfdf2.c: Likewise.
1711         * soft-fp/trunctfsf2.c: Likewise.
1712         * soft-fp/trunctfxf2.c: Likewise.
1713         * soft-fp/unorddf2.c: Likewise.
1714         * soft-fp/unordsf2.c: Likewise.
1715         * soft-fp/unordtf2.c: Likewise.
1717 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
1719         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1720         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1722 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
1724         * elf/dl-libc.c: Clear initfini list after freeing.
1726 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
1728         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1729         * soft-fp/addsf3.c: Likewise.
1730         * soft-fp/addtf3.c: Likewise.
1731         * soft-fp/divdf3.c: Likewise.
1732         * soft-fp/divsf3.c: Likewise.
1733         * soft-fp/divtf3.c: Likewise.
1734         * soft-fp/double.h: Likewise.
1735         * soft-fp/eqdf2.c: Likewise.
1736         * soft-fp/eqsf2.c: Likewise.
1737         * soft-fp/eqtf2.c: Likewise.
1738         * soft-fp/extenddftf2.c: Likewise.
1739         * soft-fp/extended.h: Likewise.
1740         * soft-fp/extendsfdf2.c: Likewise.
1741         * soft-fp/extendsftf2.c: Likewise.
1742         * soft-fp/extendxftf2.c: Likewise.
1743         * soft-fp/fixdfdi.c: Likewise.
1744         * soft-fp/fixdfsi.c: Likewise.
1745         * soft-fp/fixdfti.c: Likewise.
1746         * soft-fp/fixsfdi.c: Likewise.
1747         * soft-fp/fixsfsi.c: Likewise.
1748         * soft-fp/fixsfti.c: Likewise.
1749         * soft-fp/fixtfdi.c: Likewise.
1750         * soft-fp/fixtfsi.c: Likewise.
1751         * soft-fp/fixtfti.c: Likewise.
1752         * soft-fp/fixunsdfdi.c: Likewise.
1753         * soft-fp/fixunsdfsi.c: Likewise.
1754         * soft-fp/fixunsdfti.c: Likewise.
1755         * soft-fp/fixunssfdi.c: Likewise.
1756         * soft-fp/fixunssfsi.c: Likewise.
1757         * soft-fp/fixunssfti.c: Likewise.
1758         * soft-fp/fixunstfdi.c: Likewise.
1759         * soft-fp/fixunstfsi.c: Likewise.
1760         * soft-fp/fixunstfti.c: Likewise.
1761         * soft-fp/floatdidf.c: Likewise.
1762         * soft-fp/floatdisf.c: Likewise.
1763         * soft-fp/floatditf.c: Likewise.
1764         * soft-fp/floatsidf.c: Likewise.
1765         * soft-fp/floatsisf.c: Likewise.
1766         * soft-fp/floatsitf.c: Likewise.
1767         * soft-fp/floattidf.c: Likewise.
1768         * soft-fp/floattisf.c: Likewise.
1769         * soft-fp/floattitf.c: Likewise.
1770         * soft-fp/floatundidf.c: Likewise.
1771         * soft-fp/floatundisf.c: Likewise.
1772         * soft-fp/floatunsidf.c: Likewise.
1773         * soft-fp/floatunsisf.c: Likewise.
1774         * soft-fp/floatuntidf.c: Likewise.
1775         * soft-fp/floatuntisf.c: Likewise.
1776         * soft-fp/floatuntitf.c: Likewise.
1777         * soft-fp/fmadf4.c: Likewise.
1778         * soft-fp/fmasf4.c: Likewise.
1779         * soft-fp/fmatf4.c: Likewise.
1780         * soft-fp/gedf2.c: Likewise.
1781         * soft-fp/gesf2.c: Likewise.
1782         * soft-fp/getf2.c: Likewise.
1783         * soft-fp/ledf2.c: Likewise.
1784         * soft-fp/lesf2.c: Likewise.
1785         * soft-fp/letf2.c: Likewise.
1786         * soft-fp/muldf3.c: Likewise.
1787         * soft-fp/mulsf3.c: Likewise.
1788         * soft-fp/multf3.c: Likewise.
1789         * soft-fp/negdf2.c: Likewise.
1790         * soft-fp/negsf2.c: Likewise.
1791         * soft-fp/negtf2.c: Likewise.
1792         * soft-fp/op-1.h: Likewise.
1793         * soft-fp/op-2.h: Likewise.
1794         * soft-fp/op-4.h: Likewise.
1795         * soft-fp/op-8.h: Likewise.
1796         * soft-fp/op-common.h: Likewise.
1797         * soft-fp/quad.h: Likewise.
1798         * soft-fp/single.h: Likewise.
1799         * soft-fp/soft-fp.h: Likewise.
1800         * soft-fp/sqrtdf2.c: Likewise.
1801         * soft-fp/sqrtsf2.c: Likewise.
1802         * soft-fp/sqrttf2.c: Likewise.
1803         * soft-fp/subdf3.c: Likewise.
1804         * soft-fp/subsf3.c: Likewise.
1805         * soft-fp/subtf3.c: Likewise.
1806         * soft-fp/truncdfsf2.c: Likewise.
1807         * soft-fp/trunctfdf2.c: Likewise.
1808         * soft-fp/trunctfsf2.c: Likewise.
1809         * soft-fp/trunctfxf2.c: Likewise.
1810         * soft-fp/unorddf2.c: Likewise.
1811         * soft-fp/unordsf2.c: Likewise.
1812         * soft-fp/unordtf2.c: Likewise.
1814 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1816         [BZ #15672]
1817         * misc/error.c (error_tail): Fix possible buffer overflow.
1819 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1821         [BZ #13028]
1822         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1823         address.
1825 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1827         [BZ #832]
1828         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1829         testing pipefail option.
1831 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1833         * soft-fp/double.h: Indent preprocessor directives inside #if.
1834         * soft-fp/extended.h: Likewise.
1835         * soft-fp/op-2.h: Likewise.
1836         * soft-fp/op-4.h: Likewise.
1837         * soft-fp/op-common.h: Likewise.
1838         * soft-fp/quad.h: Likewise.
1839         * soft-fp/single.h: Likewise.
1840         * soft-fp/soft-fp.h: Likewise.
1842 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1844         * iconv/iconv_prog.c: Fix typos.
1845         * stdio-common/psiginfo-data.h: Likewise.
1847 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1849         [BZ #15764]
1850         * locale/setlocale.c: Fix typo.
1852 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1854         [BZ #16036]
1855         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1856         signaling NaN arguments.
1857         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1858         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1860         [BZ #14910]
1861         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1862         unordered operands.
1863         * soft-fp/gesf2.c (__gesf2): Likewise.
1864         * soft-fp/getf2.c (__getf2): Likewise.
1865         * soft-fp/ledf2.c (__ledf2): Likewise.
1866         * soft-fp/lesf2.c (__lesf2): Likewise.
1867         * soft-fp/letf2.c (__letf2): Likewise.
1869         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1870         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1871         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1872         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1873         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1874         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1875         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1876         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1877         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1878         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1879         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1880         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1881         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1882         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1883         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1884         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1885         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1886         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1887         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1888         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1889         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1890         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1891         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1892         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1893         * soft-fp/floattidf.c (__floattidf): Likewise.
1894         * soft-fp/floattisf.c (__floattisf): Likewise.
1895         * soft-fp/floattitf.c (__floattitf): Likewise.
1896         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1897         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1898         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1899         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1900         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1901         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1902         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1903         * soft-fp/gesf2.c (__gesf2): Likewise.
1904         * soft-fp/getf2.c (__getf2): Likewise.
1905         * soft-fp/ledf2.c (__ledf2): Likewise.
1906         * soft-fp/lesf2.c (__lesf2): Likewise.
1907         * soft-fp/letf2.c (__letf2): Likewise.
1909         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1910         Undefine and redefine.
1911         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1912         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1913         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1914         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1915         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1916         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1917         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1918         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1919         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1920         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1921         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1922         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1923         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1924         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1925         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1927         [BZ #16032]
1928         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1929         without decrementing exponent if mantissa >= that for the
1930         denominator, not >.
1931         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1932         denominator, not >.  Decrement exponent in < case instead of
1933         incrementing in >= case.
1934         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1935         without decrementing exponent if mantissa >= that for the
1936         denominator, not >.
1938         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1939         computing saturated result for unsigned overflow.
1941 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1942             Jeff Law  <law@redhat.com>
1944         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1945         (atan2Mp): Add systemtap probe marker.
1946         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1947         (__ieee754_log): Add systemtap probe marker.
1948         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1949         (atanMp): Add systemtap probe marker.
1950         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1951         (tanMp): Add systemtap probe marker.
1952         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1953         (__slowexp): Add systemtap probe marker.
1954         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1955         (__slowpow): Add systemtap probe marker.
1956         * manual/probes.texi: Document probes.
1958 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1960         [BZ #15362]
1961         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1962         written.
1963         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1964         written.
1965         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1966         written to buffer but not flushed.
1967         * libio/iofwrite_u.c:  Likewise.
1968         * libio/iopadn.c:  Return bytes returned even if EOF was
1969         encountered.
1970         * libio/iowpadn.c:  Likewise.
1971         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1972         if _IO_padn does not write the whole buffer.
1973         [!COMPILE_WPRINTF] (PAD): Likewise.
1975 2013-10-10  David S. Miller  <davem@davemloft.net>
1977         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1978         directory block.
1980 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1982         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1983         instead of FSF address.
1984         * soft-fp/fixdfti.c: Likewise.
1985         * soft-fp/fixsfti.c: Likewise.
1986         * soft-fp/fixtfti.c: Likewise.
1987         * soft-fp/fixunsdfti.c: Likewise.
1988         * soft-fp/fixunssfti.c: Likewise.
1989         * soft-fp/fixunstfti.c: Likewise.
1990         * soft-fp/floattidf.c: Likewise.
1991         * soft-fp/floattisf.c: Likewise.
1992         * soft-fp/floattitf.c: Likewise.
1993         * soft-fp/floatuntidf.c: Likewise.
1994         * soft-fp/floatuntisf.c: Likewise.
1995         * soft-fp/floatuntitf.c: Likewise.
1996         * soft-fp/trunctfxf2.c: Likewise.
1998         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1999         * soft-fp/fixdfti.c: Likewise.
2000         * soft-fp/fixsfti.c: Likewise.
2001         * soft-fp/fixtfti.c: Likewise.
2002         * soft-fp/fixunsdfti.c: Likewise.
2003         * soft-fp/fixunssfti.c: Likewise.
2004         * soft-fp/fixunstfti.c: Likewise.
2005         * soft-fp/floattidf.c: Likewise.
2006         * soft-fp/floattisf.c: Likewise.
2007         * soft-fp/floattitf.c: Likewise.
2008         * soft-fp/floatuntidf.c: Likewise.
2009         * soft-fp/floatuntisf.c: Likewise.
2010         * soft-fp/floatuntitf.c: Likewise.
2011         * soft-fp/trunctfxf2.c: Likewise.
2013 2013-10-10  David S. Miller  <davem@davemloft.net>
2015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2017 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
2019         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2020         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2021         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2022         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2023         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2024         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2025         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2027         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2028         for NaNs before doing comparisons on argument.
2029         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2030         Likewise.
2032 2013-10-10  Will Newton  <will.newton@linaro.org>
2034         * malloc/hooks.c (memalign_check): Ensure the value of bytes
2035         passed to _int_memalign does not overflow.
2037 2013-10-10  Torvald Riegel  <triegel@redhat.com>
2039         * scripts/bench.pl: Add include-sources directive.
2040         * benchtests/README: Update documentation.
2042 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2044         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2045         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2046         instead of FP_INIT_ROUNDMODE.
2047         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2048         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2050         [BZ #16034]
2051         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
2052         copy class of input value.
2053         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
2054         not handle exceptions.
2055         * soft-fp/negsf2.c (__negsf2): Likewise.
2056         * soft-fp/negtf2.c (__negtf2): Likewise.
2057         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2059 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
2061         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2062         semicolon.  From Linux kernel.
2064 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
2066         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2068 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
2070         [BZ #156]
2071         * manual/socket.texi: Added statement about buffer
2072         for gethostbyname2_r.
2074 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
2076         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2077         Use .p2align directive instead, throughout.
2078         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2079         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2080         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2082         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2083         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2084         * sysdeps/x86_64/strchr.S: Likewise.
2085         * sysdeps/x86_64/strrchr.S: Likewise.
2087 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2089         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2091         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2093         * sysdeps/generic/math_private.h (__mpsin1): Remove
2094         declaration.
2095         (__mpcos1): Likewise.
2096         (__mpsin): New argument __range_reduce.
2097         (__mpcos): Likewise.
2098         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2099         (slow): Use __mpsin and __mpcos.
2100         (slow1): Likewise.
2101         (slow2): Likewise.
2102         (sloww): Likewise.
2103         (sloww1): Likewise.
2104         (sloww2): Likewise.
2105         (bsloww): Likewise.
2106         (bsloww1): Likewise.
2107         (bsloww2): Likewise.
2108         (cslow2): Likewise.
2109         (csloww): Likewise.
2110         (csloww1): Likewise.
2111         (csloww2): Likewise.
2112         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2113         range_reduce.  Merge in __mpsin1.
2114         (__mpcos): Likewise.
2115         (__mpsin1): Remove.
2116         (__mpcos1): Likewise.
2118 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
2120         * locale/loadlocale.c (_nl_intern_locale_data): Use
2121         LOCFILE_ALIGNED_P.
2122         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2123         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2124         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2125         obstack data is appropriately aligned.
2126         (obstack_int32_grow_fast): Likewise.
2127         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2128         * locale/programs/locfile.c (add_locale_uint32): Likewise.
2129         (add_locale_uint32_array): Likewise.
2131 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
2133         * benchtests/Makefile: Remove ARGLIST and RET variables.
2134         ($(objpfx)bench-%.c): Pass only function name to the script.
2135         * benchtests/README: Update documentation.
2136         * benchtests/acos-inputs: Add new directives.
2137         * benchtests/acosh-inputs: Likewise.
2138         * benchtests/asin-inputs: Likewise.
2139         * benchtests/asinh-inputs: Likewise.
2140         * benchtests/atan-inputs: Likewise.
2141         * benchtests/atanh-inputs: Likewise.
2142         * benchtests/cos-inputs: Likewise.
2143         * benchtests/cosh-inputs: Likewise.
2144         * benchtests/exp-inputs: Likewise.
2145         * benchtests/log-inputs: Likewise.
2146         * benchtests/pow-inputs: Likewise.
2147         * benchtests/rint-inputs: Likewise.
2148         * benchtests/sin-inputs: Likewise.
2149         * benchtests/sinh-inputs: Likewise.
2150         * benchtests/tan-inputs: Likewise.
2151         * benchtests/tanh-inputs: Likewise.
2152         * scripts/bench.pl: Add support for new directives.
2154 2013-10-07  Alan Modra  <amodra@gmail.com>
2156         * README: Fix careless merge.
2158 2013-10-05  Alan Modra  <amodra@gmail.com>
2160         * NEWS: Mention powerpc64le support and bugs fixed.
2161         * README: Both big-endian and little-endian powerpc64 supported.
2163 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2165         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2166         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2167         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2168         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2170 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
2172         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2173         match prototype.
2175 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
2177         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2178         Move -mhard-float appending from
2179         ports/sysdeps/powerpc/powerpc32/Makefile.
2180         [$(with-fp) = yes] (ASFLAGS): Likewise.
2181         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2182         * sysdeps/powerpc/nofpu: Move directory from
2183         ports/sysdeps/powerpc/nofpu.
2184         * sysdeps/powerpc/soft-fp: Move directory from
2185         ports/sysdeps/powerpc/soft-fp.
2186         * sysdeps/powerpc/powerpc32/405: Move directory from
2187         ports/sysdeps/powerpc/powerpc32/405.
2188         * sysdeps/powerpc/powerpc32/440: Move directory from
2189         ports/sysdeps/powerpc/powerpc32/440.
2190         * sysdeps/powerpc/powerpc32/464: Move directory from
2191         ports/sysdeps/powerpc/powerpc32/464.
2192         * sysdeps/powerpc/powerpc32/476: Move directory from
2193         ports/sysdeps/powerpc/powerpc32/476.
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2195         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2197         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2199         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2201         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2203         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2204         * README: Update for powerpc-*-linux-gnu software floating point
2205         support in libc.
2207         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2208         case to powerpc/powerpc32*.
2209         * sysdeps/unix/sysv/linux/configure: Regenerated.
2211         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2212         (_FPU_MASK_OM): Define as 0x04.
2213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2215         0x00c10080.
2216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2217         0x0000003c.
2218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2221         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2222         getcontext_e500.
2223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2224         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2225         setcontext_e500.
2226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2227         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2228         and setcontext_e500.
2230 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
2232         * locale/iso-3166.def: Update iso-1366.def and related occurrences
2234 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2236         * manual/threads.texi (Default Thread Attributes): Fix typo.
2238 2013-10-04  Will Newton  <will.newton@linaro.org>
2240         * malloc/Makefile: Add tst-memalign.
2241         * malloc/tst-memalign.c: New file.
2243         * malloc/tst-posix_memalign.c: Add comments.
2244         (do_test): Add comments and call free on all potentially
2245         allocated pointers. Add space after cast.
2247         * malloc/tst-pvalloc.c: Add comments.
2248         (do_test): Add comments and call free on all potentially
2249         allocated pointers. Remove duplicate check for NULL pointer.
2250         Add space after cast.
2252         * malloc/tst-valloc.c: Add comments.
2253         (do_test): Add comments and call free on all potentially
2254         allocated pointers. Remove duplicate check for NULL pointer.
2255         Add space after cast.
2257 2013-10-04  Alan Modra  <amodra@gmail.com>
2259         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2260         Use stdint types in rather than __attribute__((mode())).
2261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2263 2013-10-04  Alan Modra  <amodra@gmail.com>
2265         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2266         Correct handling of unaligned relocs for little-endian.
2267         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2269 2013-10-04  Alan Modra  <amodra@gmail.com>
2271         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2272         * configure: Regenerate.
2273         * nptl/shlib-versions: Powerpc*le starts at 2.18.
2274         * shlib-versions: Likewise.
2276 2013-10-04  Alan Modra  <amodra@gmail.com>
2278         * string/tester.c (test_memrchr): Increment reported test cycle.
2280 2013-10-04  Alan Modra  <amodra@gmail.com>
2282         * string/test-memcpy.c (do_one_test): When reporting errors, print
2283         string address and don't overrun end of string.
2285 2013-10-04  Alan Modra  <amodra@gmail.com>
2287         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2288         insrdi.  Make better use of reg selection to speed exit slightly.
2289         Schedule entry path a little better.  Remove useless "are we done"
2290         checks on entry to main loop.  Handle wrapping around zero address.
2291         Correct main loop count.  Handle single left-over word from main
2292         loop inline rather than by using loop_small.  Remove extra word
2293         case in loop_small caused by wrong loop count.  Add little-endian
2294         support.
2295         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2296         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
2297         cache hint.
2298         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2299         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2300         support.  Avoid rlwimi.
2301         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2303 2013-10-04  Alan Modra  <amodra@gmail.com>
2305         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2306         insrdi.  Formatting.
2307         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2308         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2309         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2310         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2311         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2312         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2314 2013-10-04  Alan Modra  <amodra@gmail.com>
2316         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2318         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2319         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2320         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2321         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2322         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2323         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2324         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
2325         use of regs.  Use power7 mtocrf.  Tidy function tails.
2327 2013-10-04  Alan Modra  <amodra@gmail.com>
2329         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2330         Formatting.  Consistently use rXXX register defines or rN defines.
2331         Use early exit labels that avoid restoring unused non-volatile regs.
2332         Make cr field use more consistent with rWORDn compares.  Rename
2333         regs used as shift registers for unaligned loop, using rN defines
2334         for short lifetime/multiple use regs.
2335         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2336         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
2337         addi 1,1,64 to pop stack frame.  Simplify return value code.
2338         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2340 2013-10-04  Alan Modra  <amodra@gmail.com>
2342         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2343         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
2344         rather than rlwimi.
2345         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2346         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2347         little-endian support.  Correct typos.
2348         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
2349         rather than rlwimi.
2350         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
2351         in loop and entry code to keep "and." results.
2352         (strchr): Add little-endian support.  Comment.  Move cntlzd
2353         earlier in tail.
2354         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2356 2013-10-04  Alan Modra  <amodra@gmail.com>
2358         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2359         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2360         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2361         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2363 2013-10-04  Alan Modra  <amodra@gmail.com>
2365         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2366         (rTMP): Define as r11.
2367         (strcmp): Add little-endian support.  Optimise tail.
2368         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2369         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2370         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2371         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2372         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2373         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2374         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2376 2013-10-04  Alan Modra  <amodra@gmail.com>
2378         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2379         little-endian support.  Remove unnecessary "are we done" tests.
2380         Handle "s" wrapping around zero and extremely large "size".
2381         Correct main loop count.  Handle single left-over word from main
2382         loop inline rather than by using small_loop.  Correct comments.
2383         Delete "zero" tail, use "end_max" instead.
2384         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2386 2013-10-04  Alan Modra  <amodra@gmail.com>
2388         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2389         support.  Don't branch over align.
2390         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2391         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2392         support.  Rearrange tmp reg use to suit.  Comment.
2393         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2395 2013-10-04  Alan Modra  <amodra@gmail.com>
2397         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2399 2013-10-04  Alan Modra  <amodra@gmail.com>
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2402         conditional form of branch and link when obtaining pc.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2405 2013-10-04  Alan Modra  <amodra@gmail.com>
2407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2408         HIWORD/LOWORD.
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2412 2013-10-04  Alan Modra  <amodra@gmail.com>
2414         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2415         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2416         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2417         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2418         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2419         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2420         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2421         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2422         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2423         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2425 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2426             Alistair Popple <alistair@ozlabs.au.ibm.com>
2427             Alan Modra <amodra@gmail.com>
2429         [BZ #15723]
2430         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2431         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2432         _dl_hwcap access for little-endian.
2433         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
2434         destroy vmx regs when saving unaligned.
2435         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2436         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
2437         destroy vmx regs when saving unaligned.
2439 2013-10-04  Alan Modra  <amodra@gmail.com>
2441         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2442         Don't use a union to pack hi/low value.
2444 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2446         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2447         for little-endian.
2448         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2449         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2450         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2451         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2452         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2454 2013-10-04  Alan Modra  <amodra@gmail.com>
2456         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2457         constants to usual value for .cst8 section, and remove redundant
2458         high address load.
2459         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2460         constant for 0x1p52.  Load little-endian words of double from
2461         correct stack offsets.
2463 2013-10-04  Alan Modra  <amodra@gmail.com>
2465         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2466         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2467         words of double from correct stack offsets.
2468         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2469         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2470         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2471         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2472         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2473         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2474         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2475         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2476         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2478         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2479         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2480         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2481         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2482         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2483         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2484         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2486 2013-10-04  Alan Modra  <amodra@gmail.com>
2488         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2489         64-bit int/double union.
2490         (_FPU_SETCW): Likewise.
2491         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2492         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2494 2013-10-04  Alan Modra  <amodra@gmail.com>
2496         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2497         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2499 2013-10-04  Alan Modra  <amodra@gmail.com>
2501         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2502         use vector int constants.
2503         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2505 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2507         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2508         array with long long.
2509         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2510         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2511         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2512         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2513         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2514         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2515         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2516         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2517         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2518         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2519         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2520         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2521         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2523 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2525         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2526         (__signbit): Likewise.  Correct for little-endian.
2527         (__signbitl): Call __signbit.
2528         (lrint): Correct for little-endian.
2529         (lrintf): Call lrint.
2531 2013-10-04  Alan Modra  <amodra@gmail.com>
2533         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2534         union 32-bit int array member with 64-bit int array.
2535         (t515, tm256): Double rather than long double.
2536         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2538 2013-10-04  Alan Modra  <amodra@gmail.com>
2540         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2541         Delete.
2542         (IEEE854_LONG_DOUBLE_BIAS): Delete.
2543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2544         version of math_ldbl.h.
2546 2013-10-04  Alan Modra  <amodra@gmail.com>
2548         [BZ #15734], [BZ #15735]
2549         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2550         all uses of ieee875 long double macros and unions.  Simplify test
2551         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
2552         ldbl_extract_mantissa value for ix,iy exponents.  Properly
2553         normalize after ldbl_extract_mantissa, and don't add hidden bit
2554         already handled.  Don't treat low word of ieee854 mantissa like
2555         low word of IBM long double and mask off bit when testing for
2556         zero.
2557         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2558         all uses of ieee875 long double macros and unions.  Simplify tests
2559         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
2560         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
2561         two1022, instead use their values.  Recognise that tests for large
2562         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
2563         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2564         Rewrite all uses of ieee875 long double macros and unions.  Simplify
2565         test for 0.0L and nan.  Correct negation.
2566         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2567         ieee875 long double macros and unions.  Correct output for large
2568         magnitude x.  Correct absolute value calculation.
2569         (__erfcl): Likewise.
2570         * math/libm-test.inc: Add tests for errors discovered in IBM long
2571         double versions of fmodl, remainderl, erfl and erfcl.
2573 2013-10-04  Alan Modra  <amodra@gmail.com>
2575         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2576         all uses of ieee854 long double macros and unions.  Simplify tests
2577         for long doubles that are fully specified by the high double.
2578         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2579         Likewise.
2580         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2581         Remove dead code too.
2582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2583         (__ieee754_ynl): Likewise.
2584         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2585         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2586         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2587         Remove dead code too.
2588         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2589         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2590         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2591         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2592         Simplify.
2593         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2594         Simplify.
2595         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2596         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2597         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2598         Comment on variable precision.
2599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2601         Likewise.
2602         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2603         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2604         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2605         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2606         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2608 2013-10-04  Alan Modra  <amodra@gmail.com>
2610         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2611         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2612         all uses of ieee854 long double macros and unions.
2613         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2614         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2615         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2616         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2617         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2618         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2619         Likewise.
2620         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2621         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2622         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2623         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2624         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2625         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2626         Simplify sign and nan test too.
2627         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2628         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2629         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2630         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2631         Likewise.
2632         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2633         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2634         Likewise.
2635         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2636         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2637         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2638         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2639         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2642 2013-10-04  Alan Modra  <amodra@gmail.com>
2644         * stdio-common/printf_size.c (__printf_size): Don't use
2645         union ieee854_long_double in fpnum union.
2646         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
2647         signbit macro to retrieve sign from long double.
2648         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2649         retrieve sign from long double.
2650         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2651         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2652         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2653         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2654         * math/test-misc.c (main): Don't use union ieee854_long_double.
2656 2013-10-04  Alan Modra  <amodra@gmail.com>
2658         [BZ #15680]
2659         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2660         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2661         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2662         calculation.  Remove unnecessary test for denormal exponent.
2663         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2664         Correct handling of denormals.  Avoid undefined shift behaviour.
2665         Correct normalisation of low mantissa when low double is denormal.
2666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2667         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
2668         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2669         Correct normalisation of low mantissa.  Test for overflow of high
2670         mantissa and normalise.
2671         (ldbl_nearbyint): Use more readable constant for two52.
2672         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2673         (__mpn_construct_long_double): Fix test for overflow of high
2674         mantissa and correct normalisation.  Avoid undefined shift.
2676 2013-10-04  Alan Modra  <amodra@gmail.com>
2678         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2679         (union ibm_extended_long_double): Define as an array of ieee754_double.
2680         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2681         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2682         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2683         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2684         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2685         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2687         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2688         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2689         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2690         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2692 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
2694         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2695         page size instead of calling getpagesize.
2697         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2698         (LOCFILE_ALIGN_MASK): Likewise.
2699         (LOCFILE_ALIGN_UP): Likewise.
2700         (LOCFILE_ALIGNED_P): Likewise.
2701         * locale/programs/ld-collate.c (collate_output): Use the new
2702         macros instead of __alignof__ (int32_t).
2703         * locale/weight.h (findidx): Likewise.
2705 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
2707         [BZ #431]
2708         * manual/string.texi: Fix strncat and wcsncat.
2710 2013-10-03  Brooks Moses  <bmoses@google.com>
2712         [BZ #15915]
2713         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2714         * Makerules: ...here, and adjust associated comments.
2716 2013-10-02  Will Newton  <will.newton@linaro.org>
2718         * malloc/Makefile: Add tst-pvalloc.
2719         * malloc/tst-pvalloc.c: New file.
2721 2013-10-02  Will Newton  <will.newton@linaro.org>
2723         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2724         improve test coverage.
2726 2013-10-02  Will Newton  <will.newton@linaro.org>
2728         * malloc/Makefile: Add tst-posix_memalign.
2729         * malloc/tst-posix_memalign.c: New file.
2731 2013-10-01  Eric Blake  <eblake@redhat.com>
2733         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2734         Use __THROWNL rather than __THROW on static functions.
2736 2013-09-30  Petr Machata  <pmachata@redhat.com>
2738         * elf/elf.h (R_AARCH64_ABS16): New macro.
2739         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2740         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2741         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2742         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2743         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2744         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2745         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2746         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2747         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2748         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2749         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2750         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2751         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2752         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2753         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2754         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2755         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2756         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2757         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2758         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2759         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2760         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2761         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2762         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2763         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2764         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2765         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2766         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2767         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2768         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2769         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2770         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2771         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2772         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2773         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2774         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2775         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2776         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2777         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2778         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2779         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2780         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2781         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2782         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2783         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2784         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2785         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2786         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2787         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2788         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2789         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2790         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2791         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2792         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2793         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2794         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2795         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2796         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2797         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2798         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2799         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2800         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2801         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2802         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2803         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2804         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2805         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2806         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2807         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2808         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2809         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2810         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2811         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2812         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2813         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2814         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2815         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2816         (R_AARCH64_TLSDESC_LDR): Likewise.
2817         (R_AARCH64_TLSDESC_ADD): Likewise.
2818         (R_AARCH64_TLSDESC_CALL): Likewise.
2820 2013-09-30  Andreas Schwab  <schwab@suse.de>
2822         [BZ #15048]
2823         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2824         the nss database lookup.
2825         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2828 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2830         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2832 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2834         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2835         ${Bash-specific parameter/pattern/string} parameter expansion.
2836         * sysdeps/unix/make-syscalls.sh: Likewise.
2838 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2840         * sysdeps/sh/stackguard-macros.h: New file.
2842 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2846         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2847         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2848         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2849         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2851 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2853         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2854         Fix thread ID register.
2856 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2858         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2859         [POSIX || UNIX98]: Require rather than permitting all symbols from
2860         <time.h>.
2861         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2862         element of struct sched_param.
2863         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2864         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2865         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2866         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2867         constant.
2869 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2871         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2872         argument calculation.
2874 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2876         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2877         Expect macro.
2878         [POSIX] (pthread_attr_t): Do not require type.
2879         [POSIX] (pthread_cond_t): Likewise.
2880         [POSIX] (pthread_condattr_t): Likewise.
2881         [POSIX] (pthread_key_t): Likewise.
2882         [POSIX] (pthread_mutex_t): Likewise.
2883         [POSIX] (pthread_mutexattr_t): Likewise.
2884         [POSIX] (pthread_once_t): Likewise.
2885         [POSIX] (pthread_t): Likewise.
2886         [POSIX-based standards] (pthread_atfork): Expect function.
2888 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2889             Richard Sandiford  <richard@codesourcery.com>
2891         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2892         (swap_endianness_p): New extern variable.
2893         (set_big_endian): New inline function.
2894         (maybe_swap_uint32): Likewise.
2895         (maybe_swap_uint32_array): Likewise.
2896         (maybe_swap_uint32_obstack): Likewise.
2897         * locale/programs/locfile.c: Include <stdbool.h>.
2898         (swap_endianness_p): New variable.
2899         (add_locale_uint32): Call maybe_swap_uint32.
2900         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2901         (write_locale_data): Call maybe_swap_uint32_array.
2902         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2903         maybe_swap_uint32.
2904         (obstack_int32_grow_fast): Likewise.
2905         (output_weightwc): Call maybe_swap_uint32_obstack.
2906         (collate_output): Likewise.
2907         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2908         (OPT_LITTLE_ENDIAN): Likewise.
2909         (options): Add --little-endian and --big-endian options.
2910         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2911         * locale/programs/locarchive.c: Include "locfile.h".
2912         (GET): New macro.
2913         (SET): Likewise.
2914         (INC): Likewise.
2915         (create_archive): Use the new macros to access fields of
2916         structures directly mapped from or written to locale archives.
2917         (oldlocrecentcmp): Likewise.
2918         (enlarge_archive): Likewise.
2919         (insert_name): Likewise.
2920         (add_alias): Likewise.
2921         (add_locale): Likewise.
2922         (delete_locales_from_archive): Likewise.
2923         (show_archive_content): Likewise.
2924         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2925         locale data.
2927 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2929         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2930         http://www.gnu.org/doc/freemanuals.texi.
2931         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2933 2013-09-24  Will Newton  <will.newton@linaro.org>
2935         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2936         macro.
2938 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2940         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2941         unsigned char.
2943 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2945         * manual/threads.texi (POSIX Threads): Fix a typo.
2947 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2949         [BZ #14547]
2950         * string/tst-strcoll-overflow.c: New test case.
2951         * string/Makefile (xtests): Add tst-strcoll-overflow.
2952         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2953         cache if string sizes may cause integer overflow.
2955         [BZ #14547]
2956         * string/strcoll_l.c (coll_seq): New members rule, idx,
2957         save_idx and back_us.
2958         (get_next_seq_nocache): New function.
2959         (do_compare_nocache): New function.
2960         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2961         when malloc fails.
2963 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2965         [BZ #15754]
2966         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2967         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2968         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2970         [BZ #15754]
2971         * elf/Makefile (tests): Add tst-ptrguard1.
2972         (tests-static): Add tst-ptrguard1-static.
2973         (tst-ptrguard1-ARGS): Define.
2974         (tst-ptrguard1-static-ARGS): Define.
2975         * elf/tst-ptrguard1.c: New file.
2976         * elf/tst-ptrguard1-static.c: New file.
2977         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2978         * sysdeps/i386/stackguard-macros.h: Likewise.
2979         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2980         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2981         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2982         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2983         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2984         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2986 2013-09-23  Hector Marco  <hecmargi@upv.es>
2987             Ismael Ripoll  <iripoll@disca.upv.es>
2988             Carlos O'Donell  <carlos@redhat.com>
2990         [BZ #15754]
2991         * sysdeps/generic/stackguard-macros.h: Define
2992         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2993         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2994         Define __pointer_chk_guard_local.
2995         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2996         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2998 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
3000         [BZ #15859]
3001         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3003 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
3005         * include/string.h (__ffs): Declare as hidden.
3006         * string/ffs.c (__ffs): Define as hidden.
3007         * sysdeps/i386/ffs.c (__ffs): Likewise.
3008         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3009         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3010         * sysdeps/s390/ffs.c (__ffs): Likewise.
3011         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3013 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
3015         * NEWS: Mention malloc probes.
3017         * malloc/arena.c (new_heap): New memory_heap_new probe.
3018         (grow_heap): New memory_heap_more probe.
3019         (shrink_heap): New memory_heap_less probe.
3020         (heap_trim): New memory_heap_free probe.
3021         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3022         (systrim): New memory_sbrk_less probe.
3023         * manual/probes.texi: Document them.
3025         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3026         * manual/probes.texi: Document it.
3028         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3029         (__libc_realloc): Add memory_realloc_retry probe.
3030         (__libc_memalign): Add memory_memalign_retry probe.
3031         (__libc_valloc): Add memory_valloc_retry probe.
3032         (__libc_pvalloc): Add memory_pvalloc_retry probe.
3033         (__libc_calloc): Add memory_calloc_retry probe.
3034         * manual/probes.texi: Document them.
3036         * malloc/arena.c (get_free_list): Add probe
3037         memory_arena_reuse_free_list.
3038         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3039         and memory_arena_reuse.
3040         (arena_get2) [!PER_THREAD]: Likewise.
3041         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3042         memory_arena_reuse_realloc.
3043         * manual/probes.texi: Document them.
3045         * malloc/malloc.c (__libc_free): Add
3046         memory_mallopt_free_dyn_thresholds probe.
3047         (__libc_mallopt): Add multiple memory_mallopt probes.
3048         * manual/probes.texi: Document them.
3050         * malloc/malloc.c: Include stap-probe.h.
3051         (__libc_mallopt): Add memory_mallopt probe.
3052         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3053         * manual/probes.texi: New.
3054         * manual/Makefile (chapters): Add probes.
3055         * manual/threads.texi: Set next node.
3057 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
3059         [BZ #15963, #13985]
3060         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3061         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3062         Add `Chinese' to `nan' entry name.
3064 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3066         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3067         (POLYNOMIAL): Likewise.
3068         (TAYLOR_SINCOS): Likewise.
3069         (TAYLOR_SLOW): Likewise.
3070         (__sin): Use TAYLOR_SINCOS.
3071         (__cos): Likewise.
3072         (slow): Use TAYLOR_SLOW.
3073         (sloww): Likewise.
3074         (bsloww): Likewise.
3075         (csloww): Likewise.
3077 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3079         * stdlib/strtod_l.c: Fix buffer overrun.
3081 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3083         * benchtests/Makefile (bench): Add sincos.
3084         * benchtests/bench-sincos.c: New file.
3086         * math/libm-test.inc (cos_test_data): New test inputs.
3087         (sin_test_data): Likewise.
3089         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3090         macro.
3091         (__sin): Use it.
3092         (__cos): Likewise.
3093         (slow1): Likewise.
3094         (slow2): Likewise.
3095         (sloww1): Likewise.
3096         (sloww2): Likewise.
3097         (bsloww1): Likewise.
3098         (bsloww2): Likewise.
3099         (cslow2): Likewise.
3100         (csloww1): Likewise.
3101         (csloww2): Likewise.
3103         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3104         function.
3105         (__sin): Use it.
3106         (__cos): Likewise.
3108         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3109         gotos.
3110         (__cos): Likewise.
3112 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
3114         * config.h.in (HAVE_MIPS_NAN2008): New macro.
3115         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3116         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3117         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3118         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3119         * elf/cache.c (print_entry): Handle the new cache flags.
3121 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
3122             Aldy Hernandez  <aldyh@redhat.com>
3124         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3125         Change condition to [_SOFT_FLOAT].
3126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3135         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3136         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3138         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3141         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3142         declaration.
3144 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
3146         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3147         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3148         (__longjmp): Use LOAD_GP to load saved GPRs.
3149         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3150         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3151         (__sigsetjmp): Use SAVE_GP to save GPRs.
3153         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3154         Do not append -msoft-float.
3155         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3157 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3159         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3161 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
3163         [BZ #15966]
3164         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3165         (_FPU_GETCW): Use initial "__" on variable and field names but not
3166         on macro parameter name.
3167         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
3168         parentheses around reference to macro parameter.
3170 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
3172         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3173         prototype.
3174         (ctype_startup): Use uint32_t in cast and sizeof for
3175         ctype->charnames.
3177 2013-09-11  Jia Liu  <proljc@gmail.com>
3179         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3180         __daddr_t_defined.
3181         [__FreeBSD__]: Likewise.
3183 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
3185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3186         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3187         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3188         (strchr): Remove __strchr_sse42 ifunc selection.
3189         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3190         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3192 2013-09-11  Will Newton  <will.newton@linaro.org>
3194         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3195         parameter to RES. Remove hardcoded 1000 value.
3196         * benchtests/bench-skeleton.c (main): Pass RES parameter
3197         to TIMING_INIT and multiply result by 1000.
3199 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3203 2013-09-11  Andreas Schwab  <schwab@suse.de>
3205         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3206         if not defined.
3207         (O_TMPFILE) [__USE_GNU]: Define.
3208         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3209         Define.
3211 2013-09-11  Will Newton  <will.newton@linaro.org>
3213         [BZ #15857]
3214         * malloc/malloc.c (__libc_memalign): Check the value of bytes
3215         does not overflow.
3217 2013-09-11  Will Newton  <will.newton@linaro.org>
3219         [BZ #15856]
3220         * malloc/malloc.c (__libc_valloc): Check the value of bytes
3221         does not overflow.
3223 2013-09-11  Will Newton  <will.newton@linaro.org>
3225         [BZ #15855]
3226         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3227         does not overflow.
3229 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
3231         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3232         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3233         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3234         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3235         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3237 2013-09-10  Allan McRae  <allan@archlinux.org>
3239         [BZ #15748]
3240         * manual/arith.texi (Parsing of Floats): Clarify
3241         cross-reference.
3243         [BZ #15849]
3244         * manual/install.texi (Running make install): Mention
3245         --enable-pt-chown.
3246         * INSTALL: Regenerated.
3248 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
3250         * csu/init-first.c (_init): Remove the !SHARED condition around
3251         FPU control word initialization.
3252         * elf/dl-support.c (_dl_fpu_control): New variable.
3253         (_dl_aux_init) <AT_FPUCW>: Initialize it.
3254         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3255         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3256         * math/test-fpucw-static.c: New file.
3257         * math/test-fpucw-ieee.c: New file.
3258         * math/test-fpucw-ieee-static.c: New file.
3259         * math/Makefile (tests): Add `test-fpucw-ieee' and
3260         `$(tests-static)'.
3261         (tests-static): New variable.
3262         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3263         dependency to...
3264         [($(build-shared),yes)]
3265         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3266         ... this.
3267         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3268         New dependency.
3270 2013-09-09  Allan McRae  <allan@archlinux.org>
3272         [BZ #15939]
3273         * manual/string.texi (Collation Functions): Fix typo in
3274         strcoll example.
3275         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3277         [BZ #15893]
3278         * stdlib/isomac.c (get_null_defines): Fix memory leak.
3280         [BZ #15892]
3281         * libio/memstream.c (open_memstream): Fix memory leak.
3282         * libio/wmemstream.c (open_wmemstream): Likewise.
3284         [BZ #15895]
3285         * nscd/netgroupcache.c: Fix nesting of ifdefs.
3287 2013-09-09  Will Newton  <will.newton@linaro.org>
3289         * malloc/Makefile: Add tst-realloc to tests.
3290         * malloc/tst-realloc.c: New file.
3292 2013-09-09  Allan McRae  <allan@archlinux.org>
3294         [BZ #15844]
3295         * COPYING: Update from GNU website to fix FSF address.
3296         * COPYING.LIB: Likewise.
3298 2013-09-06  David S. Miller  <davem@davemloft.net>
3300         * po/zh_TW.po: Update Chinese (traditional) translation from
3301         translation project.
3303 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
3304             Joseph Myers  <joseph@codesourcery.com>
3306         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3307         "localeinfo.h".
3308         (obstack_chunk_alloc): New macro.
3309         (obstack_chunk_free): Likewise.
3310         (record_offset): New function.
3311         (init_locale_data): Likewise.
3312         (align_locale_data): Likewise.
3313         (add_locale_empty): Likewise.
3314         (add_locale_raw_data): Likewise.
3315         (add_locale_raw_obstack): Likewise.
3316         (add_locale_string): Likewise.
3317         (add_locale_wstring): Likewise.
3318         (add_locale_uint32): Likewise.
3319         (add_locale_uint32_array): Likewise.
3320         (add_locale_char): Likewise.
3321         (start_locale_structure): Likewise.
3322         (end_locale_structure): Likewise.
3323         (start_locale_prelude): Likewise.
3324         (end_locale_prelude): Likewise.
3325         (write_locale_data): Take locale_file structure rather than an
3326         iovec.
3327         * locale/programs/locfile.h: Include "obstack.h".
3328         (struct locale_file): Change to store locale file contents instead
3329         of header.
3330         (init_locale_data): New prototype.
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): Update prototype.
3345         * locale/programs/3level.h (struct TABLE): Remove result field.
3346         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3347         Use new locale_file interface.
3348         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3349         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3350         * locale/programs/ld-address.c (address_output): Use new
3351         locale_file interface.
3352         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3353         NO_ADD_LOCALE.
3354         (collate_finish): Don't call collseq_table_finalize.
3355         (collate_output): Use new locale_file interface.
3356         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3357         in file.
3358         (NO_FINALIZE): Change to NO_ADD_LOCALE.
3359         (TABLE): Move defines earlier in file.
3360         (ELEMENT): Likewise.
3361         (DEFAULT): Likewise.
3362         (wctrans_table_add): Move macro and inline function earlier in
3363         file.
3364         (struct wctype_table): Move type earlier in file.
3365         (add_locale_wctype_table): New static prototype.
3366         (struct locale_ctype_t): Use logical types instead of struct iovec
3367         pointers for members.
3368         (ctype_output): Use new locale_file interface.
3369         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
3370         new locale_file interface.
3371         (allocate_arrays): Update for use of new locale_file interface.
3372         * locale/programs/ld-identification.c (identification_output): Use
3373         new locale_file interface.
3374         * locale/programs/ld-measurement.c (measurement_output): Likewise.
3375         * locale/programs/ld-messages.c (messages_output): Likewise.
3376         * locale/programs/ld-monetary.c (monetary_output): Likewise.
3377         * locale/programs/ld-name.c (name_output): Likewise.
3378         * locale/programs/ld-numeric.c (numeric_output): Likewise.
3379         * locale/programs/ld-paper.c (paper_output): Likewise.
3380         * locale/programs/ld-telephone.c (telephone_output): Likewise.
3381         * locale/programs/ld-time.c (time_output): Likewise.
3383 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3385         * benchtests/Makefile: Add memrchr benchmark.
3386         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3387         benchmark as memrchr.
3388         * benchtests/bench-memrchr-ifunc.c: New file.
3389         * benchtests/bench-memrchr.c: New file.
3391 2013-09-06   Will Newton  <will.newton@linaro.org>
3393         * benchtests/Makefile (string-bench): Add memcpy.
3395 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
3396             Cong Wang  <amwang@redhat.com>
3398         * sysdeps/unix/sysv/linux/bits/in.h
3399         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3400         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3401         before __USE_KERNEL_IPV6_DEFS uses.
3402         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3403         IPPROTO_BEETPH.
3404         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3405         sockaddr_in6, or ipv6_mreq.
3407 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3409         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3410         memory access for final bytes in some large inputs.
3411         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3413 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3415         * string/test-memrchr.c: New file.
3416         * string/test-memrchr-ifunc.c: New file.
3417         * string/Makefile: Add new memrchr testcase.
3419 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
3421         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3422         fanotify_init returns EPERM.
3424 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3426         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3427         errors.
3428         (top level): Treat second token from macro or constant entries for
3429         allowed headers as allowed.
3430         * include/complex.h: Condition internal declarations on
3431         [!_ISOMAC].
3432         * include/fenv.h: Condition include of <stdbool.h> and internal
3433         declarations on [!_ISOMAC].
3435 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
3437         [BZ #15923]
3438         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3440 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3442         * configure.in (--enable-versioning): Remove configure option.
3443         (libc_cv_asm_symver_directive): Remove configure test.
3444         (libc_cv_ld_version_script_option): Likewise.
3445         (VERSIONING): Remove variable and AC_SUBST.
3446         (DO_VERSIONING): Remove AC_DEFINE.
3447         * configure: Regenerated.
3448         * config.h.in (DO_VERSIONING): Remove macro.
3449         * Makerules [$(versioning) = yes]: Change conditionals to
3450         [$(build-shared) = yes].
3451         * config.make.in (versioning): Remove variable.
3452         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3453         [$(build-shared) = yes].
3454         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3455         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3456         * elf/Makefile [$(versioning) = yes]: Change conditionals to
3457         [$(build-shared) = yes].
3458         * extra-lib.mk [$(versioning) = yes]: Likewise.
3459         * hurd/Makefile [$(versioning) = yes]: Likewise.
3460         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3461         [SHARED].
3462         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3463         [SHARED].
3464         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3465         [SHARED && !NO_HIDDEN].
3466         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3467         [SHARED].
3468         [SHARED && DO_VERSIONING]: Likewise..
3469         * libio/Makefile [$(versioning) = yes]: Change conditionals to
3470         [$(build-shared) = yes].
3471         * manual/install.texi (--disable-versioning): Remove
3472         documentation.
3473         * INSTALL: Regenerated.
3474         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3475         to [SHARED].
3476         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3477         [$(build-shared) = yes].
3478         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3479         * sysdeps/i386/i686/multiarch/strstr-c.c
3480         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3481         [SHARED && !NO_HIDDEN].
3482         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3483         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3484         * sysdeps/powerpc/powerpc32/dl-machine.c
3485         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3486         * sysdeps/powerpc/powerpc32/sysdep.h
3487         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3488         to [SHARED && PIC && !NO_HIDDEN].
3489         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3490         conditional to [SHARED].
3492 2013-09-04   Will Newton  <will.newton@linaro.org>
3494         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3495         * benchtests/bench-string.h: Include bench-timing.h instead
3496         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3497         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3498         call to HP_TIMING_DIFF_INIT.
3499         * benchtests/bench-memccpy.c: Use bench-timing.h macros
3500         instead of hp-timing.h macros.
3501         * benchtests/bench-memchr.c: Likewise.
3502         * benchtests/bench-memcmp.c: Likewise.
3503         * benchtests/bench-memcpy.c: Likewise.
3504         * benchtests/bench-memmem.c: Likewise.
3505         * benchtests/bench-memmove.c: Likewise.
3506         * benchtests/bench-memset.c: Likewise.
3507         * benchtests/bench-rawmemchr.c: Likewise.
3508         * benchtests/bench-strcasecmp.c: Likewise.
3509         * benchtests/bench-strcasestr.c: Likewise.
3510         * benchtests/bench-strcat.c: Likewise.
3511         * benchtests/bench-strchr.c: Likewise.
3512         * benchtests/bench-strcmp.c: Likewise.
3513         * benchtests/bench-strcpy.c: Likewise.
3514         * benchtests/bench-strcpy_chk.c: Likewise.
3515         * benchtests/bench-strlen.c: Likewise.
3516         * benchtests/bench-strncasecmp.c: Likewise.
3517         * benchtests/bench-strncat.c: Likewise.
3518         * benchtests/bench-strncmp.c: Likewise.
3519         * benchtests/bench-strncpy.c: Likewise.
3520         * benchtests/bench-strnlen.c: Likewise.
3521         * benchtests/bench-strpbrk.c: Likewise.
3522         * benchtests/bench-strrchr.c: Likewise.
3523         * benchtests/bench-strspn.c: Likewise.
3524         * benchtests/bench-strstr.c: Likewise.
3526 2013-09-04  Will Newton  <will.newton@linaro.org>
3528         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3530 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
3532         [BZ #15427]
3533         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3534         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3535         * math/libm-test.inc (lgamma_test_data): Add more tests.
3536         * sysdeps/i386/fpu/libm-test-ulps: Update.
3537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3539 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
3541         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3543         Add ifunc.
3544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3545         Add strcmp-sse2-unaligned
3546         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3548 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3550         * Versions.def (libc): Add GLIBC_2.19.
3552 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3554         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3555         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3557 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
3559         [BZ #14155]
3560         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3561         intermediate calculations in recurrence.
3562         (__ieee754_ynf): Likewise.
3563         * math/libm-test.inc (jn_test_data): Do not allow spurious
3564         underflow exception.  Add more tests.
3565         (yn_test_data): Add more tests.
3566         * sysdeps/i386/fpu/libm-test-ulps: Update.
3567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3569 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
3571         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3573 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3575         * csu/init-first.c: Fix then/than typos.
3576         * locale/programs/ld-collate.c: Likewise.
3577         * locale/programs/linereader.h: Likewise.
3578         * manual/charset.texi: Likewise.
3579         * manual/filesys.texi: Likewise.
3580         * manual/stdio.texi: Likewise.
3581         * manual/string.texi: Likewise.
3582         * stdlib/fmtmsg.c: Likewise.
3583         * sysdeps/i386/stpncpy.S: Likewise.
3584         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3585         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3586         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3587         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3589 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3591         * elf/dl-open.c: Fix typos.
3592         * iconvdata/gbbig5.c: Likewise.
3593         * iconvdata/iso-2022-jp.c: Likewise.
3594         * iconv/gconv_int.h: Likewise.
3595         * iconv/loop.c: Likewise.
3596         * nis/rpcsvc/nis.h: Likewise.
3597         * resolv/ns_name.c: Likewise.
3598         * stdio-common/vfscanf.c: Likewise.
3599         * streams/stropts.h: Likewise.
3600         * sunrpc/rpc_thread.c: Likewise.
3601         * sysdeps/i386/strpbrk.S: Likewise.
3602         * sysdeps/ieee754/k_standard.c: Likewise.
3603         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3604         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3605         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3606         * sysdeps/mach/hurd/profil.c: Likewise.
3607         * sysdeps/s390/dl-procinfo.h: Likewise.
3608         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3609         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3610         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3611         * sysdeps/x86_64/dl-trampoline.S: Likewise.
3612         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3614 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
3616         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3619 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
3621         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3622         aix specific files.
3623         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3624         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3625         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3626         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3627         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3628         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3629         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3630         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3632 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3633             Roland McGrath  <roland@hack.frob.com>
3635         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3636         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3638 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3640         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3641         __executable_start symbol instead of _start.
3643 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3645         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3646         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3647         Move macros to...
3648         * sysdeps/gnu/ldsodefs.h: ... this new file.
3650         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3651         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3652         instead of ELFOSABI_LINUX.
3654         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3655         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3656         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3657         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3658         Likewise.
3659         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3660         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3661         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3662         Likewise.
3663         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3664         (ibm_extended_long_double): Add ieee_nan member.
3665         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3666         (do_test): New function.
3668         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3669         TEST_TRUNC.
3670         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3671         functions, renamed from truncdfsf_test, trunctfsf_test,
3672         trunctfdf_test.
3673         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3674         functions.
3675         (do_test): Run all these.
3677 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
3679         * argp/argp-help.c: Fix typos.
3680         * argp/argp-parse.c: Likewise.
3681         * debug/backtracesyms.c: Likewise.
3682         * elf/elf.h: Likewise.
3683         * malloc/malloc.c: Likewise.
3684         * nis/nis_print.c: Likewise.
3685         * resolv/res_comp.c: Likewise.
3686         * stdlib/stdlib.h: Likewise.
3687         * sunrpc/clnt_tcp.c: Likewise.
3688         * sunrpc/clnt_udp.c: Likewise.
3689         * sunrpc/clnt_unix.c: Likewise.
3690         * sysdeps/unix/bsd/ptsname.c: Likewise.
3691         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3692         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3694         Likewise.
3695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3698         Likewise.
3699         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3701 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3703         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3706 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
3708         [BZ #15897]
3709         * dlfcn/Makefile (tests): Add bug-dl-leaf.
3710         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3711         ($(objpfx)bug-dl-leaf): New rule.
3712         ($(objpfx)bug-dl-leaf.so): Likewise.
3713         ($(objpfx)bug-dl-leaf.out): Likewise.
3714         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3715         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3716         * dlfcn/bug-dl-leaf.c: New test.
3717         * dlfcn/bug-dl-leaf-lib.c: Likewise.
3718         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3719         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3720         (dlclose): Likewise.
3721         (dlmopen): Likewise.
3723 2013-08-27  Roland McGrath  <roland@hack.frob.com>
3725         * include/netdb.h [!_ISOMAC]:
3726         Don't include <tls.h>.
3727         (h_errno, __libc_h_errno): Move declaration and macros out of
3728         [_LIBC_REENTRANT].
3730         * include/resolv.h [_RESOLV_H_]:
3731         Don't include <tls.h>.
3732         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3733         * resolv/res_libc.c: Don't include <tls.h>.
3734         (_res): Use __attribute__ ((nocommon)) in place of
3735         __attribute__ ((section (".bss"))).
3737         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3738         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3740         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3742         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3743         only under [SIOCGIFCONF && SIOCGIFNETMASK].
3745         * resolv/res_mkquery.c: Include <sys/time.h>.
3747         * inet/ifreq.c: Moved to ...
3748         * sysdeps/unix/ifreq.c: ... here.
3749         * inet/ifreq.c: New file, true stub version.
3751         * socket/sa_len.c: New file.
3752         * socket/Makefile (aux): Add it.
3753         * sysdeps/unix/sysv/linux/Makefile
3754         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3755         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3756         and #include <socket/sa_len.c>.
3757         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3758         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3760         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3761         * bits/socket.h: ... here.
3763         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3764         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3765         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3767 2013-08-27  Andreas Schwab  <schwab@suse.de>
3769         [BZ #15736]
3770         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3771         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3772         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3773         * string/test-strcasecmp.c (test_main): Run tests in several
3774         locales.
3775         * string/test-strncasecmp.c (test_main): Likewise.
3777         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3778         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3779         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3780         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3781         (__strncasecmp_ssse3) [PIC]: Likewise.
3783 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3785         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3787         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3788         instead of explicitly declaring xdecrypt.
3789         * nis/nss_nis/nis-publickey.c: Likewise.
3791 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3793         [BZ #15890]
3794         * nscd/aicache.c: Include res_hconf.h.
3795         (addhstaiX): Initialize res_hconf.
3797 2013-08-26  Andreas Schwab  <schwab@suse.de>
3799         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3800         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3802 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3804         * nscd/aicache.c (addhstaiX): Fix indentation.
3806 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3808         * configure.ac: Quote $build_pt_chown test.
3809         * configure: Regenerated.
3811 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3813         [BZ #15532]
3814         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3815         * math/s_cexpf.c (__cexpf): Likewise.
3816         * math/s_cexpl.c (__cexpl): Likewise.
3817         * math/libm-test.inc (cexp_test_data): Correct expected return
3818         value for NaN + i0.  Add another test.
3820 2013-08-22  David S. Miller  <davem@davemloft.net>
3822         * po/ca.po: Update Catalan translation from translation project.
3823         * po/uk.po: Add Ukrainian translations from translation project.
3825 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3827         [BZ #15797]
3828         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3829         is infinite, not alongside NaN test.
3830         * math/s_fdimf.c (__fdimf): Likewise.
3831         * math/s_fdiml.c (__fdiml): Likewise.
3832         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3833         errno is unchanged.
3835 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3837         * argp/argp-help.c: Fix typos.
3838         * crypt/speeds.c: Likewise.
3839         * csu/check_fds.c: Likewise.
3840         * elf/dl-load.c: Likewise.
3841         * elf/dl-open.c: Likewise.
3842         * elf/reldep3.c: Likewise.
3843         * elf/reldep.c: Likewise.
3844         * elf/sprof.c: Likewise.
3845         * iconv/iconv_charmap.c: Likewise.
3846         * iconv/skeleton.c: Likewise.
3847         * iconv/strtab.c: Likewise.
3848         * io/lockf64.c: Likewise.
3849         * libio/libioP.h: Likewise.
3850         * resolv/gai_notify.c: Likewise.
3851         * resolv/ns_name.c: Likewise.
3852         * resolv/ns_samedomain.c: Likewise.
3853         * resolv/res_send.c: Likewise.
3854         * stdlib/random.c: Likewise.
3855         * sunrpc/rpc/xdr.h: Likewise.
3856         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3857         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3858         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3859         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3860         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3861         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3862         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3863         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3864         * sysdeps/mach/hurd/check_fds.c: Likewise.
3865         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3866         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3867         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3868         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3869         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3870         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3871         * sysdeps/pthread/aio_notify.c: Likewise.
3872         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3873         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3874         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3875         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3876         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3878 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3880         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3881         version if bit_Slow_SSE4_2 is set.
3882         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3883         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3885 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3887         [BZ #15867]
3888         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3889         trampoline stack frame information.
3890         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3891         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3892         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3893         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3894         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3895         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3896         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3897         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3898         sa_flags value.
3899         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3900         interrupting a syscall and set with option SA_SIGINFO.
3902 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3904         [BZ #15531]
3905         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3906         argument is infinite.
3907         * math/s_cprojf.c (__cprojf): Likewise.
3908         * math/s_cprojl.c (__cprojl): Likewise.
3909         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3910         * math/libm-test.inc (cproj_test_data): Add more tests.
3912         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3914         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3915         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3916         size.  Use __ffs to determine corresponding shift.
3918 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3919             Roland McGrath  <roland@hack.frob.com>
3921         * Makefile (INSTALL): Remove trailing blank lines from output of
3922         makeinfo.
3924 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3926         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3927         Align 32 bit compat elf_greg to 8 bytes.
3929 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3931         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3933 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3935         * string/strcoll_l.c (coll_seq): New structure.
3936         (get_next_seq_cached): New function.
3937         (get_next_seq): New function.
3938         (do_compare): New function.
3939         (STRCOLL): Use GNU style definition.  Simplify implementation
3940         by using get_next_seq, get_next_seq_cached and do_compare.
3942 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3944         [BZ #14699]
3945         CVE-2013-4237
3946         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3947         member.
3948         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3949         member.
3950         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3951         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3952         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3953         conditional.
3954         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3955         GETDENTS_64BIT_ALIGNED.
3956         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3957         * manual/filesys.texi (Reading/Closing Directory): Document
3958         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3959         strongly.
3960         * manual/conf.texi (Limits for Files): Add portability note to
3961         NAME_MAX, PATH_MAX.
3962         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3964 2013-08-13  Andreas Schwab  <schwab@suse.de>
3966         [BZ #15749]
3967         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3968         of fabs.
3969         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3970         LDBL_MAX_EXP >= 16384]: Add tests for it.
3972 2013-08-12  David S. Miller  <davem@davemloft.net>
3974         * version.h (RELEASE): Set to "development".
3975         (VERSION): Set to "2.18.90".
3976         * NEWS: Add 2.19 section.
3978 2013-08-03  David S. Miller  <davem@davemloft.net>
3980         * po/ko.po: Update Korean translation from translation project.
3982 2013-08-01  David S. Miller  <davem@davemloft.net>
3984         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3985         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3986         Bilka.
3988 2013-07-30  David S. Miller  <davem@davemloft.net>
3990         * po/fr.po: Update French translation from translation project.
3992 2013-07-28  David S. Miller  <davem@davemloft.net>
3994         * po/cs.po: Update Czech translation from translation project.
3996         * po/sv.po: Update Swedish translation from translation project.
3998 2013-07-27  David S. Miller  <davem@davemloft.net>
4000         * po/eo.po: Update Esperanto translation from translation project.
4002         * po/vi.po: Update Vietnamese translation from translation project.
4004         * po/de.po: Update German translation from translation project.
4006 2013-07-26  David S. Miller  <davem@davemloft.net>
4008         * po/bg.po: Update Bulgarian translation from translation project.
4010         * po/nl.po: Update Dutch translation from translation project.
4011         * po/pl.po: Update Polish translation from translation project.
4012         * po/ru.po: Update Russian translation from translation project.
4014 2013-07-24  David S. Miller  <davem@davemloft.net>
4016         * po/libc.pot: Update.
4018 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4020         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4021         variable page size.
4022         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4023         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4024         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4026 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4028         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4030 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4031             Andreas Schwab  <schwab@suse.de>
4032             Roland McGrath  <roland@hack.frob.com>
4033             Joseph Myers  <joseph@codesourcery.com>
4034             Carlos O'Donell  <carlos@redhat.com>
4036         [BZ #15755]
4037         * config.h.in: Define HAVE_PT_CHOWN.
4038         * config.make.in (build-pt-chown): New variable.
4039         * configure.in (--enable-pt_chown): New configure option.
4040         * configure: Regenerate.
4041         * login/Makefile: Include Makeconfig.  Build pt_chown only if
4042         build-pt-chown is enabled.
4043         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4044         pt_chown to fix pty ownership.
4045         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4046         CLOSE_ALL_FDS.
4047         * manual/install.texi (Configuring and compiling): Mention
4048         --enable-pt_chown. Add @findex for grantpt.
4049         * INSTALL: Regenerate.
4051 2013-07-20  David S. Miller  <davem@davemloft.net>
4053         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4054         difference between 32-bit and 64-bit.
4056 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
4058         [BZ #15711]
4059         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4060         Avoid system header dependency with -ffreestanding.
4061         ($(objpfx)bits/syscall%d): Likewise.
4063 2013-07-13  David S. Miller  <davem@davemloft.net>
4065         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4066         underflows from atanl/atan2l due to bug 15319.
4067         (casinh_test_data): Likewise.
4069 2013-07-07  David S. Miller  <davem@davemloft.net>
4071         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4073 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
4075         * sysdeps/i386/fpu/libm-test-ulps: Update.
4076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4078 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4080         * configure.in (--enable-lock-elision): Fix message text.
4081         * INSTALL: Regenerate.
4082         * configure: Regenerate.
4084 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4088 2013-07-03  Andreas Jaeger  <aj@suse.de>
4090         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4091         define.
4092         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4093         (ptrace_peeksiginfo_args): Add.
4094         (__ptrace_peeksiginfo_flags): Add.
4095         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4096         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4097         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4099 2013-07-03  Allan McRae  <allan@archlinux.org>
4101         * sysdeps/i386/fpu/libm-test-ulps: Update.
4103 2013-07-02  David S. Miller  <davem@davemloft.net>
4105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4107 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
4109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4111 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4113         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116 2013-07-02  Andi Kleen <ak@linux.intel.com>
4118         * config.h.in (ENABLE_LOCK_ELISION): Add.
4119         * configure.in (--enable-lock-elision): Add option.
4120         * manual/install.texi: Document --enable lock elision.
4121         * configure: Regenerate
4122         * INSTALL: Regenerate.
4124 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4126         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4127         SSE4.2 strcasecmp for libc.a.
4128         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4130 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4132         [BZ #13304]
4133         * soft-fp/op-common.h (_FP_FMA): New macro.
4134         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4135         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
4136         (_FP_MUL_MEAT_1_imm): ... here.
4137         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
4138         (_FP_MUL_MEAT_1_wide): ... here.
4139         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
4140         (_FP_MUL_MEAT_1_hard): ... here.
4141         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4142         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
4143         (_FP_MUL_MEAT_2_wide): ... here.
4144         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
4145         (_FP_MUL_MEAT_2_wide_3mul): ... here.
4146         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
4147         (_FP_MUL_MEAT_2_gmp): ... here.
4148         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4149         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
4150         (_FP_MUL_MEAT_4_wide): ... here.
4151         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
4152         (_FP_MUL_MEAT_4_gmp): ... here.
4153         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4154         (_FP_WFRACBITS_DW_S): Likewise.
4155         (_FP_WFRACXBITS_DW_S): Likewise.
4156         (_FP_HIGHBIT_DW_S): Likewise.
4157         (FP_FMA_S): Likewise.
4158         (_FP_FRAC_HIGH_DW_S): Likewise.
4159         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4160         (_FP_WFRACBITS_DW_D): Likewise.
4161         (_FP_WFRACXBITS_DW_D): Likewise.
4162         (_FP_HIGHBIT_DW_D): Likewise.
4163         (FP_FMA_D): Likewise.
4164         (_FP_FRAC_HIGH_DW_D): Likewise.
4165         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4166         (_FP_WFRACBITS_DW_E): Likewise.
4167         (_FP_WFRACXBITS_DW_E): Likewise.
4168         (_FP_HIGHBIT_DW_E): Likewise.
4169         (FP_FMA_E): Likewise.
4170         (_FP_FRAC_HIGH_DW_E): Likewise.
4171         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4172         (_FP_WFRACBITS_DW_Q): Likewise.
4173         (_FP_WFRACXBITS_DW_Q): Likewise.
4174         (_FP_HIGHBIT_DW_Q): Likewise.
4175         (FP_FMA_Q): Likewise.
4176         (_FP_FRAC_HIGH_DW_Q): Likewise.
4177         * soft-fp/fmasf4.c: New file.
4178         * soft-fp/fmadf4.c: Likewise.
4179         * soft-fp/fmatf4.c: Likewise.
4181 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4184         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4185         Silvermont.
4186         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4187         macro.
4188         (index_Slow_SSE4_2): Likewise.
4189         (index_Prefer_PMINUB_for_stringop): Likewise.
4190         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4191         bit_Slow_SSE4_2 is set.
4192         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4193         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4195 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4197         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4198         rtld_global._dl_hwcap2.
4199         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4200         POWER8.
4201         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4202         POWER8 feature descriptions defined in _dl_hwcap2.
4203         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4204         string handling for POWER8 feature bits.
4205         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4206         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4207         _dl_powerpc_cap_flags.
4208         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4209         * sysdeps/powerpc/rtld-global-offsets.sym
4210         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4211         _dl_hwcap2 in the rtld_global_ro structure.
4213 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4215         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4216         hardware capabilities in support of AT_HWCAP2.
4217         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4218         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4219         GLRO(dl_hwcap2).
4220         (_dl_show_auxv): Add support for calling _dl_procinfo to display
4221         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
4222         explicitly the unknown a_type display mechanism is used.
4223         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4224         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4225         struct member.
4226         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4227         to macro prototype for AT_HWCAP2 support.
4228         * sysdeps/i386/dl-procinfo.h: Likewise.
4229         * sysdeps/s390/dl-procinfo.h: Likewise.
4230         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4231         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
4232         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
4233         return -1 for unknown a_type display fallback.
4234         * sysdeps/sparc/dl-procinfo.h: Likewise.
4235         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4236         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4238 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
4240         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4241         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4243 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
4245         [BZ #12492]
4246         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4247         mprotect making __stack_prot writable.
4249 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
4250             Joseph Myers  <joseph@codesourcery.com>
4252         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4253         as being properly aligned.
4255 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
4257         * dlfcn/modstatic5.c: New file.
4258         * dlfcn/tststatic5.c: New file.
4259         * dlfcn/Makefile (tests): Add tststatic5.
4260         (tests-static): Likewise.
4261         (modules-names): Add modstatic5.
4262         (tststatic5-ENV): New variable.
4263         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4265         [BZ #15022]
4266         * elf/dl-support.c (_dl_main_map): New variable.
4267         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4268         (_dl_nns, _dl_load_adds): Set to 1.
4269         (_dl_initial_searchlist): Refer to _dl_main_map.
4270         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4271         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4272         call to _dl_get_origin.
4273         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4274         around call_map.
4275         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4276         * dlfcn/modstatic3.c: New file.
4277         * dlfcn/tststatic3.c: New file.
4278         * dlfcn/tststatic4.c: New file.
4279         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4280         (tests-static): Likewise.
4281         (modules-names): Add modstatic3.
4282         (tststatic3-ENV, tststatic4-ENV): New variables.
4283         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4284         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4286 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
4288         * configure.in (CC): Require GCC version 4.4 or later.
4289         * configure: Regenerated.
4290         * manual/install.texi (Tools for Compilation): Update GCC version
4291         requirement.
4292         * INSTALL: Regenerated.
4294 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4296         [BZ #15674]
4297         * string/test-memcmp.c (check2): New.
4298         (main): Call check2.
4300         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4302 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
4304         [BZ #15022]
4305         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4306         over to...
4307         (dl_open_worker) [!SHARED]: ... here.
4309 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4311         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4313 2013-06-25  Richard Henderson  <rth@redhat.com>
4315         * locale/programs/locarchive.c: Include <libc-internal.h>
4317 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
4319         * manual/texinfo.tex: Update to version 2013-06-21.17, with
4320         trailing whitespace removed.
4322 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4324         [BZ #10283]
4325         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4326         * locale/programs/locarchive.c: Include libc-mmap.h.
4327         (prepare_address_space): Take two new outputs (the mmap base and len).
4328         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
4329         values.
4330         (create_archive): Declare new mmap base and len values for
4331         prepare_address_space, and store the result in ah.
4332         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4333         (enlarge_archive): If ah->mmap_base is not NULL, use that and
4334         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4335         Declare new mmap base and len values for
4336         prepare_address_space, and store the result in new_ah.
4337         (open_archive): Declare new mmap base and len values for
4338         prepare_address_space, and store the result in ah.
4339         (close_archive): If ah->mmap_base is not NULL, use that and
4340         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4341         * sysdeps/generic/libc-mmap.h: New file.
4343 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
4345         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4346         (ALIGN_UP): Likewise.
4347         (PTR_ALIGN_DOWN): Likewise.
4348         (PTR_ALIGN_UP): Likewise.
4350 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4352         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4353         entry mapped to PPC_PLATFORM_POWER8.
4354         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4355         POWER8.
4356         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4357         (_dl_string_platform): Add case for exporting platform position for
4358         POWER8.
4359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4360         search path to sysdeps/powerpc/powerpc32/power8 directory.
4361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4362         search path to sysdeps/powerpc/powerpc64/power8 directory.
4363         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4364         power7 directories.
4365         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4366         power7 directories.
4368 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4370         * INSTALL: Regenerate.
4372         * nscd/connections.c (nscd_init): Fix comment.
4374 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
4376         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4378         [BZ #15667]
4379         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4380         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4382 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4384         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4385         DL_DST_REQ_STATIC.
4386         (DL_DST_REQ_STATIC): Remove macro.
4388 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4390         [BZ #7006]
4391         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4392         with a shift of 0 bits.
4394 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
4396         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4397         $(tststatic-ENV).
4399 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4401         [BZ #15655]
4402         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4404 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4406         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4407         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4408         accepts -fno-tree-loop-distribute-patterns.
4409         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4410         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4411         recursive call.
4412         * string/memset.c (memset): Likewise.
4413         * string/test-memmove.c (simple_memmove): Disable loop transformation
4414         to library calls.
4415         * string/test-memset.c (simple_memset): Likewise.
4416         * benchtests/bench-memmove.c (simple_memmove): Likewise.
4417         * benchtests/bench-memset.c (simple_memset): Likewise.
4418         * configure: Regenerated.
4420 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
4422         * math/test-misc.c (main): Ignore fesetround failure when failures
4423         of subsequent rounding tests would be ignored.
4425         [BZ #15654]
4426         * math/fedisblxcpt.c (fedisableexcept): Return 0.
4427         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4428         * math/fegetenv.c (__fegetenv): Return 0.
4429         * math/fegetexcept.c (fegetexcept): Return 0.
4430         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4431         FE_TONEAREST.
4432         * math/feholdexcpt.c (feholdexcept): Return 0.
4433         * math/fesetenv.c (__fesetenv): Return 0.
4434         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4435         argument FE_TONEAREST.
4436         * math/feupdateenv.c (__feupdateenv): Return 0.
4437         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4439 2013-06-18  Roland McGrath  <roland@hack.frob.com>
4441         * elf/rtld-Rules (rtld-compile-command.S): New variable.
4442         (rtld-compile-command.s, rtld-compile-command.c): New variables.
4443         ($(objpfx)rtld-%.os rules): Use them.
4445 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4447         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4448         fields.
4450 2013-06-17  Roland McGrath  <roland@hack.frob.com>
4452         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4453         length of target pattern, then descending length of dependency pattern.
4454         * configure.in (AWK): Require gawk 3.1.2 or newer.
4455         * manual/install.texi (Tools for Compilation): Say that we do.
4456         * configure: Regenerated.
4458         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4459         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4460         * scripts/sysd-rules.awk: ... this new script.
4461         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4462         than a glob-style pattern.
4464 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
4466         * math/test-misc.c (main): Do not treat incorrectly rounded
4467         conversions as failure unless ROUNDING_TESTS passes.
4469 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
4471         [BZ #15631]
4472         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4473         restore exception state around main square root computation, then
4474         check for inexactness explicitly.
4476         * math/libm-test.inc (fma_test_data): Add another test.
4478 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4480         * manual/threads.texi (Non-POSIX Extensions): New document
4481         node.  Document pthread_getattr_default_np and
4482         pthread_setattr_default_np.
4484         * Versions.def (libpthread): Add GLIBC_2.18.
4485         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4487         Likewise.
4488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4489         Likewise.
4490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4491         Likewise.
4492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4493         Likewise.
4494         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4495         Likewise.
4496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4497         Likewise.
4498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4499         Likewise.
4500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4501         Likewise.
4502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4503         Likewise.
4505 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4508         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4510 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4511             H.J. Lu  <hjl.tools@gmail.com>
4513         [BZ #15627]
4514         * sysdeps/x86_64/rtld-memset.c: Remove file.
4515         * sysdeps/x86_64/rtld-memset.S: New file.
4517 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
4519         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4520         (test_in_one_mode): Take arguments for whether the rounding mode
4521         is supported for each floating-point type.
4522         (do_test): Pass new arguments to test_in_one_mode using
4523         ROUNDING_TESTS.
4525 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4527         * posix/tst-waitid.c (do_test): Distinguish different instances of
4528         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
4529         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4530         before entering the kernel for waitpid.
4532 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4534         * NEWS: Fix note on clock function precision.  Text by Roland
4535         McGrath.
4537 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4539         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4540         it into place only when and if the sanity check passes.
4542 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
4544         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4545         output for whether conversion result is exact.  Take argument
4546         indicating whether type is IBM long double.
4547         (round_for_all): Change need_exact field to ibm_ld.
4548         * stdlib/tst-strtod-round.c (struct exactness): New type.
4549         (struct test): Change bool ld_ok field to struct exactness exact.
4550         (TEST): Update all definitions for change to field.
4551         (tests): Regenerate array contents.
4552         (test_in_one_mode): Take pointer to new field instead of old ld_ok
4553         field value.  Check for IBM long double here.
4554         (do_test): Update calls to test_in_one_mode.
4556 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4558         [BZ #12515]
4559         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4560         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4562 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4564         [BZ #15605]
4565         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4566         generated by the compiler on loop optimizations.
4567         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4568         general definitions.
4570 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
4572         * math/bug-nextafter.c: Include <math-tests.h>.
4573         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4574         the relevant type.
4575         * math/bug-nexttoward.c: Include <math-tests.h>.
4576         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4577         the relevant type.
4578         * math/test-misc.c: Include <math-tests.h>.
4579         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4580         the relevant type.
4582 2013-06-12  Andreas Jaeger  <aj@suse.de>
4584         * po/ia.po: Update Interlingua translation from translation
4585         project.
4587 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4589         * include/fenv.h: Include stdbool.h.
4590         (struct rm_ctx): New structure.
4591         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4592         Define macro.
4593         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4594         (SET_RESTORE_ROUNDF): Likewise.
4595         (SET_RESTORE_ROUNDL): Likewise.
4596         (SET_RESTORE_ROUND_NOEX): Likewise.
4597         (SET_RESTORE_ROUND_NOEXF): Likewise.
4598         (SET_RESTORE_ROUND_NOEXL): Likewise.
4599         (SET_RESTORE_ROUND_53BIT): Likewise.
4600         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4601         (libc_feresetround_noexf_ctx): Likewise.
4602         (libc_feresetround_noexl_ctx): Likewise.
4603         (libc_feholdsetround_53bit_ctx): Likewise.
4604         (libc_feresetround_53bit_ctx): Likewise.
4605         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4606         (libc_feholdexcept_setround_sse_ctx): New function.
4607         (libc_fesetenv_sse_ctx): Likewise.
4608         (libc_feupdateenv_sse_ctx): Likewise.
4609         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4610         (libc_feholdexcept_setround_387_ctx): Likewise.
4611         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4612         (libc_feholdsetround_387_prec_ctx): Likewise.
4613         (libc_feholdsetround_387_ctx): Likewise.
4614         (libc_feholdsetround_387_53bit_ctx): Likewise.
4615         (libc_feholdsetround_sse_ctx): Likewise.
4616         (libc_feresetround_sse_ctx): Likewise.
4617         (libc_feresetround_387_ctx): Likewise.
4618         (libc_feupdateenv_387_ctx): Likewise.
4619         (libc_feholdexcept_setroundf_ctx): Define macro.
4620         (libc_fesetenvf_ctx): Likewise.
4621         (libc_feupdateenvf_ctx): Likewise.
4622         (libc_feholdsetroundf_ctx): Likewise.
4623         (libc_feresetroundf_ctx): Likewise.
4624         (libc_feholdexcept_setround_ctx): Likewise.
4625         (libc_fesetenv_ctx): Likewise.
4626         (libc_feupdateenv_ctx): Likewise.
4627         (libc_feholdsetround_ctx): Likewise.
4628         (libc_feresetround_ctx): Likewise.
4629         (libc_feholdexcept_setroundl_ctx): Likewise.
4630         (libc_feupdateenvl_ctx): Likewise.
4631         (libc_feholdsetroundl_ctx): Likewise.
4632         (libc_feresetroundl_ctx): Likewise.
4633         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4634         (libc_feresetround_53bit_ctx): Likewise.
4636 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4638         * locale/iso-639.def: Convert to UTF-8.
4640 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
4642         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4643         (EXCEPTION_TESTS_double): Likewise.
4644         (EXCEPTION_TESTS_long_double): Likewise.
4645         (EXCEPTION_TESTS): Likewise.
4646         * math/libm-test.inc (test_exceptions): Only test exceptions if
4647         EXCEPTION_TESTS (FLOAT).
4649 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4651         * benchtests/Makefile (string-bench): Add strcpy_chk and
4652         stpcpy_chk.
4653         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4654         * benchtests/bench-stpcpy_chk.c: New file.
4655         * benchtests/bench-strcpy_chk-ifunc.c: New file.
4656         * benchtests/bench-strcpy_chk.c: New file.
4657         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4658         code.
4659         (do_test): Likewise.
4661 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4663         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4664         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4665         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4666         with tabs where appropriate.
4667         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4668         dl-procinfo.h.
4669         [PPC_PLATFORM_PPC440]: Likewise.
4670         [PPC_PLATFORM_PPC464]: Likewise.
4671         [PPC_PLATFORM_PPC476]: Likewise.
4672         (_dl_string_platform): Add support for detecting ppc405, ppc440,
4673         ppc464, and ppc476 platform strings merging from ports/
4674         dl-procinfo.h.
4676 2013-06-11  Andreas Schwab  <schwab@suse.de>
4678         [BZ #14991]
4679         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4680         (from_ucs4_idx): Regenerate.
4681         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4682         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4683         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4684         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4685         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4686         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4687         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4688         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4689         from FROM_LOOP and TO_LOOP specific macros.
4690         (BODY): Handle combining characters.
4691         * iconvdata/BIG5HKSCS.irreversible: Update.
4692         * iconvdata/BIG5HKSCS.precomposed: New file.
4693         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4694         characters.
4695         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4697 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4699         * include/sys/time.h: Fix indentation and add copyright header.
4701         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4702         (do_test): Likewise.
4703         * string/test-memchr.c (do_one_test): Likewise.
4704         (do_test): Likewise.
4705         * string/test-memcmp.c (do_one_test): Likewise.
4706         (do_test): Likewise.
4707         * string/test-memcpy.c (do_one_test): Likewise.
4708         (do_test): Likewise.
4709         * string/test-memmem.c (do_one_test): Likewise.
4710         (do_test): Likewise.
4711         (do_random_tests): Likewise.
4712         * string/test-memmove.c (do_one_test): Likewise.
4713         (do_test): Likewise.
4714         * string/test-memset.c (do_one_test): Likewise.
4715         (do_test): Likewise.
4716         * string/test-rawmemchr.c (do_one_test): Likewise.
4717         (do_test): Likewise.
4718         * string/test-strcasecmp.c (do_one_test): Likewise.
4719         (do_test): Likewise.
4720         * string/test-strcasestr.c (do_one_test): Likewise.
4721         (do_test): Likewise.
4722         * string/test-strcat.c (do_one_test): Likewise.
4723         (do_test): Likewise.
4724         * string/test-strchr.c (do_one_test): Likewise.
4725         (do_test): Likewise.
4726         * string/test-strcmp.c (do_one_test): Likewise.
4727         (do_test): Likewise.
4728         * string/test-strcpy.c (do_one_test): Likewise.
4729         (do_test): Likewise.
4730         * string/test-string.h: Likewise.
4731         (test_init): Likewise.
4732         * string/test-strlen.c (do_one_test): Likewise.
4733         (do_test): Likewise.
4734         * string/test-strncasecmp.c (do_one_test): Likewise.
4735         (do_test): Likewise.
4736         * string/test-strncat.c (do_one_test): Likewise.
4737         (do_test): Likewise.
4738         * string/test-strncmp.c (do_one_test): Likewise.
4739         (do_test_limit): Likewise.
4740         (do_test): Likewise.
4741         * string/test-strncpy.c (do_one_test): Likewise.
4742         (do_test): Likewise.
4743         * string/test-strnlen.c (do_one_test): Likewise.
4744         (do_test): Likewise.
4745         * string/test-strpbrk.c (do_one_test): Likewise.
4746         (do_test): Likewise.
4747         * string/test-strrchr.c (do_one_test): Likewise.
4748         (do_test): Likewise.
4749         * string/test-strspn.c (do_one_test): Likewise.
4750         (do_test): Likewise.
4751         * string/test-strstr.c (do_one_test): Likewise.
4752         (do_test): Likewise.
4754         * benchtests/Makefile (string-bench): Add string benchmarks.
4755         * benchtests/bench-bcopy-ifunc.c: New file.
4756         * benchtests/bench-bcopy.c: New file.
4757         * benchtests/bench-bzero-ifunc.c: New file.
4758         * benchtests/bench-bzero.c: New file.
4759         * benchtests/bench-memccpy-ifunc.c: New file.
4760         * benchtests/bench-memccpy.c: New file.
4761         * benchtests/bench-memchr-ifunc.c: New file.
4762         * benchtests/bench-memchr.c: New file.
4763         * benchtests/bench-memcmp-ifunc.c: New file.
4764         * benchtests/bench-memcmp.c: New file.
4765         * benchtests/bench-memmem-ifunc.c: New file.
4766         * benchtests/bench-memmem.c: New file.
4767         * benchtests/bench-memmove-ifunc.c: New file.
4768         * benchtests/bench-memmove.c: New file.
4769         * benchtests/bench-mempcpy-ifunc.c: New file.
4770         * benchtests/bench-mempcpy.c: New file.
4771         * benchtests/bench-memset-ifunc.c: New file.
4772         * benchtests/bench-memset.c: New file.
4773         * benchtests/bench-rawmemchr-ifunc.c: New file.
4774         * benchtests/bench-rawmemchr.c: New file.
4775         * benchtests/bench-stpcpy-ifunc.c: New file.
4776         * benchtests/bench-stpcpy.c: New file.
4777         * benchtests/bench-stpncpy-ifunc.c: New file.
4778         * benchtests/bench-stpncpy.c: New file.
4779         * benchtests/bench-strcasecmp-ifunc.c: New file.
4780         * benchtests/bench-strcasecmp.c: New file.
4781         * benchtests/bench-strcasestr-ifunc.c: New file.
4782         * benchtests/bench-strcasestr.c: New file.
4783         * benchtests/bench-strcat-ifunc.c: New file.
4784         * benchtests/bench-strcat.c: New file.
4785         * benchtests/bench-strchr-ifunc.c: New file.
4786         * benchtests/bench-strchr.c: New file.
4787         * benchtests/bench-strchrnul-ifunc.c: New file.
4788         * benchtests/bench-strchrnul.c: New file.
4789         * benchtests/bench-strcmp-ifunc.c: New file.
4790         * benchtests/bench-strcmp.c: New file.
4791         * benchtests/bench-strcpy-ifunc.c: New file.
4792         * benchtests/bench-strcpy.c: New file.
4793         * benchtests/bench-strcspn-ifunc.c: New file.
4794         * benchtests/bench-strcspn.c: New file.
4795         * benchtests/bench-strlen-ifunc.c: New file.
4796         * benchtests/bench-strlen.c: New file.
4797         * benchtests/bench-strncasecmp-ifunc.c: New file.
4798         * benchtests/bench-strncasecmp.c: New file.
4799         * benchtests/bench-strncat-ifunc.c: New file.
4800         * benchtests/bench-strncat.c: New file.
4801         * benchtests/bench-strncmp-ifunc.c: New file.
4802         * benchtests/bench-strncmp.c: New file.
4803         * benchtests/bench-strncpy-ifunc.c: New file.
4804         * benchtests/bench-strncpy.c: New file.
4805         * benchtests/bench-strnlen-ifunc.c: New file.
4806         * benchtests/bench-strnlen.c: New file.
4807         * benchtests/bench-strpbrk-ifunc.c: New file.
4808         * benchtests/bench-strpbrk.c: New file.
4809         * benchtests/bench-strrchr-ifunc.c: New file.
4810         * benchtests/bench-strrchr.c: New file.
4811         * benchtests/bench-strspn-ifunc.c: New file.
4812         * benchtests/bench-strspn.c: New file.
4813         * benchtests/bench-strstr-ifunc.c: New file.
4814         * benchtests/bench-strstr.c: New file.
4816         * benchtests/Makefile: Disable parallel execution of targets.
4817         (string-bench): Add memcpy.
4818         (benchset): New variable to store a list of benchmark sets.
4819         (bench-func): Renamed from bench.
4820         (bench-set): New target.
4821         (bench): Depend on bench-func and bench-set.
4822         * benchtests/README: Add section on benchmark sets.
4823         * benchtests/bench-memcpy-ifunc.c: New file.
4824         * benchtests/bench-memcpy.c: New file.
4825         * benchtests/bench-string.h: New file.
4827 2013-06-11  Andreas Schwab  <schwab@suse.de>
4829         [BZ #15577]
4830         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4831         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4832         values in the triple.
4833         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4834         terminator in the group key.
4836 2013-06-11  Andreas Jaeger  <aj@suse.de>
4838         * po/zh_TW.po: Update Chinese (traditional) translation from
4839         translation project.
4841 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4843         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4844         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4845         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4846         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4847         (clock_getcpuclockid): Likewise.
4848         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4849         Add weak_alias and libc_hidden_def.
4850         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4851         * rt/clock_gettime.c (clock_gettime): Rename to
4852         __clock_gettime.  Add weak_alias and libc_hidden_def.
4853         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4854         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4855         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4856         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4857         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4858         Likewise.
4859         * rt/clock_settime.c (clock_settime): Rename to
4860         __clock_settime.  Add weak_alias and libc_hidden_def.
4861         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4863 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4865         * mach/err_boot.sub: Remove trailing whitespace.
4866         * mach/err_ipc.sub: Likewise.
4867         * mach/err_mach.sub: Likewise.
4869         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4870         (ROUNDING_TESTS_double): Likewise.
4871         (ROUNDING_TESTS_long_double): Likewise.
4872         (ROUNDING_TESTS): Likewise.
4873         * math/libm-test.inc: Include <math-tests.h>.
4874         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4875         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4876         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4877         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4879 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4881         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4882         of assigning.
4884 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4886         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4887         otherwise empty TRANS lines.
4888         * sysdeps/gnu/errlist.c: Regenerated.
4890         * catgets/gencat.c (error_print): Use (void) in function
4891         definition.
4892         * crypt/crypt_util.c (__init_des): Likewise.
4893         * crypt/speeds.c (Stop): Likewise.
4894         (main): Likewise.
4895         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4896         * inet/ruserpass.c (token): Likewise.
4897         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4898         * intl/localealias.c (extend_alias_table): Likewise.
4899         * intl/plural-exp.c (init_germanic_plural): Likewise.
4900         * libio/fcloseall.c (__fcloseall): Likewise.
4901         * libio/genops.c (_IO_flush_all): Likewise.
4902         (_IO_flush_all_linebuffered): Likewise.
4903         (_IO_cleanup): Likewise.
4904         (_IO_iter_begin): Likewise.
4905         (_IO_iter_end): Likewise.
4906         (_IO_list_lock): Likewise.
4907         (_IO_list_unlock): Likewise.
4908         (_IO_list_resetlock): Likewise.
4909         * libio/getchar.c (getchar): Likewise.
4910         * libio/getchar_u.c (getchar_unlocked): Likewise.
4911         * libio/getwchar.c (getwchar): Likewise.
4912         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4913         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4914         * login/getpt.c (__getpt): Likewise.
4915         * login/tst-utmp.c (main): Likewise.
4916         * malloc/hooks.c (__malloc_check_init): Likewise.
4917         * malloc/malloc.c (__malloc_stats): Likewise.
4918         * malloc/mtrace.c (tr_break): Likewise.
4919         (mtrace): Likewise.
4920         (muntrace): Likewise.
4921         * misc/fstab.c (endfsent): Likewise.
4922         * misc/getclktck.c (__getclktck): Likewise.
4923         * misc/getdtsz.c (__getdtablesize): Likewise.
4924         * misc/gethostid.c (gethostid): Likewise.
4925         * misc/getpagesize.c (__getpagesize): Likewise.
4926         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4927         (__get_nprocs): Likewise.
4928         (__get_phys_pages): Likewise.
4929         (__get_avphys_pages): Likewise.
4930         * misc/getttyent.c (getttyent): Likewise.
4931         (setttyent): Likewise.
4932         (endttyent): Likewise.
4933         * misc/getusershell.c (getusershell): Likewise.
4934         (endusershell): Likewise.
4935         (setusershell): Likewise.
4936         (initshells): Likewise.
4937         * misc/hsearch.c (__hdestroy): Likewise.
4938         * misc/sync.c (sync): Likewise.
4939         * misc/syslog.c (closelog_internal): Likewise.
4940         (closelog): Likewise.
4941         * misc/ttyslot.c (ttyslot): Likewise.
4942         * misc/vhangup.c (vhangup): Likewise.
4943         * posix/fork.c (__fork): Likewise.
4944         * posix/getegid.c (__getegid): Likewise.
4945         * posix/geteuid.c (__geteuid): Likewise.
4946         * posix/getgid.c (__getgid): Likewise.
4947         * posix/getpid.c (__getpid): Likewise.
4948         * posix/getppid.c (__getppid): Likewise.
4949         * posix/getuid.c (__getuid): Likewise.
4950         * posix/pause.c (pause): Likewise.
4951         * posix/setpgrp.c (setpgrp): Likewise.
4952         * posix/setsid.c (__setsid): Likewise.
4953         * posix/test-vfork.c (noop): Likewise.
4954         * resolv/gethnamaddr.c (_endhtent): Likewise.
4955         (_gethtent): Likewise.
4956         (ht_endhostent): Likewise.
4957         (gethostent): Likewise.
4958         (dns_service): Likewise.
4959         * stdlib/drand48.c (drand48): Likewise.
4960         * stdlib/lrand48.c (lrand48): Likewise.
4961         * stdlib/mrand48.c (mrand48): Likewise.
4962         * stdlib/rand.c (rand): Likewise.
4963         * stdlib/random.c (__random): Likewise.
4964         * stdlib/setenv.c (clearenv): Likewise.
4965         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4966         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4967         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4968         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4969         (__get_nprocs): Likewise.
4970         (__get_phys_pages): Likewise.
4971         (__get_avphys_pages): Likewise.
4972         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4973         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4974         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4975         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4976         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4977         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4978         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4979         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4980         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4981         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4982         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4983         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4984         * sysdeps/posix/clock.c (clock): Likewise.
4985         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4986         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4987         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4988         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4989         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4990         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4991         (__get_nprocs_conf): Likewise.
4992         (__get_phys_pages): Likewise.
4993         (__get_avphys_pages): Likewise.
4994         * time/clock.c (clock): Likewise.
4995         * time/tzset.c (__tzname_max): Likewise.
4997 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4999         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5000         (__bswap_32): Do not use "register".
5001         * crypt/crypt.c (_ufc_doit_r): Likewise.
5002         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5003         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5004         * gmon/gmon.c (__monstartup): Likewise.
5005         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5006         * hurd/hurdmalloc.c (more_memory): Likewise.
5007         (malloc): Likewise.
5008         (free): Likewise.
5009         (realloc): Likewise.
5010         (malloc_fork_prepare): Likewise.
5011         (malloc_fork_parent): Likewise.
5012         (malloc_fork_child): Likewise.
5013         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5014         (_svcauth_des): Likewise.
5015         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5016         * inet/inet_net.c (inet_network): Likewise.
5017         * inet/inet_netof.c (inet_netof): Likewise.
5018         * inet/rcmd.c (__validuser2_sa): Likewise.
5019         * io/fts.c (fts_open): Likewise.
5020         (fts_load): Likewise.
5021         (fts_close): Likewise.
5022         (fts_read): Likewise.
5023         (fts_children): Likewise.
5024         (fts_build): Likewise.
5025         (fts_stat): Likewise.
5026         (fts_sort): Likewise.
5027         (fts_alloc): Likewise.
5028         (fts_lfree): Likewise.
5029         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5030         (_IO_file_xsgetn): Likewise.
5031         (_IO_file_xsgetn_mmap): Likewise.
5032         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5033         (_IO_cookie_write): Likewise.
5034         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5035         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5036         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5037         * malloc/obstack.c (_obstack_begin): Likewise.
5038         (_obstack_begin_1): Likewise.
5039         (_obstack_newchunk): Likewise.
5040         (_obstack_allocated_p): Likewise.
5041         (obstack_free): Likewise.
5042         (_obstack_memory_used): Likewise.
5043         * misc/getttyent.c (getttynam): Likewise.
5044         (getttyent): Likewise.
5045         (skip): Likewise.
5046         (value): Likewise.
5047         * misc/getusershell.c (initshells): Likewise.
5048         * misc/syslog.c (__vsyslog_chk): Likewise.
5049         * misc/ttyslot.c (ttyslot): Likewise.
5050         * nis/nis_hash.c (__nis_hash): Likewise.
5051         * posix/fnmatch_loop.c (FCT): Likewise.
5052         * posix/getconf.c (print_all): Likewise.
5053         (main): Likewise.
5054         * posix/getopt.c (exchange): Likewise.
5055         * posix/glob.c (globfree): Likewise.
5056         (prefix_array): Likewise.
5057         (__glob_pattern_type): Likewise.
5058         * resolv/arpa/nameser.h (NS_GET16): Likewise.
5059         (NS_GET32): Likewise.
5060         (NS_PUT16): Likewise.
5061         (NS_PUT32): Likewise.
5062         * resolv/gethnamaddr.c (getanswer): Likewise.
5063         (gethostbyname2): Likewise.
5064         (gethostbyaddr): Likewise.
5065         (_gethtent): Likewise.
5066         (_gethtbyname2): Likewise.
5067         (_gethtbyaddr): Likewise.
5068         * resolv/ns_print.c (dst_s_get_int16): Likewise.
5069         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5070         * resolv/res_init.c (__res_vinit): Likewise.
5071         (net_mask): Likewise.
5072         * resolv/res_mkquery.c (outchar): Likewise.
5073         (PRINT): Likewise.
5074         * stdio-common/printf_fp.c (outchar): Likewise.
5075         (PRINT): Likewise.
5076         * stdio-common/printf_fphex.c (outchar): Likewise.
5077         (PRINT): Likewise.
5078         * stdio-common/printf_size.c (outchar): Likewise.
5079         (PRINT): Likewise.
5080         * stdio-common/test_rdwr.c (main): Likewise.
5081         * stdio-common/tfformat.c (matches): Likewise.
5082         * stdio-common/vfprintf.c (outchar): Likewise.
5083         (printf_unknown): Likewise.
5084         (buffered_vfprintf): Likewise.
5085         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5086         * stdio-common/xbug.c (AppendToBuffer): Likewise.
5087         (ReadFile): Likewise.
5088         * stdlib/qsort.c (SWAP): Likewise.
5089         (_quicksort): Likewise.
5090         * stdlib/setenv.c (__add_to_environ): Likewise.
5091         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5092         * stdlib/strtol_l.c (__strtol_l): Likewise.
5093         * stdlib/tst-strtod.c (main): Likewise.
5094         * stdlib/tst-strtol.c (main): Likewise.
5095         * stdlib/tst-strtoll.c (main): Likewise.
5096         * string/bits/string2.h (__strcmp_cc): Likewise.
5097         (__strcmp_cg): Likewise.
5098         (__strcspn_c1): Likewise.
5099         (__strcspn_c2): Likewise.
5100         (__strcspn_c3): Likewise.
5101         (__strspn_c1): Likewise.
5102         (__strspn_c2): Likewise.
5103         (__strspn_c3): Likewise.
5104         (__strsep_1c): Likewise.
5105         (__strsep_2c): Likewise.
5106         (__strsep_3c): Likewise.
5107         * string/memccpy.c (__memccpy): Likewise.
5108         * string/stpcpy.c (__stpcpy): Likewise.
5109         * string/strcmp.c (strcmp): Likewise.
5110         * string/strrchr.c (strrchr): Likewise.
5111         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5112         Likewise.
5113         * sysdeps/mach/hurd/getcwd.c
5114         (_hurd_canonicalize_directory_name_internal): Likewise.
5115         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5116         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5117         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5118         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5119         Likewise, in both definitions.
5120         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5121         definitions.
5122         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5123         64] (__bswap_64): Likewise.
5124         * time/test_time.c (main): Likewise.
5125         * time/tzfile.c (__tzfile_read): Likewise.
5126         (__tzfile_compute): Likewise.
5127         * time/tzset.c (__tzset_parse_tz): Likewise.
5128         (tzset_internal): Likewise.
5129         (compute_change): Likewise.
5130         * wcsmbs/wcscat.c (__wcscat): Likewise.
5131         * wcsmbs/wcschr.c (wcschr): Likewise.
5132         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5133         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5134         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5135         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5136         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5137         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5138         * wcsmbs/wmemchr.c (wmemchr): Likewise.
5139         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5140         * wcsmbs/wmemset.c (wmemset): Likewise.
5142 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
5144         * scripts/config.guess: Update to version 2013-05-16.
5145         * scripts/config.sub: Update to version 2013-04-24.
5146         * scripts/install-sh: Update to version 2011-11-20.07.
5147         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5148         * scripts/move-if-change: Update to version 2012-01-06 07:23.
5150 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
5152         * debug/fgetws_u_chk.c: Fix leading whitespaces.
5153         * elf/sln.c: Likewise.
5154         * hurd/hurd/ioctl.h: Likewise.
5155         * hurd/hurdmalloc.c: Likewise.
5156         * hurd/xattr.c: Likewise.
5157         * include/shlib-compat.h: Likewise.
5158         * inet/ruserpass.c: Likewise.
5159         * libio/iofgets_u.c: Likewise.
5160         * libio/iofgetws_u.c: Likewise.
5161         * locale/programs/ld-identification.c: Likewise.
5162         * locale/programs/ld-time.c: Likewise.
5163         * mach/msg-destroy.c: Likewise.
5164         * nss/nss_files/files-netgrp.c: Likewise.
5165         * resolv/res_data.c: Likewise.
5166         * soft-fp/op-1.h: Likewise.
5167         * soft-fp/op-2.h: Likewise.
5168         * soft-fp/op-4.h: Likewise.
5169         * soft-fp/op-common.h: Likewise.
5170         * stdio-common/printf_fphex.c: Likewise.
5171         * stdlib/strtod_l.c: Likewise.
5172         * sunrpc/rpc/clnt.h: Likewise.
5173         * sysdeps/generic/framestate.c: Likewise.
5174         * sysdeps/i386/bsd-_setjmp.S: Likewise.
5175         * sysdeps/i386/bsd-setjmp.S: Likewise.
5176         * sysdeps/i386/__longjmp.S: Likewise.
5177         * sysdeps/i386/setjmp.S: Likewise.
5178         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5179         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5180         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5181         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5182         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5183         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5184         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5185         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5186         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5187         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5188         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5189         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5190         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5191         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5192         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5193         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5194         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5195         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5196         * sysdeps/ieee754/support.c: Likewise.
5197         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5198         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5199         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5200         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5201         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5202         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5203         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5204         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5205         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5206         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5207         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5208         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5209         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5210         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5211         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5212         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5213         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5216 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
5218         * posix/transbug.c: Remove executable mode.
5220 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
5222         * crypt/speeds.c: Remove trailing whitespace.
5223         * dlfcn/default.c: Likewise.
5224         * elf/ifuncdep2.c: Likewise.
5225         * elf/ifuncmain1.c: Likewise.
5226         * elf/ifuncmain1vis.c: Likewise.
5227         * elf/testobj.h: Likewise.
5228         * elf/tst-stackguard1.c: Likewise.
5229         * gmon/sys/gmon.h: Likewise.
5230         * hurd/hurdmsg.c: Likewise.
5231         * hurd/new-fd.c: Likewise.
5232         * hurd/ports-get.c: Likewise.
5233         * iconvdata/ibm1008_420.c: Likewise.
5234         * inet/tst-getni1.c: Likewise.
5235         * inet/tst-getni2.c: Likewise.
5236         * libio/ioungetc.c: Likewise.
5237         * libio/wfiledoalloc.c: Likewise.
5238         * manual/libm-err-tab.pl: Likewise.
5239         * math/w_dremf.c: Likewise.
5240         * misc/ftruncate.c: Likewise.
5241         * posix/bug-glob2.c: Likewise.
5242         * posix/tst-pcre.c: Likewise.
5243         * posix/wait4.c: Likewise.
5244         * resolv/README: Likewise.
5245         * resolv/res_debug.h: Likewise.
5246         * resolv/tst-inet_ntop.c: Likewise.
5247         * setjmp/bug269-setjmp.c: Likewise.
5248         * soft-fp/extended.h: Likewise.
5249         * soft-fp/op-1.h: Likewise.
5250         * soft-fp/op-2.h: Likewise.
5251         * soft-fp/op-4.h: Likewise.
5252         * soft-fp/op-8.h: Likewise.
5253         * soft-fp/testit.c: Likewise.
5254         * stdio-common/bug16.c: Likewise.
5255         * stdlib/random.c: Likewise.
5256         * sunrpc/rpcsvc/rquota.x: Likewise.
5257         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5258         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5259         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5260         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5261         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5262         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5263         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5264         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5265         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5266         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5267         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5268         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5269         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5270         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5271         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5272         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5273         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5274         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5275         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5276         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5277         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5278         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5279         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5280         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5281         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5282         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5283         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5285         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5286         * sysdeps/ieee754/s_lib_version.c: Likewise.
5287         * sysdeps/mach/hurd/check_fds.c: Likewise.
5288         * sysdeps/mach/hurd/getsockname.c: Likewise.
5289         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5290         * sysdeps/mach/hurd/recvfrom.c: Likewise.
5291         * sysdeps/powerpc/bits/link.h: Likewise.
5292         * sysdeps/powerpc/dl-procinfo.c: Likewise.
5293         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5294         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5295         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5296         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5297         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5298         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5299         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5300         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5301         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5302         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5303         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5304         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5305         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5306         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5307         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5308         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5309         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5310         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5311         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5312         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5313         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5314         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5315         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5316         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5317         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5318         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5319         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5320         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5321         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5322         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5323         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5324         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5325         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5326         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5327         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5328         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5329         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5330         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5331         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5332         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5333         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5334         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5335         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5336         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5337         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5338         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5339         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5340         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5341         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5342         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5343         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5344         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5345         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5346         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5347         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5348         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5349         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5350         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5351         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5352         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5353         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5354         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5355         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5356         * sysdeps/powerpc/sysdep.h: Likewise.
5357         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5358         * sysdeps/s390/s390-64/sub_n.S: Likewise.
5359         * sysdeps/sh/dl-trampoline.S: Likewise.
5360         * sysdeps/sh/memset.S: Likewise.
5361         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5362         * sysdeps/sh/strlen.S: Likewise.
5363         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5364         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5365         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5366         * sysdeps/sparc/sparc32/rem.S: Likewise.
5367         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5368         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5369         * sysdeps/sparc/sparc32/strchr.S: Likewise.
5370         * sysdeps/sparc/sparc32/udiv.S: Likewise.
5371         * sysdeps/sparc/sparc32/urem.S: Likewise.
5372         * sysdeps/sparc/sparc64/add_n.S: Likewise.
5373         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5374         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5375         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5376         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5377         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5378         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5379         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5380         * sysdeps/unix/bsd/times.c: Likewise.
5381         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5382         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5386         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5387         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5388         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5389         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5390         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5391         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5392         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5393         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5394         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5395         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5396         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5397         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5398         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5399         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5400         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5401         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5402         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5403         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5404         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5405         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5406         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5407         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5408         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5409         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5410         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5411         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5412         * sysdeps/x86_64/strcspn.S: Likewise.
5414 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5416         * locale/C-translit.h: Revert #include <stdint.h> because this is a
5417         generated file.  Regenerate properly from gen-translit.pl.
5418         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
5419         locale/C-translit.h.
5421 2013-06-05  Andreas Schwab  <schwab@suse.de>
5423         [BZ #15100]
5424         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5425         week as 6 instead of -1.
5426         * time/tst-strptime.c (day_tests): Add test case.
5428 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5430         * sysdeps/generic/math_private.h
5431         (libc_feholdexcept_setround_53bit): Replace with
5432         libc_feholdsetround_53bit.
5433         (libc_feupdateenv_53bit): Replace with
5434         libc_feresetround_53bit.
5435         (SET_RESTORE_ROUND_53BIT): Adjust.
5437 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5439         * string/test-strchrnul.c: Add copyright header.
5441         * posix/tst-getaddrinfo4.c: Increase test timeout.
5443 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
5445         [BZ #15536]
5446         * math/libm-test.inc (MAX_EXP): Remove
5447         (MIN_EXP): Define.
5448         (ulp): Use MIN_EXP - MANT_DIG.
5449         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5451 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
5453         * po/be.po: Revert last change.
5454         * po/zh_CN.po: Likewise.
5455         * po/header.pot: Likewise.
5457 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
5459         * Makefile ($(common-objpfx)linkobj/libc.so): Define
5460         link-libc-deps to empty as target-specific variable.
5461         * Makerules (link-libc-args): New variable.
5462         (libc-for-link): Likewise.
5463         (link-libc-deps): Likewise.
5464         (lib%.so): Depend on $(link-libc-deps).  Link with
5465         $(link-libc-args).
5466         (build-module): Link with $(link-libc-args).
5467         (build-module-asneeded): Likewise.
5468         (build-module-helper-objlist): Filter out $(link-libc-deps) from
5469         list of objects.
5470         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5471         target-specific variable.
5472         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5473         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5474         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5475         libc.
5476         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5477         libc and ld.so.
5478         ($(objpfx)libpcprofile.so): Likewise.
5479         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5480         libc_nonshared.a.
5481         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5482         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5483         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5484         $(link-libc-deps).
5485         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5486         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5487         * login/Makefile ($(objpfx)libutil.so): Likewise.
5488         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5489         * math/Makefile ($(objpfx)libm.so): Likewise.
5490         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5491         $(objpfx)libnsl.so): Define libc-for-link as target-specific
5492         variable instead of depending directly on libc.
5493         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5494         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5495         $(link-libc-deps).
5496         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5497         libc.
5498         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5499         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5500         ($(objpfx)libanl.so): Likewise.
5501         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5502         ld.so.
5503         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5504         $(link-libc-deps).
5505         * sysdeps/i386/fpu/Makefile: Remove file.
5506         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5507         ($(objpfx)libm.so): Remove dependency on ld.so.
5509 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
5511         [BZ # 15553]
5512         * nis/yp_xdr.c (XDRMAXNAME): Define.
5513         (XDRMAXRECORD): Define.
5514         (xdr_domainname): Use XDRMAXNAME.
5515         (xdr_mapname): Likewise.
5516         (xdr_peername): Likewise.
5517         (xdr_keydat): Use XDRMAXRECORD.
5518         (xdr_valdat): Likewise.
5520 2013-05-30  Jeff Law  <law@redhat.com>
5522         [BZ #14256]
5523         * manual/errno.texi (ESTALE): Update to account for more than
5524         just NFS file systems.
5525         * sysdeps/gnu/errlist.c: Regenerated.
5527 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5529         [BZ #15465]
5530         * elf/Makefile (tests): Add tst-null-argv.
5531         (modules-names):  Add tst-null-argv-lib.
5532         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5533         (tst-null-argv-ENV): Set environment for tst-null-argv.
5534         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5535         (RTLD_PROGNAME): New macro.
5536         * elf/tst-null-argv.c: New test case.
5537         * elf/tst-null-argv-lib.c: Library for test case.
5538         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5539         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5540         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5541         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5542         * elf/dl-init.c (call_init): Likewise.
5543         (_dl_init): Likewise.
5544         * elf/dl-load.c (print_search_path): Likewise.
5545         (_dl_map_object): Likewise.
5546         * elf/dl-lookup.c (do_lookup_x): Likewise.
5547         (add_dependency): Likewise.
5548         (_dl_lookup_symbol_x): Likewise.
5549         (_dl_debug_bindings): Likewise.
5550         * elf/dl-open.c (_dl_show_scope): Likewise.
5551         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5552         * elf/dl-version.c (match_symbol): Likewise.
5553         (_dl_check_map_versions): Likewise.
5554         * elf/rtld.c (dl_main): Likewise.
5555         (print_unresolved): Use RTLD_PROGNAME.
5556         (print_missing_version): Likewise.
5557         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5558         (elf_machine_rela): Likewise.
5559         * sysdeps/powerpc/powerpc32/dl-machine.c
5560         (__process_machine_rela): Likewise.
5561         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5562         Likewise.
5563         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5564         Likewise.
5565         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5566         Likewise.
5567         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5568         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5569         Likewise.
5570         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5571         Likewise.
5572         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5574 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
5576         * po/be.po: Add descriptive title.
5577         * po/zh_CN.po: Likewise.
5578         * po/header.pot: Likewise.
5580 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
5582         * locale/programs/locarchive.c (create_archive): Inlucde fname in
5583         error message.
5584         (enlarge_archive): Likewise.
5586 2013-05-28  Ben North  <ben@redfrontdoor.org>
5588         * manual/arith.texi (frexp): It is the magnitude of the return
5589         value which lies in [0.5, 1), not the return value itself.
5591 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5595 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
5597         * stdio-common/bug26.c (main): Correct fscanf template.
5599         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5600         declare _dl_skip_args.
5602         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5603         Don't declare.
5605         * manual/platform.texi: Add missing @end deftypefun.
5607 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5609         [BZ #15529]
5610         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5611         bit of mantissa of 2^16382.
5612         * math/libm-test.inc (hypot_test_data): Add more tests.
5614         * math/libm-test.inc: Add drem and pow10 to list of tested
5615         functions.
5616         (pow10_test): New function.
5617         (drem_test): Likewise.
5618         (drem_test_tonearest): Likewise.
5619         (drem_test_towardzero): Likewise.
5620         (drem_test_downward): Likewise.
5621         (drem_test_upward): Likewise.
5622         (main): Call the new functions.
5624         * math/libm-test.inc (finite_test_data): Remove.
5625         (finite_test): Run tests from isfinite_test_data.
5626         (gamma_test_data): Remove.
5627         (gamma_test): Run tests from lgamma_test_data.
5628         * sysdeps/i386/fpu/libm-test-ulps: Update.
5629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5631 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5633         * manual/platform.texi: Add PowerPC PPR function set documentation.
5634         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5635         implementation.
5637 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
5639         * math/libm-test.inc (MAX_EXP): Define.
5640         (ULPDIFF): Define.
5641         (ulp): New function.
5642         (check_float_internal): Use ULPDIFF.
5643         (cpow_test): Disable failing test.
5644         (check_ulp): Test ulp() implemetnation.
5645         (main): Call check_ulp before starting tests.
5647 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5649         * math/gen-libm-test.pl (generate_testfile): Do not handle
5650         START_DATA and END_DATA.
5651         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5652         END_DATA.
5653         (acos_tonearest_test_data): Likewise.
5654         (acos_towardzero_test_data): Likewise.
5655         (acos_downward_test_data): Likewise.
5656         (acos_upward_test_data): Likewise.
5657         (acosh_test_data): Likewise.
5658         (asin_test_data): Likewise.
5659         (asin_tonearest_test_data): Likewise.
5660         (asin_towardzero_test_data): Likewise.
5661         (asin_downward_test_data): Likewise.
5662         (asin_upward_test_data): Likewise.
5663         (asinh_test_data): Likewise.
5664         (atan_test_data): Likewise.
5665         (atanh_test_data): Likewise.
5666         (atan2_test_data): Likewise.
5667         (cabs_test_data): Likewise.
5668         (cacos_test_data): Likewise.
5669         (cacosh_test_data): Likewise.
5670         (carg_test_data): Likewise.
5671         (casin_test_data): Likewise.
5672         (casinh_test_data): Likewise.
5673         (catan_test_data): Likewise.
5674         (catanh_test_data): Likewise.
5675         (cbrt_test_data): Likewise.
5676         (ccos_test_data): Likewise.
5677         (ccosh_test_data): Likewise.
5678         (ceil_test_data): Likewise.
5679         (cexp_test_data): Likewise.
5680         (cimag_test_data): Likewise.
5681         (clog_test_data): Likewise.
5682         (clog10_test_data): Likewise.
5683         (conj_test_data): Likewise.
5684         (copysign_test_data): Likewise.
5685         (cos_test_data): Likewise.
5686         (cos_tonearest_test_data): Likewise.
5687         (cos_towardzero_test_data): Likewise.
5688         (cos_downward_test_data): Likewise.
5689         (cos_upward_test_data): Likewise.
5690         (cosh_test_data): Likewise.
5691         (cosh_tonearest_test_data): Likewise.
5692         (cosh_towardzero_test_data): Likewise.
5693         (cosh_downward_test_data): Likewise.
5694         (cosh_upward_test_data): Likewise.
5695         (cpow_test_data): Likewise.
5696         (cproj_test_data): Likewise.
5697         (creal_test_data): Likewise.
5698         (csin_test_data): Likewise.
5699         (csinh_test_data): Likewise.
5700         (csqrt_test_data): Likewise.
5701         (ctan_test_data): Likewise.
5702         (ctan_tonearest_test_data): Likewise.
5703         (ctan_towardzero_test_data): Likewise.
5704         (ctan_downward_test_data): Likewise.
5705         (ctan_upward_test_data): Likewise.
5706         (ctanh_test_data): Likewise.
5707         (ctanh_tonearest_test_data): Likewise.
5708         (ctanh_towardzero_test_data): Likewise.
5709         (ctanh_downward_test_data): Likewise.
5710         (ctanh_upward_test_data): Likewise.
5711         (erf_test_data): Likewise.
5712         (erfc_test_data): Likewise.
5713         (exp_test_data): Likewise.
5714         (exp_tonearest_test_data): Likewise.
5715         (exp_towardzero_test_data): Likewise.
5716         (exp_downward_test_data): Likewise.
5717         (exp_upward_test_data): Likewise.
5718         (exp10_test_data): Likewise.
5719         (exp2_test_data): Likewise.
5720         (expm1_test_data): Likewise.
5721         (fabs_test_data): Likewise.
5722         (fdim_test_data): Likewise.
5723         (finite_test_data): Likewise.
5724         (floor_test_data): Likewise.
5725         (fma_test_data): Likewise.
5726         (fma_towardzero_test_data): Likewise.
5727         (fma_downward_test_data): Likewise.
5728         (fma_upward_test_data): Likewise.
5729         (fmax_test_data): Likewise.
5730         (fmin_test_data): Likewise.
5731         (fmod_test_data): Likewise.
5732         (fpclassify_test_data): Likewise.
5733         (frexp_test_data): Likewise.
5734         (gamma_test_data): Likewise.
5735         (hypot_test_data): Likewise.
5736         (ilogb_test_data): Likewise.
5737         (isfinite_test_data): Likewise.
5738         (isgreater_test_data): Likewise.
5739         (isgreaterequal_test_data): Likewise.
5740         (isinf_test_data): Likewise.
5741         (isless_test_data): Likewise.
5742         (islessequal_test_data): Likewise.
5743         (islessgreater_test_data): Likewise.
5744         (isnan_test_data): Likewise.
5745         (isnormal_test_data): Likewise.
5746         (issignaling_test_data): Likewise.
5747         (isunordered_test_data): Likewise.
5748         (j0_test_data): Likewise.
5749         (j1_test_data): Likewise.
5750         (jn_test_data): Likewise.
5751         (ldexp_test_data): Likewise.
5752         (lgamma_test_data): Likewise.
5753         (lrint_test_data): Likewise.
5754         (lrint_tonearest_test_data): Likewise.
5755         (lrint_towardzero_test_data): Likewise.
5756         (lrint_downward_test_data): Likewise.
5757         (lrint_upward_test_data): Likewise.
5758         (llrint_test_data): Likewise.
5759         (llrint_tonearest_test_data): Likewise.
5760         (llrint_towardzero_test_data): Likewise.
5761         (llrint_downward_test_data): Likewise.
5762         (llrint_upward_test_data): Likewise.
5763         (log_test_data): Likewise.
5764         (log10_test_data): Likewise.
5765         (log1p_test_data): Likewise.
5766         (log2_test_data): Likewise.
5767         (logb_test_data): Likewise.
5768         (logb_downward_test_data): Likewise.
5769         (lround_test_data): Likewise.
5770         (llround_test_data): Likewise.
5771         (modf_test_data): Likewise.
5772         (nearbyint_test_data): Likewise.
5773         (nextafter_test_data): Likewise.
5774         (nexttoward_test_data): Likewise.
5775         (pow_test_data): Likewise.
5776         (pow_tonearest_test_data): Likewise.
5777         (pow_towardzero_test_data): Likewise.
5778         (pow_downward_test_data): Likewise.
5779         (pow_upward_test_data): Likewise.
5780         (remainder_test_data): Likewise.
5781         (remainder_tonearest_test_data): Likewise.
5782         (remainder_towardzero_test_data): Likewise.
5783         (remainder_downward_test_data): Likewise.
5784         (remainder_upward_test_data): Likewise.
5785         (remquo_test_data): Likewise.
5786         (rint_test_data): Likewise.
5787         (rint_tonearest_test_data): Likewise.
5788         (rint_towardzero_test_data): Likewise.
5789         (rint_downward_test_data): Likewise.
5790         (rint_upward_test_data): Likewise.
5791         (round_test_data): Likewise.
5792         (scalb_test_data): Likewise.
5793         (scalbn_test_data): Likewise.
5794         (scalbln_test_data): Likewise.
5795         (signbit_test_data): Likewise.
5796         (sin_test_data): Likewise.
5797         (sin_tonearest_test_data): Likewise.
5798         (sin_towardzero_test_data): Likewise.
5799         (sin_downward_test_data): Likewise.
5800         (sin_upward_test_data): Likewise.
5801         (sincos_test_data): Likewise.
5802         (sinh_test_data): Likewise.
5803         (sinh_tonearest_test_data): Likewise.
5804         (sinh_towardzero_test_data): Likewise.
5805         (sinh_downward_test_data): Likewise.
5806         (sinh_upward_test_data): Likewise.
5807         (sqrt_test_data): Likewise.
5808         (tan_test_data): Likewise.
5809         (tan_tonearest_test_data): Likewise.
5810         (tan_towardzero_test_data): Likewise.
5811         (tan_downward_test_data): Likewise.
5812         (tan_upward_test_data): Likewise.
5813         (tanh_test_data): Likewise.
5814         (tgamma_test_data): Likewise.
5815         (trunc_test_data): Likewise.
5816         (y0_test_data): Likewise.
5817         (y1_test_data): Likewise.
5818         (yn_test_data): Likewise.
5819         (significand_test_data): Likewise.
5821         * math/gen-libm-test.pl (@functions): Remove variable.
5822         (generate_testfile): Don't handle START and END lines.
5823         * math/libm-test.inc (START): New macro.
5824         (END): Likewise.
5825         (END_COMPLEX): Likewise.
5826         (acos_test): Use END macro without arguments.
5827         (acos_test_tonearest): Likewise.
5828         (acos_test_towardzero): Likewise.
5829         (acos_test_downward): Likewise.
5830         (acos_test_upward): Likewise.
5831         (acosh_test): Likewise.
5832         (asin_test): Likewise.
5833         (asin_test_tonearest): Likewise.
5834         (asin_test_towardzero): Likewise.
5835         (asin_test_downward): Likewise.
5836         (asin_test_upward): Likewise.
5837         (asinh_test): Likewise.
5838         (atan_test): Likewise.
5839         (atanh_test): Likewise.
5840         (atan2_test): Likewise.
5841         (cabs_test): Likewise.
5842         (cacos_test): Use END_COMPLEX macro without arguments.
5843         (cacosh_test): Likewise.
5844         (carg_test): Use END macro without arguments.
5845         (casin_test): Use END_COMPLEX macro without arguments.
5846         (casinh_test): Likewise.
5847         (catan_test): Likewise.
5848         (catanh_test): Likewise.
5849         (cbrt_test): Use END macro without arguments.
5850         (ccos_test): Use END_COMPLEX macro without arguments.
5851         (ccosh_test): Likewise.
5852         (ceil_test): Use END macro without arguments.
5853         (cexp_test): Use END_COMPLEX macro without arguments.
5854         (cimag_test): Use END macro without arguments.
5855         (clog_test): Use END_COMPLEX macro without arguments.
5856         (clog10_test): Likewise.
5857         (conj_test): Likewise.
5858         (copysign_test): Use END macro without arguments.
5859         (cos_test): Likewise.
5860         (cos_test_tonearest): Likewise.
5861         (cos_test_towardzero): Likewise.
5862         (cos_test_downward): Likewise.
5863         (cos_test_upward): Likewise.
5864         (cosh_test): Likewise.
5865         (cosh_test_tonearest): Likewise.
5866         (cosh_test_towardzero): Likewise.
5867         (cosh_test_downward): Likewise.
5868         (cosh_test_upward): Likewise.
5869         (cpow_test): Use END_COMPLEX macro without arguments.
5870         (cproj_test): Likewise.
5871         (creal_test): Use END macro without arguments.
5872         (csin_test): Use END_COMPLEX macro without arguments.
5873         (csinh_test): Likewise.
5874         (csqrt_test): Likewise.
5875         (ctan_test): Likewise.
5876         (ctan_test_tonearest): Likewise.
5877         (ctan_test_towardzero): Likewise.
5878         (ctan_test_downward): Likewise.
5879         (ctan_test_upward): Likewise.
5880         (ctanh_test): Likewise.
5881         (ctanh_test_tonearest): Likewise.
5882         (ctanh_test_towardzero): Likewise.
5883         (ctanh_test_downward): Likewise.
5884         (ctanh_test_upward): Likewise.
5885         (erf_test): Use END macro without arguments.
5886         (erfc_test): Likewise.
5887         (exp_test): Likewise.
5888         (exp_test_tonearest): Likewise.
5889         (exp_test_towardzero): Likewise.
5890         (exp_test_downward): Likewise.
5891         (exp_test_upward): Likewise.
5892         (exp10_test): Likewise.
5893         (exp2_test): Likewise.
5894         (expm1_test): Likewise.
5895         (fabs_test): Likewise.
5896         (fdim_test): Likewise.
5897         (finite_test): Likewise.
5898         (floor_test): Likewise.
5899         (fma_test): Likewise.
5900         (fma_test_towardzero): Likewise.
5901         (fma_test_downward): Likewise.
5902         (fma_test_upward): Likewise.
5903         (fmax_test): Likewise.
5904         (fmin_test): Likewise.
5905         (fmod_test): Likewise.
5906         (fpclassify_test): Likewise.
5907         (frexp_test): Likewise.
5908         (gamma_test): Likewise.
5909         (hypot_test): Likewise.
5910         (ilogb_test): Likewise.
5911         (isfinite_test): Likewise.
5912         (isgreater_test): Likewise.
5913         (isgreaterequal_test): Likewise.
5914         (isinf_test): Likewise.
5915         (isless_test): Likewise.
5916         (islessequal_test): Likewise.
5917         (islessgreater_test): Likewise.
5918         (isnan_test): Likewise.
5919         (isnormal_test): Likewise.
5920         (issignaling_test): Likewise.
5921         (isunordered_test): Likewise.
5922         (j0_test): Likewise.
5923         (j1_test): Likewise.
5924         (jn_test): Likewise.
5925         (ldexp_test): Likewise.
5926         (lgamma_test): Likewise.
5927         (lrint_test): Likewise.
5928         (lrint_test_tonearest): Likewise.
5929         (lrint_test_towardzero): Likewise.
5930         (lrint_test_downward): Likewise.
5931         (lrint_test_upward): Likewise.
5932         (llrint_test): Likewise.
5933         (llrint_test_tonearest): Likewise.
5934         (llrint_test_towardzero): Likewise.
5935         (llrint_test_downward): Likewise.
5936         (llrint_test_upward): Likewise.
5937         (log_test): Likewise.
5938         (log10_test): Likewise.
5939         (log1p_test): Likewise.
5940         (log2_test): Likewise.
5941         (logb_test): Likewise.
5942         (logb_test_downward): Likewise.
5943         (lround_test): Likewise.
5944         (llround_test): Likewise.
5945         (modf_test): Likewise.
5946         (nearbyint_test): Likewise.
5947         (nextafter_test): Likewise.
5948         (nexttoward_test): Likewise.
5949         (pow_test): Likewise.
5950         (pow_test_tonearest): Likewise.
5951         (pow_test_towardzero): Likewise.
5952         (pow_test_downward): Likewise.
5953         (pow_test_upward): Likewise.
5954         (remainder_test): Likewise.
5955         (remainder_test_tonearest): Likewise.
5956         (remainder_test_towardzero): Likewise.
5957         (remainder_test_downward): Likewise.
5958         (remainder_test_upward): Likewise.
5959         (remquo_test): Likewise.
5960         (rint_test): Likewise.
5961         (rint_test_tonearest): Likewise.
5962         (rint_test_towardzero): Likewise.
5963         (rint_test_downward): Likewise.
5964         (rint_test_upward): Likewise.
5965         (round_test): Likewise.
5966         (scalb_test): Likewise.
5967         (scalbn_test): Likewise.
5968         (scalbln_test): Likewise.
5969         (signbit_test): Likewise.
5970         (sin_test): Likewise.
5971         (sin_test_tonearest): Likewise.
5972         (sin_test_towardzero): Likewise.
5973         (sin_test_downward): Likewise.
5974         (sin_test_upward): Likewise.
5975         (sincos_test): Likewise.
5976         (sinh_test): Likewise.
5977         (sinh_test_tonearest): Likewise.
5978         (sinh_test_towardzero): Likewise.
5979         (sinh_test_downward): Likewise.
5980         (sinh_test_upward): Likewise.
5981         (sqrt_test): Likewise.
5982         (tan_test): Likewise.
5983         (tan_test_tonearest): Likewise.
5984         (tan_test_towardzero): Likewise.
5985         (tan_test_downward): Likewise.
5986         (tan_test_upward): Likewise.
5987         (tanh_test): Likewise.
5988         (tgamma_test): Likewise.
5989         (trunc_test): Likewise.
5990         (y0_test): Likewise.
5991         (y1_test): Likewise.
5992         (yn_test): Likewise.
5993         (significand_test): Likewise.
5995 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5997         [BZ #15381]
5998         * libio/genops.c (_IO_no_init): Initialize wide struct info.
6000 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6002         [BZ #14894]
6003         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6004         __ppc_mdoio and __ppc_mdoom.
6005         * manual/platform.texi: Document new functions __ppc_yield,
6006         __ppc_mdoio and __ppc_mdoom.
6008 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
6010         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6011         (main): Mention "tls" pseudo-hwcap is legacy.
6012         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6014 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6016         * math/gen-libm-test.pl (parse_args): Output only string of
6017         arguments as text for test name, not full call or descriptions of
6018         tests for extra outputs.
6019         (generate_testfile): Do not pass function name to parse_args.
6020         Generate this_func variable from START.
6021         * math/libm-test.inc (struct test_f_f_data): Rename test_name
6022         field to arg_str.
6023         (struct test_ff_f_data): Likewise.
6024         (test_ff_f_data_nexttoward): Likewise.
6025         (struct test_fi_f_data): Likewise.
6026         (struct test_fl_f_data): Likewise.
6027         (struct test_if_f_data): Likewise.
6028         (struct test_fff_f_data): Likewise.
6029         (struct test_c_f_data): Likewise.
6030         (struct test_f_f1_data): Likewise.  Remove field extra_name.
6031         (struct test_fF_f1_data): Likewise.
6032         (struct test_ffI_f1_data): Likewise.
6033         (struct test_c_c_data): Rename test_name field to arg_str.
6034         (struct test_cc_c_data): Likewise.
6035         (struct test_f_i_data): Likewise.
6036         (struct test_ff_i_data): Likewise.
6037         (struct test_f_l_data): Likewise.
6038         (struct test_f_L_data): Likewise.
6039         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
6040         and extra2_name.
6041         (COMMON_TEST_SETUP): New macro.
6042         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6043         (COMMON_TEST_CLEANUP): Likewise.
6044         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6045         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
6046         macros.
6047         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6048         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
6049         macros.
6050         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6051         (RUN_TEST_fff_f): Take argument string.  Call new setup and
6052         cleanup macros.
6053         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6054         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
6055         macros.
6056         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6057         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
6058         macros.
6059         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6060         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
6061         cleanup macros.
6062         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6063         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
6064         cleanup macros.
6065         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6066         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
6067         cleanup macros.
6068         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6069         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
6070         macros.
6071         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6072         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
6073         macros.
6074         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6075         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
6076         macros.
6077         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6078         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
6079         cleanup macros.
6080         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6081         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
6082         cleanup macros.
6083         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6084         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
6085         macros.
6086         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6087         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
6088         cleanup macros.
6089         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6090         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
6091         macros.
6092         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6093         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
6094         macros.
6095         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6096         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
6097         cleanup macros.
6098         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6100 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
6102         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6103         to _sifields.sigfault.
6104         (si_addr_lsb): Define new macro.
6105         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6106         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6107         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6109 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
6111         [BZ #15441]
6112         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6113         returns -1.
6114         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6115         null return -1.
6116         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6117         loading the domain.
6119 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6121         * math/gen-libm-test.pl (parse_args): Do not include expected
6122         result in test name.
6123         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6124         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6125         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6126         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6127         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6130 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6132         * benchtests/Makefile: Sort function entries.
6134         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6135         tanh, asinh, acosh, atanh.
6136         * benchtests/acos-inputs: New file.
6137         * benchtests/acosh-inputs: New file.
6138         * benchtests/asin-inputs: New file.
6139         * benchtests/asinh-inputs: New file.
6140         * benchtests/atanh-inputs: New file.
6141         * benchtests/cosh-inputs: New file.
6142         * benchtests/log-inputs: New file.
6143         * benchtests/sinh-inputs: New file.
6144         * benchtests/tanh-inputs: New file.
6146 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
6148         [BZ #15339]
6149         * posix/tst-getaddrinfo4.c: New test.
6150         * posix/Makefile (tests): Add it.
6152 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6154         [BZ #15339]
6155         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6156         when no services were used.
6157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6158         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6160 2013-05-21  Andreas Schwab  <schwab@suse.de>
6162         [BZ #15014]
6163         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6164         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6165         successful.
6166         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6167         redundant variable declarations and reallocation of buffer when
6168         parsing as IPv6 address.  Always set NSS status when called from
6169         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
6170         buffer too small.  Correct computation of needed size.
6171         * nss/Makefile (tests): Add test-digits-dots.
6172         * nss/test-digits-dots.c: New test.
6174 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6176         * benchtests/Makefile: Remove instructions for adding
6177         benchmark tests.
6178         * benchtests/README: New file to explain how to execute and
6179         enhance the benchmark tests.
6181 2013-05-21  Andreas Schwab  <schwab@suse.de>
6183         [BZ #15493]
6184         * setjmp/Makefile (tests): Add tst-sigsetjmp.
6185         * setjmp/tst-sigsetjmp.c: New test.
6187 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
6189         * sysdeps/x86_64/memset.S (memset): New implementation.
6190         (__bzero): Likewise.
6191         (__memset_tail): New function.
6193 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
6195         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6196         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6197         __memcpy_sse2_unaligned ifunc selection.
6198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6199         Add memcpy-sse2-unaligned.S.
6200         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6201         Add: __memcpy_sse2_unaligned.
6203 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
6205         [BZ #15490]
6206         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6207         math_force_eval before restoring floating-point envrionment.
6208         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6209         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6210         Likewise.
6211         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6212         <math_private.h>.
6213         (__nearbyintl): Use math_force_eval before restoring
6214         floating-point environment.
6215         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6217         * math/gen-libm-test.pl (special_functions): Remove.
6218         (parse_args): Don't handle TEST_extra.  Handle functions with no
6219         return value.
6220         * math/libm-test.inc (struct test_sincos_data): Replace with
6221         struct test_fFF_11_data.
6222         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6223         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6224         (sincos_test_data): Change element type to struct
6225         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
6226         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6227         RUN_TEST_LOOP_sincos.
6228         * math/README.libm-test: Don't mention special handling of
6229         individual functions.
6230         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6231         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6232         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6233         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6234         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6237         * math/gen-libm-test.pl (get_variable): Remove function.
6238         (parse_args): Don't show pointer parameters to call in test
6239         names.  Use "extra output N" in test names for extra outputs
6240         rather than naming variables.
6242 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
6244         [BZ #15488]
6245         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6246         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6247         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6248         double tests.
6249         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6250         disable.
6251         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6252         check_long_double.
6254         * math/gen-libm-test.pl (@tests): Remove variable.
6255         ($count): Likewise.
6256         (new_test): Remove function.
6257         (show_exceptions): New function.
6258         (special_functions): Use show_exceptions instead of new_test.
6259         (parse_args): Likewise.
6260         (generate_testfile): Pass only function name in generated call to
6261         print_max_error or print_complex_max_error.
6262         (get_ulps): Do not handle complex tests specially.
6263         (output_test): Rename to ...
6264         (get_all_ulps_for_test): ... this.  Return a string rather than
6265         printing to a file.  Require ulps to be present.
6266         (output_ulps): Generate arrays rather than #defines.
6267         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6268         (struct ulp_data): New type.
6269         (BUILD_COMPLEX_ULP): Remove macro.
6270         (compare_ulp_data): New function.
6271         (find_ulps): Likewise.
6272         (find_test_ulps): Likewise.
6273         (find_function_ulps): Likewise.
6274         (find_complex_function_ulps): Likewise.
6275         (print_max_error): Determine allowed ulps using
6276         find_function_ulps.
6277         (print_complex_max_error): Determine allowed ulps using
6278         find_complex_function_ulps.
6279         (check_float_internal): Determine max ulps using find_test_ulps.
6280         (check_float): Do not take max_ulp parameter.  Update call to
6281         check_float_internal.
6282         (check_complex): Likewise.
6283         (check_int): Do not take max_ulp parameter.
6284         (check_long): Likewise.
6285         (check_bool): Likewise.
6286         (check_longlong): Likewise.
6287         (struct test_f_f_data): Remove max_ulp field.
6288         (struct test_ff_f_data): Likewise.
6289         (struct test_ff_f_data_nexttoward): Likewise.
6290         (struct test_fi_f_data): Likewise.
6291         (struct test_fl_f_data): Likewise.
6292         (struct test_if_f_data): Likewise.
6293         (struct test_fff_f_data): Likewise.
6294         (struct test_c_f_data): Likewise.
6295         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6296         (struct test_fF_f1_data): Likewise.
6297         (struct test_ffI_f1_data): Likewise.
6298         (struct test_c_c_data): Remove max_ulp field.
6299         (struct test_cc_c_data): Likewise.
6300         (struct test_f_i_data): Likewise.
6301         (struct test_ff_i_data): Likewise.
6302         (struct test_f_l_data): Likewise.
6303         (struct test_f_L_data): Likewise.
6304         (struct test_sincos_data): Likewise.
6305         (RUN_TEST_f_f): Do not handle ulps.
6306         (RUN_TEST_LOOP_f_f): Likewise.
6307         (RUN_TEST_2_f): Likewise.
6308         (RUN_TEST_LOOP_2_f): Likewise.
6309         (RUN_TEST_fff_f): Likewise.
6310         (RUN_TEST_LOOP_fff_f): Likewise.
6311         (RUN_TEST_c_f): Likewise.
6312         (RUN_TEST_LOOP_c_f): Likewise.
6313         (RUN_TEST_f_f1): Likewise.
6314         (RUN_TEST_LOOP_f_f1): Likewise.
6315         (RUN_TEST_fF_f1): Likewise.
6316         (RUN_TEST_LOOP_fF_f1): Likewise.
6317         (RUN_TEST_fI_f1): Likewise.
6318         (RUN_TEST_LOOP_fI_f1): Likewise.
6319         (RUN_TEST_ffI_f1): Likewise.
6320         (RUN_TEST_LOOP_ffI_f1): Likewise.
6321         (RUN_TEST_c_c): Likewise.
6322         (RUN_TEST_LOOP_c_c): Likewise.
6323         (RUN_TEST_cc_c): Likewise.
6324         (RUN_TEST_LOOP_cc_c): Likewise.
6325         (RUN_TEST_f_i): Likewise.
6326         (RUN_TEST_LOOP_f_i): Likewise.
6327         (RUN_TEST_f_i_tg): Likewise.
6328         (RUN_TEST_LOOP_f_i_tg): Likewise.
6329         (RUN_TEST_ff_i_tg): Likewise.
6330         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6331         (RUN_TEST_f_b): Likewise.
6332         (RUN_TEST_LOOP_f_b): Likewise.
6333         (RUN_TEST_f_b_tg): Likewise.
6334         (RUN_TEST_LOOP_f_b_tg): Likewise.
6335         (RUN_TEST_f_l): Likewise.
6336         (RUN_TEST_LOOP_f_l): Likewise.
6337         (RUN_TEST_f_L): Likewise.
6338         (RUN_TEST_LOOP_f_L): Likewise.
6339         (RUN_TEST_sincos): Likewise.
6340         (RUN_TEST_LOOP_sincos): Likewise.
6342 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
6344         [BZ #15480]
6345         [BZ #15485]
6346         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6347         main case of finite arguments, set rounding mode to FE_TONEAREST
6348         and discard exceptions.
6349         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6350         exceptions.
6351         (remainder_tonearest_test_data): New variable.
6352         (remainder_test_tonearest): New function.
6353         (remainder_towardzero_test_data): New variable.
6354         (remainder_test_towardzero): New function.
6355         (remainder_downward_test_data): New variable.
6356         (remainder_test_downward): New function.
6357         (remainder_upward_test_data): New variable.
6358         (remainder_test_upward): New function.
6359         (main): Call the new test functions.
6361         * math/libm-test.inc (struct test_f_f1_data): Remove field
6362         extra_init.
6363         (struct test_fF_f1_data): Likewise.
6364         (struct test_ffI_f1_data): Likewise.
6365         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
6366         based on value of EXTRA_EXPECTED.
6367         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6368         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
6369         EXTRA_VAR based on value of EXTRA_EXPECTED.
6370         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6371         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
6372         EXTRA_VAR based on value of EXTRA_EXPECTED.
6373         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6374         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
6375         EXTRA_VAR based on value of EXTRA_EXPECTED.
6376         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6377         * math/gen-libm-test.pl (parse_args): Don't output initializers
6378         for extra output values.
6380         * math/libm-test.inc (check_int): Expect result to be exactly
6381         equal to expected value and do not handle ulps.
6382         (check_long): Likewise.
6383         (check_longlong): Likewise.
6385         * math/libm-test.inc (ceil_test_data): Test for "inexact"
6386         exceptions.
6387         (cimag_test_data): Likewise.
6388         (conj_test_data): Likewise.
6389         (copysign_test_data): Likewise.
6390         (cproj_test_data): Likewise.
6391         (creal_test_data): Likewise.
6392         (fabs_test_data): Likewise.
6393         (fdim_test_data): Likewise.
6394         (finite_test_data): Likewise.
6395         (floor_test_data): Likewise.
6396         (fmax_test_data): Likewise.
6397         (fmin_test_data): Likewise.
6398         (fmod_test_data): Likewise.
6399         (fpclassify_test_data): Likewise.
6400         (frexp_test_data): Likewise.
6401         (ilogb_test_data): Likewise.
6402         (isfinite_test_data): Likewise.
6403         (isgreater_test_data): Likewise.
6404         (isgreaterequal_test_data): Likewise.
6405         (isinf_test_data): Likewise.
6406         (isless_test_data): Likewise.
6407         (islessequal_test_data): Likewise.
6408         (islessgreater_test_data): Likewise.
6409         (isnan_test_data): Likewise.
6410         (isnormal_test_data): Likewise.
6411         (issignaling_test_data): Likewise.
6412         (isunordered_test_data): Likewise.
6413         (ldexp_test_data): Likewise.
6414         (lrint_test_data): Likewise.
6415         (lrint_test_data) [TEST_FLOAT]: Disable one test.
6416         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6417         (lrint_tonearest_test_data): Test for "inexact" exceptions.
6418         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6419         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6420         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6421         test input.
6422         (lrint_towardzero_test_data): Test for "inexact" exceptions.
6423         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6424         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6425         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6426         that test input.
6427         (lrint_downward_test_data): Test for "inexact" exceptions.
6428         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6429         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6430         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6431         test input.
6432         (lrint_upward_test_data): Test for "inexact" exceptions.
6433         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6434         test input.
6435         (llrint_test_data): Test for "inexact" exceptions.
6436         (llrint_test_data) [TEST_FLOAT]: Disable one test.
6437         (llrint_tonearest_test_data): Test for "inexact" exceptions.
6438         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6439         (llrint_towardzero_test_data): Test for "inexact" exceptions.
6440         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6441         (llrint_downward_test_data): Test for "inexact" exceptions.
6442         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6443         (llrint_upward_test_data): Test for "inexact" exceptions.
6444         (logb_test_data): Likewise.
6445         (logb_downward_test_data): Likewise.
6446         (nextafter_test_data): Likewise.
6447         (nexttoward_test_data): Likewise.
6448         (remainder_test_data): Likewise.
6449         (remquo_test_data): Likewise.
6450         (scalbn_test_data): Likewise.
6451         (scalbln_test_data): Likewise.
6452         (signbit_test_data): Likewise.
6453         (sqrt_test_data): Likewise.
6454         (significand_test_data): Likewise.
6456 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6458         [BZ #15424]
6459         * benchtests/bench-modf.c (struct args): Mark arg0 as
6460         volatile.
6461         * scripts/bench.pl: Mark members of struct args as volatile.
6463 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6465         [BZ # 15497]
6466         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6467         negative infinity on POWER6 or lower.
6468         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6470 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6472         [BZ #15442]
6473         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6474         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6475         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6476         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6477         (_FP_SETQNAN): New macro.
6478         (_FP_SETQNAN_SEMIRAW): Likewise.
6479         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6480         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6481         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6482         (FP_EXTEND): Use _FP_FRAC_SNANP.
6483         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6484         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6485         into account.
6486         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6487         New macro.
6488         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6489         Likewise.
6491 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6493         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6494         with DIVIDE_BY_ZERO_EXCEPTION.
6495         (gamma_test_data): Likewise.
6496         (lgamma_test_data): Likewise.
6497         (log_test_data): Likewise.
6498         (log10_test_data): Likewise.
6499         (log2_test_data): Likewise.
6500         (tgamma_test_data): Likewise.
6502         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6503         (acos_test_tonearest): Likewise.
6504         (acos_test_towardzero): Likewise.
6505         (acos_test_downward): Likewise.
6506         (acos_test_upward): Likewise.
6507         (acosh_test): Likewise.
6508         (asin_test): Likewise.
6509         (asin_test_tonearest): Likewise.
6510         (asin_test_towardzero): Likewise.
6511         (asin_test_downward): Likewise.
6512         (asin_test_upward): Likewise.
6513         (asinh_test): Likewise.
6514         (atan_test): Likewise.
6515         (atanh_test): Likewise.
6516         (atan2_test): Likewise.
6517         (cabs_test): Likewise.
6518         (cacos_test): Likewise.
6519         (cacosh_test): Likewise.
6520         (casin_test): Likewise.
6521         (casinh_test): Likewise.
6522         (catan_test): Likewise.
6523         (catanh_test): Likewise.
6524         (cbrt_test): Likewise.
6525         (ccos_test): Likewise.
6526         (ccosh_test): Likewise.
6527         (cexp_test): Likewise.
6528         (clog_test): Likewise.
6529         (clog10_test): Likewise.
6530         (cos_test): Likewise.
6531         (cos_test_tonearest): Likewise.
6532         (cos_test_towardzero): Likewise.
6533         (cos_test_downward): Likewise.
6534         (cos_test_upward): Likewise.
6535         (cosh_test): Likewise.
6536         (cosh_test_tonearest): Likewise.
6537         (cosh_test_towardzero): Likewise.
6538         (cosh_test_downward): Likewise.
6539         (cosh_test_upward): Likewise.
6540         (cpow_test): Likewise.
6541         (csin_test): Likewise.
6542         (csinh_test): Likewise.
6543         (csqrt_test): Likewise.
6544         (ctan_test): Likewise.
6545         (ctan_test_tonearest): Likewise.
6546         (ctan_test_towardzero): Likewise.
6547         (ctan_test_downward): Likewise.
6548         (ctan_test_upward): Likewise.
6549         (ctanh_test): Likewise.
6550         (ctanh_test_tonearest): Likewise.
6551         (ctanh_test_towardzero): Likewise.
6552         (ctanh_test_downward): Likewise.
6553         (ctanh_test_upward): Likewise.
6554         (erf_test): Likewise.
6555         (erfc_test): Likewise.
6556         (exp_test): Likewise.
6557         (exp_test_tonearest): Likewise.
6558         (exp_test_towardzero): Likewise.
6559         (exp_test_downward): Likewise.
6560         (exp_test_upward): Likewise.
6561         (exp10_test): Likewise.
6562         (exp2_test): Likewise.
6563         (expm1_test): Likewise.
6564         (fmod_test): Likewise.
6565         (gamma_test): Likewise.
6566         (hypot_test): Likewise.
6567         (j0_test): Likewise.
6568         (j1_test): Likewise.
6569         (jn_test): Likewise.
6570         (lgamma_test): Likewise.
6571         (log_test): Likewise.
6572         (log10_test): Likewise.
6573         (log1p_test): Likewise.
6574         (log2_test): Likewise.
6575         (logb_test_downward): Likewise.
6576         (pow_test): Likewise.
6577         (pow_test_tonearest): Likewise.
6578         (pow_test_towardzero): Likewise.
6579         (pow_test_downward): Likewise.
6580         (pow_test_upward): Likewise.
6581         (remainder_test): Likewise.
6582         (remquo_test): Likewise.
6583         (sin_test): Likewise.
6584         (sin_test_tonearest): Likewise.
6585         (sin_test_towardzero): Likewise.
6586         (sin_test_downward): Likewise.
6587         (sin_test_upward): Likewise.
6588         (sincos_test): Likewise.
6589         (sinh_test): Likewise.
6590         (sinh_test_tonearest): Likewise.
6591         (sinh_test_towardzero): Likewise.
6592         (sinh_test_downward): Likewise.
6593         (sinh_test_upward): Likewise.
6594         (sqrt_test): Likewise.
6595         (tan_test): Likewise.
6596         (tan_test_tonearest): Likewise.
6597         (tan_test_towardzero): Likewise.
6598         (tan_test_downward): Likewise.
6599         (tan_test_upward): Likewise.
6600         (tanh_test): Likewise.
6601         (tgamma_test): Likewise.
6602         (y0_test): Likewise.
6603         (y1_test): Likewise.
6604         (yn_test): Likewise.
6606         * math/gen-libm-test.pl (adjust_arg): Remove function.
6607         (special_function): Remove argument $in_func.  Only handle
6608         generating output for tables of tests, not inside functions.
6609         (parse_args): Likewise.
6610         (generate_testfile): Remove variable $in_func.  Update call to
6611         parse_args.
6612         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6613         (MINUS_ZERO_INIT): Rename macro to minus_zero.
6614         (PLUS_INFTY_INIT): Rename macro to plus_infty.
6615         (MINUS_INFTY_INIT): Rename macro to minus_infty.
6616         (QNAN_VALUE_INIT): Rename macro to qnan_value.
6617         (MAX_VALUE_INIT): Rename macro to max_value.
6618         (MIN_VALUE_INIT): Rename macro to min_value.
6619         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6620         (plus_zero): Remove variable.
6621         (minus_zero): Likewise.
6622         (plus_infty): Likewise.
6623         (minus_infty): Likewise.
6624         (qnan_value): Likewise.
6625         (max_value): Likewise.
6626         (min_value): Likewise.
6627         (min_subnorm_value): Likewise.
6629 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6631         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6632         uint64_t or uint32_t usage.
6633         * crypt/sha256-block.c: Likewise.
6634         * crypt/sha256-crypt.c: Likewise.
6635         * crypt/sha256.c: Likewise.
6636         * crypt/sha512-block.c: Likewise.
6637         * crypt/sha512-crypt.c: Likewise.
6638         * crypt/sha512.c: Likewise.
6639         * debug/backtrace-tst.c: Likewise.
6640         * debug/pcprofiledump.c: Likewise.
6641         * elf/cache.c: Likewise.
6642         * elf/dl-cache.c: Likewise.
6643         * elf/dl-misc.c: Likewise.
6644         * elf/dl-profile.c: Likewise.
6645         * elf/dl-support.c: Likewise.
6646         * elf/ldconfig.c: Likewise.
6647         * elf/sprof.c: Likewise.
6648         * iconv/dummy-repertoire.c: Likewise.
6649         * iconv/iconv_charmap.c: Likewise.
6650         * iconv/skeleton.c: Likewise.
6651         * iconvdata/8bit-generic.c: Likewise.
6652         * iconvdata/cp737.h: Likewise.
6653         * iconvdata/cp775.h: Likewise.
6654         * iconvdata/ibm1008.h: Likewise.
6655         * iconvdata/ibm1025.h: Likewise.
6656         * iconvdata/ibm1046.h: Likewise.
6657         * iconvdata/ibm1097.h: Likewise.
6658         * iconvdata/ibm1112.h: Likewise.
6659         * iconvdata/ibm1122.h: Likewise.
6660         * iconvdata/ibm1123.h: Likewise.
6661         * iconvdata/ibm1124.h: Likewise.
6662         * iconvdata/ibm1129.h: Likewise.
6663         * iconvdata/ibm1130.h: Likewise.
6664         * iconvdata/ibm1132.h: Likewise.
6665         * iconvdata/ibm1133.h: Likewise.
6666         * iconvdata/ibm1137.h: Likewise.
6667         * iconvdata/ibm1140.h: Likewise.
6668         * iconvdata/ibm1141.h: Likewise.
6669         * iconvdata/ibm1142.h: Likewise.
6670         * iconvdata/ibm1143.h: Likewise.
6671         * iconvdata/ibm1144.h: Likewise.
6672         * iconvdata/ibm1145.h: Likewise.
6673         * iconvdata/ibm1146.h: Likewise.
6674         * iconvdata/ibm1147.h: Likewise.
6675         * iconvdata/ibm1148.h: Likewise.
6676         * iconvdata/ibm1149.h: Likewise.
6677         * iconvdata/ibm1153.h: Likewise.
6678         * iconvdata/ibm1154.h: Likewise.
6679         * iconvdata/ibm1155.h: Likewise.
6680         * iconvdata/ibm1156.h: Likewise.
6681         * iconvdata/ibm1157.h: Likewise.
6682         * iconvdata/ibm1158.h: Likewise.
6683         * iconvdata/ibm1160.h: Likewise.
6684         * iconvdata/ibm1161.h: Likewise.
6685         * iconvdata/ibm1162.h: Likewise.
6686         * iconvdata/ibm1163.h: Likewise.
6687         * iconvdata/ibm1164.h: Likewise.
6688         * iconvdata/ibm1166.h: Likewise.
6689         * iconvdata/ibm1167.h: Likewise.
6690         * iconvdata/ibm12712.h: Likewise.
6691         * iconvdata/ibm1390.h: Likewise.
6692         * iconvdata/ibm1399.h: Likewise.
6693         * iconvdata/ibm16804.h: Likewise.
6694         * iconvdata/ibm4517.h: Likewise.
6695         * iconvdata/ibm4899.h: Likewise.
6696         * iconvdata/ibm4909.h: Likewise.
6697         * iconvdata/ibm4971.h: Likewise.
6698         * iconvdata/ibm5347.h: Likewise.
6699         * iconvdata/ibm803.h: Likewise.
6700         * iconvdata/ibm856.h: Likewise.
6701         * iconvdata/ibm901.h: Likewise.
6702         * iconvdata/ibm902.h: Likewise.
6703         * iconvdata/ibm9030.h: Likewise.
6704         * iconvdata/ibm9066.h: Likewise.
6705         * iconvdata/ibm921.h: Likewise.
6706         * iconvdata/ibm922.h: Likewise.
6707         * iconvdata/ibm9448.h: Likewise.
6708         * iconvdata/isiri-3342.h: Likewise.
6709         * iconvdata/jis0201.h: Likewise.
6710         * include/link.h: Likewise.
6711         * include/netdb.h: Likewise.
6712         * inet/check_native.c: Likewise.
6713         * inet/check_pf.c: Likewise.
6714         * inet/getipv4sourcefilter.c: Likewise.
6715         * inet/getnameinfo.c: Likewise.
6716         * inet/getsourcefilter.c: Likewise.
6717         * inet/htonl.c: Likewise.
6718         * inet/setipv4sourcefilter.c: Likewise.
6719         * inet/setsourcefilter.c: Likewise.
6720         * inet/test-inet6_opt.c: Likewise.
6721         * inet/tst-network.c: Likewise.
6722         * locale/C-collate.c: Likewise.
6723         * locale/C-ctype.c: Likewise.
6724         * locale/C-time.c: Likewise.
6725         * locale/C-translit.h: Likewise.
6726         * locale/loadarchive.c: Likewise.
6727         * locale/programs/3level.h: Likewise.
6728         * locale/programs/charmap.c: Likewise.
6729         * locale/programs/charmap.h: Likewise.
6730         * locale/programs/ld-address.c: Likewise.
6731         * locale/programs/ld-collate.c: Likewise.
6732         * locale/programs/ld-ctype.c: Likewise.
6733         * locale/programs/ld-identification.c: Likewise.
6734         * locale/programs/ld-measurement.c: Likewise.
6735         * locale/programs/ld-messages.c: Likewise.
6736         * locale/programs/ld-monetary.c: Likewise.
6737         * locale/programs/ld-name.c: Likewise.
6738         * locale/programs/ld-numeric.c: Likewise.
6739         * locale/programs/ld-paper.c: Likewise.
6740         * locale/programs/ld-telephone.c: Likewise.
6741         * locale/programs/ld-time.c: Likewise.
6742         * locale/programs/linereader.c: Likewise.
6743         * locale/programs/locale.c: Likewise.
6744         * locale/programs/locarchive.c: Likewise.
6745         * locale/programs/locfile.h: Likewise.
6746         * locale/programs/repertoire.c: Likewise.
6747         * locale/programs/simple-hash.c: Likewise.
6748         * locale/programs/simple-hash.h: Likewise.
6749         * malloc/memusage.c: Likewise.
6750         * malloc/memusagestat.c: Likewise.
6751         * nis/nis_defaults.c: Likewise.
6752         * nis/nis_hash.c: Likewise.
6753         * nis/nis_print.c: Likewise.
6754         * nis/nis_xdr.c: Likewise.
6755         * nscd/connections.c: Likewise.
6756         * nscd/hstcache.c: Likewise.
6757         * nscd/nscd_gethst_r.c: Likewise.
6758         * nscd/nscd_getserv_r.c: Likewise.
6759         * nscd/nscd_helper.c: Likewise.
6760         * nscd/servicescache.c: Likewise.
6761         * nss/makedb.c: Likewise.
6762         * nss/nss_db/db-XXX.c: Likewise.
6763         * nss/nss_db/db-initgroups.c: Likewise.
6764         * nss/nss_db/db-netgrp.c: Likewise.
6765         * nss/nss_files/files-network.c: Likewise.
6766         * nss/nss_files/files-parse.c: Likewise.
6767         * posix/bug-regex5.c: Likewise.
6768         * posix/fnmatch_loop.c: Likewise.
6769         * posix/regcomp.c: Likewise.
6770         * posix/regexec.c: Likewise.
6771         * posix/tst-rfc3484-2.c: Likewise.
6772         * posix/tst-rfc3484-3.c: Likewise.
6773         * posix/tst-rfc3484.c: Likewise.
6774         * resolv/nss_dns/dns-canon.c: Likewise.
6775         * resolv/nss_dns/dns-network.c: Likewise.
6776         * resolv/res_init.c: Likewise.
6777         * resolv/res_mkquery.c: Likewise.
6778         * resolv/tst-aton.c: Likewise.
6779         * stdlib/cxa_atexit.c: Likewise.
6780         * stdlib/cxa_finalize.c: Likewise.
6781         * stdlib/gen-fpioconst.c: Likewise.
6782         * stdlib/strtol_l.c: Likewise.
6783         * string/tst-endian.c: Likewise.
6784         * sunrpc/auth_des.c: Likewise.
6785         * sunrpc/clnt_udp.c: Likewise.
6786         * sunrpc/rtime.c: Likewise.
6787         * sunrpc/svcauth_des.c: Likewise.
6788         * sunrpc/xdr.c: Likewise.
6789         * sunrpc/xdr_intXX_t.c: Likewise.
6790         * sunrpc/xdr_rec.c: Likewise.
6791         * sysdeps/generic/ldconfig.h: Likewise.
6792         * sysdeps/generic/ldsodefs.h: Likewise.
6793         * sysdeps/generic/memusage.h: Likewise.
6794         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6795         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6796         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6797         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6798         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6799         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6800         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6801         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6802         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6803         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6804         * sysdeps/posix/getaddrinfo.c: Likewise.
6805         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6806         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6807         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6808         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6809         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6810         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6811         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6812         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6813         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6814         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6815         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6816         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6817         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6818         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6819         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6820         * sysdeps/x86_64/dl-tls.h: Likewise.
6821         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6822         * time/alt_digit.c: Likewise.
6823         * time/era.c: Likewise.
6824         * wcsmbs/tst-c16c32-1.c: Likewise.
6826 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6828         * math/libm-test.inc (struct test_sincos_data): New type.
6829         (RUN_TEST_LOOP_sincos): New macro.
6830         (sincos_test_data): New variable.
6831         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6833 2013-05-16  Richard Henderson  <rth@redhat.com>
6835         * math/atest-exp2.c (LIMB64): New macro.
6836         (CONSTSZ): New macro.
6837         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6838         (hexdig): Move ...
6839         (print_mpn_fp): ... to function scope.
6840         (read_mpn_hex): Remove.
6841         (get_log2): Remove.
6842         (exp2_mpn): Use mp_log2.
6843         (main): Use mp_exp1.
6845 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6847         * math/libm-test.inc: Remove comment about not testing "inexact"
6848         exceptions.
6849         (INEXACT_EXCEPTION): New macro.
6850         (NO_INEXACT_EXCEPTION): Likewise.
6851         (INVALID_EXCEPTION_OK): Update value.
6852         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6853         (OVERFLOW_EXCEPTION_OK): Likewise.
6854         (UNDERFLOW_EXCEPTION_OK): Likewise.
6855         (IGNORE_ZERO_INF_SIGN): Likewise.
6856         (ERRNO_UNCHANGED): Likewise.
6857         (ERRNO_EDOM): Likewise.
6858         (ERRNO_ERANGE): Likewise.
6859         (test_exceptions): Handle testing "inexact" exceptions.
6860         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6861         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6862         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6863         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6864         INEXACT_EXCEPTION.
6865         (rint_towardzero_test_data): Likewise.
6866         (rint_downward_test_data): Likewise.
6867         (rint_upward_test_data): Likewise.
6869         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6870         with OVERFLOW_EXCEPTION.
6871         (exp10_test_data): Likewise.
6872         (exp2_test_data): Likewise.
6873         (expm1_test_data): Likewise.
6874         (lgamma_test_data): Likewise.
6875         (pow_test_data): Likewise.
6876         (tgamma_test_data): Likewise.
6877         (yn_test_data): Remove duplicate test of overflow.
6879         * math/libm-test.inc (struct test_cc_c_data): New type.
6880         (RUN_TEST_LOOP_cc_c): New macro.
6881         (cpow_test_data): New variable.
6882         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6884         * math/libm-test.inc (struct test_f_L_data): New type.
6885         (RUN_TEST_LOOP_f_L): New macro.
6886         (llrint_test_data): New variable.
6887         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6888         (llrint_tonearest_test_data): New variable.
6889         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6890         (llrint_towardzero_test_data): New variable.
6891         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6892         (llrint_downward_test_data): New variable.
6893         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6894         (llrint_upward_test_data): New variable.
6895         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6896         (llround_test_data): New variable.
6897         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6899 2013-05-13  Peter Collingbourne  <pcc@google.com>
6901         * math/atest-exp2.c (get_log2): Remove const attribute.
6903 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6905         * math/libm-test.inc (struct test_f_l_data): New type.
6906         (RUN_TEST_LOOP_f_l): New macro.
6907         (lrint_test_data): New variable.
6908         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6909         (lrint_tonearest_test_data): New variable.
6910         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6911         (lrint_towardzero_test_data): New variable.
6912         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6913         (lrint_downward_test_data): New variable.
6914         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6915         (lrint_upward_test_data): New variable.
6916         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6917         (lround_test_data): New variable.
6918         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6920 2013-05-15  Peter Collingbourne  <pcc@google.com>
6922         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6923         (EXTRACT_WORDS64) Use where appropriate.
6924         (INSERT_WORDS64) Likewise.
6926         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6927         constraints with x constraints.
6928         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6930         * malloc/obstack.c (_obstack_compat): Add initializer.
6932 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6934         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6935         si_trapno and add si_addr_lsb to _sifields.sigfault.
6936         (si_trapno): Remove macro.
6937         (si_addr_lsb): Define new macro.
6938         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6940 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6942         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6943         instead of TEST_f_l.
6944         (llrint_test_tonearest): Likewise.
6945         (llrint_test_towardzero): Likewise.
6946         (llrint_test_downward): Likewise.
6947         (llrint_test_upward): Likewise.
6948         (llround_test): Likewise.
6950         * math/libm-test.inc (struct test_f_i_data): Add comment.
6951         (RUN_TEST_LOOP_f_b): New macro.
6952         (RUN_TEST_LOOP_f_b_tg): Likewise.
6953         (finite_test_data): New variable.
6954         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6955         (isfinite_test_data): New variable.
6956         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6957         (isinf_test_data): New variable.
6958         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6959         (isnan_test_data): New variable.
6960         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6961         (isnormal_test_data): New variable.
6962         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6963         (issignaling_test_data): New variable.
6964         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6965         (signbit_test_data): New variable.
6966         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6968         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6969         with INVALID_EXCEPTION.
6970         (acosh_test_data): Likewise.
6971         (asin_test_data): Likewise.
6972         (atanh_test_data): Likewise.
6973         (fmod_test_data): Likewise.
6974         (log_test_data): Likewise.
6975         (log10_test_data): Likewise.
6976         (log2_test_data): Likewise.
6977         (pow_test_data): Likewise.
6978         (sqrt_test_data): Likewise.
6979         (y0_test_data): Likewise.
6980         (y1_test_data): Likewise.
6981         (yn_test_data): Likewise.
6983         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6984         function contents.
6986         * math/libm-test.inc (struct test_ff_i_data): New type.
6987         (RUN_TEST_LOOP_ff_i_tg): New macro.
6988         (isgreater_test_data): New variable.
6989         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6990         (isgreaterequal_test_data): New variable.
6991         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6992         (isless_test_data): New variable.
6993         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6994         (islessequal_test_data): New variable.
6995         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6996         (islessgreater_test_data): New variable.
6997         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6998         (isunordered_test_data): New variable.
6999         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7001 2013-05-14  David S. Miller  <davem@davemloft.net>
7003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7005 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
7007         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7009         * math/libm-test.inc (struct test_fF_f1_data): Change type of
7010         extra_test to int.
7011         (struct test_f_i_data): Change type of max_ulp to int.
7013         * math/libm-test.inc (test_ffI_f1_data): New type.
7014         (RUN_TEST_LOOP_ffI_f1): New macro.
7015         (remquo_test_data): New variable.
7016         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7018         * setjmp/tst-setjmp-fp.c: New file.
7019         * setjmp/Makefile (tests): Add tst-setjmp-fp.
7020         (link-libm): New variable.
7021         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7023         * math/libm-test.inc (struct test_f_i_data): New type.
7024         (RUN_TEST_LOOP_f_i): New macro.
7025         (RUN_TEST_LOOP_f_i_tg): Likewise.
7026         (fpclassify_test_data): New variable.
7027         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7028         (ilogb_test_data): New variable.
7029         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7031         * math/libm-test.inc (scalbln_test): Correct function name in END
7032         call.
7034         * math/libm-test.inc (struct test_f_f1_data): Add comment.
7035         (RUN_TEST_LOOP_fI_f1): New macro.
7036         (frexp_test_data): New variable.
7037         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7039         * math/libm-test.inc (struct test_fF_f1_data): New type.
7040         (RUN_TEST_LOOP_fF_f1): New macro.
7041         (modf_test_data): New variable.
7042         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7044         * math/libm-test.inc (struct test_f_f1_data): New type.
7045         (RUN_TEST_LOOP_f_f1): New macro.
7046         (gamma_test_data): New variable.
7047         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7048         (lgamma_test_data): New variable.
7049         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7051 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
7053         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7054         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7055         (main): Comment "tls" pseudo-hwcap.
7057 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
7059         * math/libm-test.inc (struct test_fl_f_data): New type.
7060         (RUN_TEST_LOOP_fl_f): New variable.
7061         (scalbln_test_data): New variable.
7062         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7064         * math/libm-test.inc (struct test_fi_f_data): New type.
7065         (RUN_TEST_LOOP_fi_f): New macro.
7066         (ldexp_test_data): New variable.
7067         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7068         (scalbn_test_data): New variable.
7069         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7071         * math/libm-test.inc (struct test_c_f_data): New type.
7072         (RUN_TEST_LOOP_c_f): New macro.
7073         (cabs_test_data): New variable.
7074         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7075         (carg_test_data): New variable.
7076         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7077         (cimag_test_data): New variable.
7078         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7079         (creal_test_data): New variable.
7080         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7082         * math/libm-test.inc (struct test_if_f_data): New type.
7083         (RUN_TEST_LOOP_if_f): New macro.
7084         (jn_test_data): New variable.
7085         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7086         (yn_test_data): New variable.
7087         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7089         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7091 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7093         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7094         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7096 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7098         * benchtests/Makefile (CPPFLAGS-nonlib): Add
7099         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7100         (bench-deps): Add bench-timing.h.
7101         * benchtests-bench-skeleton.c: Include bench-timing.h.
7102         (main): Use TIMING_* macros instead of clock_gettime.
7103         * benchtests/bench-timing.h: New file.
7105         [BZ #14582]
7106         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7107         Renamed from _LIB_VERSION.
7108         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7110 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
7112         * math/libm-test.inc (struct test_fff_f_data): New type.
7113         (RUN_TEST_LOOP_fff_f): New macro.
7114         (fma_test_data): New variable.
7115         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7116         (fma_towardzero_test_data): New variable.
7117         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7118         (fma_downward_test_data): New variable.
7119         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7120         (fma_upward_test_data): New variable.
7121         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7123         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7124         (struct test_c_c_data): New type.
7125         (RUN_TEST_LOOP_c_c): New macro.
7126         (cacos_test_data): New variable.
7127         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7128         (cacosh_test_data): New variable.
7129         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7130         (casin_test_data): New variable.
7131         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7132         (casinh_test_data): New variable.
7133         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7134         (catan_test_data): New variable.
7135         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7136         (catanh_test_data): New variable.
7137         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7138         (ccos_test_data): New variable.
7139         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7140         (ccosh_test_data): New variable.
7141         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7142         (cexp_test_data): New variable.
7143         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7144         (clog_test_data): New variable.
7145         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7146         (clog10_test_data): New variable.
7147         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7148         (conj_test_data): New variable.
7149         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7150         (cproj_test_data): New variable.
7151         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7152         (csin_test_data): New variable.
7153         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7154         (csinh_test_data): New variable.
7155         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7156         (csqrt_test_data): New variable.
7157         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7158         (ctan_test_data): New variable.
7159         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7160         (ctan_tonearest_test_data): New variable.
7161         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7162         (ctan_towardzero_test_data): New variable.
7163         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7164         (ctan_downward_test_data): New variable.
7165         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7166         (ctan_upward_test_data): New variable.
7167         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7168         (ctanh_test_data): New variable.
7169         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7170         (ctanh_tonearest_test_data): New variable.
7171         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7172         (ctanh_towardzero_test_data): New variable.
7173         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7174         (ctanh_downward_test_data): New variable.
7175         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7176         (ctanh_upward_test_data): New variable.
7177         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7178         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7179         of BUILD_COMPLEX.
7181         * math/libm-test.inc (struct test_ff_f_data): New type.
7182         (struct test_ff_f_data_nexttoward): Likewise.
7183         (RUN_TEST_LOOP_2_f): New macro.
7184         (RUN_TEST_LOOP_ff_f): Likewise.
7185         (atan2_test_data): New variable.
7186         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7187         (copysign_test_data): New variable.
7188         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7189         (fdim_test_data): New variable.
7190         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7191         (fmax_test_data): New variable.
7192         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7193         (fmin_test_data): New variable.
7194         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7195         (fmod_test_data): New variable.
7196         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7197         (hypot_test_data): New variable.
7198         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7199         (nextafter_test_data): New variable.
7200         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7201         (nexttoward_test_data): New variable.
7202         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7203         (pow_test_data): New variable.
7204         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7205         (pow_tonearest_test_data): New variable.
7206         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7207         (pow_towardzero_test_data): New variable.
7208         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7209         (pow_downward_test_data): New variable.
7210         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7211         (pow_upward_test_data): New variable.
7212         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7213         (remainder_test_data): New variable.
7214         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7215         (scalb_test_data): New variable.
7216         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7217         * sysdeps/i386/fpu/libm-test-ulps: Update.
7219 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
7221         * math/libm-test.inc (fma_test): Use max_value instead of local
7222         variable fltmax.
7223         (nextafter_test): Likewise.
7225         * math/libm-test.inc (acos_towardzero_test_data): New variable.
7226         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7227         (acos_downward_test_data): New variable.
7228         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7229         (acos_upward_test_data): New variable.
7230         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7231         (acosh_test_data): New variable.
7232         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7233         (asin_test_data): New variable.
7234         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7235         (asin_tonearest_test_data): New variable.
7236         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7237         (asin_towardzero_test_data): New variable.
7238         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7239         (asin_downward_test_data): New variable.
7240         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7241         (asin_upward_test_data): New variable.
7242         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7243         (asinh_test_data): New variable.
7244         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7245         (atan_test_data): New variable.
7246         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7247         (atanh_test_data): New variable.
7248         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7249         (cbrt_test_data): New variable.
7250         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7251         (ceil_test_data): New variable.
7252         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7253         (cos_test_data): New variable.
7254         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7255         (cos_tonearest_test_data): New variable.
7256         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7257         (cos_towardzero_test_data): New variable.
7258         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7259         (cos_downward_test_data): New variable.
7260         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7261         (cos_upward_test_data): New variable.
7262         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7263         (cosh_test_data): New variable.
7264         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7265         (cosh_tonearest_test_data): New variable.
7266         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7267         (cosh_towardzero_test_data): New variable.
7268         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7269         (cosh_downward_test_data): New variable.
7270         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7271         (cosh_upward_test_data): New variable.
7272         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7273         (erf_test_data): New variable.
7274         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7275         (erfc_test_data): New variable.
7276         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7277         (exp_test_data): New variable.
7278         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7279         (exp_tonearest_test_data): New variable.
7280         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7281         (exp_towardzero_test_data): New variable.
7282         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7283         (exp_downward_test_data): New variable.
7284         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7285         (exp_upward_test_data): New variable.
7286         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7287         (exp10_test_data): New variable.
7288         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7289         (exp2_test_data): New variable.
7290         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7291         (expm1_test_data): New variable.
7292         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7293         (fabs_test_data): New variable.
7294         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7295         (floor_test_data): New variable.
7296         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7297         (j0_test_data): New variable.
7298         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7299         (j1_test_data): New variable.
7300         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7301         (log_test_data): New variable.
7302         (log_test): Run tests with RUN_TEST_LOOP_f_f.
7303         (log10_test_data): New variable.
7304         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7305         (log1p_test_data): New variable.
7306         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7307         (log2_test_data): New variable.
7308         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7309         (logb_test_data): New variable.
7310         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7311         (logb_downward_test_data): New variable.
7312         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7313         (nearbyint_test_data): New variable.
7314         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7315         (rint_test_data): New variable.
7316         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7317         (rint_tonearest_test_data): New variable.
7318         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7319         (rint_towardzero_test_data): New variable.
7320         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7321         (rint_downward_test_data): New variable.
7322         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7323         (rint_upward_test_data): New variable.
7324         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7325         (round_test_data): New variable.
7326         (round_test): Run tests with RUN_TEST_LOOP_f_f.
7327         (sin_test_data): New variable.
7328         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7329         (sin_tonearest_test_data): New variable.
7330         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7331         (sin_towardzero_test_data): New variable.
7332         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7333         (sin_downward_test_data): New variable.
7334         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7335         (sin_upward_test_data): New variable.
7336         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7337         (sinh_test_data): New variable.
7338         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7339         (sinh_tonearest_test_data): New variable.
7340         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7341         (sinh_towardzero_test_data): New variable.
7342         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7343         (sinh_downward_test_data): New variable.
7344         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7345         (sinh_upward_test_data): New variable.
7346         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7347         (sqrt_test_data): New variable.
7348         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7349         (tan_test_data): New variable.
7350         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7351         (tan_tonearest_test_data): New variable.
7352         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7353         (tan_towardzero_test_data): New variable.
7354         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7355         (tan_downward_test_data): New variable.
7356         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7357         (tan_upward_test_data): New variable.
7358         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7359         (tanh_test_data): New variable.
7360         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7361         (tgamma_test_data): New variable.
7362         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7363         (trunc_test_data): New variable.
7364         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7365         (y0_test_data): New variable.
7366         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7367         (y1_test_data): New variable.
7368         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7369         (significand_test_data): New variable.
7370         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7372 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
7374         [BZ #12387]
7375         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7377 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
7379         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7381 2013-05-10  Andreas Jaeger  <aj@suse.de>
7383         [BZ #15448]
7384         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7385         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7387 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7389         * math/gen-libm-test.pl (adjust_arg): New function.
7390         (special_functions): Handle generating output in both functions
7391         and arrays.
7392         (parse_args): Likewise.
7393         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
7394         $in_func argument to parse_args.
7395         * math/libm-test.inc (struct test_f_f_data): New type.
7396         (IF_ROUND_INIT_): New macro.
7397         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7398         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7399         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7400         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7401         (ROUND_RESTORE_): Likewise.
7402         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7403         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7404         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7405         (ROUND_RESTORE_FE_UPWARD): Likewise.
7406         (RUN_TEST_LOOP_f_f): New macro.
7407         (acos_test_data): New variable.
7408         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7409         (acos_tonearest_test_data): New variable.
7410         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7412 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7414         * benchtests/bench-skeleton.c (startup): Fix coding style.
7416 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
7418         [BZ #6809]
7419         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7420         negative infinity argument.
7421         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7422         negative infinity argument.
7423         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7424         negative infinity argument.
7425         * math/libm-test.inc (tgamma_test): Expect errno to be set for
7426         domain errors.
7428 2013-05-10  Florian Weimer  <fweimer@redhat.com>
7430         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7431         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7432         * iconv/iconv_prog.c (main): Likewise.
7433         * locale/programs/charmap-dir.c (charmap_readdir)
7434         (fopen_uncompressed): Likewise.
7435         * locale/programs/locfile.c (siblings_uncached)
7436         (write_locale_data): Use lstat64 instead of lstat.
7437         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7438         stat.
7440 2013-05-10  Andreas Jaeger  <aj@suse.de>
7442         [BZ #15395]
7443         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7444         localization.
7445         Include <locale.h>.
7447 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
7449         * elf/dl-close.c (_dl_close_worker): Add comments.
7451 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
7453         [BZ #15359]
7454         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7455         high part of pi/2.
7456         (__ieee754_rem_pio2l): Update comments.
7458         [BZ #15429]
7459         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7460         high part of pi/2.
7461         (__ieee754_rem_pio2l): Update comments.
7463         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7464         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7466         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7467         M_PI_4l.
7469         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7470         (M_PI_34_LOG10El): Likewise.
7471         (M_PI2_LOG10El): Likewise.
7472         (M_PI4_LOG10El): Likewise.
7473         (M_PI_LOG10El): Likewise.
7475 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7479 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
7481         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7482         (MINUS_ZERO_INIT): Likewise.
7483         (PLUS_INFTY_INIT): Likewise.
7484         (MINUS_INFTY_INIT): Likewise.
7485         (QNAN_VALUE_INIT): Likewise.
7486         (MAX_VALUE_INIT): Likewise.
7487         (MIN_VALUE_INIT): Likewise.
7488         (MIN_SUBNORM_VALUE_INIT): Likewise.
7489         (plus_zero): Initialize with PLUS_ZERO_INIT.
7490         (minus_zero): Initialize with MINUS_ZERO_INIT.
7491         (plus_infty): Initialize with PLUS_INFTY_INIT.
7492         (minus_infty): Initialize with MINUS_INFTY_INIT.
7493         (qnan_value): Initialize with QNAN_VALUE_INIT.
7494         (max_value): Initialize with MAX_VALUE_INIT.
7495         (min_value): Initialize with MIN_VALUE_INIT.
7496         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7498         * math/libm-test.inc (RUN_TEST_if_f): New macro.
7499         (jn_test): Use TEST_if_f instead of TEST_ff_f.
7500         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7501         (yn_test): Use TEST_if_f instead of TEST_ff_f.
7503         * math/libm-test.inc (RUN_TEST_f_f): New macro.
7504         (RUN_TEST_2_f): Likewise.
7505         (RUN_TEST_ff_f): Likewise.
7506         (RUN_TEST_fi_f): Likewise.
7507         (RUN_TEST_fl_f): Likewise.
7508         (RUN_TEST_fff_f): Likewise.
7509         (RUN_TEST_c_f): Likewise.
7510         (RUN_TEST_f_f1): Likewise.
7511         (RUN_TEST_fF_f1): Likewise.
7512         (RUN_TEST_fI_f1): Likewise.
7513         (RUN_TEST_ffI_f1): Likewise.
7514         (RUN_TEST_c_c): Likewise.
7515         (RUN_TEST_cc_c): Likewise.
7516         (RUN_TEST_f_i): Likewise.
7517         (RUN_TEST_f_i_tg): Likewise.
7518         (RUN_TEST_ff_i_tg): Likewise.
7519         (RUN_TEST_f_b): Likewise.
7520         (RUN_TEST_f_b_tg): Likewise.
7521         (RUN_TEST_f_l): Likewise.
7522         (RUN_TEST_f_L): Likewise.
7523         (RUN_TEST_sincos): Likewise.
7524         * math/gen-libm-test.pl (new_test): Take new argument to indicate
7525         whether to show exceptions.  Do not include ");\n" in return
7526         value.
7527         (special_functions): Output call to RUN_TEST_sincos instead of
7528         check_float calls.  Update calls to new_test.
7529         (parse_args): Output call to single RUN_TEST_* macro instead of
7530         check_* calls and other assignments.  Update calls to new_test.
7532         [BZ #2546]
7533         [BZ #2560]
7534         [BZ #5159]
7535         [BZ #15426]
7536         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7537         input to result for tgamma overflow.
7538         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7539         (gamma_coeff): New variable.
7540         (NCOEFF): New macro.
7541         (gamma_positive): New function.
7542         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7543         underflow here.  Use gamma_positive instead of exp (lgamma) for
7544         other arguments.
7545         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7546         (gamma_coeff): New variable.
7547         (NCOEFF): New macro.
7548         (gammaf_positive): New function.
7549         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7550         underflow here.  Use gamma_positive instead of exp (lgamma) for
7551         other arguments.
7552         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7553         (gamma_coeff): New variable.
7554         (NCOEFF): New macro.
7555         (gammal_positive): New function.
7556         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7557         underflow here.  Use gamma_positive instead of exp (lgamma) for
7558         other arguments.
7559         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7560         (gamma_coeff): New variable.
7561         (NCOEFF): New macro.
7562         (gammal_positive): New function.
7563         (__ieee754_gammal_r): Handle positive infinity, overflow and
7564         underflow here.  Handle NaN the same as positive infinity.  Remove
7565         check x < 0xffffffff for negative integers.  Use gamma_positive
7566         instead of exp (lgamma) for other arguments.
7567         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7568         (gamma_coeff): New variable.
7569         (NCOEFF): New macro.
7570         (gammal_positive): New function.
7571         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7572         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7573         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7574         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7575         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7576         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7577         * sysdeps/generic/math_private.h (__gamma_productf): New
7578         prototype.
7579         (__gamma_product): Likewise.
7580         (__gamma_productl): Likewise.
7581         * math/Makefile (libm-calls): Add gamma_product.
7582         * math/libm-test.inc (tgamma_test): Add more tests.
7583         * sysdeps/i386/fpu/libm-test-ulps: Update.
7584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7586 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
7588         * benchtests/bench-skeleton.c (main): Preheat CPU.
7590 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
7592         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7594 2013-05-07  Roland McGrath  <roland@hack.frob.com>
7596         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7597         and _dl_skip_args_internal.
7599 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
7601         * manual/message.texi (Message Translation): Talk about users.
7602         Message to key mapping impacts design.
7604 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7606         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7608         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7610         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7611         * sysdeps/wordsize-64/glob64.c: ... here.
7613         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7614         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7615         New macros.
7617         * debug/getlogin_r_chk.c: Moved to ...
7618         * login/getlogin_r_chk.c: ... here.
7619         * debug/Makefile (routines): Move getlogin_r_chk to ...
7620         * login/Makefile (routines): ... here.
7621         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7622         * login/Versions (libc: GLIBC_2.4): ... here.
7624         * io/poll.c (__poll): Renamed from poll.
7625         Add libc_hidden_def.
7626         (poll): Define as weak alias.
7628         * debug/ptsname_r_chk.c: Moved to ...
7629         * login/ptsname_r_chk.c: ... here.
7630         * debug/Makefile (routines): Move ptsname_r_chk to ...
7631         * login/Makefile (routines): ... here.
7632         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7633         * login/Versions (libc: GLIBC_2.4): ... here.
7635         * posix/getlogin.c: Moved to ...
7636         * login/getlogin.c: ... here.
7637         * posix/getlogin_r.c: Moved to ...
7638         * login/getlogin_r.c: ... here.
7639         * posix/getlogin_r.c: Moved to ...
7640         * login/getlogin_r.c: ... here.
7641         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7642         * login/Makefile (routines): ... here.
7643         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7644         * login/Versions (libc: GLIBC_2.0): ... here.
7646         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7647         (setrlimit): Define as weak alias.
7649         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7650         Call __ names for open, ftruncate, and close.
7651         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7652         (truncate): Define as weak alias.
7654 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
7656         * math/gen-libm-test.pl (parse_args): Initialize x before each
7657         test of frexp, modf and remquo.
7659         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7660         test signgam value.
7662 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7664         [BZ #15418]
7665         [BZ #15419]
7666         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7667         internal tests.
7668         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7670 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7672         * elf/dl-writev.h: New file.
7673         * elf/dl-misc.c: Include it.
7674         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7675         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7677 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
7679         * math/libm-test.inc (noXFails): Remove variable.
7680         (noXPasses): Likewise.
7681         (BUILD_COMPLEX_INT): Remove macro.
7682         (print_screen): Remove xfail argument.
7683         (print_screen_max_error): Likewise.
7684         (update_stats): Likewise.
7685         (print_max_error): Likewise.  Update calls to other affected
7686         functions.
7687         (print_complex_max_error): Likewise.
7688         (test_single_exception): Update calls to print_screen.
7689         (test_single_errno): Likewise.
7690         (check_float_internal): Remove xfail argument.  Update calls to
7691         other affected functions.
7692         (check_float): Likewise.
7693         (check_complex): Likewise.
7694         (check_int): Likewise.
7695         (check_long): Likewise.
7696         (check_bool): Likewise.
7697         (check_longlong): Likewise.
7698         (main): Don't print noXFails and noXPasses.
7699         * math/gen-libm-test.pl (top level): Don't mention expected
7700         failure handling in comment.
7701         (new_test): Don't handle expected failures.
7702         (parse_args): Don't mention expected failure handling in comment.
7703         (generate_testfile): Don't handle expected failures.
7704         (parse_ulps): Likewise.
7705         (print_ulps_file): Likewise.
7706         (get_failure): Remove function.
7707         (output_test): Don't handle expected failures.
7708         * make/README.libm-test: Don't mention expected failure handling.
7710         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
7711         (minus_zero): Likewise.
7712         (plus_infty): Likewise.
7713         (minus_infty): Likewise.
7714         (qnan_value): Likewise.
7715         (max_value): Likewise.
7716         (min_value): Likewise.
7717         (min_subnorm_value): Likewise.
7718         (initialize): Do not initialize those variables dynamically.
7720 2013-05-03  Roland McGrath  <roland@hack.frob.com>
7722         * io/open.c (__open_2): Moved to ...
7723         * io/open_2.c: ... this new file.
7724         * io/open64.c (__open64_2): Moved to ...
7725         * io/open64_2.c: ... this new file.
7726         * io/openat.c (__openat_2): Moved to ...
7727         * io/openat_2.c: ... this new file.
7728         * io/openat64.c (__openat64_2): Moved to ...
7729         * io/openat64_2.c: ... this new file.
7730         * io/Makefile (routines): Add them.
7731         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7732         * sysdeps/unix/sysv/linux/open_2.c: File removed.
7733         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7734         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7735         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7736         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7737         (__openat64): Add hidden_ver.
7738         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7739         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7741         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7742         Separately conditionalize setting of GLRO(dl_sysinfo) so
7743         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7744         as well, but the actual setting is only under [NEED_DL_SYSINFO].
7746 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7748         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7749         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7750         definition.
7751         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7752         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7753         (_libc_vdso_platform_setup): Add __vdso_time initialization.
7754         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7755         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7757 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
7759         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7760         test signgam value.
7762         * math/libm-test.inc (hypot_test): Do not use
7763         IGNORE_ZERO_INF_SIGN.
7765 2013-05-03  Andreas Jaeger  <aj@suse.de>
7767         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7768         Linux 3.9.
7769         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7770         (PF_MAX): Adjust for VSOCK change.
7772 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7776 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7778         [BZ #15264]
7779         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7780         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7781         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7783 2013-05-02  David S. Miller  <davem@davemloft.net>
7785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7787 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7789         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7791 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7793         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7795 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7797         [BZ #14952]
7798         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7799         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7800         Use __attribute__ ((__gnu_inline__)).
7801         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7802         Don't use __attribute__ ((__gnu_inline__)).
7804 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7806         [BZ #15423]
7807         * math/s_catan.c (__catan): Handle small real or imaginary part of
7808         input specially to avoid spurious underflow.
7809         * math/s_catanf.c (__catanf): Likewise.
7810         * math/s_catanh.c (__catanh): Likewise.
7811         * math/s_catanhf.c (__catanhf): Likewise.
7812         * math/s_catanhl.c (__catanhl): Likewise.
7813         * math/s_catanl.c (__catanl): Likewise.
7814         * math/libm-test.inc (catan_test): Add more tests.
7815         (catanh_test): Likewise.
7816         * sysdeps/i386/fpu/libm-test-ulps: Update.
7817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7819 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7823 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7825         [BZ #15416]
7826         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7827         accurately for denominator in atan2.
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  Siddhesh Poyarekar  <siddhesh@redhat.com>
7840         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7842         * benchtests/Makefile (bench): Remove slow benchmarks.
7843         * benchtests/atan-inputs: Add slow benchmark inputs.
7844         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7845         (BENCH_FUNC): Accept variant offset.
7846         (VARIANT): Define.
7847         * benchtests/bench-skeleton.c (main): Run benchmark for each
7848         variant.
7849         * benchtests/cos-inputs: Add slow benchmark inputs.
7850         * benchtests/exp-inputs: Likewise.
7851         * benchtests/pow-inputs: Likewise.
7852         * benchtests/sin-inputs: Likewise.
7853         * benchtests/slowatan-inputs: Remove.
7854         * benchtests/slowatan.c: Remove.
7855         * benchtests/slowcos-inputs: Remove.
7856         * benchtests/slowcos.c: Remove.
7857         * benchtests/slowexp-inputs: Remove.
7858         * benchtests/slowexp.c: Remove.
7859         * benchtests/slowpow-inputs: Remove.
7860         * benchtests/slowpow.c: Remove.
7861         * benchtests/slowsin-inputs: Remove.
7862         * benchtests/slowsin.c: Remove.
7863         * benchtests/slowtan-inputs: Remove.
7864         * benchtests/slowtan.c: Remove.
7865         * benchtests/tan-inputs: Add slow benchmark inputs.
7866         * scripts/bench.pl: Parse comments and directives.
7868         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7869         in CPPFLAGS.
7870         ($(objpfx)bench-%.c): Remove *-ITER.
7871         * benchtests/bench-modf.c: Remove definition of ITER.
7872         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7873         (main): Loop for DURATION seconds instead of fixed number of
7874         iterations.
7875         * scripts/bench.pl: Don't expect iterations in parameters.
7877 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7879         * io/fchdir.c (__fchdir): Renamed from fchdir.
7880         (fchdir): Define as weak alias.
7882 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7884         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7885         (ERRNO_EDOM): Likewise.
7886         (ERRNO_ERANGE): Likewise.
7887         (noErrnoTests): New variable.
7888         (init_max_error): Set errno to 0.
7889         (test_single_errno): New function.
7890         (test_errno): Likewise.
7891         (check_float_internal): Call test_errno.  Set errno to 0.
7892         (check_complex): Refer to errno tests in comment.
7893         (check_int): Call test_errno.  Set errno to 0.
7894         (check_long): Likewise.
7895         (check_bool): Likewise.
7896         (check_longlong): Likewise.
7897         (cos_test): Use ERRNO_* flags for errno tests instead of
7898         check_int.
7899         (expm1_test): Likewise.
7900         (fmod_test): Likewise.
7901         (ilogb_test): Likewise.
7902         (lgamma_test): Likewise.
7903         (pow_test): Likewise.
7904         (remainder_test): Likewise.
7905         (sin_test): Likewise.
7906         (tan_test): Likewise.
7907         (yn_test): Likewise.
7908         (initialize): Set errno to 0.
7909         (main): Print number of errno tests.
7910         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7912 2013-04-29  Andreas Jaeger  <aj@suse.de>
7914         [BZ #15084]
7915         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7916         and RES_USEVC.
7918         [BZ #15085]
7919         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7920         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7921         unimplemented.
7923         [BZ #15380]
7924         * stdlib/random.c (__initstate): Return NULL if
7925         __initstate fails.
7927         [BZ #15086]
7928         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7929         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7930         RES_SNGLKUPREOP.
7932 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7936 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7938         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7939         of individual tests.
7940         (casin_test): Likewise.
7941         (casinh_test): Likewise.
7943 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7945         [BZ #15409]
7946         * math/s_catan.c (__catan): Handle arguments with large real or
7947         imaginary part separately without squaring.
7948         * math/s_catanf.c (__catanf): Likewise.
7949         * math/s_catanh.c (__catanh): Likewise.
7950         * math/s_catanhf.c (__catanhf): Likewise.
7951         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7952         and redefine.
7953         (__catanhl): Handle arguments with large real or imaginary part
7954         separately without squaring.
7955         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7956         and redefine.
7957         (__catanl): Handle arguments with large real or imaginary part
7958         separately without squaring.
7959         * math/libm-test.inc (catan_test): Add more tests.
7960         (catanh_test): Likewise.
7961         * sysdeps/i386/fpu/libm-test-ulps: Update.
7962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7964 2013-04-27  Andreas Jaeger  <aj@suse.de>
7966         [BZ #15007]
7967         * stdlib/stdlib.h: Update guards for qecvt.
7968         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7969         <stdlib.h>.
7971 2013-04-27  Allan McRae  <allan@archlinux.org>
7973         * sysdeps/i386/fpu/libm-test-ulps: Update.
7975 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7977         [BZ #15406]
7978         * math/s_catan.c: Include <float.h>.
7979         (__catan): Ensure underflow exception occurs for underflowed
7980         result.
7981         * math/s_catanf.c: Include <float.h>.
7982         (__catanf): Ensure underflow exception occurs for underflowed
7983         result.
7984         * math/s_catanh.c: Include <float.h>.
7985         (__catanh): Ensure underflow exception occurs for underflowed
7986         result.
7987         * math/s_catanhf.c: Include <float.h>.
7988         (__catanhf): Ensure underflow exception occurs for underflowed
7989         result.
7990         * math/s_catanhl.c: Include <float.h>.
7991         (__catanhl): Ensure underflow exception occurs for underflowed
7992         result.
7993         * math/s_catanl.c: Include <float.h>.
7994         (__catanl): Ensure underflow exception occurs for underflowed
7995         result.
7996         * math/libm-test.inc (catan_test): Add more tests.
7997         (catanh_test): Likewise.
7999         [BZ #15405]
8000         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8001         underflowed result.
8002         * math/s_ccoshf.c (__ccoshf): Likewise.
8003         * math/s_ccoshl.c (__ccoshl): Likewise.
8004         * math/s_csin.c (__csin): Likewise.
8005         * math/s_csinf.c (__csinf): Likewise.
8006         * math/s_csinh.c (__csinh): Likewise.
8007         * math/s_csinhf.c (__csinhf): Likewise.
8008         * math/s_csinhl.c (__csinhl): Likewise.
8009         * math/s_csinl.c (__csinl): Likewise.
8010         * math/libm-test.inc (ccos_test): Add more tests.
8011         (ccosh_test): Likewise.
8012         (csin_test): Likewise.
8013         (csinh_test): Likewise.
8015 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8017         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8018         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8019         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8020         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8021         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8022         powerpc/power5+/fpu folders.
8023         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8026 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8030 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
8032         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8033         additions to variable.
8034         [$(config-machine) = x86_64] (modules-names): Likewise.
8035         ($(objpfx)tst-audit3): Remove dependency.
8036         ($(objpfx)tst-audit3.out): Likewise.
8037         ($(objpfx)tst-audit4): Likewise.
8038         ($(objpfx)tst-audit4.out): Likewise.
8039         ($(objpfx)tst-audit5): Likewise.
8040         ($(objpfx)tst-audit5.out): Likewise.
8041         ($(objpfx)tst-audit6): Likewise.
8042         ($(objpfx)tst-audit6.out): Likewise.
8043         ($(objpfx)tst-audit7): Likewise.
8044         ($(objpfx)tst-audit7.out): Likewise.
8045         (tst-audit3-ENV): Remove variable.
8046         (tst-audit4-ENV): Likewise.
8047         (tst-audit5-ENV): Likewise.
8048         (tst-audit6-ENV): Likewise.
8049         (tst-audit7-ENV): Likewise.
8050         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8051         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8052         addition to variable.
8053         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8054         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8055         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8056         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8057         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8058         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8059         tst-audit3, tst-audit4 and tst-audit5.
8060         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8061         tst-audit6 and tst-audit7.
8062         [$(subdir) = elf] (modules-names): Add audit modules for those
8063         tests.
8064         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8065         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8066         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8067         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8068         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8069         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8070         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8071         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8072         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8073         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8074         [$(subdir) = elf] (tst-audit3-ENV): New variable.
8075         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8076         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8077         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8078         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8079         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8080         Likewise.
8081         [$(subdir) = elf && $(config-cflags-avx) = yes]
8082         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8083         [$(subdir) = elf && $(config-cflags-avx) = yes]
8084         (CFLAGS-tst-auditmod4a.c): Likewise.
8085         [$(subdir) = elf && $(config-cflags-avx) = yes]
8086         (CFLAGS-tst-auditmod4b.c): Likewise.
8087         [$(subdir) = elf && $(config-cflags-avx) = yes]
8088         (CFLAGS-tst-auditmod6b.c): Likewise.
8089         [$(subdir) = elf && $(config-cflags-avx) = yes]
8090         (CFLAGS-tst-auditmod6c.c): Likewise.
8091         [$(subdir) = elf && $(config-cflags-avx) = yes]
8092         (CFLAGS-tst-auditmod7b.c): Likewise.
8093         * elf/tst-audit3.c: Move to ...
8094         * sysdeps/x86_64/tst-audit3.c: ... here.
8095         * elf/tst-audit4.c: Move to ...
8096         * sysdeps/x86_64/tst-audit4.c: ... here.
8097         * elf/tst-audit5.c: Move to ...
8098         * sysdeps/x86_64/tst-audit5.c: ... here.
8099         * elf/tst-audit6.c: Move to ...
8100         * sysdeps/x86_64/tst-audit6.c: ... here.
8101         * elf/tst-audit7.c: Move to ...
8102         * sysdeps/x86_64/tst-audit7.c: ... here.
8103         * elf/tst-auditmod3a.c: Move to ...
8104         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8105         * elf/tst-auditmod3b.c: Move to ...
8106         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8107         * elf/tst-auditmod4a.c: Move to ...
8108         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8109         * elf/tst-auditmod4b.c: Move to ...
8110         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8111         * elf/tst-auditmod5a.c: Move to ...
8112         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8113         * elf/tst-auditmod5b.c: Move to ...
8114         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8115         * elf/tst-auditmod6a.c: Move to ...
8116         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8117         * elf/tst-auditmod6b.c: Move to ...
8118         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8119         * elf/tst-auditmod6c.c: Move to ...
8120         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8121         * elf/tst-auditmod7a.c: Move to ...
8122         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8123         * elf/tst-auditmod7b.c: Move to ...
8124         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8126 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
8128         [BZ #15366]
8129         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8130         define unconditionally.
8131         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8132         define unconditionally.
8133         (INT8_C, INT16_C, etc.): Likewise.
8135 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
8137         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8138         __ehdr_start with hidden visibility.
8140         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8142 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
8144         * math/libm-test.inc (cos_test): Use accurate hex constants.
8145         (sincost_test): Likewise.
8147 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
8149         * math/libm-test.inc (catan_test): Add more tests.
8150         (catanh_test): Likewise.
8152         * math/s_catanf.c (__catanf): Use suffixed floating-point
8153         constants.
8154         * math/s_catanhf.c (__catanhf): Likewise.
8155         * math/s_catanhl.c (__catanhl): Likewise.
8156         * math/s_catanl.c (__catanl): Likewise.
8158         [BZ #15394]
8159         * math/s_catan.c (__catan): Calculate imaginary part of result
8160         with log1p not log unless computing log of number close to 0.
8161         * math/s_catanf.c (__catanf): Likewise.
8162         * math/s_catanl.c (__catanl): Likewise.
8163         * math/s_catanh.c (__catanh): Calculate real part of result with
8164         log1p not log unless computing log of number close to 0.
8165         * math/s_catanhf.c (__catanhf): Likewise.
8166         * math/s_catanhl.c (__catanhl): Likewise.
8167         * math/libm-test.inc (catan_test): Add more tests.
8168         (catanh_test): Likewise.
8169         * sysdeps/i386/fpu/libm-test-ulps: Update.
8170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8172 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8174         * benchtests/Makefile: Mention files in which fast and slow
8175         paths of math functions are implemented.
8177 2013-04-23  Roland McGrath  <roland@hack.frob.com>
8179         * sysdeps/posix/timespec_get.c: New file.
8181 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8183         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8184         POWER.
8185         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8186         for POWER.
8187         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8188         powerpc/power5/fpu folders.
8189         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8190         * benchtests/Makefile: Add modf testcase.
8191         * benchtests/bench-modf.c: New file: Benchmark test for mo
8193 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8195         [BZ #14888]
8196         * time/Makefile (tests): Add tst-strptime-whitespace.
8197         * time/strptime_l.c (get_number): Use ISSPACE.
8198         (__strptime_internal): Likewise.
8199         * time/tst-strptime-whitespace.c: New test case.
8201 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
8203         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8204         member.
8205         (_nss_files_init): Set it here.
8207 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
8209         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8210         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8211         unsigned.
8213 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
8215         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8217 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8219         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8220         size just once.
8222 2013-04-21  David S. Miller  <davem@davemloft.net>
8224         * po/ru.po: Update Russion translation from translation project.
8226 2013-04-17  Adam Conrad  <adconrad@0c3.net>
8228         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8229         and setfsgid.
8231 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
8233         * configure.in: Remove i386 configure warning. Remove i386 case.
8234         * configure: Regenerate.
8235         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8236         Add example to error message.
8237         * sysdeps/i386/configure: Regenerate.
8239 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8241         * benchtests/Makefile (bench): Add cos, tan, slowcos and
8242         slowtan.
8243         * benchtests/cos-inputs: New file.
8244         * benchtests/slowcos-inputs: New file.
8245         * benchtests/slowcos.c: New file.
8246         * benchtests/slowtan-inputs: New file.
8247         * benchtests/slowtan.c: New file.
8248         * benchtests/tan-inputs: New file.
8250 2013-04-16  Roland McGrath  <roland@hack.frob.com>
8252         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8253         considered kosher.
8255 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8257         * benchtests/Makefile: Include cppflags-iterator.mk to add
8258         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8260         * Makefile.in (bench-clean): New target.
8261         * benchtests/Makefile (bench-clean): Likewise.
8263 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
8265         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8267 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
8269         * stdio-common/tstdiomisc.c: Fix coding-style violation.
8271 2013-04-15  Andreas Schwab  <schwab@suse.de>
8273         * nscd/grpcache.c (cache_addgr): Properly check for short write.
8274         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8275         * nscd/pwdcache.c (cache_addpw): Likewise.
8276         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
8277         more than recsize.
8279 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8281         * benchtests/Makefile (bench): Write all output to
8282         bench-out.tmp together.
8284 2013-04-15  Andreas Schwab  <schwab@suse.de>
8286         * nscd/nscd.c (main): Don't fork again after closing files.
8288 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8290         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8292         * benchtests/Rules (bench-deps): Collect dependencies into a
8293         single variable.  Add Makefile to dependencies.
8294         ($(objpfx)bench-%.c): Depend on bench-deps.
8296 2013-04-12  Roland McGrath  <roland@hack.frob.com>
8297             Xavier Roche  <roche+kml2@exalead.com>
8299         [BZ #15361]
8300         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8301         just that it's a file descriptor.
8302         * manual/llio.texi (Synchronizing AIO Operations): Update description
8303         for EBADF error from aio_fsync.
8305 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8307         * Rules (bench): Move target definition...
8308         * benchtests/Makefile: ... here.
8310 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
8312         * math/libm-test.inc (cos_test): Fix PI/2 test.
8313         (sincos_test): Likewise.
8314         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8315         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8317 2013-04-11  Andreas Schwab  <schwab@suse.de>
8319         [BZ #13988]
8320         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8321         accept exponent character only when digits were seen.
8322         * stdio-common/Makefile (tests): Add bug26.
8323         * stdio-common/bug26.c: New file.
8325         [BZ #14293]
8326         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8327         non-freeable.
8329 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8331         * Makeconfig (rtld-prefix): Define built linker prefix.
8332         * Rules (run-bench): Use it.
8333         * math/Makefile (run-regen-ulps): Likewise.
8335         * Rules (bench): Remove eval.
8337 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8338             Roland McGrath  <roland@hack.frob.com>
8339             Ondrej Bilka  <neleai@seznam.cz>
8341         [BZ #15346]
8342         * time/getdate.c: Include ctype.h and alloca.h.
8343         (__getdate_r): Trim leading and trailing spaces of input.
8344         * time/tst-getdate.c (tests): Add tests with leading and
8345         trailing spaces.
8347 2013-04-08  Roland McGrath  <roland@hack.frob.com>
8349         [BZ #14280]
8350         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8351         when computing value.
8353 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8355         * math/README.libm-test (How can I generate "libm-test-ulps"?):
8356         Use testrun.sh to run libm tests.
8358         [BZ #15309]
8359         * elf/dl-open.c (dl_open_worker): memset all of seen array.
8361 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
8363         [BZ #15264]
8364         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8366 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8368         * Makefile.in (regen-ulps): New target.
8369         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8370         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8371         [ifneq (no,$(PERL)] (regen-ulps): New target.
8372         [ifeq (no,$(PERL)] (regen-ulps): New target.
8373         * math/libm-test.inc (ulps_file_name): Define.
8374         (output_dir): New variable.
8375         (options): Add "output-dir" option.
8376         (parse_opt): Handle 'o' case.
8377         (main): If output_dir is non-NULL use it as a prefix
8378         otherwise use "".
8379         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8381 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8383         [BZ #10060, #10062]
8384         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8385         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8386         fail configure if __sync_val_compare_and_swap is not inlined.
8387         * sysdeps/i386/configure: Regenerate.
8388         * configure.in: Build for i686 when configured for i386.
8389         * configure: Regenerate.
8390         * README: Remove i386 reference.
8392 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
8394         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8395         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8397 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
8399         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8400         (lmsnanval): New variables.
8401         (F): Add conversion tests.
8402         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8403         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8405         * stdio-common/tstdiomisc.c (F): Properly collect individual
8406         tests' results.
8408         [BZ #14686, #15336]
8409         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8410         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8411         Instead, use input NaN values or generate a qNaN by arithmetic
8412         operation.  Also fix bugs to comply with the standard.
8413         * math/libm-test.inc (remainder_test): Add more tests.
8415         [BZ #15335, #15342]
8416         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8417         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8418         input NaN values or generate a qNaN by arithmetic operation.
8420         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8421         unreachable code.
8423         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8424         definitions.
8426 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
8428         [BZ #14478]
8429         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8430         underflowed result.
8431         * math/s_cexpf.c (__cexpf): Likewise.
8432         * math/s_cexpl.c (__cexpl): Likewise.
8433         * math/libm-test.inc (cexp_test): Add more tests.
8435 2013-04-03  Andreas Schwab  <schwab@suse.de>
8437         [BZ #15330]
8438         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8439         order arrays from heap if bigger than alloca cutoff.
8441 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
8443         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8444         (SNAN_TESTS_double): Refer to GCC PR56831.
8445         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8446         GCC PR56828.
8448 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8450         * Rules (bench): Move bench.out after the run is complete.
8452         * Rules (bench): Echo currently running benchmark.
8454         * benchtests/Makefile (bench): Add atan and slowatan.
8455         * benchtests/atan-inputs: New file.
8456         * benchtests/slowatan-inputs: New file.
8457         * benchtests/slowatan.c: New file.
8459         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8460         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8461         its value.
8463         [BZ #15305]
8464         * sysdeps/unix/sysv/linux/kernel-features.h
8465         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8466         __ASSUME_XFS_RESTRICTED_CHOWN.
8467         * sysdeps/unix/sysv/linux/pathconf.c
8468         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8469         Save and restore errno.
8471 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
8473         [BZ #15327]
8474         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8475         arguments using __kernel_casinh.
8476         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8477         arguments using __kernel_casinhf.
8478         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8479         arguments using __kernel_casinhl.
8480         * math/libm-test.inc (cacosh_test): Add more tests.
8481         * sysdeps/i386/fpu/libm-test-ulps: Update.
8482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8484 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8486         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8489         * bench/Makefile (bench): Add sin and slowsin.
8490         * benchtests/sin-inputs: New file.
8491         * benchtests/slowsin-inputs: New file.
8492         * benchtests/slowsin.c: New file.
8494         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8495         (bench): Add slowexp and slowpow.
8496         (exp-ITER): Increase iterations.
8497         (pow-ITER): Likewise.
8498         * benchtests/exp-inputs: Change input.
8499         * benchtests/pow-inputs: Likewise.
8500         * benchtests/slowexp-inputs: New file.
8501         * benchtests/slowexp.c: New file.
8502         * benchtests/slowpow-inputs: New file.
8503         * benchtests/slowpow.c: New file.
8505 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8507         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8508         instructions.
8509         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8510         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8511         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8512         * benchtests/Makefile: Add rint benchtest.
8513         * benchtests/rint-inputs: Input for rint benchtest.
8515 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8517         * Versions.def (libm): Add GLIBC_2.18.
8518         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8519         hidden libm prototypes.
8520         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8521         * math/Makefile (libm-calls): Add s_issignaling.
8522         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8523         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
8524         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8525         declaration.
8526         * math/math.h [__USE_GNU] (issignaling): New macro.
8527         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8528         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8529         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8530         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8531         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8532         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8533         * manual/arith.texi (issignaling): New section.
8534         * manual/libm-err-tab.pl (@all_functions): Update comment.
8535         * math/gen-libm-test.pl (parse_args): Apply special handling for
8536         issignaling.
8537         * math/libm-test.inc (print_float, issignaling_test): New
8538         functions.
8539         (check_float_internal): Add issignaling checks.
8540         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8541         default definition.
8542         * sysdeps/powerpc/math-tests.h: New file.
8543         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8544         tests.
8545         * math/test-snan.c (TEST_FUNC): Likewise.
8547 2013-03-30  David S. Miller  <davem@davemloft.net>
8549         * po/de.po: Update from translation team.
8551 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
8553         [BZ #10357]
8554         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8555         imaginary part less than 1.0 and real part less than 0.5
8556         specially.
8557         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8558         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8559         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8560         (cacos_test): Add more tests.
8561         (casin_test): Likewise.
8562         (casinh_test): Likewise.
8563         * sysdeps/i386/fpu/libm-test-ulps: Update.
8564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8566 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8568         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8569         ONE with its value.
8571         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8572         (__pow_mp): Replace ONE and MONE with their values.
8573         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8574         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8575         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8576         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8577         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8578         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8580         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8582         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8583         (__pow_mp): Replace ZERO and MZERO with their values.
8584         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8585         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8586         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8588         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8589         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8590         (__sqr): Likewise.
8592         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8594         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8596 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8598         * include/stdlib.h [!SHARED] (__call_tls_dtors):
8599         Declare with __attribute__ ((weak)).
8600         * stdlib/exit.c (__libc_atexit) [!SHARED]:
8601         Call __call_tls_dtors only if it's not NULL.
8603 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8605         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8606         didn't do it already, then set _dl_phdr and _dl_phnum based on the
8607         magic __ehdr_start linker symbol if it's defined.
8608         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8609         them up here if it was already done.
8611         * elf/dl-support.c (_dl_phdr): Make pointer to const.
8612         (_dl_aux_init): Use const in cast when setting it.
8613         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8614         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8615         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8617         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8618         Declare them here.
8619         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8620         * csu/libc-tls.c: Nor here.
8621         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8623         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8624         (__libc_message): Never call vsyslog.
8626 2013-03-28  Alan Modra  <amodra@gmail.com>
8628         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8629         Define as empty.
8630         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8631         Likewise.
8633 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8635         [BZ #15214]
8636         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8637         underflow.
8638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8640 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8642         [BZ #15304]
8643         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8644         Don't add gid passed as argument.
8646         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8648 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
8650         [BZ #15307]
8651         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8652         imaginary part between 1.0 and 1.5 and real part less than 0.5
8653         specially.
8654         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8655         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8656         * math/libm-test.inc (cacos_test): Add more tests.
8657         (casin_test): Likewise.
8658         (casinh_test): Likewise.
8659         * sysdeps/i386/fpu/libm-test-ulps: Update.
8660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8662 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8664         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8665         constants.
8666         (norm): Likewise.
8667         (denorm): Likewise.
8668         (__dbl_mp): Likewise.
8669         (add_magnitudes): Likewise.
8670         (sub_magnitudes): Likewise.
8671         (__add): Likewise.
8672         (__sub): Likewise.
8673         (__mul): Likewise.
8674         (__sqr): Likewise.
8675         (__inv): Likewise.
8676         (__dvd): Likewise.
8678         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8679         commented code.
8680         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8681         (__dubcos): Likewise.
8682         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8683         (__ieee754_acos): Likewise.
8684         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8685         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8686         (__exp1): Likewise.
8687         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8688         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8689         (log1): Likewise.
8690         (my_log2): Likewise.
8691         (checkint): Likewise.
8692         * sysdeps/ieee754/dbl-64/e_remainder.c
8693         (__ieee754_remainder): Likewise.
8694         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8695         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8696         (bsloww): Likewise.
8697         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8699         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8700         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8701         MANTISSA_STORE_T to store computations on mantissa.  Use
8702         macros for rounding and division.
8703         (denorm): Likewise.
8704         (__dbl_mp): Likewise.
8705         (add_magnitudes): Likewise.
8706         (sub_magnitudes): Likewise.
8707         (__mul): Likewise.
8708         (__sqr): Likewise.
8709         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8710         powers of two in terms of TWOPOW macro.
8711         (mp_no): Make type of mantissa as MANTISSA_T.
8712         [!RADIXI]: Define RADIXI.
8713         [!TWO52]: Define TWO52.
8714         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8716 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8718         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8719         llroundl symbol when building for PPC32.
8721 2013-03-24  Mark H Weaver  <mhw@netris.org>
8723         * manual/arith.texi (Normalization Functions): Fix prototypes for
8724         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8726 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8728         [BZ #13889]
8729         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8730         high value to check if expl overflow.
8731         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8732         to check for underflow and overflow.
8733         * math/libm-test.inc: Add exp test.
8735 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
8737         [BZ #11120]
8738         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8739         with NOT_IN_libc.
8741 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8743         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8744         symbol.
8746 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8748         * math/gen-libm-test.pl (parse_args, special_functions): Properly
8749         wrap blocks consisting of several statements.
8751         * sysdeps/generic/math-tests.h: New file.
8752         * sysdeps/i386/fpu/math-tests.h: Likewise.
8753         * math/test-snan.c: Include it.
8754         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8756 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8758         [BZ #15285]
8759         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8760         (__ieee754_j0l): Do not improve calculations using cos of twice
8761         input for inputs above LDBL_MAX / 2.0L.
8762         (__ieee754_y0l): Likewise.
8763         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8764         (__ieee754_j1l): Do not improve calculations using cos of twice
8765         input for inputs above LDBL_MAX / 2.0L.
8766         (__ieee754_y1l): Likewise.
8767         * math/libm-test.inc (j0_test): Add another test.
8768         (j1_test): Likewise.
8769         (y0_test): Likewise.
8770         (y1_test): Likewise.
8771         * sysdeps/i386/fpu/libm-test-ulps: Update.
8773 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8775         * Rules ($(objpfx)bench-%.c): Include code from a C source
8776         file.
8778 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8780         [BZ #15287]
8781         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8782         imaginary part 1.0 and real part less than 0.5 specially.
8783         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8784         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8785         * math/libm-test.inc (cacos_test): Add more tests.
8786         (casin_test): Likewise.
8787         (casinh_test): Likewise.
8788         * sysdeps/i386/fpu/libm-test-ulps: Update.
8789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8791 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8793         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8794         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8796 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8798         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8799         * config.make.in (config-cflags-sse4): Remove variable.
8800         (config-cflags-avx): Likewise.
8801         (config-cflags-sse2avx): Likewise.
8802         (config-cflags-novzeroupper): Likewise.
8803         (config-asflags-i686): Likewise.
8804         (have-mfma4): Likewise.
8805         (have-as-vis3): Likewise.
8806         (MIG): Likewise.
8807         * configure.in (MIG): Do not AC_SUBST.
8808         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8809         (libc_cv_cc_sse4): Do not AC_SUBST.
8810         (libc_cv_cc_avx): Likewise.
8811         (libc_cv_cc_sse2avx): Likewise.
8812         (libc_cv_cc_novzeroupper): Likewise.
8813         (libc_cv_cc_fma4): Likewise.
8814         (libc_cv_as_i686): Likewise.
8815         (libc_cv_sparc_as_vis3): Likewise.
8816         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8817         LIBC_CONFIG_VAR.
8818         (config-asflags-i686): Likewise.
8819         (config-cflags-avx): Likewise.
8820         (config-cflags-sse2avx): Likewise.
8821         (have-mfma4): Likewise.
8822         (config-cflags-novzeroupper): Likewise.
8823         * sysdeps/mach/configure.in (MIG): Likewise.
8824         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8825         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8826         LIBC_CONFIG_VAR.
8827         (config-cflags-avx): Likewise.
8828         (config-cflags-sse2avx): Likewise.
8829         (have-mfma4): Likewise.
8830         (config-cflags-novzeroupper): Likewise.
8831         * configure: Regenerated.
8832         * sysdeps/i386/configure: Likewise.
8833         * sysdeps/mach/configure: Likewise.
8834         * sysdeps/sparc/configure: Likewise.
8835         * sysdeps/x86_64/configure: Likewise.
8837 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8839         [BZ #14812]
8840         * locale/programs/localedef.c (options): Put N_ translation marker
8841         on argument names, not just descriptions.
8843 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8845         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8847 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8849         [BZ #14176]
8850         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8852 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8854         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8855         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8856         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8857         [!BEFORE_ABORT] (before_abort): New function.
8858         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8859         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8860         (writev_for_fatal): New function.
8861         (WRITEV_FOR_FATAL): New macro; call that.
8862         (backtrace_and_maps): New function.
8863         (BEFORE_ABORT): New macro; call that.
8864         (struct str_list): Type removed.
8865         (__libc_message, __libc_fatal): Functions removed.
8866         Include <sysdeps/posix/libc_fatal.c> instead.
8868 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8870         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8871         constants.
8872         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8873         double constants.
8875 2013-03-19  Andreas Schwab  <schwab@suse.de>
8877         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8878         * sysdeps/gnu/configure: Regenerate.
8880         * configure.in: Substitute libc_cv_rtlddir.
8881         * configure: Regenerate.
8882         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8883         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8884         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8885         * elf/Makefile (install-others, CFLAGS-interp.c)
8886         (ldso_install, common-ldd-rewrite): Likewise.
8887         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8888         $(inst_slibdir)/$(rtld-installed-name).
8889         * scripts/rellns-sh: Add -p option.
8890         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8891         for source.
8893 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8895         * manual/nptl.texi: Renamed to ...
8896         * manual/threads.texi: ... this.
8897         * manual/Makefile (chapters): Update.
8899 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8901         [BZ #14812]
8902         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8903         on argument names, not just descriptions.
8904         * malloc/memusagestat.c (options): Likewise.
8905         * nss/getent.c (options): Likewise.
8907 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8909         [BZ #14812]
8910         * iconv/iconv_prog.c (options): Put N_ translation marker
8911         on argument names, not just descriptions.
8912         * iconv/iconvconfig.c (options): Likewise.
8914 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8916         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8917         implementation which is faster on all x86_64 architectures.
8918         Tested on AMD, Intel Nehalem, SNB, IVB.
8919         * sysdeps/x86_64/strnlen.S: Likewise.
8921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8922         Remove all multiarch strlen and strnlen versions.
8923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8924         Remove strlen and strnlen related parts.
8926         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8927         Inline strlen part.
8928         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8930         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8931         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8932         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8933         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8934         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8935         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8937 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8939         * manual/memory.texi (Malloc Tunable Parameters):
8940         Sort parameters alphabetically. Add comments for missing entries.
8942 2013-03-17  David S. Miller  <davem@davemloft.net>
8944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8946 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8948         [BZ #15283]
8949         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8950         for arguments at most half maximum finite value.
8951         * math/libm-test.inc (j0_test): Add more tests.
8952         (j1_test): Likewise.
8953         (y0_test): Likewise.
8954         (y1_test): Likewise.
8955         * sysdeps/i386/fpu/libm-test-ulps: Update.
8956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8958         [BZ #14155]
8959         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8960         1 / x and functions P and Q for arguments above 0x1p256L.
8961         (__ieee754_y0l): Likewise.
8962         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8963         (__ieee754_y1l): Likewise.
8964         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8965         (j1_test): Likewise.
8966         (y0_test): Likewise.
8967         (y1_test): Likewise.
8969 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8971         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8972         variable.
8974 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8976         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8977         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8978         zero since it's initialized to EXEC_PAGESIZE.
8980         * sysdeps/unix/sysv/linux/ldsodefs.h
8981         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8982         * sysdeps/generic/ldsodefs.h: ... here.
8984 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8986         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8988         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8989         math/test-snan.c.
8990         * math/test-snan.c: Renamed from
8991         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8992         * math/Makefile (tests): Add test-snan.
8993         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8994         test-powerpc-snan.
8996         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8997         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8998         functions.
8999         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
9000         __builtin_nan family of functions.
9001         * math/libm-test.inc (initialize): Initialize qnan_value with
9002         __builtin_nan family of functions.
9003         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9004         Remove variables.
9005         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9006         Remove functions.
9007         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
9008         storage class.  Initialize qNaN_var and sNaN_var with
9009         __builtin_nan and __builtin_nans families of functions,
9010         respectively.
9012         * math/libm-test.inc (acosh_test): Also test with qNaN input.
9013         (sqrt_test): Remove duplicate test with qNaN input.
9014         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9015         (round_test, signbit_test, significand_test): Note missing +/-Inf
9016         as well as qNaN tests.
9018         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9019         qNaN_var.  Fix a few strings, too.
9020         * math/libm-test.inc (nan_value): Rename to qnan_value.
9021         * math/gen-libm-test.pl (%beautify): Adjust to that.
9022         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9023         * math/test-misc.c (main): Likewise.
9024         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9025         to __qnan_bytes, and __qnan_union, respectively.
9026         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9027         Likewise.
9028         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9029         and lqnanval, respectively.
9030         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9031         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9032         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9033         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9035         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9036         * math/test-misc.c (main) [__x86_64__]: Enable test for long
9037         doubles.
9039         * math/test-misc.c (main): Fix copy'n'pastos.
9040         * misc/tst-efgcvt.c (special): Likewise.
9042         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9043         Remove declarations.
9045 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9047         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9048         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9049         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9050         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9052 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9054         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9055         macro to return vdso values correctly in IFUNC implementations.
9056         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9057         Optimization by using IFUNC.
9059 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9060             Richard Henderson  <rth@redhat.com>
9061             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9063         * Makefile.in (bench): New target.
9064         * NEWS: Mention the benchmark framework.
9065         * Rules (bench): Likewise.
9066         (binaries-bench): Generate binaries for functions to
9067         benchmark.
9068         * benchtests/Makefile: New makefile for benchmark tests.
9069         * benchtests/bench-skeleton.c: New skeleton file for benchmark
9070         programs.
9071         * benchtests/exp-inputs: New input file for EXP function.
9072         * benchtests/pow-inputs: New input file for POW function.
9073         * scripts/bench.pl: New script to generate source files for
9074         benchmark programs.
9076 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9078         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9079         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9080         computations on mantissa.  Use macros for rounding and
9081         division.
9082         (denorm): Likewise.
9083         (__dbl_mp): Likewise.
9084         (add_magnitudes): Likewise.
9085         (sub_magnitudes): Likewise.
9086         (__mul): Likewise.
9087         (__sqr): Likewise.
9088         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9089         powers of two in terms of TWOPOW macro.
9090         (mp_no): Make type of mantissa as MANTISSA_T.
9091         [!RADIXI]: Define RADIXI.
9092         [!TWO52]: Define TWO52.
9093         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9095         * manual/nptl.texi (cindex): Modify threads to pthreads.
9097 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
9099         * sysdeps/x86_64/preconfigure: Regenerated.
9101 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
9103         [BZ #14155]
9104         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9105         0x1p28 and above.
9106         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9107         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9108         0x1p28 and above.
9109         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9110         * math/libm-test.inc (j0_test): Do not allow one spurious
9111         underflow exception.
9112         (y1_test): Likewise.
9114 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9116         * manual/Makefile (chapters): Add nptl.
9117         * manual/debug.texi (Debugging Support): Add link to Threads
9118         chapter.
9119         * manual/nptl.texi: New file.
9121         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9123 2013-03-14  Petr Baudis  <pasky@ucw.cz>
9125         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9126         for non-NULL pointer before the memory validity test. Pointed
9127         out by Holger Brunck <holger.brunck@keymile.com>.
9129 2013-03-13  Andreas Schwab  <schwab@suse.de>
9131         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9132         instead of .os.
9134 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
9136         * timezone/zic.c: Update from tzcode 2013b.
9138 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
9140         * manual/install.texi (Configuring and compiling):
9141         Mention i686 and i586.
9142         * INSTALL: Regenerate.
9144 2013-03-12  Roland McGrath  <roland@hack.frob.com>
9146         * sysdeps/init_array/elf-init.c: New file.
9147         * csu/elf-init.c
9148         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9149         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9151         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9152         __gmon_start__ as global, but as static with a .preinit_array pointer.
9153         * sysdeps/init_array/gmon-start.c: New file.  Use that.
9154         * sysdeps/init_array/crti.S: New file, empty except for comments.
9155         * sysdeps/init_array/crtn.S: Likewise.
9157 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
9159         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9160         definining bcopy.
9161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9162         Remove Prefer_SSE_for_memop.
9163         * sysdeps/x86_64/multiarch/init-arch.h: Remove
9164         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9165         HAS_PREFER_SSE_FOR_MEMOP.
9166         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9167         memset-x86-64.
9168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9169         Remove bzero, memset ifunc support.
9170         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9171         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9172         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9173         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9175 2013-03-11  Andreas Schwab  <schwab@suse.de>
9177         [BZ #15234]
9178         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9179         by SHLIB_COMPAT.
9180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9181         (GLIBC_2.16): Remove pthread_atfork.
9183 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9185         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9186         (ptestcases.h): Likewise.
9188 2013-03-08  Roland McGrath  <roland@hack.frob.com>
9190         * Makeconfig ($(common-objpfx)config.status): Depend on
9191         sysdeps/*/preconfigure{,.in} too.
9193 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
9195         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9196         (__free_hook): Use void * instead of __malloc_ptr_t.
9197         (__malloc_hook): Likewise.
9198         (__realloc_hook): Likewise.
9199         (__memalign_hook): Likewise.
9200         (__after_morecore_hook): Likewise.
9201         * malloc/arena.c (save_malloc_hook): Likewise.
9202         (save_free_hook): Likewise.
9203         * malloc/hooks.c (malloc_hook_ini): Likewise.
9204         (realloc_hook_ini): Likewise.
9205         (memalign_hook_ini): Likewise.
9206         * malloc/malloc.c (malloc_hook_ini): Likewise.
9207         (realloc_hook_ini): Likewise.
9208         (memalign_hook_ini): Likewise.
9209         (__free_hook): Likewise.
9210         (__malloc_hook): Likewise.
9211         (__realloc_hook): Likewise.
9212         (__memalign_hook): Likewise.
9213         (__libc_malloc): Likewise.
9214         (__libc_free): Likewise.
9215         (__libc_realloc): Likewise.
9216         (__libc_memalign): Likewise.
9217         (__libc_valloc): Likewise.
9218         (__libc_pvalloc): Likewise.
9219         (__libc_calloc): Likewise.
9220         (__posix_memalign): Likewise.
9221         * malloc/morecore.c (__sbrk): Likewise.
9222         (__default_morecore): Likewise.
9224         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9226         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9227         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9228         __malloc_ptrdiff_t.
9230         * malloc/malloc.h (__malloc_size_t): Remove macro.
9231         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9232         __malloc_size_t.
9233         (old_memalign_hook): Likewise.
9234         (old_realloc_hook): Likewise.
9235         (struct hdr): Likewise.
9236         (flood): Likewise.
9237         (mallochook): Likewise.
9238         (memalignhook): Likewise.
9239         (reallochook): Likewise.
9240         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9241         (tr_old_realloc_hook): Likewise.
9242         (tr_old_memalign_hook): Likewise.
9243         (tr_mallochook): Likewise.
9244         (tr_reallochook): Likewise.
9245         (tr_memalignhook): Likewise.
9247 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9249         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9250         default_ldbl_pack and using as default implementation.
9251         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9252         implementation.
9253         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9254         redundant definition.
9255         (ldbl_insert_mantissa): Likewise.
9256         (ldbl_canonicalize): Likewise.
9257         (ldbl_nearbyint): Likewise.
9258         (ldbl_pack): Rename to ldbl_pack_ppc.
9259         (ldbl_unpack): Rename to ldbl_unpack_ppc.
9260         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9261         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9263 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9266         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9267         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9268         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9270         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9271         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9272         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9274 2013-03-07  Andreas Jaeger  <aj@suse.de>
9276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9277         bits/mman-linux.h.
9279 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9281         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9282         Include mpa.h and declare __MPEXP.
9283         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9284         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9285         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9286         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9287         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9288         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9289         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9291         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9292         (__slowpow): Use long double EXPL and LOGL functions to
9293         compute POW.
9294         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9295         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9296         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9297         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9298         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9299         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9302         intermediate variable to calculate exponent.
9303         (__sqr): Likewise.
9304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9305         Likewise.
9306         (__sqr): Likewise.
9308         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9309         [!NO__SQR]: Define __sqr.
9310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9311         and NO__SQR.  Remove all code except __mul and __sqr.  Include
9312         sysdeps/ieee754/dbl-64/mpa.c.
9313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9315         [BZ #12723]
9316         * posix/Makefile (tests): Add tst-pathconf.
9317         * posix/tst-pathconf.c: New test case.
9318         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9319         _PC_PIPE_BUF.
9320         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9322 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
9324         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9326 2013-03-06  Andreas Jaeger  <aj@suse.de>
9328         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9329         definition via __MAP_ANONYMOUS.
9331         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9332         it's not part of Linux headers.
9334         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9335         (MAP_HUGE_MASK): Define.
9337         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9338         Define.
9339         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9340         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9341         Define.
9342         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9343         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9344         Define.
9345         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9346         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9347         Define.
9348         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9350         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9351         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9352         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9353         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9354         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9355         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9357         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9358         Handle f2fs.
9360         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9361         Handle f2fs and efivarfs.
9363         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9364         f2fs.
9366         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9367         (EFIVARFS_MAGIC): Add.
9368         (F2FS_LINK_MAX): Add.
9370 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9372         * stdio-common/vfprintf.c: Replace __builtin_expect with
9373         __glibc_unlikely.
9375 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #13550]
9378         * sysdeps/generic/bp-sym.h: Remove file.
9379         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9380         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9381         <bp-sym.h> and <bp-asm.h>.
9382         (__longjmp): Don't use BP_SYM.
9383         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9384         and <bp-asm.h>.
9385         (memcpy): Don't use BP_SYM.
9386         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9387         <bp-sym.h> and <bp-asm.h>.
9388         (memcpy): Don't use BP_SYM.
9389         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9390         <bp-asm.h>.
9391         (memcpy): Don't use BP_SYM.
9392         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9393         <bp-asm.h>.
9394         (memset): Don't use BP_SYM.
9395         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9396         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9397         (__bzero): Don't use BP_SYM.
9398         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9399         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9400         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9401         <bp-sym.h> and <bp-asm.h>.
9402         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9403         pointers.
9404         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9405         <bp-sym.h> and <bp-asm.h>.
9406         (memcpy): Don't use BP_SYM.
9407         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9408         <bp-sym.h> and <bp-asm.h>.
9409         (memset): Don't use BP_SYM.
9410         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9411         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9412         (__bzero): Don't use BP_SYM.
9413         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9414         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9415         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9416         <bp-sym.h> and <bp-asm.h>.
9417         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9418         pointers.
9419         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9420         <bp-sym.h> and <bp-asm.h>.
9421         (memcpy): Don't use BP_SYM.
9422         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9423         <bp-sym.h> and <bp-asm.h>.
9424         (memset): Don't use BP_SYM.
9425         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9426         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9427         (__bzero): Don't use BP_SYM.
9428         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9429         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9430         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9431         <bp-sym.h> and <bp-asm.h>.
9432         (__memchr): Don't use BP_SYM.
9433         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9434         <bp-sym.h> and <bp-asm.h>.
9435         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9436         pointers.
9437         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9438         <bp-sym.h> and <bp-asm.h>.
9439         (memcpy): Don't use BP_SYM.
9440         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9441         <bp-sym.h> and <bp-asm.h>.
9442         (__mempcpy): Don't use BP_SYM.
9443         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9444         <bp-sym.h> and <bp-asm.h>.
9445         (__memrchr): Don't use BP_SYM.
9446         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9447         <bp-sym.h> and <bp-asm.h>.
9448         (memset): Don't use BP_SYM.
9449         (__bzero): Likewise.
9450         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9451         <bp-sym.h> and <bp-asm.h>.
9452         (__rawmemchr): Don't use BP_SYM.
9453         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9454         <bp-sym.h> and <bp-asm.h>.
9455         (__STRCMP): Don't use BP_SYM.
9456         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9457         <bp-sym.h> and <bp-asm.h>.
9458         (strchr): Don't use BP_SYM.
9459         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9460         <bp-sym.h> and <bp-asm.h>.
9461         (__strchrnul): Don't use BP_SYM.
9462         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9463         <bp-sym.h> and <bp-asm.h>.
9464         (strlen): Don't use BP_SYM.
9465         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9466         <bp-sym.h> and <bp-asm.h>.
9467         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9468         pointers.
9469         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9470         <bp-sym.h> and <bp-asm.h>.
9471         (__strnlen): Don't use BP_SYM.
9472         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9473         <bp-sym.h> and <bp-asm.h>.
9474         (__GI__setjmp): Don't use BP_SYM.
9475         (_setjmp): Likewise.
9476         (__sigsetjmp): Likewise.
9477         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9478         (L(start_addresses)): Don't use BP_SYM.
9479         (_start): Likewise.
9480         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9481         <bp-asm.h>.
9482         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9483         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9484         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9485         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9486         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9487         <bp-asm.h>.
9488         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9489         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
9490         about bounded pointers.
9491         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9492         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9493         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9494         <bp-asm.h>.
9495         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9496         about bounded pointers.  Remove GKM FIXME comments.
9497         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9498         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9499         <bp-asm.h>.
9500         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9501         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
9502         Remove GKM FIXME comments.
9503         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9504         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9505         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9506         <bp-asm.h>.
9507         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9508         about bounded pointers.  Remove GKM FIXME comment.
9509         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9510         and <bp-asm.h>.
9511         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9512         pointers.
9513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9514         <bp-sym.h> and <bp-asm.h>.
9515         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9517         <bp-sym.h> and <bp-asm.h>.
9518         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9519         comment.
9521 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9523         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9524         call free(NULL).
9526 2013-03-05  David S. Miller  <davem@davemloft.net>
9528         * po/es.po: Update from translation team.
9530 2013-03-05  Andreas Jaeger  <aj@suse.de>
9532         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9533         <bits/mman-linux.h>.
9534         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9535         is fine.
9536         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9537         <bits/mman-linux.h> to end of file.
9538         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9539         is fine.
9540         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9541         <bits/mman-linux.h> to end of file.
9542         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9543         is fine.
9544         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9545         <bits/mman-linux.h> to end of file.
9547         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9548         (MCL_CURRENT, MCL_FUTURE): Define here.
9550 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9552         [BZ #15232]
9553         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9554         attribute_hidden.
9555         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9557 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9560         fourth parameter needed for rt_sigprocmask syscall.
9561         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9562         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9563         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9564         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9565         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9566         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9568 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
9570         [BZ #13550]
9571         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9572         comment about bounded pointers.
9573         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9574         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9576 2013-03-04  Andreas Jaeger  <aj@suse.de>
9578         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9579         common definitions.
9581         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9582         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9583         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9584         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9585         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9586         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9588 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9590         [BZ #15055]
9591         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9592         __ieee754_sqrl instead of __sqrl.
9594 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
9596         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9597         * sysdeps/powerpc/fpu_control.h: ... here.
9598         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9599         * sysdeps/powerpc/bits/fenvinline.h: ... here.
9600         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9601         * sysdeps/powerpc/bits/mathinline.h: ... here.
9603 2013-03-01  Roland McGrath  <roland@hack.frob.com>
9605         * elf/dl-hwcaps.c (_dl_important_hwcaps):
9606         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9607         to just [NEED_DL_SYSINFO_DSO].
9608         * elf/dl-support.c: Likewise.
9609         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9610         * elf/rtld.c (dl_main): Likewise.
9611         * elf/setup-vdso.h (setup_vdso): Likewise.
9612         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9613         * sysdeps/unix/sysv/linux/dl-sysdep.c
9614         (_dl_discover_osversion): Likewise.
9616 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
9618         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9619         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9621 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9623         * NEWS: Mention libm performance improvements and non-x86 PI
9624         futex support.
9626         * csu/libc-start.c (__pthread_initialize_minimal): Change
9627         function arguments.
9628         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9630 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
9632         [BZ #13550]
9633         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9634         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9635         <bp-sym.h> and <bp-asm.h>.
9636         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9637         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9638         and <bp-asm.h>.
9639         (memcpy): Don't use BP_SYM.
9640         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9641         <bp-asm.h>.
9642         (__mpn_add_n): Don't use BP_SYM.
9643         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9644         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9645         and <bp-asm.h>.
9646         (__mpn_addmul_1): Don't use BP_SYM.
9647         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9648         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9649         <bp-sym.h>.
9650         (_setjmp): Don't use BP_SYM.
9651         (__novmx_setjmp): Likewise.
9652         (__GI__setjmp): Likewise.
9653         (__vmx_setjmp): Likewise.
9654         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9655         <bp-sym.h>.
9656         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9657         (__bzero): Don't use BP_SYM.
9658         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9659         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9660         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9661         <bp-sym.h> and <bp-asm.h>.
9662         (memcpy): Don't use BP_SYM.
9663         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9664         <bp-sym.h> and <bp-asm.h>.
9665         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9666         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9667         <bp-sym.h> and <bp-asm.h>.
9668         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9669         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9670         <bp-asm.h>.
9671         (__mpn_lshift): Don't use BP_SYM.
9672         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9673         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9674         <bp-asm.h>.
9675         (memset): Don't use BP_SYM.
9676         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9677         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9678         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9679         <bp-asm.h>.
9680         (__mpn_mul_1): Don't use BP_SYM.
9681         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9682         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9683         <bp-sym.h> and <bp-asm.h>.
9684         (memcmp): Don't use BP_SYM.
9685         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9686         <bp-sym.h> and <bp-asm.h>.
9687         (memcpy): Don't use BP_SYM.
9688         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9689         <bp-sym.h> and <bp-asm.h>.
9690         (memset): Don't use BP_SYM.
9691         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9692         <bp-sym.h> and <bp-asm.h>.
9693         (strncmp): Don't use BP_SYM.
9694         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9695         <bp-sym.h> and <bp-asm.h>.
9696         (memcpy): Don't use BP_SYM.
9697         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9698         <bp-sym.h> and <bp-asm.h>.
9699         (memset): Don't use BP_SYM.
9700         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9701         <bp-sym.h> and <bp-asm.h>.
9702         (__memchr): Don't use BP_SYM.
9703         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9704         <bp-sym.h> and <bp-asm.h>.
9705         (memcmp): Don't use BP_SYM.
9706         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9707         <bp-sym.h> and <bp-asm.h>.
9708         (memcpy): Don't use BP_SYM.
9709         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9710         <bp-sym.h> and <bp-asm.h>.
9711         (__mempcpy): Don't use BP_SYM.
9712         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9713         <bp-sym.h> and <bp-asm.h>.
9714         (__memrchr): Don't use BP_SYM.
9715         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9716         <bp-sym.h> and <bp-asm.h>.
9717         (memset): Don't use BP_SYM.
9718         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9719         <bp-sym.h> and <bp-asm.h>.
9720         (__rawmemchr): Don't use BP_SYM.
9721         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9722         <bp-sym.h> and <bp-asm.h>.
9723         (__STRCMP): Don't use BP_SYM.
9724         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9725         <bp-sym.h> and <bp-asm.h>.
9726         (strchr): Don't use BP_SYM.
9727         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9728         <bp-sym.h> and <bp-asm.h>.
9729         (__strchrnul): Don't use BP_SYM.
9730         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9731         <bp-sym.h> and <bp-asm.h>.
9732         (strlen): Don't use BP_SYM.
9733         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9734         <bp-sym.h> and <bp-asm.h>.
9735         (strncmp): Don't use BP_SYM.
9736         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9737         <bp-sym.h> and <bp-asm.h>.
9738         (__strnlen): Don't use BP_SYM.
9739         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9740         <bp-asm.h>.
9741         (__mpn_rshift): Don't use BP_SYM.
9742         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9743         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9744         <bp-sym.h> and <bp-asm.h>.
9745         (__sigsetjmp): Don't use BP_SYM.
9746         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9747         (L(start_addresses)): Don't use BP_SYM.
9748         (_start): Likewise.
9749         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9750         <bp-asm.h>.
9751         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9752         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9753         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9754         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9755         <bp-asm.h>.
9756         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9757         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9758         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9759         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9760         <bp-asm.h>.
9761         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9762         comments.
9763         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9764         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9765         <bp-asm.h>.
9766         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9767         FIXME comments.
9768         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9769         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9770         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9771         <bp-asm.h>.
9772         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9773         comment.
9774         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9775         and <bp-asm.h>.
9776         (strncmp): Don't use BP_SYM,
9777         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9778         <bp-asm.h>.
9779         (__mpn_sub_n): Don't use BP_SYM.
9780         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9781         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9782         and <bp-asm.h>.
9783         (__mpn_submul_1): Don't use BP_SYM.
9784         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9786         <bp-sym.h> and <bp-asm.h>.
9787         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9789         <bp-sym.h> and <bp-asm.h>.
9790         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9791         comment.
9793 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9796         Use ZK to minimize writes to Z.
9797         (sub_magnitudes): Simplify code a bit.
9798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9799         Use ZK to minimize writes to Z.
9800         (sub_magnitudes): Simplify code a bit.
9802 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9804         * csu/gmon-start.c: Add special exception to license text.
9806 2013-02-27  Richard Henderson  <rth@redhat.com>
9808         * scripts/config.guess: Update from config.git.
9809         * scripts/config.sub: Likewise.
9811 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9813         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9815         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9817         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9819         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9821         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9823 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9825         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9826         [$(build-shared = yes].
9828 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9830         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9831         (__mul): Reduce iterations for calculating mantissa.
9833         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9834         MPTWO.
9835         (__mpranred): Likewise.
9837         [BZ #15160]
9838         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9839         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9841 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9843         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9844         Define __attribute__.
9846 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9848         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9849         unused.
9850         * posix/regex_internal.h (__attribute): Remove.
9851         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9852         (re_string_context_at): Likewise.
9853         (bitset_not): Use __attribute__ and mark function as possibly
9854         unused.
9855         (bitset_merge): Likewise.
9856         (bitset_mask): Likewise.
9857         (re_string_char_size_at): Likewise.
9858         (re_string_wchar_at): Likewise.
9859         (re_string_elem_size_at): Likewise.
9861 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9863         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9864         code.
9865         (cc32): Likewise.
9867         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9868         (__acr): Likewise.
9869         (__cpy): Likewise.
9870         (norm): Likewise.
9871         (denorm): Likewise.
9872         (__dbl_mp): Likewise.
9873         (add_magnitudes): Likewise.
9874         (sub_magnitudes): Likewise.
9875         (__mul): Likewise.
9876         (__inv): Likewise.
9878         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9879         style.
9881         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9882         style.
9884         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9885         code.
9887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9888         up changes with default code.
9889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9890         Likewise.
9892 2013-02-24  Allan McRae  <allan@archlinux.org>
9894         * manual/socket.texi (The Internet Namespace): Order menu items
9895         to match that in the file.
9897         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9898         node listing of the info page menu.
9900 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9902         [BZ #13550]
9903         * sysdeps/i386/bp-asm.h: Remove file.
9904         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9905         (PARMS): Do not use macros from bp-asm.h.
9906         (S1): Likewise.
9907         (S2): Likewise.
9908         (SIZE): Likewise.
9909         (__mpn_add_n): Do not use BP_SYM
9910         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9911         "bp-asm.h".
9912         (PARMS): Do not use macros from bp-asm.h.
9913         (S1): Likewise.
9914         (SIZE): Likewise.
9915         (__mpn_addmul_1): Do not use BP_SYM
9916         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9917         "bp-asm.h".
9918         (PARMS): Do not use macros from bp-asm.h.
9919         (SIGMSK): Likewise.
9920         (_setjmp): Likewise.  Do not use BP_SYM.
9921         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9922         "bp-asm.h".
9923         (PARMS): Do not use macros from bp-asm.h.
9924         (SIGMSK): Likewise.
9925         (setjmp): Likewise.  Do not use BP_SYM.
9926         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9927         "bp-asm.h".
9928         (PARMS): Do not use macros from bp-asm.h.
9929         (__frexp): Do not use BP_SYM.
9930         (frexp): Likewise.
9931         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9932         "bp-asm.h".
9933         (PARMS): Do not use macros from bp-asm.h.
9934         (__frexpf): Do not use BP_SYM.
9935         (frexpf): Likewise.
9936         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9937         "bp-asm.h".
9938         (PARMS): Do not use macros from bp-asm.h.
9939         (__frexpl): Do not use BP_SYM.
9940         (frexpl): Likewise.
9941         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9942         "bp-asm.h".
9943         (PARMS): Do not use macros from bp-asm.h.
9944         (__remquo): Do not use BP_SYM.
9945         (remquo): Likewise.
9946         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9947         "bp-asm.h".
9948         (PARMS): Do not use macros from bp-asm.h.
9949         (__remquof): Do not use BP_SYM.
9950         (remquof): Likewise.
9951         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9952         "bp-asm.h".
9953         (PARMS): Do not use macros from bp-asm.h.
9954         (__remquol): Do not use BP_SYM.
9955         (remquol): Likewise.
9956         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9957         "bp-asm.h".
9958         (PARMS): Do not use macros from bp-asm.h.
9959         (DEST): Likewise.
9960         (SRC): Likewise.
9961         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9962         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9963         "bp-asm.h".
9964         (PARMS): Do not use macros from bp-asm.h.
9965         (strlen): Do not use BP_SYM.
9966         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9967         "bp-asm.h".
9968         (PARMS): Do not use macros from bp-asm.h.
9969         (S1): Likewise.
9970         (S2): Likewise.
9971         (SIZE): Likewise.
9972         (__mpn_add_n): Do not use BP_SYM.
9973         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9974         "bp-asm.h".
9975         (PARMS): Do not use macros from bp-asm.h.
9976         (S1): Likewise.
9977         (SIZE): Likewise.
9978         (__mpn_addmul_1): Do not use BP_SYM.
9979         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9980         weak_alias.
9981         (bzero): Likewise.
9982         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9983         "bp-asm.h".
9984         (PARMS): Do not use macros from bp-asm.h.
9985         (S): Likewise.
9986         (SIZE): Likewise.
9987         (__mpn_lshift): Do not use BP_SYM.
9988         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9989         "bp-asm.h".
9990         (PARMS): Do not use macros from bp-asm.h.
9991         (DEST): Likewise.
9992         (SRC): Likewise.
9993         (LEN): Likewise.
9994         (memcpy): Likewise.  Do not use BP_SYM.
9995         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9996         libc_hidden_def and weak_alias.
9997         (mempcpy): Do not use BP_SYM in weak_alias.
9998         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9999         "bp-asm.h".
10000         (PARMS): Do not use macros from bp-asm.h.
10001         (DEST): Likewise.
10002         (LEN): Likewise.
10003         [!BZERO_P] (CHR): Likewise.
10004         (memset): Likewise.  Do not use BP_SYM.
10005         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10006         "bp-asm.h".
10007         (PARMS): Do not use macros from bp-asm.h.
10008         (S1): Likewise.
10009         (SIZE): Likewise.
10010         (__mpn_mul_1): Do not use BP_SYM.
10011         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10012         "bp-asm.h".
10013         (PARMS): Do not use macros from bp-asm.h.
10014         (S): Likewise.
10015         (SIZE): Likewise.
10016         (__mpn_rshift): Do not use BP_SYM.
10017         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10018         "bp-asm.h".
10019         (PARMS): Do not use macros from bp-asm.h.
10020         (STR): Likewise.
10021         (CHR): Likewise.
10022         (strchr): Likewise.  Do not use BP_SYM.
10023         (index): Do not use BP_SYM in weak_alias.
10024         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10025         "bp-asm.h".
10026         (PARMS): Do not use macros from bp-asm.h.
10027         (DEST): Likewise.
10028         (SRC): Likewise.
10029         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
10030         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10031         "bp-asm.h".
10032         (PARMS): Do not use macros from bp-asm.h.
10033         (strlen): Do not use BP_SYM.
10034         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10035         "bp-asm.h".
10036         (PARMS): Do not use macros from bp-asm.h.
10037         (S1): Likewise.
10038         (S2): Likewise.
10039         (SIZE): Likewise.
10040         (__mpn_sub_n): Do not use BP_SYM.
10041         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10042         "bp-asm.h".
10043         (PARMS): Do not use macros from bp-asm.h.
10044         (S1): Likewise.
10045         (SIZE): Likewise.
10046         (__mpn_submul_1): Do not use BP_SYM.
10047         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10048         "bp-asm.h".
10049         (PARMS): Do not use macros from bp-asm.h.
10050         (S1): Likewise.
10051         (S2): Likewise.
10052         (SIZE): Likewise.
10053         (__mpn_add_n): Do not use BP_SYM.
10054         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10055         weak_alias.
10056         (bzero): Likewise.
10057         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10058         "bp-asm.h".
10059         (PARMS): Do not use macros from bp-asm.h.
10060         (BLK2): Likewise.
10061         (LEN): Likewise.
10062         (memcmp): Do not use BP_SYM.
10063         (bcmp): Do not use BP_SYM in weak_alias.
10064         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10065         "bp-asm.h".
10066         (PARMS): Do not use macros from bp-asm.h.
10067         (DEST): Likewise.
10068         (SRC): Likewise.
10069         (LEN): Likewise.
10070         (memcpy): Likewise.  Do not use BP_SYM.
10071         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10072         "bp-asm.h".
10073         (PARMS): Do not use macros from bp-asm.h.
10074         (DEST): Likewise.
10075         (SRC): Likewise.
10076         (LEN): Likewise.
10077         (memmove): Likewise.  Do not use BP_SYM.
10078         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10079         "bp-asm.h".
10080         (PARMS): Do not use macros from bp-asm.h.
10081         (DEST): Likewise.
10082         (SRC): Likewise.
10083         (LEN): Likewise.
10084         (__mempcpy): Likewise.  Do not use BP_SYM.
10085         (mempcpy): Do not use BP_SYM in weak_alias.
10086         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10087         "bp-asm.h".
10088         (PARMS): Do not use macros from bp-asm.h.
10089         (DEST): Likewise.
10090         (LEN): Likewise.
10091         [!BZERO_P] (CHR): Likewise.
10092         (memset): Likewise.  Do not use BP_SYM.
10093         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10094         "bp-asm.h".
10095         (PARMS): Do not use macros from bp-asm.h.
10096         (STR2): Likewise.
10097         (strcmp): Do not use BP_SYM.
10098         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10099         "bp-asm.h".
10100         (PARMS): Do not use macros from bp-asm.h.
10101         (STR): Likewise.
10102         (DELIM): Likewise.
10103         [USE_AS_STRTOK_R] (SAVE): Likewise.
10104         (FUNCTION): Likewise.  Do not use BP_SYM.
10105         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10106         aliases.
10107         (strtok_r): Likewise.
10108         (__GI___strtok_r): Likewise.
10109         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10110         (PARMS): Do not use macros from bp-asm.h.
10111         (S): Likewise.
10112         (SIZE): Likewise.
10113         (__mpn_lshift): Do not use BP_SYM.
10114         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10115         (PARMS): Do not use macros from bp-asm.h.
10116         (STR): Likewise.
10117         (CHR): Likewise.
10118         (__memchr): Do not use BP_SYM.
10119         (memchr): Do not use BP_SYM in weak_alias.
10120         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10121         (PARMS): Do not use macros from bp-asm.h.
10122         (BLK2): Likewise.
10123         (LEN): Likewise.
10124         (memcmp): Do not use BP_SYM.
10125         (bcmp): Do not use BP_SYM in weak_alias.
10126         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10127         (PARMS): Do not use macros from bp-asm.h.
10128         (S1): Likewise.
10129         (SIZE): Likewise.
10130         (__mpn_mul_1): Do not use BP_SYM.
10131         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10132         "bp-asm.h".
10133         (PARMS): Do not use macros from bp-asm.h.
10134         (STR): Likewise.
10135         (CHR): Likewise.
10136         (__rawmemchr): Do not use BP_SYM.
10137         (rawmemchr): Do not use BP_SYM in weak_alias.
10138         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10139         (PARMS): Do not use macros from bp-asm.h.
10140         (S): Likewise.
10141         (SIZE): Likewise.
10142         (__mpn_rshift): Do not use BP_SYM.
10143         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10144         (PARMS): Do not use macros from bp-asm.h.
10145         (SIGMSK): Likewise.
10146         (__sigsetjmp): Likewise.  Do not use BP_SYM.
10147         * sysdeps/i386/start.S: Do not include "bp-sym.h".
10148         (_start): Do not use BP_SYM.
10149         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10150         (PARMS): Do not use macros from bp-asm.h.
10151         (DEST): Likewise.
10152         (SRC): Likewise.
10153         (__stpcpy): Likewise.  Do not use BP_SYM.
10154         (stpcpy): Do not use BP_SYM in weak_alias.
10155         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10156         "bp-asm.h".
10157         (PARMS): Do not use macros from bp-asm.h.
10158         (DEST): Likewise.
10159         (SRC): Likewise.
10160         (LEN): Likewise.
10161         (__stpncpy): Likewise.  Do not use BP_SYM.
10162         (stpncpy): Do not use BP_SYM in weak_alias.
10163         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10164         (PARMS): Do not use macros from bp-asm.h.
10165         (STR): Likewise.
10166         (CHR): Likewise.
10167         (strchr): Likewise.  Do not use BP_SYM.
10168         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10169         "bp-asm.h".
10170         (PARMS): Do not use macros from bp-asm.h.
10171         (STR): Likewise.
10172         (CHR): Likewise.
10173         (__strchrnul): Likewise.  Do not use BP_SYM.
10174         (strchrnul): Do not use BP_SYM in weak_alias.
10175         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10176         "bp-asm.h".
10177         (PARMS): Do not use macros from bp-asm.h.
10178         (STOP): Likewise.
10179         (strcspn): Do not use BP_SYM.
10180         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10181         "bp-asm.h".
10182         (PARMS): Do not use macros from bp-asm.h.
10183         (STR): Likewise.
10184         (STOP): Likewise.
10185         (strpbrk): Likewise.  Do not use BP_SYM.
10186         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10187         "bp-asm.h".
10188         (PARMS): Do not use macros from bp-asm.h.
10189         (STR): Likewise.
10190         (CHR): Likewise.
10191         (strrchr): Likewise.  Do not use BP_SYM.
10192         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10193         (PARMS): Do not use macros from bp-asm.h.
10194         (SKIP): Likewise.
10195         (strspn): Do not use BP_SYM.
10196         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10197         (PARMS): Do not use macros from bp-asm.h.
10198         (STR): Likewise.
10199         (DELIM): Likewise.
10200         (SAVE): Likewise.
10201         (FUNCTION): Likewise.  Do not use BP_SYM.
10202         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10203         aliases.
10204         (strtok_r): Likewise.
10205         (__GI___strtok_r): Likewise.
10206         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10207         (PARMS): Do not use macros from bp-asm.h.
10208         (S1): Likewise.
10209         (S2): Likewise.
10210         (SIZE): Likewise.
10211         (__mpn_sub_n): Do not use BP_SYM.
10212         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10213         "bp-asm.h".
10214         (PARMS): Do not use macros from bp-asm.h.
10215         (S1): Likewise.
10216         (SIZE): Likewise.
10217         (__mpn_submul_1): Do not use BP_SYM.
10218         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10219         <bp-sym.h>.
10220         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10221         and <bp-asm.h>.
10222         (PARMS): Do not use macros from bp-asm.h.
10223         (FLAGS): Likewise.
10224         (PTID): Likewise.
10225         (TLS): Likewise.
10226         (CTID): Likewise.
10227         (__clone): Do not use BP_SYM.
10228         (clone): Do not use BP_SYM in weak_alias.
10229         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10230         and <bp-asm.h>.
10231         (PARMS): Do not use macros from bp-asm.h.
10232         (LEN): Likewise.
10233         (__mmap64): Do not use BP_SYM.
10234         (mmap64): Do not use BP_SYM in weak_alias.
10235         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10236         <bp-sym.h> and <bp-asm.h>.
10237         (PARMS): Do not use macros from bp-asm.h.
10238         (__posix_fadvise64_l64): Do not use BP_SYM.
10239         * sysdeps/unix/sysv/linux/i386/semtimedop.S
10240         (PARMS): Do not use macros from bp-asm.h.
10241         (NSOPS): Likewise.
10242         (semtimedop): Do not use BP_SYM.
10243         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10244         and <bp-asm.h>.
10246 2013-02-21  Allan McRae  <allan@archlinux.org>
10248         * manual/message.texi (Charset conversion in gettext):
10249         Move @end statement to beginning of line.
10251 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10254         static.
10255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10256         Likewise.
10258         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10259         (denorm): Likewise.
10260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10263 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10265         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10266         tail-call to the resolved function if pltexit isn't needed.
10268 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10271         or Y being zero as being unlikely.
10272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10273         Likewise.
10275 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
10277         * manual/nss.texi (System Databases and Name Service Switch):
10278         Remove frobnicate @pxref.
10280 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10282         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10283         __attribute__ ((unused)) to __attribute__ ((__unused__)).
10285 2013-02-20  Petr Machata  <pmachata@redhat.com>
10287         * elf/elf.h (R_ARM_TARGET1): New macro.
10288         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10289         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10290         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10291         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10292         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10293         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10294         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10295         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10296         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10297         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10298         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10299         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10300         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10301         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10302         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10303         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10304         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10305         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10306         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10307         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10308         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10309         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10310         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10311         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10312         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10313         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10314         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10315         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10316         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10317         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10318         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10319         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10320         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10321         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10322         (R_ARM_THM_GOT_BREL12): Likewise.
10323         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10324         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10325         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10326         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10327         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10328         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10329         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10330         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10331         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10333 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
10335         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10336         __attribute_used__ to __attribute__ ((unused)).
10338 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10340         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10341         powerpc mpa.c.
10342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10343         comment formatting.
10344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10346 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
10348         [BZ #13550]
10349         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10350         Remove macro.
10351         (ENTER): Remove both macro definitions.
10352         (LEAVE): Likewise.
10353         (CHECK_BOUNDS_LOW): Likewise.
10354         (CHECK_BOUNDS_HIGH): Likewise.
10355         (CHECK_BOUNDS_BOTH): Likewise.
10356         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10357         (RETURN_BOUNDED_POINTER): Likewise.
10358         (RETURN_NULL_BOUNDED_POINTER): Likewise.
10359         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10360         (POP_ERRNO_LOCATION_RETURN): Likewise.
10361         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10362         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10363         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10364         macros.
10365         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10366         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10367         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10368         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10369         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10370         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10371         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10372         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10373         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10374         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10375         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10376         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10377         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10378         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10379         removed macros.
10380         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10381         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10382         macros.
10383         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10384         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10385         * sysdeps/i386/i586/memset.S (memset): Likewise.
10386         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10387         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10388         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10389         macros.
10390         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10391         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10392         Change uses of L(2) to L(out).
10393         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10394         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10395         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10396         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10397         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10398         removed macros.
10399         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10400         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10401         macros.
10402         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10403         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10404         (RETURN): Do not use macro LEAVE.
10405         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10406         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10407         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10408         * sysdeps/i386/i686/memset.S (memset): Likewise.
10409         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10410         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10411         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10412         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10413         Likewise.
10414         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10415         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
10416         L(1_2) and L(1_3) into L(1).
10417         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10418         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10419         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10420         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10421         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10422         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10423         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10424         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10425         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10426         macros.
10427         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10428         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10429         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10430         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10431         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10432         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10433         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10434         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10435         * sysdeps/i386/strcspn.S (strcspn): Likewise.
10436         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10437         * sysdeps/i386/strrchr.S (strrchr): Likewise.
10438         * sysdeps/i386/strspn.S (strspn): Likewise.
10439         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10440         conditional code.
10441         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10442         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10443         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10444         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
10445         L(1_3) into L(1_1).
10446         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10447         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10448         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10449         macros.
10450         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10452 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
10454         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10455         macro.
10457 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10459         * math/atest-exp.c (exp_mpn): Remove ROUND.
10460         * math/atest-exp2.c (exp_mpn): Likewise.
10461         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10463         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10464         * stdlib/tst-tls-atexit-lib.c: Likewise.
10465         * stdlib/tst-tls-atexit.c: Likewise.
10467 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10469         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10470         and __attribute_alloc_size__.
10472 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10474         * include/programs/xmalloc.h: Change __attribute_alloc_size to
10475         __attribute_alloc_size__.
10476         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10477         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10479 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10481         * include/programs/xmalloc.h: New file.
10482         * catgets/gencat.c: Include it.
10483         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10484         * elf/pldd.c: Likewise.
10485         * iconv/iconv_charmap.c: Likewise.
10486         * iconv/iconvconfig.c: Likewise.
10487         * iconv/strtab.c: Likewise.
10488         * locale/programs/locale.c: Likewise.
10489         * locale/programs/localedef.h: Likewise.
10490         * locale/programs/simple-hash.c: Likewise.
10491         * nscd/nscd.h: Likewise.
10492         * nss/makedb.c: Likewise.
10493         * sysdeps/generic/ldconfig.h: Likewise.
10495 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10497         * Versions.def: Add GLIBC_2.18.
10498         * include/link.h (struct link_map): New member l_tls_dtor_count.
10499         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10500         (__call_tls_dtors): Likewise.
10501         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10502         __cxa_thread_atexit_impl.
10503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10504         Likewise.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10506         Likewise.
10507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10508         Likewise.
10509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10510         Likewise.
10511         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10513         Likewise.
10514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10515         Likewise.
10516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10518         Likewise.
10519         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10520         (tests): Add test case tst-tls-atexit.
10521         (modules-names): Add shared library for tst-tls-atexit.
10522         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10523         (GLIBC_PRIVATE): Add __call_tls_dtors.
10524         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10525         for libstdc++.
10526         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10527         * stdlib/tst-tls-atexit.c: New test case.
10528         * stdlib/tst-tls-atexit-lib.c: New test case.
10530         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10532         * elf/Versions (ld): Add _dl_find_dso_for_object.
10533         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10534         * elf/dl-open.c (_dl_find_dso_for_object): New function.
10535         (dl_open_worker): Use _dl_find_dso_for_object.
10536         * elf/dl-sym.c (do_sym): Likewise.
10537         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10539 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10541         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10542         Syntactic changes only.
10543         (_dl_runtime_profile): Do a tail-call to the resolved function.
10545 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
10547         [BZ #13550]
10548         * sysdeps/x86_64/bp-asm.h: Remove file.
10549         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10550         <bp-sym.h> and <bp-asm.h>.
10551         (__clone): Do not use BP_SYM.
10552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10553         <bp-sym.h> and <bp-asm.h>.
10554         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10555         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10556         "bp-asm.h".
10557         (_setjmp): Do not use BP_SYM.
10558         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10559         "bp-asm.h".
10560         (setjmp): Do not use BP_SYM.
10561         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10562         libc_hidden_def.
10563         (mempcpy): Do not use BP_SYM in weak_alias.
10564         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10565         "bp-asm.h".
10566         (strchr): Do not use BP_SYM.
10567         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10568         "bp-asm.h".
10569         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10570         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10571         (_start): Do not use BP_SYM.
10572         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10573         "bp-asm.h".
10574         (strcat): Do not use BP_SYM.
10575         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10576         "bp-asm.h".
10577         (STRCMP): Do not use BP_SYM.
10578         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10579         "bp-asm.h".
10580         (STRCPY): Do not use BP_SYM.
10581         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10582         "bp-asm.h".
10583         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10584         "bp-asm.h".
10585         (FUNCTION): Do not use BP_SYM.
10586         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10587         weak_alias.
10588         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10590 2013-02-17  Andreas Jaeger  <aj@suse.de>
10592         * time/Versions: Sort entries.
10593         * string/Versions: Likewise.
10594         * resolv/Versions: Likewise.
10595         * posix/Versions: Likewise.
10596         * iconv/Versions: Likewise.
10597         * elf/Versions: Likewise.
10598         * wcsmbs/Versions: Likewise.
10600 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10602         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10603         loop termination condition.
10605         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10606         variable to calculate EZ.
10607         (__sqr): Likewise.
10609         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10610         the lower precision input.
10612 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
10614         [BZ #13550]
10615         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10616         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10617         (run-via-rtld-prefix): Do not handle %-bp tests.
10618         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10619         (all-object-suffixes): Remove .ob.
10620         (bppfx): Remove variable.
10621         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10622         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10623         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10624         [$(build-bounded) = yes] (libtype.ob): Likewise.
10625         * Makerules (elide-routines.ob): Remove variable.
10626         (do-tests-clean): Do not handle *-bp.out.
10627         (common-mostlyclean): Do not handle *-bp and *-bp.out.
10628         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10629         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10630         (tests): Do not include $(tests-bp.out).
10631         (xtests): Do not include $(xtests-bp.out).
10632         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10633         [$(build-bounded) = yes] ($(addprefix
10634         $(objpfx),$(binaries-bounded))): Remove rule.
10635         ($(objpfx)%-bp.out): Remove rule.
10636         * config.make.in (build-bounded): Remove variable.
10637         * crypt/Makefile [$(build-bounded) = yes]
10638         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10639         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10640         append to variable.
10641         [$(build-bounded) = yes] (install-lib): Likewise.
10642         [$(build-bounded) = yes] (generated): Likewise.
10643         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10644         Remove rule.
10645         * intl/Makefile [$(build-bounded) = yes]
10646         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10647         * math/Makefile [$(build-bounded) = yes]
10648         ($(tests:%=$(objpfx)%-bp): Likewise.
10649         * misc/Makefile [$(build-bounded) = yes]
10650         ($(objpfx)tst-tsearch-bp): Likewise.
10651         * nptl/Makeconfig (bounded-thread-library): Remove variable.
10652         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10653         Remove dependency.
10654         * string/Makefile (o-objects.ob): Remove variable.
10655         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10656         (CFLAGS-.ob): Remove variable.
10657         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10658         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10659         both definitions of variable.
10660         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10661         (ASFLAGS-.ob): Remove variable.
10663 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
10665         [BZ #13550]
10666         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10667         Remove __BOUNDED_POINTERS__ from condition.
10668         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10669         * string/bits/string2.h [!__NO_STRING_INLINES &&
10670         !__BOUNDED_POINTERS__]: Likewise.
10671         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10672         Likewise.
10673         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10674         Remove conditional code.
10675         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10676         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10677         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10678         condition.
10680         [BZ #13550]
10681         * csu/libc-start.c: Do not include <bp-sym.h>.
10682         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10683         * elf/dl-open.c: Do not include <bp-sym.h>.
10684         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10685         * math/fegetenv.c: Do not include <bp-sym.h>.
10686         (fegetenv): Do not use BP_SYM in versioned symbols.
10687         * nptl/sysdeps/pthread/bits/libc-lockP.h
10688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10689         <bp-sym.h>.
10690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10691         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10693         (__pthread_mutex_destroy): Likewise.
10694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10695         (__pthread_mutex_lock): Likewise.
10696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10697         (__pthread_mutex_trylock): Likewise.
10698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10699         (__pthread_mutex_unlock): Likewise.
10700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10701         (__pthread_mutexattr_init): Likewise.
10702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10703         (__pthread_mutexattr_destroy): Likewise.
10704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10705         (__pthread_mutexattr_settype): Likewise.
10706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10707         (__pthread_rwlock_init): Likewise.
10708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10709         (__pthread_rwlock_destroy): Likewise.
10710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10711         (__pthread_rwlock_rdlock): Likewise.
10712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10713         (__pthread_rwlock_tryrdlock): Likewise.
10714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10715         (__pthread_rwlock_wrlock): Likewise.
10716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10717         (__pthread_rwlock_trywrlock): Likewise.
10718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10719         (__pthread_rwlock_unlock): Likewise.
10720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10721         (__pthread_key_create): Likewise.
10722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10723         (__pthread_setspecific): Likewise.
10724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10725         (__pthread_getspecific): Likewise.
10726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10727         Likewise.
10728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10729         (_pthread_cleanup_push_defer): Likewise.
10730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10731         (_pthread_cleanup_pop_restore): Likewise.
10732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10733         (pthread_setcancelstate): Likewise.
10734         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10735         <bp-sym.h>.
10736         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10737         (memchr): Do not use BP_SYM in weak_alias.
10738         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10739         (fegetenv): Do not use BP_SYM in versioned symbols.
10740         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10741         (fesetenv): Do not use BP_SYM in versioned symbols.
10742         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10743         (feupdateenv): Do not use BP_SYM in versioned symbols.
10744         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10745         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10746         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10747         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10748         (open64): Do not use BP_SYM in weak_alias.
10749         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10750         (fegetenv): Do not use BP_SYM in versioned symbols.
10751         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10752         (fesetenv): Do not use BP_SYM in versioned symbols.
10753         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10754         (feupdateenv): Do not use BP_SYM in versioned symbols.
10755         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10756         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10757         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10758         (feraiseexcept): Do not use BP_SYM in versioned symbols.
10759         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10760         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10761         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10762         <bp-sym.h>.
10763         (__libc_start_main): Do not use BP_SYM.
10765 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10768         redundant return line.
10769         (norm): Likewise.
10770         (denorm): Likewise.
10771         (dbl_mp): Likewise.
10772         (sub_magnitudes): Likewise.
10773         (__add): Likewise.
10774         (__sub): Likewise.
10775         (__mul): Likewise.
10776         (__inv): Likewise.
10777         (__dvd): Likewise.
10778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10779         (norm): Likewise.
10780         (denorm): Likewise.
10781         (dbl_mp): Likewise.
10782         (sub_magnitudes): Likewise.
10783         (__add): Likewise.
10784         (__sub): Likewise.
10785         (__mul): Likewise.
10786         (__inv): Likewise.
10787         (__dvd): Likewise.
10789         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10790         instead of __mul.
10791         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10792         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10793         (cc32): Likewise.
10795         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10796         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10798         of __mul for squares.
10799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10800         function
10801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10802         Likewise.
10803         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10804         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10806 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10808         [BZ #13550]
10809         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10810         code.
10811         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10812         prototype or function definition.  Rename ubp_* variables and
10813         parameters.  Remove argv definitions conditional on
10814         [__BOUNDED_POINTERS__].
10815         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10816         * elf/dl-runtime.c (_dl_fixup): Likewise.
10817         * include/set-hooks.h (RUN_HOOK): Likewise.
10818         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10819         definition.
10820         * string/strcpy.c (strcpy): Do not use __unbounded.
10821         * sysdeps/generic/frame.h (struct layout): Likewise.
10822         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10823         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10824         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10825         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10826         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10827         (__backtrace): Likewise.
10828         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10829         use __ptrvalue.
10830         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10831         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10832         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10833         Likewise.
10834         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10835         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10836         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10837         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10838         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10839         Do not use __unbounded.
10840         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10841         Rename __unboundedrlimits parameter to rlimits in prototype.
10842         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10843         Do not use __unbounded.
10844         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10845         not use __ptrvalue.
10846         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10847         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10848         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10849         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10850         __ptrvalue or __unbounded.
10851         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10852         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10853         use __unbounded.
10854         (__new_msgctl): Do not use __ptrvalue.
10855         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10856         __unbounded.
10857         (__libc_msgrcv): Do not use __ptrvalue.
10858         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10859         startup_info): Do not use __unbounded.
10860         (__libc_start_main): Likewise.  Rename ubp_* variables and
10861         parameters.  Remove argv definitions conditional on
10862         [__BOUNDED_POINTERS__].
10863         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10864         __ptrvalue.
10865         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10866         use __unbounded.
10867         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10868         or __ptrvalue.
10869         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10870         use __unbounded.
10871         (__new_shmctl): Do not use __ptrvalue.
10872         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10873         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10874         Likewise.
10875         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10876         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10877         (__libc_sigaction): Likewise.
10878         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10879         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10880         Likewise.
10881         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10883 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10885         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10887         * string/mempcpy.c: Implement by calling memcpy.
10889 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10893         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10894         evaluation.
10896         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10897         values in the mantissa.
10899         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10900         minimize writes to Z.
10901         (sub_magnitudes): Simplify code a bit.
10903 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10905         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10906         from the message.  The linker prefixes all warnings with that already.
10908 2013-02-12  Andreas Schwab  <schwab@suse.de>
10910         [BZ #15078]
10911         * posix/regexec.c (extend_buffers): Add parameter min_len.
10912         (check_matching): Pass minimum needed length.
10913         (clean_state_log_if_needed): Likewise.
10914         (get_subexp): Likewise.
10915         * posix/Makefile (tests): Add bug-regex34.
10916         (bug-regex34-ENV): Define.
10917         * posix/bug-regex34.c: New file.
10919         [BZ #11561]
10920         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10921         elements compare against the byte sequence of it, not its name.
10922         * posix/Makefile (tests): Add bug-regex35.
10923         (bug-regex35-ENV): Define.
10924         * posix/bug-regex35.c: New file.
10926 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10928         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10929         comment.
10930         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10931         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10932         (CHECK_EOL): Add undef.
10934 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10936         * bits/stdlib-bsearch.h: New file.
10937         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10938         * stdlib/stdlib.h: Likewise.
10940 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10942         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10943         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10944         declaration.
10945         * manual/search.texi (Array Search Function): Add missing const in
10946         lfind prototype.
10947         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10948         declaration to use rlim_t.
10949         (Basic Scheduling Functions): Remove erroneous const from
10950         sched_getparam prototype.  Remove erroneous * from
10951         sched_get_priority_max and sched_get_priority_min prototypes.
10952         (Resource Usage): Fix summary @comment on vtimes to refer to
10953         sys/vtimes.h rather than vtimes.h.
10954         Add missing *s in vtimes prototype.
10955         (Limits on Resources): Fix ulimit prototype to return long int.
10956         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10957         prototypes to use long int rather than double.
10958         (BSD Random): Fix initstate and setstate to use char *, not void *.
10959         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10960         prototype to make second argument 'struct aiocb64 *const[]'.
10961         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10962         (Status of AIO Operations): Remove erroneous const in aio_return and
10963         aio_return64 prototypes.
10964         (Synchronizing I/O): Fix sync prototype to return void.
10965         * manual/startup.texi (Suboptions): Remove an erroneous const in
10966         getsubopt prototype.
10967         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10968         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10969         use size_t rather than int.
10970         (Scanning All Users): Likewise for getpwent_r.
10971         (Setting Groups): Add missing const to setgroups prototype.
10972         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10973         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10974         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10975         'const void *' rather than 'const char *'.
10976         (Host Address Functions): Likewise for inet_ntop.
10977         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10978         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10979         ssize_t for return value.
10980         (Sending Data): Likewise for send, sendto, sendmsg.
10981         (Socket Option Functions): Add a missing const in setsockopt prototype.
10982         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10983         use wchar_t for the argument.
10984         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10985         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10986         take no arguments.
10987         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10988         double/float/long double for second argument.
10989         Fix return types of significand, significandf, significandl.
10990         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10991         argument in fchmod prototype.
10992         (File Owner): Use uid_t and gid_t in fchown prototype.
10993         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10994         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10995         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10996         use 'const struct dirent **' as argument types to CMP function pointer
10997         argument.
10998         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10999         (File Times): Fix summary magic @comment for struct utimbuf and utime
11000         to refer to utime.h, not time.h.
11001         * manual/string.texi (Argz Functions): Add missing const in
11002         argz_extract and argz_next prototypes.
11003         (Finding Tokens in a String): Likewise for basename.
11004         (String/Array Comparison): Fix typo in wcscasecmp prototype.
11005         (Copying and Concatenation): Fix typo in wmemmove prototype.
11006         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11007         (Signal Stack): Remove erroneous const in sigstack prototype.
11008         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11009         prototype.
11010         (Simple Calendar Time): Likewise for stime.
11011         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11012         prototype.
11013         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11014         say sys/sysctl.h instead.
11015         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11016         and vsyslog prototypes.
11018 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11020         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11021         Remove.
11023 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11025         * misc/sys/mman.h: Fix typo in mremap comment.
11027 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11029         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11030         the '\0' terminator.
11032 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11034         [BZ #13550]
11035         * debug/segfault.c: Don't include <bp-checks.h>.
11036         * sysdeps/generic/bp-checks.h: Remove file.
11037         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11038         (__GETDENTS): Don't use CHECK_N.
11039         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11040         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11041         (__getgroups): Don't use CHECK_N.
11042         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11043         (setgroups): Don't use CHECK_N.
11044         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11045         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11046         (__libc_msgrcv): Don't use CHECK_N.
11047         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11048         (__libc_msgsnd): Don't use CHECK_N.
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11050         <bp-checks.h>.
11051         (__libc_pread): Don't use CHECK_N.
11052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11053         include <bp-checks.h>.
11054         (__libc_pread64): Don't use CHECK_N.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11056         include <bp-checks.h>.
11057         (__libc_pwrite): Don't use CHECK_N.
11058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11059         include <bp-checks.h>.
11060         (__libc_pwrite64): Don't use CHECK_N.
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11062         <bp-checks.h>.
11063         (__libc_pread): Don't use CHECK_N.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11065         include <bp-checks.h>.
11066         (__libc_pread64): Don't use CHECK_N.
11067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11068         include <bp-checks.h>.
11069         (__libc_pwrite): Don't use CHECK_N.
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11071         include <bp-checks.h>.
11072         (__libc_pwrite64): Don't use CHECK_N.
11073         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11074         (do_pread): Don't use CHECK_N.
11075         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11076         (do_pread64): Don't use CHECK_N.
11077         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11078         (do_pwrite): Don't use CHECK_N.
11079         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11080         (do_pwrite64): Don't use CHECK_N.
11081         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11082         (__libc_readv): Don't use CHECK_N.
11083         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11084         (semop): Don't use CHECK_N.
11085         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11086         <bp-checks.h>.
11087         (semtimedop): Don't use CHECK_N.
11088         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11089         (__libc_pread): Don't use CHECK_N.
11090         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11091         <bp-checks.h>.
11092         (__libc_pread64): Don't use CHECK_N.
11093         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11094         <bp-checks.h>.
11095         (__libc_pwrite): Don't use CHECK_N.
11096         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11097         <bp-checks.h>.
11098         (__libc_pwrite64): Don't use CHECK_N.
11099         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11100         <bp-checks.h>.
11101         (__libc_msgrcv): Don't use CHECK_N.
11102         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11103         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
11104         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11105         (__libc_writev): Don't use CHECK_N.
11107 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11109         * string/strcpy.c: Removed unused variable.
11111         * Makeconfig (+sysdep-includes): Define with := rather than =.
11112         Use an existing include/ subdir of each sysdeps dir before it.
11114 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11116         * nscd/connection.c (register_traced_file): Comment function.
11117         [HAVE_INOTIFY] (union __inev): Define.
11118         [HAVE_INOTIFY] (inotify_check_files): New function.
11119         [HAVE_INOTIFY] (clear_db_cache): Likewise.
11120         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11121         clear_db_cache.
11122         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11124 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11126         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11127         loaded if not already and that a failure is permanent.
11129 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11131         [BZ #15006]
11132         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11133         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11135 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11137         [BZ #13550]
11138         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11139         (CHECK_1_NULL_OK): Likewise.
11140         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11141         (__fxstat): Do not use CHECK_1.
11142         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11143         <bp-checks.h>.
11144         (___fxstat64): Do not use CHECK_1.
11145         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11146         <bp-checks.h>.
11147         (__fxstatat): Do not use CHECK_1.
11148         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11149         <bp-checks.h>.
11150         (__fxstatat64): Do not use CHECK_1.
11151         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11152         <bp-checks.h>.
11153         (__fxstat): Do not use CHECK_1.
11154         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11155         <bp-checks.h>.
11156         (__fxstatat): Do not use CHECK_1.
11157         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11158         <bp-checks.h>.
11159         (__getresgid): Do not use CHECK_1.
11160         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11161         <bp-checks.h>.
11162         (__getresuid): Do not use CHECK_1.
11163         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11164         <bp-checks.h>.
11165         (__lxstat): Do not use CHECK_1.
11166         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11167         <bp-checks.h>.
11168         (__old_msgctl): Do not use CHECK_1.
11169         (__new_msgctl): Likewise.
11170         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11171         <bp-checks.h>.
11172         (__new_setrlimit): Do not use CHECK_1.
11173         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11174         <bp-checks.h>.
11175         (__old_shmctl): Do not use CHECK_1.
11176         (__new_shmctl): Likewise.
11177         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11178         <bp-checks.h>.
11179         (__xstat): Do not use CHECK_1.
11180         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11181         (__lxstat): Do not use CHECK_1.
11182         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11183         <bp-checks.h>.
11184         (___lxstat64): Do not use CHECK_1.
11185         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11186         (__old_msgctl): Do not use CHECK_1.
11187         (__new_msgctl): Likewise.
11188         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11189         <bp-checks.h>.
11190         (__gettimeofday): Do not use CHECK_1.
11191         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11192         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11193         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11194         <bp-checks.h>.
11195         (__gettimeofday): Do not use CHECK_1.
11196         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11197         (__old_shmctl): Do not use CHECK_1_NULL_OK.
11198         (__new_shmctl): Do not use CHECK_1.
11199         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11200         <bp-checks.h>.
11201         (do_sigtimedwait): Do not use CHECK_1.
11202         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11203         <bp-checks.h>.
11204         (do_sigwaitinfo): Do not use CHECK_1.
11205         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11206         <bp-checks.h>.
11207         (msgctl): Do not use CHECK_1.
11208         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11209         <bp-checks.h>.
11210         (shmctl): Do not use CHECK_1.
11211         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11212         (ustat): Do not use CHECK_1.
11213         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11214         <bp-checks.h>.
11215         (__fxstat): Do not use CHECK_1.
11216         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11217         <bp-checks.h>.
11218         (__fxstatat): Do not use CHECK_1.
11219         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11220         <bp-checks.h>.
11221         (__lxstat): Do not use CHECK_1.
11222         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11223         <bp-checks.h>.
11224         (__xstat): Do not use CHECK_1.
11225         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11226         (__xstat): Do not use CHECK_1.
11227         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11228         (___xstat64): Do not use CHECK_1.
11230         [BZ #13550]
11231         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11232         definitions.
11233         (CHECK_BOUNDS_HIGH): Likewise.
11234         * string/strcpy.c: Do not include <bp-checks.h>.
11235         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11237 2013-02-07  Roland McGrath  <roland@hack.frob.com>
11239         * nscd/nscd-client.h (__nscd_drop_map_ref):
11240         Add __attribute__ ((unused)).
11241         * nis/nss-nisplus.h (niserr2nss): Likewise.
11243         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11244         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11246         * csu/libc-tls.c (init_static_tls, init_slotinfo):
11247         Remove inline keyword.
11248         * include/rounding-mode.h (round_away): Likewise.
11249         * libio/wfileops.c (adjust_wide_data): Likewise.
11250         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11251         (__m128i_strloadu_tolower): Likewise.
11252         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11253         (__m128i_strloadu_tolower): Likewise.
11254         * time/mktime.c (ydhms_diff): Likewise.
11255         * locale/elem-hash.h (elem_hash): Likewise.
11256         * locale/setlocale.c (setdata): Likewise.
11257         * posix/regex_internal.h (re_string_char_size_at): Likewise.
11258         (re_string_wchar_at): Likewise.
11259         (bitset_not, bitset_merge, bitset_mask): Likewise.
11260         [!(__GNUC__ > 3)] (inline): Remove macro.
11261         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11262         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11263         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11264         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11265         * string/memcmp.c (memcmp_bytes): Likewise.
11266         * locale/programs/locarchive.c (compute_hashval): Likewise.
11267         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11268         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11269         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11270         * nss/getent.c (print_rpc, print_protocols): Likewise.
11271         (print_passwd, print_group, print_aliases): Likewise.
11272         * nis/nss-nisplus.h (niserr2nss): Likewise.
11273         * nscd/connections.c (restart_p): Likewise.
11274         Change return type to bool.
11276 2013-02-05  Roland McGrath  <roland@hack.frob.com>
11278         * Makeconfig (all-Depend-files): Add existing
11279         $(sorted-subdirs:=/Depend) files.
11280         (all-subdirs): Remove nss.
11281         * sysdeps/unix/inet/Subdirs: Add it here instead.
11282         * hesiod/Depend: New file.
11284         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11285         instead of calling alloca.
11287         * io/lseek.c (__lseek): Rename to __libc_lseek.
11288         Define __lseek as an alias.
11290         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11292 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
11294         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11295         else clause and remove check for non-standard endianness.
11297 2013-02-04  David S. Miller  <davem@davemloft.net>
11299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11301 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
11303         [BZ #13550]
11304         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11305         (__ubp_memchr): Remove prototype.
11306         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11307         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11308         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11309         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11310         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11311         Remove alias.
11312         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11313         (__ubp_memchr): Likewise.
11314         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11315         (__ubp_memchr): Likewise.
11316         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11317         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11318         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11319         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11320         CHECK_STRING.
11321         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11322         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11323         (__getcwd): Do not use CHECK_STRING.
11324         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11325         <bp-checks.h>.
11326         (__real_chown): Do not use CHECK_STRING.
11327         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11328         <bp-checks.h>.
11329         (fchownat): Do not use CHECK_STRING.
11330         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11331         CHECK_STRING.
11332         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11333         <bp-checks.h>.
11334         (__lchown): Do not use CHECK_STRING.
11335         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11336         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11337         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11338         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11340         include <bp-checks.h>.
11341         (truncate64): Do not use CHECK_STRING.
11342         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11343         <bp-checks.h>.
11344         (__real_chown): Do not use CHECK_STRING.
11345         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11346         <bp-checks.h>.
11347         (__lchown): Do not use CHECK_STRING.
11348         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11349         <bp-checks.h>.
11350         (__chown): Do not use CHECK_STRING.
11351         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11352         <bp-checks.h>.
11353         (truncate64): Do not use CHECK_STRING.
11354         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11355         Likewise.
11356         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11357         (__xmknod): Do not use CHECK_STRING.
11358         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11359         <bp-checks.h>.
11360         (__xmknodat): Do not use CHECK_STRING.
11361         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11362         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11364 2013-02-04  Andreas Schwab  <schwab@suse.de>
11366         [BZ #14142]
11367         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11368         * include/netdb.h: Likewise for h_errno.
11369         * elf/tst-stackguard1.c: Include <tls.h>.
11371 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
11373         * elf/link.h (struct link_map): Extend the l_addr comment.
11374         * include/link.h (struct link_map): Likewise.
11376 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
11378         [BZ #13550]
11379         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11380         (BOUNDED_1): Remove macro.
11381         * debug/backtrace.c: Don't include <bp-checks.h>.
11382         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11383         (__backtrace): Likewise.
11384         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11385         <bp-checks.h>.
11386         (__backtrace): Don't use BOUNDED_1.
11387         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11388         <bp-checks.h>.
11389         (__backtrace): Don't use BOUNDED_1.
11390         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11391         (__backtrace): Don't use BOUNDED_1.
11392         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11393         (shmat): Don't use BOUNDED_N.
11395 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
11397         [BZ #13550]
11398         * sysdeps/generic/bp-start.h: Remove file.
11399         * csu/libc-start.c: Don't include <bp-start.h>.
11400         (LIBC_START_MAIN): Set up __environ directly instead of using
11401         INIT_ARGV_and_ENVIRON.
11402         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11403         <bp-start.h>.
11405         [BZ #13550]
11406         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11407         definitions.
11408         (CHECK_FCNTL): Likewise.
11409         (CHECK_N_PAGES): Likewise.
11411         [BZ #13550]
11412         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11413         definitions.
11414         (CHECK_SIGSET_NULL_OK): Likewise.
11415         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11416         <bp-checks.h>.
11417         (sigpending): Don't use CHECK_SIGSET.
11418         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11419         <bp-checks.h>.
11420         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11421         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11422         <bp-checks.h>.
11423         (do_sigsuspend): Don't use CHECK_SIGSET.
11424         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11425         use CHECK_SIGSET.
11426         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11427         (do_sigwait): Don't use CHECK_SIGSET.
11428         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11429         use CHECK_SIGSET.
11430         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11431         include <bp-checks.h>.
11432         (sigpending): Don't use CHECK_SIGSET.
11433         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11434         include <bp-checks.h>.
11435         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11436         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11437         <bp-checks.h>.
11438         (sigpending): Don't use CHECK_SIGSET.
11439         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11440         <bp-checks.h>.
11441         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11443         [BZ #13550]
11444         * sysdeps/generic/bp-semctl.h: Remove file.
11445         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11446         <bp-checks.h> and <bp-semctl.h>.
11447         (__old_semctl): Don't use CHECK_SEMCTL.
11448         (__new_semctl): Likewise.
11449         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11450         and <bp-semctl.h>.
11451         (__old_semctl): Don't use CHECK_SEMCTL.
11452         (__new_semctl): Likewise.
11453         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11454         <bp-checks.h> and <bp-semctl.h>.
11455         (__old_semctl): Don't use CHECK_SEMCTL.
11456         (__new_semctl): Likewise.
11457         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11458         <bp-checks.h> and <bp-semctl.h>.
11459         (semctl): Don't use CHECK_SEMCTL.
11461         [BZ #13550]
11462         * Makerules (elide-bp-thunks): Remove variable.
11463         (elide-routines.oS): Don't use $(elide-bp-thunks).
11464         (elide-routines.os): Likewise.
11465         (elide-routines.o): Likewise.
11466         (elide-routines.op): Likewise.
11467         (elide-routines.og): Likewise.
11468         (objects): Don't use $(bp-thunks).
11469         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11470         include.
11471         (common-generated): Do not add s-proto-bp.d.
11472         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11473         (int): Likewise.
11474         (typ): Likewise.
11475         Do not generate makefile rules for bounded-pointer thunks.
11476         * sysdeps/generic/bp-thunks.h: Remove file.
11477         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11478         * sysdeps/unix/s-proto-bp.S: Likewise.
11480         [BZ #15062]
11481         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11482         parts of result separately when argument is not close to line from
11483         -i to i and one part of argument is small.
11484         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11485         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11486         * math/libm-test.inc (cacos_test): Add more tests.
11487         (casin_test): Likewise.
11488         (casinh_test): Likewise.
11489         * sysdeps/i386/fpu/libm-test-ulps: Update.
11490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11492 2013-01-31  David S. Miller  <davem@davemloft.net>
11494         * po/de.po: Update from translation team.
11496 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
11498         * time/tzfile.c: Include stdint.h for SIZE_MAX.
11500 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
11502         * configure.in (_AC_PROG_CC_C89): New definition.
11503         * configure: Regenerate.
11505         * configure.in (AC_PROG_CPP): New definition.
11506         * configure: Regenerate.
11508 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11510         * debug/tst-backtrace.h: New file.
11511         * debug/tst-backtrace2.c: Include tst-backtrace.h.
11512         (ret): Remove variable.
11513         (x): Likewise.
11514         (FAIL): Remove macro.
11515         (NO_INLINE): Likewise.
11516         (fn1): Use match function instead of strstr.
11517         * debug/tst-backtrace3.c: Include tst-backtrace.h.
11518         (ret): Remove variable.
11519         (x): Likewise.
11520         (FAIL): Remove macro.
11521         (NO_INLINE): Likewise.
11522         (fn): Use match function instead of strstr.
11523         * debug/tst-backtrace4.c: Include tst-backtrace.h.
11524         (ret): Remove variable.
11525         (x): Likewise.
11526         (FAIL): Remove macro.
11527         (NO_INLINE): Likewise.
11528         (handle_signal): Use match function instead of strstr.
11529         * debug/tst-backtrace5.c: Include tst-backtrace.h.
11530         (ret): Remove variable.
11531         (x): Likewise.
11532         (FAIL): Remove macro.
11533         (NO_INLINE): Likewise.
11534         (handle_signal): Use match function instead of strstr.
11536 2013-01-23  Roland McGrath  <roland@hack.frob.com>
11538         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11540 2013-01-23  David S. Miller  <davem@davemloft.net>
11542         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11543         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11544         argument of CAS if possible.
11545         * sysdeps/sparc/sparc64/bits/atomic.h
11546         (__arch_compare_and_exchange_val_32_acq): Likewise.
11547         (__arch_compare_and_exchange_val_64_acq): Likewise.
11549 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
11551         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11552         * sysdeps/posix/ulimit.c: ... this.
11553         Include <limits.h>.
11554         * sysdeps/unix/bsd/ulimit.c: Remove file.
11556 2013-01-23  Adam Conrad  <adconrad@0c3.net>
11558         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11559         (LDFLAGS-tst-array5): Likewise.
11561 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11563         [BZ #15036]
11564         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11565         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11566         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11567         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11569 2013-01-21  David S. Miller  <davem@davemloft.net>
11571         * sysdeps/sparc/backtrace.c: New file.
11572         * sysdeps/sparc/sparc32/backtrace.h: New file.
11573         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11574         * sysdeps/sparc/sparc64/backtrace.h: New file.
11575         * sysdeps/sparc/sparc64/backtrace.c: Delete.
11576         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11577         -funwind-tables.
11579 2013-01-21  Andreas Schwab  <schwab@suse.de>
11581         [BZ #15020]
11582         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11583         closed its stdout.
11585 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
11587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11588         "mpa2.h".
11589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11591 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
11592             Mark Mitchell  <mark@codesourcery.com>
11593             Tom de Vries  <tom@codesourcery.com>
11594             Paul Pluzhnikov  <ppluzhnikov@google.com>
11596         * debug/tst-backtrace2.c: New file.
11597         * debug/tst-backtrace3.c: Likewise.
11598         * debug/tst-backtrace4.c: Likewise.
11599         * debug/tst-backtrace5.c: Likewise.
11600         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11601         (CFLAGS-tst-backtrace3.c): Likewise.
11602         (CFLAGS-tst-backtrace4.c): Likewise.
11603         (CFLAGS-tst-backtrace5.c): Likewise.
11604         (LDFLAGS-tst-backtrace2): Likewise.
11605         (LDFLAGS-tst-backtrace3): Likewise.
11606         (LDFLAGS-tst-backtrace4): Likewise.
11607         (LDFLAGS-tst-backtrace5): Likewise.
11608         (tests): Add new tests tst-backtrace2, tst-backtrace3,
11609         tst-backtrace4 and tst-backtrace5.
11611 2013-01-18  Anton Blanchard  <anton@samba.org>
11612             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11614         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11615         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11616         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11617         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11619         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11620         "+r" and remove output regs list as redundant.  Add explicit inline
11621         asm to specify register of return val to work around compiler codegen
11622         bug.  Remove (int) cast on return value.  Add return type parameter to
11623         use in macro so that this macro does not truncate return value for
11624         64-bit values.
11625         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11626         pass to INTERNAL_VSYSCALL_NCS.
11627         (INLINE_VSYSCALL): Add 'long int' as return type to
11628         INTERNAL_VSYSCALL_NCS macro invocation.
11629         (INTERNAL_VSYSCALL): Add 'long int' as return type to
11630         INTERNAL_VSYSCALL_NCS macro invocation.
11631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11633 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11635         [BZ #14496]
11636         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11637         Fix application of SIMD FP exception mask.
11639         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11640         mp_no from a power of two.
11641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11642         __mpexp_twomm1.  Use __pow_mp.
11644         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11645         multiplication.
11647 2013-01-17  David S. Miller  <davem@davemloft.net>
11649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11651 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11653         [BZ #15023]
11654         * include/complex.h: Condition contents on [!_COMPLEX_H].
11655         (__kernel_casinhf): New prototype.
11656         (__kernel_casinh): Likewise.
11657         (__kernel_casinhl): Likewise.
11658         * math/Makefile (libm_calls): Add k_casinh.
11659         * math/k_casinh.c: New file.
11660         * math/k_casinhf.c: Likewise.
11661         * math/k_casinhl.c: Likewise.
11662         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11663         finite nonzero arguments.
11664         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11665         finite nonzero arguments.
11666         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11667         finite nonzero arguments.
11668         * math/s_casinh.c: Do not include <float.h>.
11669         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11670         * math/s_casinhf.c: Do not include <float.h>.
11671         (__casinhf): Move code for finite nonzero arguments to
11672         k_casinhf.c.
11673         * math/s_casinhl.c: Do not include <float.h>.
11674         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11675         redefine.
11676         (__casinhl): Move code for finite nonzero arguments to
11677         k_casinhl.c.
11678         * math/libm-test.inc (cacos_test): Add more tests.
11679         * sysdeps/i386/fpu/libm-test-ulps: Update.
11680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11682 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
11684         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11685         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11686         [!HAVE_MREMAP]: Remove [defined linux] case.
11687         * malloc/arena.c: Do not include <malloc-sysdep.h>.
11689 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11691         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11693 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
11695         * elf/elf.h (R_386_SIZE32): New relocation.
11696         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11697         R_386_SIZE32.
11698         (elf_machine_rela): Likewise.
11699         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11700         R_X86_64_SIZE64 and R_X86_64_SIZE32.
11702 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11704         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11705         (FP_FAST_FMA): Do not define.
11706         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11707         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11708         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11709         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11710         !_SOFT_FLOAT]: Likewise.
11711         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11712         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11713         value.
11714         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11715         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11716         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11717         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11718         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11719         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11720         file.
11722 2013-01-16  Andreas Schwab  <schwab@suse.de>
11724         [BZ #14327]
11725         * include/stdlib.h (__mktemp): Add declaration.
11726         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11727         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11729 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11731         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11732         definitions.
11733         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11734         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11735         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11736         definitions here.
11737         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11738         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11739         definitions.
11740         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11741         and ONE.
11742         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11743         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11744         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11745         definitions.
11746         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11747         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11748         definitions.
11749         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11751         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11753 2013-01-15  David S. Miller  <davem@davemloft.net>
11755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11756         trunc{,f} to libm-sysdep_routes.
11757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11759         file.
11760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11762         file.
11763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11764         file.
11765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11767         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11768         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11769         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11770         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11771         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11772         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11775         nearbyint{,f} to libm-sysdep_routes.
11776         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11778         New file.
11779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11780         file.
11781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11782         New file.
11783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11784         file.
11785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11787         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11788         file.
11789         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11790         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11791         file.
11792         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11793         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11794         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11796         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11797         libc_feholdexcept and libc_fesetenv.
11799 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11801         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11803 2013-01-14  David S. Miller  <davem@davemloft.net>
11805         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11806         (SPARC_ASM_VIS2_IFUNC): Likewise.
11807         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11809         use of 'siam' instruction.
11810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11811         Likewise.
11812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11813         Likewise.
11814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11815         Likewise.
11816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11821         file.
11822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11823         file.
11824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11825         file.
11826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11827         file.
11828         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11829         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11830         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11831         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11833         new VIS2 routines.
11834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11837         Likewise.
11838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11843         routines to libm-sysdep_routines.
11844         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11847         fdim/fdimf to libm-sysdep_routines.
11848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11849         file.
11850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11852         file.
11853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11856         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11857         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11858         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11859         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11861 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11863         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11864         to optimize copies.
11866         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11871         local variable MPTWO.
11872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11873         Likewise.
11875 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11877         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11878         GLOB_NOESCAPE.
11880 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11882         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11884 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11886         * manual/pattern.texi (glob_t): Document gl_flags.
11887         (glob64_t): Likewise.
11889 2013-01-11  David S. Miller  <davem@davemloft.net>
11891         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11892         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11893         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11894         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11895         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11896         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11897         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11898         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11899         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11900         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11901         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11902         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11903         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11905         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11906         sparc V9 rather than using V8 code.
11907         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11908         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11910         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11911         Move to...
11912         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11913         Here.
11915 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11917         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11918         not in the main loop.
11919         * configure: Regenerated.
11921 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11923         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11924         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11925         to just #else.
11926         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11927         [!__GLIBC_HAVE_LONG_LONG] case.
11928         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11929         condition to just #else.
11930         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11931         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11932         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11933         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11934         unconditional.
11935         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11936         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11937         #elif condition to just #else.
11938         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11939         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11940         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11941         #elif condition to just #else.
11943 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11945         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11946         (EF_MIPS_ARCH_64): Fix value.
11947         (EF_MIPS_ARCH_32R2): New.
11948         (EF_MIPS_ARCH_64R2): New.
11950 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11952         * Makeconfig (+link-pie-before-libc): New.
11953         (+link-pie-after-libc): Likewise.
11954         (+link-pie-tests): Likewise.
11955         (+link-pie): Rewritten.
11956         (link-before-libc): Remove $(config-LDFLAGS).
11957         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11958         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11959         (config-LDFLAGS): Renamed to ...
11960         (rtld-LDFLAGS): This.
11961         (rtld-tests-LDFLAGS): New macro.
11962         (link-libc-rpath-link): Likewise.
11963         (link-libc-tests-rpath-link): Likewise.
11964         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11965         (link-libc): Prepand $(link-libc-rpath-link).
11966         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11967         (test-program-prefix): New macro.
11968         (test-via-rtld-prefix): Likewise.
11969         (test-program-cmd): Likewise.
11970         (host-test-program-cmd): Likewise.
11971         * Makefile ($(common-objpfx)testrun.sh): Replace
11972         $(run-program-prefix) with $(test-program-prefix).
11973         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11974         $(rtld-LDFLAGS).
11975         ($(common-objpfx)shlib.lds): Likewise.
11976         (build-module-helper): Likewise.
11977         ($(common-objpfx)format.lds): Likewise.
11978         * Rules (binaries-pie-tests): New.
11979         (binaries-pie-notests): Likewise.
11980         (binaries-pie): Rewritten.
11981         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11982         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11983         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11984         (make-test-out): Replace $(host-built-program-cmd) with
11985         $(host-test-program-cmd).
11986         * config.make.in (build-hardcoded-path-in-tests): New variable.
11987         * configure.in (--enable-hardcoded-path-in-tests): New configure
11988         option.
11989         (hardcoded_path_in_tests): New AC_SUBST.
11990         * configure: Regenerated.
11991         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11992         $(built-program-cmd) with $(test-program-cmd).
11993         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11994         (test_program_cmd): This.
11995         * elf/Makefile ($(objpfx)order.out): Run test with
11996         $(test-program-prefix).
11997         ($(objpfx)order2.out): Likewise.
11998         ($(objpfx)tst-initorder.out): Likewise.
11999         ($(objpfx)tst-initorder2.out): Likewise.
12000         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12001         $(test-program-cmd).
12002         ($(objpfx)tst-array1-static.out): Likewise.
12003         ($(objpfx)tst-array2.out): Likewise.
12004         ($(objpfx)tst-array3.out): Likewise.
12005         ($(objpfx)tst-array4.out): Likewise.
12006         ($(objpfx)tst-array5.out): Likewise.
12007         ($(objpfx)tst-array5-static.out): Likewise.
12008         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12009         $(test-program-cmd).
12010         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12011         $(run-program-prefix) with $(test-program-prefix).
12012         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12013         (test_program_prefix): This.
12014         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12015         $(run-program-prefix) with $(test-program-prefix).
12016         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12017         (test_program_prefix): This.
12018         * iconvdata/tst-tables.sh: Likewise.
12019         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12020         $(run-program-prefix) with $(test-program-prefix).
12021         ($(objpfx)tst-translit.out): Likewise.
12022         ($(objpfx)tst-gettext2.out): Likewise.
12023         ($(objpfx)tst-gettext4.out): Likewise.
12024         ($(objpfx)tst-gettext6.out): Likewise.
12025         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12026         (test_program_prefix): This.
12027         * intl/tst-gettext2.sh: Likewise.
12028         * intl/tst-gettext4.sh  Likewise.
12029         * intl/tst-gettext6.sh: Likewise.
12030         * intl/tst-translit.sh: Likewise.
12031         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12032         with $(test-program-cmd).
12033         * libio/Makefile ($(objpfx)test-freopen.out): Replace
12034         $(run-program-prefix) with $(test-program-prefix).
12035         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12036         (test_program_prefix): This.
12037         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12038         $(run-program-prefix) with $(test-program-prefix).
12039         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12040         (test_program_prefix): This.
12041         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12042         * posix/Makefile ($(objpfx)globtest.out): Replace
12043         $(run-via-rtld-prefix) and $(test-wrapper) with
12044         $(test-program-prefix) and $(test-via-rtld-prefix).
12045         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12046         $(test-program-prefix).
12047         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12048         $(host-test-program-cmd).
12049         (tst-spawn-ARGS): Likewise.
12050         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12051         $(test-program-prefix).
12052         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12053         (test_via_rtld_prefix): This.
12054         (test_wrapper): Renamed to ...
12055         (test_program_prefix): This.
12056         (run_program_prefix): Replaced by test_program_prefix.
12057         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12058         (test_program_prefix): This.
12059         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12060         with $(host-test-program-cmd).
12061         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12062         $(run-program-prefix) with $(test-program-prefix).
12063         ($(objpfx)tst-printf.out): Likewise.
12064         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12065         $(test-program-cmd).
12066         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12067         (test_program_prefix): This.
12068         * stdio-common/tst-unbputc.sh: Likewise.
12069         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12070         $(run-program-prefix) with $(test-program-prefix).
12071         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12072         (test_program_prefix): This.
12073         * string/Makefile ($(objpfx)tst-svc.out):  Replace
12074         $(built-program-cmd) with $(test-program-cmd).
12076 2013-01-11  Andreas Jaeger  <aj@suse.de>
12078         [BZ #15003]
12079         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12080         value. Sync with Linux 3.7.
12082 2013-01-10  David S. Miller  <davem@davemloft.net>
12084         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12085         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12086         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12088 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12090         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12091         never set.
12092         * configure: Regenerated.
12094 2013-01-10  David S. Miller  <davem@davemloft.net>
12096         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12097         sparc V9 rather than using V8 code.
12098         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12099         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12101 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12103         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12104         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12105         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12106         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12107         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12108         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12109         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12110         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12111         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12112         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12113         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12114         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12115         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12116         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12117         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12118         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12119         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12120         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12121         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12122         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12123         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12124         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12125         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12126         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12127         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12128         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12129         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12131 2013-01-10  David S. Miller  <davem@davemloft.net>
12133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12135 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12137         * posix/Makefile (tests-static): New variable.
12138         (tests): Add $(tests-static).
12139         (tst-exec-static-ARGS): New variable.
12140         (tst-spawn-static-ARGS): Likewise.
12141         * posix/tst-exec-static.c: New file.
12142         * posix/tst-spawn-static.c: Likewise.
12143         * posix/tst-exec.c: Support run directly.
12144         * posix/tst-spawn.c: Likewise.
12146 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
12148         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12149         long.
12150         * math/bits/mathcalls.h (llrint): Likewise.
12151         (llround): Likewise.
12152         * stdlib/stdlib.h (struct drand48_data): Likewise.
12153         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12154         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12155         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12156         Likewise.
12157         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12158         Likewise.
12159         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12160         (elf_greg_t): Likewise.
12161         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12162         (__jmp_buf): Likewise.
12163         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12164         definitions.
12165         (llrint): Likewise, for all definitions.
12166         (llrintl): Likewise.
12168         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12169         Remove [__GNUC__] condition.
12170         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12171         condition to just [__USE_ISOC99].
12172         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12174 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12176         [BZ #14200]
12177         * sysdeps/unix/sysv/linux/x86/bits/environments.h
12178         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12179         defined.
12180         (_POSIX_V6_ILP32_OFF32): Likewise.
12181         (_XBS5_ILP32_OFF32): Likewise.
12182         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12183         (__ILP32_OFFBIG_LDFLAGS): Likewise.
12185 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12187         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12190         doubles __mpexp_twomm1.  Adjust usage.
12191         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12192         Remove.
12194 2013-01-10  Andreas Schwab  <schwab@suse.de>
12196         [BZ #14964]
12197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12198         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12200 2013-01-09  David S. Miller  <davem@davemloft.net>
12202         [BZ #15003]
12203         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12204         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12205         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12206         TCP_FASTOPEN): Define.
12207         (tcp_repair_opt): New structure.
12208         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12209         enum values.
12210         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12211         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12212         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12213         (tcp_cookie_transactions): New structure.
12215 2013-01-09  Anton Blanchard  <anton@samba.org>
12217         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12218         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12219         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12220         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12222 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
12224         * include/features.h (__USE_ANSI): Remove.
12226 2013-01-09  Roland McGrath  <roland@hack.frob.com>
12228         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12230         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12232 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12234         * sysdeps/s390/fpu/libm-test-ulps: Update.
12236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12238         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12239         (__acr): Likewise.
12240         (__cpy): Likewise.
12241         (norm): Likewise.
12242         (denorm): Likewise.
12243         (__mp_dbl): Likewise.
12244         (__dbl_mp): Likewise.
12245         (add_magnitudes): Likewise.
12246         (sub_magnitudes): Likewise.
12247         (__add): Likewise.
12248         (__sub): Likewise.
12249         (__mul): Likewise.
12250         (__inv): Likewise.
12251         (__dvd): Likewise.
12252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12253         (__acr): Likewise.
12254         (__cpy): Likewise.
12255         (norm): Likewise.
12256         (denorm): Likewise.
12257         (__mp_dbl): Likewise.
12258         (__dbl_mp): Likewise.
12259         (add_magnitudes): Likewise.
12260         (sub_magnitudes): Likewise.
12261         (__add): Likewise.
12262         (__sub): Likewise.
12263         (__mul): Likewise.
12264         (__inv): Likewise.
12265         (__dvd): Likewise.
12266         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12267         (__acr): Likewise.
12268         (__cpy): Likewise.
12269         (norm): Likewise.
12270         (denorm): Likewise.
12271         (__mp_dbl): Likewise.
12272         (__dbl_mp): Likewise.
12273         (add_magnitudes): Likewise.
12274         (sub_magnitudes): Likewise.
12275         (__add): Likewise.
12276         (__sub): Likewise.
12277         (__mul): Likewise.
12278         (__inv): Likewise.
12279         (__dvd): Likewise.
12281 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
12283         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12284         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12285         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12286         2 && __USE_EXTERN_INLINES]: Likewise.
12288 2013-01-08  Andreas Jaeger  <aj@suse.de>
12290         [BZ# 14985]
12291         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12292         Remove.
12293         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12294         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12296 2013-01-07  Anton Blanchard  <anton@samba.org>
12298         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12299         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12300         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12301         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12302         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12303         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12304         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12305         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12307         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12308         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12309         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12310         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12311         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12312         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12313         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12314         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12315         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12316         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12317         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12318         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12319         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12320         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12321         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12322         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12323         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12324         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12325         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12326         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12327         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12328         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12329         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12330         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12331         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12332         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12333         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12334         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12335         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12336         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12337         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12338         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12339         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12340         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12342 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
12344         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12345         (__MALLOC_PMT): Likewise.
12346         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12347         [__GNUC__], only on [_LIBC].
12348         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12349         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12350         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12351         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12352         forward declaration.
12353         (realloc_hook_ini): Likewise.
12354         (memalign_hook_ini): Likewise.
12355         (__libc_memalign): Do not use __MALLOC_PMT in variable
12356         declaration.
12357         (__libc_valloc): Likewise.
12358         (__libc_pvalloc): Likewise.
12359         (__libc_calloc): Likewise.
12360         (__posix_memalign): Likewise.
12362         [BZ #14996]
12363         * math/s_casinh.c: Include <float.h>.
12364         (__casinh): Do not do computation with squaring and square root
12365         for large arguments.
12366         * math/s_casinhf.c: Include <float.h>.
12367         (__casinhf): Do not do computation with squaring and square root
12368         for large arguments.
12369         * math/s_casinhl.c: Include <float.h>.
12370         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12371         (__casinhl): Do not do computation with squaring and square root
12372         for large arguments.
12373         * math/libm-test.inc (casin_test): Add more tests.
12374         (casinh_test): Likewise.
12375         * sysdeps/i386/fpu/libm-test-ulps: Update.
12376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12378 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
12380         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12381         (__x86_64_raw_data_cache_size): Likewise.
12382         (__x86_64_data_cache_size_half): Likewise.
12383         (__x86_64_raw_data_cache_size_half): Likewise.
12384         (__x86_64_shared_cache_size): Likewise.
12385         (__x86_64_raw_shared_cache_size): Likewise.
12386         (__x86_64_shared_cache_size_half): Likewise.
12387         (__x86_64_raw_shared_cache_size_half): Likewise.
12388         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12389         to ...
12390         (__x86_data_cache_size): This.
12391         (__x86_64_raw_data_cache_size): Renamed to ...
12392         (__x86_raw_data_cache_size): This.
12393         (__x86_64_data_cache_size_half): Renamed to ...
12394         (__x86_data_cache_size_half): This.
12395         (__x86_64_raw_data_cache_size_half): Renamed to ...
12396         (__x86_raw_data_cache_size_half): This.
12397         (__x86_64_shared_cache_size): Renamed to ...
12398         (__x86_shared_cache_size): This.
12399         (__x86_64_raw_shared_cache_size): Renamed to ...
12400         (__x86_raw_shared_cache_size): This.
12401         (__x86_64_shared_cache_size_half): Renamed to ...
12402         (__x86_shared_cache_size_half): This.
12403         (__x86_64_raw_shared_cache_size_half): Renamed to ...
12404         (__x86_raw_shared_cache_size_half): This.
12405         * sysdeps/x86_64/memcpy.S: Updated.
12406         * sysdeps/x86_64/memset.S: Likewise.
12407         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12408         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12409         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12411 2013-01-04  David S. Miller  <davem@davemloft.net>
12413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12415 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
12417         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12418         1 to avoid redefinition warning.
12419         (__USE_GNU): Don't define.
12420         (init_signaling_nan): Protoize.
12422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12424 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12426         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12428         (__cpymn): Likewise.
12429         (norm): Remove commented code.
12430         (denorm): Likewise.
12431         (__mp_dbl): Likewise.
12432         (__inv): Likewise.
12433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12434         (__cpymn): Likewise.
12435         (norm): Remove commented code.
12436         (denorm): Likewise.
12437         (__mp_dbl): Likewise.
12438         (__inv): Likewise.
12440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12441         mp_no value for 1.0 and 2.0.
12442         (norm): Use RADIXI instead of radixi.d.
12443         (denorm): Likewise.
12444         (__mul): Use 0.0 instead of zero.d.
12445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12446         mp_no value for 1.0 and 2.0.
12447         (norm): Use RADIXI instead of radixi.d.
12448         (denorm): Likewise.
12449         (__mul): Use 0.0 instead of zero.d.
12451 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
12453         [BZ #14994]
12454         * math/s_casinh.c (__casinh): Reduce finite argument to first
12455         quadrant then set signs of results at the end.
12456         * math/s_casinhf.c (__casinhf): Likewise.
12457         * math/s_casinhl.c (__casinhl): Likewise.
12458         * math/libm-test.inc (casin_test): Add more tests.
12459         (casinh_test): Likewise.
12460         * sysdeps/i386/fpu/libm-test-ulps: Update.
12461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12463 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12465         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12467         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12469         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12470         declarations.
12471         (denorm): Likewise.
12472         (__mp_dbl): Likewise.
12473         (__inv): Likewise.
12475         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12476         and adjust the header comment.
12478         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12479         variable name from declaration.
12481 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
12483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12484         Initialize COMMON_CPUID_INDEX_7 element.
12485         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12486         (CPUID_RTM): Likewise.
12487         (HAS_RTM): Likewise.
12488         (COMMON_CPUID_INDEX_7): New enum.
12490 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
12492         [BZ #14981]
12493         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12494         size is zero, record memory as freed.
12496 2013-01-03  Andreas Jaeger  <aj@suse.de>
12498         * po/ia.po: Add new Interlingua translation.
12500 2012-01-03  Allan McRae  <allan@archlinux.org>
12502         * locale/programs/localedef.c: Fix description of '--posix' flag.
12504 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
12506         * NEWS: Update dates in second copyright notice.
12507         * README: Update copyright dates in example.
12508         * manual/libc.texinfo: Update copyright dates.
12509         * scripts/test-installation.pl: Update copyright date in --version
12510         output.
12512         * hurd/ctty-input.c: Fix copyright notice formatting.
12513         * hurd/ctty-output.c: Likewise.
12514         * hurd/dtable.c: Likewise.
12515         * hurd/hurd-raise.c: Likewise.
12516         * hurd/hurdprio.c: Likewise.
12517         * hurd/msgportdemux.c: Likewise.
12518         * misc/sys/file.h: Likewise.
12519         * misc/sys/ioctl.h: Likewise.
12520         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12521         * sysdeps/mach/hurd/chdir.c: Likewise.
12522         * sysdeps/mach/hurd/fchdir.c: Likewise.
12523         * sysdeps/mach/hurd/rename.c: Likewise.
12524         * sysdeps/mach/hurd/rmdir.c: Likewise.
12525         * sysdeps/mach/hurd/seekdir.c: Likewise.
12526         * sysdeps/mach/hurd/setsid.c: Likewise.
12527         * sysdeps/posix/wait3.c: Likewise.
12529         * All files with FSF copyright notices: Update copyright dates
12530         using scripts/update-copyrights.
12531         * intl/plural.c: Regenerated.
12532         * locale/programs/charmap-kw.h: Likewise.
12533         * locale/programs/locfile-kw.h: Likewise.
12535 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12537         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12538         four values.
12540         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12541         calculation loop and add branch prediction.
12543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12544         check access beyond bounds of m1np.
12546         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12547         MPTWO.
12548         (__inv): Remove local variable MPTWO to use the global
12549         constant.
12550         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12551         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12552         variable MPTWO.
12553         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12554         MP3HALFS static const.
12556 2013-01-01  David S. Miller  <davem@davemloft.net>
12558         * po/ca.po: Update from translation team.
12560 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
12562         * scripts/update-copyrights: New file.
12563         * Makeconfig: Reformat copyright notice.
12564         * ctype/ctype.h: Likewise.
12565         * debug/swprintf_chk.c: Likewise.
12566         * elf/dl-cache.c: Likewise.
12567         * elf/dl-debug.c: Likewise.
12568         * elf/dl-object.c: Likewise.
12569         * grp/initgroups.c: Likewise.
12570         * hurd/Makefile: Likewise.
12571         * hurd/hurd/signal.h: Likewise.
12572         * hurd/hurdfault.c: Likewise.
12573         * hurd/hurdioctl.c: Likewise.
12574         * hurd/hurdlookup.c: Likewise.
12575         * hurd/intr-msg.c: Likewise.
12576         * iconv/gconv_open.c: Likewise.
12577         * libio/swprintf.c: Likewise.
12578         * locale/lc-ctype.c: Likewise.
12579         * locale/nl_langinfo.c: Likewise.
12580         * mach/Machrules: Likewise.
12581         * mach/Makefile: Likewise.
12582         * malloc/obstack.h: Likewise.
12583         * manual/Makefile: Likewise.
12584         * manual/tsort.awk: Likewise.
12585         * misc/bits/stab.def: Likewise.
12586         * nis/nis_print_group_entry.c: Likewise.
12587         * nis/nis_table.c: Likewise.
12588         * nis/nss_compat/compat-pwd.c: Likewise.
12589         * nis/nss_compat/compat-spwd.c: Likewise.
12590         * po/Makefile: Likewise.
12591         * posix/fnmatch.c: Likewise.
12592         * posix/regex.h: Likewise.
12593         * resolv/Makefile: Likewise.
12594         * resolv/nss_dns/dns-network.c: Likewise.
12595         * resolv/res_hconf.c: Likewise.
12596         * scripts/gen-sorted.awk: Likewise.
12597         * soft-fp/soft-fp.h: Likewise.
12598         * stdio-common/printf.h: Likewise.
12599         * stdlib/monetary.h: Likewise.
12600         * stdlib/random.c: Likewise.
12601         * stdlib/random_r.c: Likewise.
12602         * sysdeps/generic/Makefile: Likewise.
12603         * sysdeps/gnu/Makefile: Likewise.
12604         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12606         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12607         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12608         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12611         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12612         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12613         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12614         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12615         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12616         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12617         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12618         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12619         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12620         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12621         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12622         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12624         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12625         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12626         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12627         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12628         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12629         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12630         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12631         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12632         * sysdeps/mach/hurd/errnos.awk: Likewise.
12633         * sysdeps/mach/hurd/fork.c: Likewise.
12634         * sysdeps/mach/hurd/getcwd.c: Likewise.
12635         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12636         * sysdeps/mach/hurd/mmap.c: Likewise.
12637         * sysdeps/mach/hurd/utimes.c: Likewise.
12638         * sysdeps/mach/hurd/xmknod.c: Likewise.
12639         * sysdeps/posix/profil.c: Likewise.
12640         * sysdeps/posix/readdir_r.c: Likewise.
12641         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12642         * sysdeps/powerpc/bits/setjmp.h: Likewise.
12643         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12644         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12646         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12647         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12648         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12650         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12651         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12652         * sysdeps/pthread/lio_listio.c: Likewise.
12653         * sysdeps/sparc/dl-procinfo.h: Likewise.
12654         * sysdeps/unix/i386/sysdep.S: Likewise.
12655         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12656         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12657         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12658         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12660         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12661         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12662         * sysdeps/unix/sysv/linux/speed.c: Likewise.
12663         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12664         * sysdeps/wordsize-32/divdi3.c: Likewise.
12665         * time/sys/time.h: Likewise.
12666         * wcsmbs/Makefile: Likewise.
12668 2013-01-01  David S. Miller  <davem@davemloft.net>
12670         * po/fr.po: Update from translation team.
12672         * catgets/gencat.c: Update copyright year.
12673         * csu/version.c: Likewise.
12674         * debug/catchsegv.sh: Likewise.
12675         * debug/pcprofiledump.c: Likewise.
12676         * debug/xtrace.sh: Likewise.
12677         * elf/ldconfig.c: Likewise.
12678         * elf/ldd.bash.in: Likewise.
12679         * elf/pldd.c: Likewise.
12680         * elf/sotruss.ksh: Likewise.
12681         * elf/sprof.c: Likewise.
12682         * iconv/iconv_prog.c: Likewise.
12683         * iconv/iconvconfig.c: Likewise.
12684         * locale/programs/locale.c: Likewise.
12685         * locale/programs/localedef.c: Likewise.
12686         * login/programs/pt_chown.c: Likewise.
12687         * malloc/memusage.sh: Likewise.
12688         * malloc/memusagestat.c: Likewise.
12689         * malloc/mtrace.pl: Likewise.
12690         * nscd/nscd.c: Likewise.
12691         * nss/getent.c: Likewise.
12692         * nss/makedb.c: Likewise.
12693         * posix/getconf.c: Likewise.
12695 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12697         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12698         numbers.
12700 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
12702         * math/bits/mathcalls.h (modf): Use __nonnull.
12704 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12706         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12707         (split): Use macro CN instead of the bare value.
12708         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12709         could be used.
12710         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12711         instead of the bare value.
12712         (power1): Likewise.
12714 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12716         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12717         __ATAN_TWOM.
12718         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12720         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12721         their values.
12722         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12723         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12724         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12725         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12727 2012-12-28  Andreas Jaeger  <aj@suse.de>
12729         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
12730         values are from Linux 3.7.
12732         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12733         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
12735 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12737         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12738         TRUE case.
12740         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12741         (norm): Likewise.
12742         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12743         variables with preprocessor constants.
12744         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12745         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12746         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12748 2012-12-27  Bruno Haible  <bruno@clisp.org>
12750         [BZ #14317]
12751         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12752         only if needed.
12754 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12757         and use variable directly.
12758         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12760         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12761         MPONE.
12762         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12763         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12764         variable MPONE.
12765         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12767         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12768         include directive.  Remove local variable MPONE.
12769         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12770         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12771         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12773 2012-12-25  David S. Miller  <davem@davemloft.net>
12775         * version.h (RELEASE): Set to "development".
12776         (VERSION): Set to "2.17.90".
12777         * NEWS: Add 2.18 section.
12779 2012-12-21  David S. Miller  <davem@davemloft.net>
12781         * po/hr.po: Update from translation team.
12783 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12785         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12787 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12789         * NEWS:  Mention new memcpy for MIPS.
12791 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12793         * manual/contrib.texi (Contributors): Spelling correction.
12795 2012-12-15  David S. Miller  <davem@davemloft.net>
12797         * po/ru.po: Update from translation team.
12799 2012-12-13  David S. Miller  <davem@davemloft.net>
12801         * NEWS: Mention IFUNC testsuite enhancements.
12803         * po/pl.po: Update from translation team.
12804         * po/bg.po: Likewise.
12806         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12807         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12809 2012-12-11  David S. Miller  <davem@davemloft.net>
12811         * po/sv.po: Update from translation team.
12813         * po/vi.po: Update from translation team.
12815         * po/cs.po: Update from translation team.
12817         * po/de.po: Update from translation team.
12818         * po/eo.po: Likewise.
12819         * po/nl.po: Likewise.
12821 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12823         [BZ #14246]
12824         * manual/argp.texi (Argp Helper Functions): Move node to follow
12825         Argp Parsing State.
12827         [BZ #14872]
12828         * manual/conf.texi (Limits on File System Capacity): Mention if
12829         terminating null is included in the max size.
12831 2012-12-10  Andreas Jaeger  <aj@suse.de>
12833         * po/cs.po: Update from translation team.
12835 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12837         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12838         void pointer and cast to uintptr_t.
12839         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12840         path.
12841         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12842         * sysdeps/s390/s390-64/memset.S: Likewise.
12844 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12846         [BZ #14833]
12847         * menual/message.texi (Message Translation): Fix typos.
12848         (Helper programs for gettext): Likewise.
12850 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12852         [BZ #14898]
12853         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12854         Change to -1.
12856 2012-12-07  David S. Miller  <davem@davemloft.net>
12858         * po/libc.pot: Update.
12860 2012-12-07  Richard Henderson  <rth@redhat.com>
12862         [BZ #10114]
12863         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12864         normal/normal case to before the switch.
12865         (_FP_DIV): Likewise.
12867 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12868             Mike Frysinger  <vapier@gentoo.org>
12870         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12871         check for __NR_fadvise64_64.
12873 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12875         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12876         0, not just to plain "0" as a statement.
12877         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12878         with cw.
12880 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12882         * NEWS: Use sourceware.org in Bugzilla URL.
12884 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12887         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12889         * stdio-common/tst-put-error.c (do_test): Add newline to the
12890         padded test to ensure flush.
12892 2012-12-05  Jeff Law  <law@redhat.com>
12894         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12896 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12898         * README: Don't refer to ports add-on as distributed separately.
12899         Mention AArch64 in list of systems supported in the ports add-on.
12901         * LICENSES: Add more non-FSF copyright and license notices.
12903         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12904         ((unused)).
12906         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12908         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12909         10000 as width of padded output.
12911 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12913         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12915         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12916         variable LX with __attribute__ ((unused)).
12917         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12918         Likewise.
12919         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12920         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12921         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12922         with __attribute__ ((unused)).
12924 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12926         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12928 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12930         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12931         (CFLAGS-nldbl-acos.c): New variable.
12932         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12933         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12934         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12935         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12936         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12937         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12938         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12939         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12940         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12941         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12942         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12943         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12944         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12945         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12946         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12947         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12948         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12949         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12950         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12951         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12952         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12953         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12954         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12955         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12956         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12957         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12958         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12959         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12960         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12961         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12962         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12963         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12964         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12965         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12966         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12967         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12968         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12969         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12970         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12971         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12972         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12973         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12974         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12975         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12976         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12977         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12978         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12979         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12980         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12981         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12982         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12983         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12984         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12985         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12986         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12987         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12988         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12989         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12990         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12991         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12992         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12993         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12994         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12995         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12996         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12997         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12998         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12999         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13000         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13001         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13002         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13003         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13004         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13005         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13006         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13007         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13008         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13009         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13010         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13011         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13012         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13013         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13014         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13015         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13016         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13017         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13018         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13019         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13020         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13021         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13022         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13023         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13024         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13025         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13026         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13027         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13028         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13031         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13033         [BZ #14914]
13034         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13035         whole low double instead of just low 47 bits when splitting values
13036         into two parts.
13038 2012-12-03  Allan McRae  <allan@archlinux.org>
13040         * manual/stdio.texi (Predefined Printf Handlers): Remove
13041         @hsep and @vsep usage.
13043 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
13045         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13046         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13048 2012-12-03  Jeff Law  <law@redhat.com>
13050         * time/sys/time.h (settimeofday): Do not mark TV argument
13051         as __nonnull.
13053 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
13055         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13056         when currently writing and seek to current position when not.
13057         * libio/Makefile (tests): Remove bug-fclose1.
13058         * libio/bug-fclose1.c: Delete.
13060 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
13062         * manual/arith.texi (feenableexcept): Fix typo.
13063         (fedisableexcept): Likewise.
13065 2012-11-30  Roland McGrath  <roland@hack.frob.com>
13067         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13068         second, differently-typed declaration, rather than a cast.
13070 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13072         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13073         * include/rpc/svc.h: ... here.
13075 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
13077         [BZ #13013]
13078         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13079         depending n and resplen2 to catch cases where answer
13080         equals answerp2.
13082 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
13084         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13085         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13087 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
13089         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13091 2012-11-29  Roland McGrath  <roland@hack.frob.com>
13093         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13095 2012-11-28  Jeff Law  <law@redhat.com>
13097         [BZ #13761]
13098         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13099         dataset_temporary.  Track alloca usage into alloca_used.
13100         If dataset is large allocate and release it via malloc/free.
13102 2012-06-04  Florian Weimer  <fweimer@redhat.com>
13104         [BZ #14197]
13105         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13107 2012-11-28  David S. Miller  <davem@davemloft.net>
13109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13111 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13113         [BZ #14803]
13114         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13115         of pi/2 rounded to nearest to 64 bits.
13116         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13117         nearest to 64 bits.
13118         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13119         bits.
13121 2012-11-28  Jeff Law <law@redhat.com>
13122             Martin Osvald <mosvald@redhat.com>
13124         [BZ #14889]
13125         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13126         * sunrpc/svc.c: Include time.h.
13127         (__svc_accept_failed): New function.
13128         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13129         any reason other than EINTR, call __svc_accept_failed.
13130         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13131         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13133 2012-11-28  Andreas Schwab  <schwab@suse.de>
13135         * scripts/abilist.awk: Also handle indirect functions in .opd
13136         section.
13138 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13140         [BZ #13881]
13141         * sysdeps/x86/fpu/powl_helper.c: New file.
13142         * sysdeps/x86/fpu/Makefile: Likewise.
13143         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13144         (p3): New object.
13145         (__ieee754_powl): Use __powl_helper for finite arguments except
13146         integer exponents below 8.
13147         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13148         (p3): New object.
13149         (__ieee754_powl): Use __powl_helper for finite arguments except
13150         integer exponents below 8.
13151         * math/libm-test.inc (pow_test): Add more tests and enable some
13152         previously disabled tests.
13153         * sysdeps/i386/fpu/libm-test-ulps: Update.
13154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13156 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13157             Carlos O'Donell  <carlos_odonell@mentor.com>
13159         * nss/makedb.c (is_prime): Assert that input is odd and greater
13160         than 4.  Note that fact in a comment too.
13161         (next_prime): Add 4 to input.
13163 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13165         [BZ #11741]
13166         * libio/Makefile (tests): Add test case tst-fwrite-error.
13167         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13168         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13169         * libio/tst-fwrite-error.c: New test case.
13171 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
13173         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13174         before casting to void *.
13175         * include/libc-internal.h (__pointer_type): New macro.
13176         (__integer_if_pointer_type_sub): Likewise.
13177         (__integer_if_pointer_type): Likewise.
13178         (cast_to_integer): Likewise.
13179         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13180         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13181         before casting to atomic64_t.
13182         (atomic_exchange_acq): Likewise.
13183         (__arch_exchange_and_add_body): Likewise.
13184         (__arch_add_body): Likewise.
13185         (atomic_add_negative): Likewise.
13186         (atomic_add_zero): Likewise.
13188 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
13190         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13191         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13192         (add_fdes): Likewise.
13193         (linear_search_fdes): Likewise.
13194         (binary_search_unencoded_fdes): Likewise.
13196 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
13198         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13200 2012-11-24  Adam Conrad  <adconrad@0c3.net>
13202         * configure.in: Autodetect C++ header directories.
13203         * configure: Regenerated.
13205 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
13207         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13209 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
13211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13213 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
13215         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13216         LDBL_MANT_DIG == 106]: Disable some tests.
13217         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13218         Likewise.
13219         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13220         Likewise.
13222         [BZ #14871]
13223         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13224         input for small inputs.  Return +/- pi/2 for large inputs.
13225         * math/libm-test.inc (atan_test): Add more tests.
13227         * sysdeps/generic/unwind-dw2-fde-glibc.c
13228         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13229         __attribute__ ((unused)).
13231         [BZ #14645]
13232         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13233         x * y if x and y are nonzero and z is zero.
13235         [BZ #14811]
13236         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13237         nonzero exponents with absolute value below 0x1p-117 to +/-
13238         0x1p-117.
13240         [BZ #14869]
13241         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13242         up arguments below 2**-450, not just those below 2**-500.
13243         * math/libm-test.inc (hypot_test): Add another test.
13245         [BZ #14868]
13246         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13247         Return a+b for ratio over 2**120, not 2**60.
13248         * math/libm-test.inc (hypot_test): Add another test.
13250         * math/libm-test.inc (clog_test): Use
13251         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13252         (clog10_test): Likewise.
13254         [BZ #6778]
13255         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13257 2012-11-22  Andreas Schwab  <schwab@suse.de>
13259         * sysdeps/i386/fpu/libm-test-ulps: Update.
13261 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
13263         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13264         printf output with newline.
13266 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
13268         [BZ #14865]
13269         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13270         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13271         -z nodlopen, -z initfirst and -z execstack support.
13272         * configure: Regenerated.
13274         * elf/elf.h (DF_1_NODIRECT): New macro.
13275         (DF_1_IGNMULDEF): Likewise.
13276         (DF_1_NOKSYMS): Likewise.
13277         (DF_1_NOHDR): Likewise.
13278         (DF_1_EDITED): Likewise.
13279         (DF_1_NORELOC): Likewise.
13280         (DF_1_SYMINTPOSE): Likewise.
13281         (DF_1_GLOBAUDIT): Likewise.
13282         (DF_1_SINGLETON): Likewise.
13283         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13284         DT_1_SUPPORTED_MASK bits.
13285         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13287 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
13289         * sysdeps/unix/make-syscalls.sh: Document prefixes.
13291 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
13293         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13294         macro.
13296         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13297         (sendmmsg): Move declarations...
13298         * socket/sys/socket.h: ... here.
13299         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13300         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13301         include it from...
13302         * socket/recvmmsg.c: ... this new file.
13303         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13304         (sendmmsg): Rename to __sendmmsg, create weak alias and make
13305         definition of __sendmmsg hidden.
13306         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13307         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13308         Move ENOSYS stub into and include it from...
13309         * socket/sendmmsg.c: ... this new file.
13310         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13311         (sysdep_routines): Move recvmmsg and sendmmsg...
13312         * socket/Makefile (routines): ... here.
13313         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13314         (GLIBC_PRIVATE): Add __sendmmsg.
13315         * include/sys/socket.h (__sendmmsg): Add declarations.
13316         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13317         sendmmsg.
13319 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
13321         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13322         variable I1 with __attribute__ ((unused)).
13323         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13325 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13327         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13328         DUMMY variables with __attribute__ ((unused)).
13330         * bits/byteswap.h: Include <bits/types.h>.
13331         (__bswap_64): Use __uint64_t instead of unsigned long long int.
13333 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13335         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13336         string_t.  Do not manually set errno.
13337         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13338         length with __strnlen.  Make sure to both set errno and return it on
13339         failure.
13341 2012-11-19  David S. Miller  <davem@davemloft.net>
13343         With help from Joseph Myers.
13344         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13345         very large arguments properly.
13346         * math/libm-test.inc (atan_test): New tests.
13347         (atan2_test): New tests.
13348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13351 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
13353         [BZ #14856]
13354         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13355         Define to 3.
13357         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13358         [POSIX] (EADDRNOTAVAIL): Likewise.
13359         [POSIX] (EAFNOSUPPORT): Likewise.
13360         [POSIX] (EALREADY): Likewise.
13361         [POSIX] (ECONNABORTED): Likewise.
13362         [POSIX] (ECONNREFUSED): Likewise.
13363         [POSIX] (ECONNRESET): Likewise.
13364         [POSIX] (EDESTADDRREQ): Likewise.
13365         [POSIX] (EDQUOT): Likewise.
13366         [POSIX] (EHOSTUNREACH): Likewise.
13367         [POSIX] (EIDRM): Likewise.
13368         [POSIX] (EISCONN): Likewise.
13369         [POSIX] (ELOOP): Likewise.
13370         [POSIX] (EMULTIHOP): Likewise.
13371         [POSIX] (ENETDOWN): Likewise.
13372         [POSIX] (ENETUNREACH): Likewise.
13373         [POSIX] (ENOBUFS): Likewise.
13374         [POSIX] (ENODATA): Likewise.
13375         [POSIX] (ENOLINK): Likewise.
13376         [POSIX] (ENOMSG): Likewise.
13377         [POSIX] (ENOPROTOOPT): Likewise.
13378         [POSIX] (ENOSR): Likewise.
13379         [POSIX] (ENOSTR): Likewise.
13380         [POSIX] (ENOTCONN): Likewise.
13381         [POSIX] (ENOTSOCK): Likewise.
13382         [POSIX] (EOPNOTSUPP): Likewise.
13383         [POSIX] (EOVERFLOW): Likewise.
13384         [POSIX] (EPROTO): Likewise.
13385         [POSIX] (EPROTONOSUPPORT): Likewise.
13386         [POSIX] (EPROTOTYPE): Likewise.
13387         [POSIX] (ESTALE): Likewise.
13388         [POSIX] (ETIME): Likewise.
13389         [POSIX] (ETXTBSY): Likewise.
13390         [POSIX] (EWOULDBLOCK): Likewise.
13391         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13392         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13393         [POSIX] (SEEK_CUR): Likewise.
13394         [POSIX] (SEEK_END): Likewise.
13395         [POSIX || UNIX98] (mode_t): Do not require.
13396         [POSIX] (off_t): Likewise.
13397         [POSIX] (pid_t): Likewise.
13398         [POSIX] (sys/stat.h): Do not allow header.
13399         [POSIX] (unistd.h): Likewise.
13400         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13401         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13402         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13403         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13404         require.
13405         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13406         sigevent): Specify elements.
13407         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13408         entry.
13409         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13410         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13412         * conform/data/cpio.h-data [POSIX]: Disable whole file.
13413         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13414         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13415         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13416         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13417         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13418         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13419         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13420         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13421         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13422         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13423         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13424         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13425         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13426         Likewise.
13427         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13428         Likewise.
13429         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13430         Likewise.
13431         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13432         Likewise.
13433         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13434         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13435         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13436         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13437         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13438         Specify lower bound on value.
13439         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13440         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13441         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13442         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13443         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13444         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13445         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13446         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13447         value.
13448         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13449         as optional.
13450         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13451         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13452         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13453         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13454         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13455         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13456         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13457         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13458         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13459         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13460         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13461         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13462         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13463         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13464         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13465         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13466         entry.
13467         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13468         optional.
13469         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13470         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13471         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13472         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13473         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13474         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13475         Likewise.
13476         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13477         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13478         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13479         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13480         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
13481         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13482         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13483         as optional.
13484         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13485         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13486         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13487         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13488         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13489         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13490         specify as optional.
13491         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13492         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13493         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13494         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13495         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13496         [XPG3] (NL_LANGMAX): Likewise.
13497         [POSIX || XPG3] (NL_MSGMAX): Likewise.
13498         [POSIX || XPG3] (NL_NMAX): Likewise.
13499         [POSIX || XPG3] (NL_SETMAX): Likewise.
13500         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13501         [XPG3] (NZERO): Likewise.
13502         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13503         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13504         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13505         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13506         (REG_ERANGE): Expect.
13507         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13508         optional-constant.
13509         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13510         Use (void) in prototype.
13511         [POSIX] (*_t): Allow.
13512         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13513         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13514         (WRDE_BADVAL): Expect.
13516         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13517         expect.
13518         [XPG3 || XPG4] (O_RSYNC): Likewise.
13519         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13520         Likewise.
13521         [XPG3 || XPG4] (pthread_sigmask): Likewise.
13522         [XPG3 || XPG4] (sigqueue): Likewise.
13523         [XPG3 || XPG4] (sigtimedwait): Likewise.
13524         [XPG3 || XPG4] (sigwaitinfo): Likewise.
13525         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13526         [XPG3 || XPG4] (vsnprintf): Likewise.
13527         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13528         Likewise.
13529         [XPG3 || XPG4] (blksize_t): Likewise.
13530         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13531         Likewise.
13532         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13533         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13534         [XPG3 || XPG4] (struct itimerspec): Likewise.
13535         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13536         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13537         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13538         [XPG3 || XPG4] (clockid_t): Likewise.
13539         [XPG3 || XPG4] (timer_t): Likewise.
13540         [XPG3 || XPG4] (clock_getres): Likewise.
13541         [XPG3 || XPG4] (clock_gettime): Likewise.
13542         [XPG3 || XPG4] (clock_settime): Likewise.
13543         [XPG3 || XPG4] (nanosleep): Likewise.
13544         [XPG3 || XPG4] (timer_create): Likewise.
13545         [XPG3 || XPG4] (timer_delete): Likewise.
13546         [XPG3 || XPG4] (timer_gettime): Likewise.
13547         [XPG3 || XPG4] (timer_getoverrun): Likewise.
13548         [XPG3 || XPG4] (timer_settime): Likewise.
13549         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13550         [XPG3 || XPG4] (getlogin_r): Likewise.
13551         [XPG3 || XPG4] (pread): Likewise.
13552         [XPG3 || XPG4] (pthread_atfork): Likewise.
13553         [XPG3 || XPG4] (pwrite): Likewise.
13555         [BZ #14835]
13556         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13557         <bits/siginfo.h>.
13559 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13561         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13562         finalizing MALLSTREAM.
13564         * sysdeps/mach/hurd/syncfs.c: New file.
13566 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13568         [BZ #14719]
13569         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13570         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13572         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13573         (_nss_dns_gethostbyname4_r): Likewise.
13574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13575         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13577 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
13579         [BZ #13763]
13580         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13582 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
13584         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13585         * elf/cache.c (print_entry): Print ",AArch64" for
13586         FLAG_AARCH64_LIB64
13588         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13589         * elf/cache.c (print_entry): Print ",hard-float" for
13590         FLAG_ARM_LIBHF.
13592 2012-11-18  David S. Miller  <davem@davemloft.net>
13594         With help from Joseph Myers.
13595         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13596         cutoff to 2**-13.
13597         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13598         cutoff to 2**-25.
13599         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13600         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13601         small.
13602         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13603         * math/libm-test.inc (y0_test): New tests.
13604         (y1_test): New tests.
13605         * sysdeps/i386/fpu/libm-test-ulps: Update.
13606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13609 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
13611         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13612         64-bit targets.
13613         * configure: Regenerated.
13615 2012-11-17  David S. Miller  <davem@davemloft.net>
13617         [BZ #14811]
13618         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13619         nonzero exponents with absolute value below 0x1p-128 to +/-
13620         0x1p-128.
13622 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
13624         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13626         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13628         * posix/getconf-speclist.c: New file.
13629         * posix/posix-envs.def: Likewise.
13630         * posix/confstr.c (START_ENV_GROUP): New macro.
13631         (END_ENV_GROUP): Likewise.
13632         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13633         (KNOWN_PRESENT_ENV_STRING): Likewise.
13634         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13635         (UNKNOWN_ENVIRONMENT): Likewise.
13636         (confstr): Include posix-envs.def instead of handling
13637         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13638         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13639         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13640         (END_ENV_GROUP): Likewise.
13641         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13642         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13643         (UNKNOWN_ENVIRONMENT): Likewise.
13644         (__sysconf): Include posix-envs.def instead of handling associated
13645         cases directly here.
13646         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13647         preprocessing getconf-speclist.c rather than running getconf or
13648         generating empty file.
13650 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
13652         * scripts/check-local-headers.sh: Ignore 'mach' headers.
13654 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
13656         [BZ #14672]
13657         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13659 2012-11-16  David S. Miller  <davem@davemloft.net>
13661         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13662         smaller than LDBL_EPSILON/2.0L, just return xm1.
13664 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
13666         * elf/tst-array1.c (init): Set constructor priority to 1000.
13667         (fini): Set destructor priority to 1000.
13668         * elf/tst-array2dep.c: Likewise.
13670 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13672         [BZ #11741]
13673         * libio/fileops.c (_IO_new_file_write): Correctly return error.
13674         (_IO_new_file_xsputn): Also return EOF if none of the input
13675         data was written when overflow failed.
13676         * libio/iopadn.c (_IO_padn): Likewise.
13677         * libio/iowpadn.c (_IO_wpadn): Likewise.
13678         * stdio-common/tst-put-error.c: Add copyright notice.
13679         (do_test): Add case for printing padded string.
13680         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13681         _IO_padn returned error.
13682         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13683         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13684         return EOF.
13686 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13688         * libio/libioP.h: Add comment note that the references to C++
13689         bits are now obsolete.
13691 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13693         * math/libm-test.inc (check_complex): Use asprintf.
13695 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
13697         * debug/pcprofiledump.c (print_version): Update copyright year.
13698         * malloc/memusagestat.c (print_version): Likewise.
13700 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13702         [BZ #14831]
13703         * elf/Makefile (tests): Add tst-audit8.
13704         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13705         ($(objpfx)tst-audit8.out): New target.
13706         (tst-audit8-ENV): New variable.
13707         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13708         audit if l_reloc_result is NULL.
13709         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13710         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13711         * elf/tst-audit8.c: New file.
13713 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13715         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13716         * misc/Makefile (CFLAGS-select.c): Define.
13717         * posix/Makefile (CFLAGS-pause.c): Define.
13719 2012-11-13  David S. Miller  <davem@davemloft.net>
13721         * crypt/Makefile: Move test targets after toplevel Rules
13722         inclusion.  Grab any necessary sysdep routines when linking.
13723         * crypt/md5.c (md5_process_block): Remove define, we will always
13724         name it __md5_process_block.
13725         (md5_finish_ctx): Update md5_process_block call.
13726         (md5_stream): Likewise.
13727         (md5_process_bytes): Likewise.
13728         (md5_process_block): Rename to __md5_process_block and move to ...
13729         * crypt/md5-block.c: ... here.
13730         * crypt/sha256.c (sha256_process_block): Move to ...
13731         * crypt/sha256-block.c: ... here.
13732         * crypt/sha512.c (sha512_process_block): Move to ...
13733         * crypt/sha512-block.c: ... here.
13734         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13735         path.
13736         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13737         * sysdeps/sparc/sparc64/multiarch/Makefile
13738         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13739         crypt subdir.
13740         (localedef-aux): Add md5 crypto assembler when in locale subdir.
13741         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13742         multiarch changes.
13743         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13744         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13745         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13746         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13747         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13748         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13749         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13750         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13751         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13752         file.
13753         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13754         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13755         file.
13756         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13758 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
13760         * timezone/tzselect.ksh: Update from tzcode git revision
13761         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13762         * timezone/zdump.c: Likewise.
13763         * timezone/zic.c: Likewise.
13764         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13765         in TZVERSION setting, not $(PKGVERSION).
13766         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13767         REPORT_BUGS_TO settings.
13769         [BZ #14838]
13770         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13771         macro.
13773 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13775         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13776         detection to immediately after _FP_ROUND().
13777         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13778         bits are 0.
13780 2012-11-11  David S. Miller  <davem@davemloft.net>
13782         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13783         inttypes.h
13784         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13785         __close rather than their public counterparts.
13787 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13789         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13790         file.
13791         [UNIX98] (sem_timedwait): Do not expect.
13792         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13793         [XPG4 || UNIX98] (sockatmark): Do not expect.
13794         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13795         (clock_getcpuclockid): Do not expect.
13796         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13797         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13798         Do not expect.
13799         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13800         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13801         [UNIX98] (vwscanf): Likewise.
13802         [UNIX98] (vswscanf): Likewise.
13804 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13806         * timezone/version.h: Remove file.
13807         * timezone/README: Do not refer to version.h.
13808         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13809         $(objpfx)version.h.
13810         ($(objpfx)zdump.o): Likewise.
13811         ($(objpfx)version.h): New target.
13813         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13814         2012i.
13815         * timezone/README: Don't mention modification to tzselect.ksh.
13816         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13817         work on unmodified tzselect.ksh.  Substitute version numbers in
13818         tzselect.ksh.
13820         * Makefile (format-me): Remove.
13821         (INSTALL): Adjust indentation.  Use commands directly instead of
13822         using $(format-me).
13824         * aclocal.m4 (ACX_PKGVERSION): New macro.
13825         (ACX_BUGURL): Likewise.
13826         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13827         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13828         (REPORT_BUGS_TO): Likewise.
13829         * configure: Regenerated.
13830         * config.h.in (PKGVERSION): New macro.
13831         (REPORT_BUGS_TO): Likewise.
13832         * config.make.in (PKGVERSION): New variable.
13833         (PKGVERSION_TEXI): Likewise.
13834         (REPORT_BUGS_TO): Likewise.
13835         (REPORT_BUGS_TEXI): Likewise.
13836         * Makefile (format-me): Use -I$(common-objpfx)manual.
13837         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13838         ($(common-objpfx)manual/%): New target.
13839         (manual/%): Remove target.
13840         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13841         (print_version): Use PKGVERSION.
13842         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13843         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13844         and REPORT_BUGS_TO.
13845         ($(objpfx)xtrace): Likewise.
13846         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13847         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13848         (print_version): Use PKGVERSION.
13849         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13850         (do_version): Use PKGVERSION.
13851         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13852         REPORT_BUGS_TO.
13853         (common-ldd-rewrite): Likewise.
13854         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13855         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13856         (print_version): Use PKGVERSION.
13857         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13858         * elf/pldd.c (argp_program_bug_address): Remove variable.
13859         (more_help): New function.
13860         (argp): Use more_help.
13861         (print_version): Use PKGVERSION.
13862         * elf/sln.c (main): Use PKGVERSION.
13863         (usage): Use REPORT_BUGS_TO.
13864         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13865         (top level): Use PKGVERSION.
13866         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13867         (print_version): Use PKGVERSION.
13868         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13869         (print_version): Use PKGVERSION.
13870         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13871         (print_version): Use PKGVERSION.
13872         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13873         (print_version): Use PKGVERSION.
13874         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13875         (print_version): Use PKGVERSION.
13876         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13877         (print_version): Use PKGVERSION.
13878         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13879         and BUGURL.
13880         ($(objpfx)memusage): Likewise.
13881         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13882         (do_version): Use PKGVERSION.
13883         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13884         (print_version): Use PKGVERSION.
13885         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13886         ($PKGVERSION): New variable.
13887         ($REPORT_BUGS_TO): Likewise.
13888         (usage): Use $REPORT_BUGS_TO.
13889         (top level): Use $PKGVERSION.
13890         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13891         ($(objpfx)pkgvers.texi): New rule.
13892         ($(objpfx)stamp-pkgvers): Likewise.
13893         * manual/install.texi: Include pkgvers.texi.
13894         (--with-pkgversion): Document new configure option.
13895         (--with-bugurl): Likewise.
13896         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13897         than necessarily for this particular distribution.  Use
13898         REPORT_BUGS_TO for where to report bugs.
13899         * INSTALL: Regenerated.
13900         * manual/libc.texinfo: Include pkgvers.texi.
13901         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13902         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13903         (print_version): Use PKGVERSION.
13904         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13905         (print_version): Use PKGVERSION.
13906         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13907         (print_version): Use PKGVERSION.
13908         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13909         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13910         macro.
13911         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13912         (print_version): Use PKGVERSION.
13913         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13914         (print_version): Use PKGVERSION.
13915         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13916         and PKGVERSION.
13918         * timezone/checktab.awk: Update from tzcode 2012i.
13919         * timezone/ialloc.c: Likewise.
13920         * timezone/private.h: Likewise.
13921         * timezone/scheck.c: Likewise.
13922         * timezone/tzfile.h: Likewise.
13923         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13924         (TZVERSION): Hardcode tzcode version number.
13925         * timezone/zdump.c: Update from tzcode 2012i.
13926         * timezone/zic.c: Likewise.
13927         * timezone/version.h: New file.
13928         * timezone/README: Describe version.h.  Update upstream location.
13930         [BZ #14824]
13931         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13932         (mktemp): Enable declaration.
13933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13934         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13936         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13937         Likewise.
13938         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13939         Likewise.
13940         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13941         Likewise.
13942         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13943         Likewise.
13944         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13945         Likewise.
13946         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13947         Likewise.
13949         [BZ #14821]
13950         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13951         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13952         for copies of such integer values.
13953         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13954         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13956 2012-11-09  Andreas Jaeger  <aj@suse.de>
13958         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13959         definitions and declarations that are provided by
13960         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13962 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13964         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13965         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13966         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13967         definition.
13969 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13971         * elf/elf.h: Update comment before AArch64 relocations.
13973 2012-11-07  David S. Miller  <davem@davemloft.net>
13975         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13976         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13977         (__start_context): Declare.
13978         (__makecontext_ret): Delete.
13979         (__makecontext): Hook up __start_context instead of
13980         __makecontext_ret.
13981         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13982         (sysdep_routines): Add __start_context when in stdlib.
13984 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13986         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13987         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13988         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13989         hardcoded "nm".
13990         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13991         (READELF): New variable.  Use it instead of hardcoded "readelf".
13993 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13995         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13996         * sysdeps/x86/Makefile: Here.
13997         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13998         * sysdeps/x86/tst-xmmymm.sh: This.
14000 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14002         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14003         expectations.
14004         [UNIX98] (pthread_barrier_t): Do not expect.
14005         [UNIX98] (pthread_barrierattr_t): Likewise.
14006         [UNIX98] (pthread_spinlock_t): Likewise.
14007         [UNIX98] (pthread_barrier_destroy): Likewise.
14008         [UNIX98] (pthread_barrier_init): Likewise.
14009         [UNIX98] (pthread_barrier_wait): Likewise.
14010         [UNIX98] (pthread_barrierattr_destroy): Likewise.
14011         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14012         [UNIX98] (pthread_barrierattr_init): Likewise.
14013         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14014         [UNIX98] (pthread_getcpuclockid): Likewise.
14015         [UNIX98] (pthread_mutex_timedlock): Likewise.
14016         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14017         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14018         [UNIX98] (pthread_sigmask): Likewise.
14019         [UNIX98] (pthread_spin_destroy): Likewise.
14020         [UNIX98] (pthread_spin_init): Likewise.
14021         [UNIX98] (pthread_spin_lock): Likewise.
14022         [UNIX98] (pthread_spin_trylock): Likewise.
14023         [UNIX98] (pthread_spin_unlock): Likewise.
14024         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14025         Do not expect.
14026         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14027         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14028         [XPG3 || XPG4] (pthread_cond_t): Likewise.
14029         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14030         [XPG3 || XPG4] (pthread_key_t): Likewise.
14031         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14032         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14033         [XPG3 || XPG4] (pthread_once_t): Likewise.
14034         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14035         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14036         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14037         [XPG3 || XPG4] (pthread_t): Likewise.
14039         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14040         not expect.
14041         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14043         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14044         Change function return type to int.
14046         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14047         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14048         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14049         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14050         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14051         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14052         [!POSIX] (posix_madvise): Likewise.
14053         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14054         && !UNIX98].
14055         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14056         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14057         (mode_t): Likewise.
14058         (posix_mem_offset): Likewise.
14059         (posix_typed_mem_get_info): Likewise.
14060         (posix_typed_mem_open): Likewise.
14062         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14063         Change condition to [XOPEN2K8].
14065         * conform/conformtest.pl: Preprocess allow-header data with -x c
14066         instead of from stdin.
14067         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14068         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14069         [C99-based standards] (cerfc): Likewise.
14070         [C99-based standards] (cexp2): Likewise.
14071         [C99-based standards] (cexpm1): Likewise.
14072         [C99-based standards] (clog10): Likewise.
14073         [C99-based standards] (clog1p): Likewise.
14074         [C99-based standards] (clog2): Likewise.
14075         [C99-based standards] (clgamma): Likewise.
14076         [C99-based standards] (ctgamma): Likewise.
14077         [C99-based standards] (cerff): Likewise.
14078         [C99-based standards] (cerfcf): Likewise.
14079         [C99-based standards] (cexp2f): Likewise.
14080         [C99-based standards] (cexpm1f): Likewise.
14081         [C99-based standards] (clog10f): Likewise.
14082         [C99-based standards] (clog1pf): Likewise.
14083         [C99-based standards] (clog2f): Likewise.
14084         [C99-based standards] (clgammaf): Likewise.
14085         [C99-based standards] (ctgammaf): Likewise.
14086         [C99-based standards] (cerfl): Likewise.
14087         [C99-based standards] (cerfcl): Likewise.
14088         [C99-based standards] (cexp2l): Likewise.
14089         [C99-based standards] (cexpm1l): Likewise.
14090         [C99-based standards] (clog10l): Likewise.
14091         [C99-based standards] (clog1pl): Likewise.
14092         [C99-based standards] (clog2l): Likewise.
14093         [C99-based standards] (clgammal): Likewise.
14094         [C99-based standards] (ctgammal): Likewise.
14095         * conform/data/inttypes.h-data [C99-based standards]: Include
14096         stdint.h-data.  Remove all expectations for stdint.h contents.
14097         [C99-based standards] (PRI*): Do not allow.
14098         [C99-based standards] (SCN*): Likewise.
14099         [C99-based standards] (*_t): Likewise.
14100         [C99-based-standards] (PRId8): Expect macro.
14101         [C99-based-standards] (PRIi8): Likewise.
14102         [C99-based-standards] (PRIo8): Likewise.
14103         [C99-based-standards] (PRIu8): Likewise.
14104         [C99-based-standards] (PRIx8): Likewise.
14105         [C99-based-standards] (PRIX8): Likewise.
14106         [C99-based-standards] (SCNd8): Likewise.
14107         [C99-based-standards] (SCNi8): Likewise.
14108         [C99-based-standards] (SCNo8): Likewise.
14109         [C99-based-standards] (SCNu8): Likewise.
14110         [C99-based-standards] (SCNx8): Likewise.
14111         [C99-based-standards] (PRIdLEAST8): Likewise.
14112         [C99-based-standards] (PRIiLEAST8): Likewise.
14113         [C99-based-standards] (PRIoLEAST8): Likewise.
14114         [C99-based-standards] (PRIuLEAST8): Likewise.
14115         [C99-based-standards] (PRIxLEAST8): Likewise.
14116         [C99-based-standards] (PRIXLEAST8): Likewise.
14117         [C99-based-standards] (SCNdLEAST8): Likewise.
14118         [C99-based-standards] (SCNiLEAST8): Likewise.
14119         [C99-based-standards] (SCNoLEAST8): Likewise.
14120         [C99-based-standards] (SCNuLEAST8): Likewise.
14121         [C99-based-standards] (SCNxLEAST8): Likewise.
14122         [C99-based-standards] (PRIdFAST8): Likewise.
14123         [C99-based-standards] (PRIiFAST8): Likewise.
14124         [C99-based-standards] (PRIoFAST8): Likewise.
14125         [C99-based-standards] (PRIuFAST8): Likewise.
14126         [C99-based-standards] (PRIxFAST8): Likewise.
14127         [C99-based-standards] (PRIXFAST8): Likewise.
14128         [C99-based-standards] (SCNdFAST8): Likewise.
14129         [C99-based-standards] (SCNiFAST8): Likewise.
14130         [C99-based-standards] (SCNoFAST8): Likewise.
14131         [C99-based-standards] (SCNuFAST8): Likewise.
14132         [C99-based-standards] (SCNxFAST8): Likewise.
14133         [C99-based-standards] (PRId16): Likewise.
14134         [C99-based-standards] (PRIi16): Likewise.
14135         [C99-based-standards] (PRIo16): Likewise.
14136         [C99-based-standards] (PRIu16): Likewise.
14137         [C99-based-standards] (PRIx16): Likewise.
14138         [C99-based-standards] (PRIX16): Likewise.
14139         [C99-based-standards] (SCNd16): Likewise.
14140         [C99-based-standards] (SCNi16): Likewise.
14141         [C99-based-standards] (SCNo16): Likewise.
14142         [C99-based-standards] (SCNu16): Likewise.
14143         [C99-based-standards] (SCNx16): Likewise.
14144         [C99-based-standards] (PRIdLEAST16): Likewise.
14145         [C99-based-standards] (PRIiLEAST16): Likewise.
14146         [C99-based-standards] (PRIoLEAST16): Likewise.
14147         [C99-based-standards] (PRIuLEAST16): Likewise.
14148         [C99-based-standards] (PRIxLEAST16): Likewise.
14149         [C99-based-standards] (PRIXLEAST16): Likewise.
14150         [C99-based-standards] (SCNdLEAST16): Likewise.
14151         [C99-based-standards] (SCNiLEAST16): Likewise.
14152         [C99-based-standards] (SCNoLEAST16): Likewise.
14153         [C99-based-standards] (SCNuLEAST16): Likewise.
14154         [C99-based-standards] (SCNxLEAST16): Likewise.
14155         [C99-based-standards] (PRIdFAST16): Likewise.
14156         [C99-based-standards] (PRIiFAST16): Likewise.
14157         [C99-based-standards] (PRIoFAST16): Likewise.
14158         [C99-based-standards] (PRIuFAST16): Likewise.
14159         [C99-based-standards] (PRIxFAST16): Likewise.
14160         [C99-based-standards] (PRIXFAST16): Likewise.
14161         [C99-based-standards] (SCNdFAST16): Likewise.
14162         [C99-based-standards] (SCNiFAST16): Likewise.
14163         [C99-based-standards] (SCNoFAST16): Likewise.
14164         [C99-based-standards] (SCNuFAST16): Likewise.
14165         [C99-based-standards] (SCNxFAST16): Likewise.
14166         [C99-based-standards] (PRId32): Likewise.
14167         [C99-based-standards] (PRIi32): Likewise.
14168         [C99-based-standards] (PRIo32): Likewise.
14169         [C99-based-standards] (PRIu32): Likewise.
14170         [C99-based-standards] (PRIx32): Likewise.
14171         [C99-based-standards] (PRIX32): Likewise.
14172         [C99-based-standards] (SCNd32): Likewise.
14173         [C99-based-standards] (SCNi32): Likewise.
14174         [C99-based-standards] (SCNo32): Likewise.
14175         [C99-based-standards] (SCNu32): Likewise.
14176         [C99-based-standards] (SCNx32): Likewise.
14177         [C99-based-standards] (PRIdLEAST32): Likewise.
14178         [C99-based-standards] (PRIiLEAST32): Likewise.
14179         [C99-based-standards] (PRIoLEAST32): Likewise.
14180         [C99-based-standards] (PRIuLEAST32): Likewise.
14181         [C99-based-standards] (PRIxLEAST32): Likewise.
14182         [C99-based-standards] (PRIXLEAST32): Likewise.
14183         [C99-based-standards] (SCNdLEAST32): Likewise.
14184         [C99-based-standards] (SCNiLEAST32): Likewise.
14185         [C99-based-standards] (SCNoLEAST32): Likewise.
14186         [C99-based-standards] (SCNuLEAST32): Likewise.
14187         [C99-based-standards] (SCNxLEAST32): Likewise.
14188         [C99-based-standards] (PRIdFAST32): Likewise.
14189         [C99-based-standards] (PRIiFAST32): Likewise.
14190         [C99-based-standards] (PRIoFAST32): Likewise.
14191         [C99-based-standards] (PRIuFAST32): Likewise.
14192         [C99-based-standards] (PRIxFAST32): Likewise.
14193         [C99-based-standards] (PRIXFAST32): Likewise.
14194         [C99-based-standards] (SCNdFAST32): Likewise.
14195         [C99-based-standards] (SCNiFAST32): Likewise.
14196         [C99-based-standards] (SCNoFAST32): Likewise.
14197         [C99-based-standards] (SCNuFAST32): Likewise.
14198         [C99-based-standards] (SCNxFAST32): Likewise.
14199         [C99-based-standards] (PRId64): Likewise.
14200         [C99-based-standards] (PRIi64): Likewise.
14201         [C99-based-standards] (PRIo64): Likewise.
14202         [C99-based-standards] (PRIu64): Likewise.
14203         [C99-based-standards] (PRIx64): Likewise.
14204         [C99-based-standards] (PRIX64): Likewise.
14205         [C99-based-standards] (SCNd64): Likewise.
14206         [C99-based-standards] (SCNi64): Likewise.
14207         [C99-based-standards] (SCNo64): Likewise.
14208         [C99-based-standards] (SCNu64): Likewise.
14209         [C99-based-standards] (SCNx64): Likewise.
14210         [C99-based-standards] (PRIdLEAST64): Likewise.
14211         [C99-based-standards] (PRIiLEAST64): Likewise.
14212         [C99-based-standards] (PRIoLEAST64): Likewise.
14213         [C99-based-standards] (PRIuLEAST64): Likewise.
14214         [C99-based-standards] (PRIxLEAST64): Likewise.
14215         [C99-based-standards] (PRIXLEAST64): Likewise.
14216         [C99-based-standards] (SCNdLEAST64): Likewise.
14217         [C99-based-standards] (SCNiLEAST64): Likewise.
14218         [C99-based-standards] (SCNoLEAST64): Likewise.
14219         [C99-based-standards] (SCNuLEAST64): Likewise.
14220         [C99-based-standards] (SCNxLEAST64): Likewise.
14221         [C99-based-standards] (PRIdFAST64): Likewise.
14222         [C99-based-standards] (PRIiFAST64): Likewise.
14223         [C99-based-standards] (PRIoFAST64): Likewise.
14224         [C99-based-standards] (PRIuFAST64): Likewise.
14225         [C99-based-standards] (PRIxFAST64): Likewise.
14226         [C99-based-standards] (PRIXFAST64): Likewise.
14227         [C99-based-standards] (SCNdFAST64): Likewise.
14228         [C99-based-standards] (SCNiFAST64): Likewise.
14229         [C99-based-standards] (SCNoFAST64): Likewise.
14230         [C99-based-standards] (SCNuFAST64): Likewise.
14231         [C99-based-standards] (SCNxFAST64): Likewise.
14232         [C99-based-standards] (PRIdMAX): Likewise.
14233         [C99-based-standards] (PRIiMAX): Likewise.
14234         [C99-based-standards] (PRIoMAX): Likewise.
14235         [C99-based-standards] (PRIuMAX): Likewise.
14236         [C99-based-standards] (PRIxMAX): Likewise.
14237         [C99-based-standards] (PRIXMAX): Likewise.
14238         [C99-based-standards] (SCNdMAX): Likewise.
14239         [C99-based-standards] (SCNiMAX): Likewise.
14240         [C99-based-standards] (SCNoMAX): Likewise.
14241         [C99-based-standards] (SCNuMAX): Likewise.
14242         [C99-based-standards] (SCNxMAX): Likewise.
14243         [C99-based-standards] (PRIdPTR): Likewise.
14244         [C99-based-standards] (PRIiPTR): Likewise.
14245         [C99-based-standards] (PRIoPTR): Likewise.
14246         [C99-based-standards] (PRIuPTR): Likewise.
14247         [C99-based-standards] (PRIxPTR): Likewise.
14248         [C99-based-standards] (PRIXPTR): Likewise.
14249         [C99-based-standards] (SCNdPTR): Likewise.
14250         [C99-based-standards] (SCNiPTR): Likewise.
14251         [C99-based-standards] (SCNoPTR): Likewise.
14252         [C99-based-standards] (SCNuPTR): Likewise.
14253         [C99-based-standards] (SCNxPTR): Likewise.
14254         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14255         allow.
14256         * conform/data/stdint.h-data: Update comments to clarify
14257         requirements.
14258         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
14259         type.
14260         [C99-based standards] (INT8_MAX): Likewise.
14261         [C99-based standards] (INT16_MIN): Likewise.
14262         [C99-based standards] (INT16_MAX): Likewise.
14263         [C99-based standards] (INT32_MIN): Likewise.
14264         [C99-based standards] (INT32_MAX): Likewise.
14265         [C99-based standards] (INT64_MIN): Likewise.
14266         [C99-based standards] (INT64_MAX): Likewise.
14267         [C99-based standards] (UINT8_MAX): Likewise.
14268         [C99-based standards] (UINT16_MAX): Likewise.
14269         [C99-based standards] (UINT32_MAX): Likewise.
14270         [C99-based standards] (UINT64_MAX): Likewise.
14271         [C99-based standards] (INT_LEAST8_MIN): Likewise.
14272         [C99-based standards] (INT_LEAST8_MAX): Likewise.
14273         [C99-based standards] (INT_LEAST16_MIN): Likewise.
14274         [C99-based standards] (INT_LEAST16_MAX): Likewise.
14275         [C99-based standards] (INT_LEAST32_MIN): Likewise.
14276         [C99-based standards] (INT_LEAST32_MAX): Likewise.
14277         [C99-based standards] (INT_LEAST64_MIN): Likewise.
14278         [C99-based standards] (INT_LEAST64_MAX): Likewise.
14279         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14280         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14281         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14282         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14283         [C99-based standards] (INT_FAST8_MIN): Likewise.
14284         [C99-based standards] (INT_FAST8_MAX): Likewise.
14285         [C99-based standards] (INT_FAST16_MIN): Likewise.
14286         [C99-based standards] (INT_FAST16_MAX): Likewise.
14287         [C99-based standards] (INT_FAST32_MIN): Likewise.
14288         [C99-based standards] (INT_FAST32_MAX): Likewise.
14289         [C99-based standards] (INT_FAST64_MIN): Likewise.
14290         [C99-based standards] (INT_FAST64_MAX): Likewise.
14291         [C99-based standards] (UINT_FAST8_MAX): Likewise.
14292         [C99-based standards] (UINT_FAST16_MAX): Likewise.
14293         [C99-based standards] (UINT_FAST32_MAX): Likewise.
14294         [C99-based standards] (UINT_FAST64_MAX): Likewise.
14295         [C99-based standards] (INTPTR_MIN): Likewise.
14296         [C99-based standards] (INTPTR_MAX): Likewise.
14297         [C99-based standards] (UINTPTR_MAX): Likewise.
14298         [C99-based standards] (INTMAX_MIN): Likewise.
14299         [C99-based standards] (INTMAX_MAX): Likewise.
14300         [C99-based standards] (UINTMAX_MAX): Likewise.
14301         [C99-based standards] (PTRDIFF_MIN): Likewise.
14302         [C99-based standards] (PTRDIFF_MAX): Likewise.
14303         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14304         [C99-based standards] (SIZE_MAX): Likewise.
14305         [C99-based standards] (WCHAR_MAX): Likewise.
14306         [C99-based standards] (WINT_MAX): Likewise.
14307         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
14308         constraint on value.
14309         [C99-based standards] (WCHAR_MIN): Likewise.
14310         [C99-based standards] (WINT_MIN): Likewise.
14311         [C99-based standards] (*_t): Allow.
14312         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14313         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14314         Include math.h-data and complex.h-data.  Remove all expectations
14315         of math.h and complex.h contents.
14316         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14317         at end of line.
14318         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14319         (struct tm): Expect tag.
14320         [C99-based-standards] (wcstof): Expect function.
14321         [C99-based-standards] (wcstold): Likewise.
14322         [C99-based-standards] (wcstoll): Likewise.
14323         [C99-based-standards] (wcstoull): Likewise.
14324         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14325         macro-int-constant.  Specify type.
14326         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
14327         constraint on value.
14328         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14329         Specify type.
14330         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14331         Specify value.
14332         [ISO C standards]: Do not allow headers.
14333         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14334         wcs[abcdefghijklmnopqrstuvwxyz]*.
14335         [ISO C standards] (*_t): Do not allow.
14336         * conform/data/wctype.h-data [C99-based standards] (iswblank):
14337         Expect function.
14338         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14339         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14340         Specify type.
14341         [ISO C standards]: Do not allow headers.
14342         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14343         is[abcdefghijklmnopqrstuvwxyz]*.
14344         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14345         to[abcdefghijklmnopqrstuvwxyz]*.
14346         [ISO C standards] (*_t): Do not allow.
14347         * conform/data/stdalign.h-data: New file.
14348         * conform/data/stdbool.h-data: Likewise.
14349         * conform/data/stdnoreturn.h-data: Likewise.
14351 2012-11-07  Roland McGrath  <roland@hack.frob.com>
14353         [BZ #14815]
14354         * manual/filesys.texi (Directory Entries): Typo fix.
14355         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14357 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14359         * elf/elf.h (EM_AARCH64): New macro.
14360         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14361         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14362         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14363         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14364         (R_AARCH64_TLSDESC): Likewise.
14365         (NT_ARM_TLS): Likewise.
14366         (NT_ARM_HW_BREAK): Likewise.
14367         (NT_ARM_HW_WATCH): Likewise.
14369 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14371         [BZ #14811]
14372         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14373         (__ieee754_powl): Saturate nonzero exponents with absolute value
14374         below 0x1p-79 to +/- 0x1p-79.
14375         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14376         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14377         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14378         nonzero exponents with absolute value below 0x1p-32 to +/-
14379         0x1p-32.
14380         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14381         (__ieee754_powl): Saturate nonzero exponents with absolute value
14382         below 0x1p-79 to +/- 0x1p-79.
14383         * math/libm-test.inc (pow_test): Add more tests.
14385 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14387         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14388         _dl_s390_cap_flags with kernel. Increase string length.
14389         (_dl_s390_platforms): Add z196 and zEC12.
14391 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14393         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14394         Change XOPEN21K to XOPEN2K.
14396 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
14398         * string/memmove.c: Use memcpy when possible.
14400 2012-11-06  Andreas Jaeger  <aj@suse.de>
14402         * po/eo.po: Update from translation team.
14404 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
14406         [BZ #14793]
14407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14408         exponent and small x and y exponents, scale x or y up.  Increase
14409         by 2 the exponent used in scaling up.
14410         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14411         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14412         * math/libm-test.inc (fma_test): Add more tests.
14413         (fma_test_towardzero): Likewise.
14414         (fma_test_downward): Likewise.
14415         (fma_test_upward): Likewise.
14417 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
14419         [BZ #14805]
14420         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14421         fenv_t *.
14423         [BZ #14801]
14424         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14425         namespace for names of struct fields.
14426         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14427         fenv_t fields.
14428         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14429         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14431 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14433         [BZ #3665]
14434         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14436 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14438         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14439         PTR_DEMANGLE.
14441         [BZ #5246]
14442         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14443         PTR_DEMANGLE.
14445 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
14447         [BZ #14797]
14448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14449         definitely overflow as x * y not x * y + z.
14450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14452         * math/libm-test.inc (fma_test): Add more tests.
14453         (fma_test_towardzero): Likewise.
14454         (fma_test_downward): Likewise.
14455         (fma_test_upward): Likewise.
14457 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14459         [BZ #157]
14461         * include/stub-tag.h: Remove file.
14462         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14463         '#include' of it.
14464         * manual/maint.texi (Porting): Don't reference it.
14465         * Makerules ($(objpfx)stubs): Likewise.
14466         * dirent/closedir.c: Don't include <stub-tag.h>.
14467         * dirent/dirfd.c: Likewise.
14468         * dirent/fdopendir.c: Likewise.
14469         * dirent/getdents.c: Likewise.
14470         * dirent/getdents64.c: Likewise.
14471         * dirent/opendir.c: Likewise.
14472         * dirent/readdir.c: Likewise.
14473         * dirent/readdir64.c: Likewise.
14474         * dirent/readdir64_r.c: Likewise.
14475         * dirent/readdir_r.c: Likewise.
14476         * dirent/rewinddir.c: Likewise.
14477         * dirent/seekdir.c: Likewise.
14478         * dirent/telldir.c: Likewise.
14479         * gmon/profil.c: Likewise.
14480         * grp/setgroups.c: Likewise.
14481         * inet/if_index.c: Likewise.
14482         * io/access.c: Likewise.
14483         * io/chdir.c: Likewise.
14484         * io/chmod.c: Likewise.
14485         * io/chown.c: Likewise.
14486         * io/close.c: Likewise.
14487         * io/dup.c: Likewise.
14488         * io/dup2.c: Likewise.
14489         * io/dup3.c: Likewise.
14490         * io/euidaccess.c: Likewise.
14491         * io/faccessat.c: Likewise.
14492         * io/fchdir.c: Likewise.
14493         * io/fchmod.c: Likewise.
14494         * io/fchmodat.c: Likewise.
14495         * io/fchown.c: Likewise.
14496         * io/fchownat.c: Likewise.
14497         * io/fcntl.c: Likewise.
14498         * io/flock.c: Likewise.
14499         * io/fstatfs.c: Likewise.
14500         * io/fstatfs64.c: Likewise.
14501         * io/fstatvfs.c: Likewise.
14502         * io/fstatvfs64.c: Likewise.
14503         * io/futimens.c: Likewise.
14504         * io/fxstat.c: Likewise.
14505         * io/fxstat64.c: Likewise.
14506         * io/fxstatat.c: Likewise.
14507         * io/fxstatat64.c: Likewise.
14508         * io/getcwd.c: Likewise.
14509         * io/isatty.c: Likewise.
14510         * io/lchmod.c: Likewise.
14511         * io/lchown.c: Likewise.
14512         * io/link.c: Likewise.
14513         * io/linkat.c: Likewise.
14514         * io/lseek.c: Likewise.
14515         * io/lseek64.c: Likewise.
14516         * io/lxstat64.c: Likewise.
14517         * io/mkdir.c: Likewise.
14518         * io/mkdirat.c: Likewise.
14519         * io/mkfifo.c: Likewise.
14520         * io/mkfifoat.c: Likewise.
14521         * io/open.c: Likewise.
14522         * io/open64.c: Likewise.
14523         * io/openat.c: Likewise.
14524         * io/openat64.c: Likewise.
14525         * io/pipe.c: Likewise.
14526         * io/pipe2.c: Likewise.
14527         * io/poll.c: Likewise.
14528         * io/posix_fadvise.c: Likewise.
14529         * io/posix_fadvise64.c: Likewise.
14530         * io/posix_fallocate.c: Likewise.
14531         * io/posix_fallocate64.c: Likewise.
14532         * io/read.c: Likewise.
14533         * io/readlink.c: Likewise.
14534         * io/readlinkat.c: Likewise.
14535         * io/rmdir.c: Likewise.
14536         * io/sendfile.c: Likewise.
14537         * io/sendfile64.c: Likewise.
14538         * io/statfs.c: Likewise.
14539         * io/statfs64.c: Likewise.
14540         * io/statvfs.c: Likewise.
14541         * io/statvfs64.c: Likewise.
14542         * io/symlink.c: Likewise.
14543         * io/symlinkat.c: Likewise.
14544         * io/ttyname.c: Likewise.
14545         * io/ttyname_r.c: Likewise.
14546         * io/umask.c: Likewise.
14547         * io/unlink.c: Likewise.
14548         * io/unlinkat.c: Likewise.
14549         * io/utime.c: Likewise.
14550         * io/utimensat.c: Likewise.
14551         * io/write.c: Likewise.
14552         * io/xmknod.c: Likewise.
14553         * io/xmknodat.c: Likewise.
14554         * io/xstat.c: Likewise.
14555         * io/xstat64.c: Likewise.
14556         * login/getpt.c: Likewise.
14557         * login/grantpt.c: Likewise.
14558         * login/unlockpt.c: Likewise.
14559         * math/e_acoshl.c: Likewise.
14560         * math/e_acosl.c: Likewise.
14561         * math/e_asinl.c: Likewise.
14562         * math/e_atan2l.c: Likewise.
14563         * math/e_atanhl.c: Likewise.
14564         * math/e_coshl.c: Likewise.
14565         * math/e_expl.c: Likewise.
14566         * math/e_fmodl.c: Likewise.
14567         * math/e_gammal_r.c: Likewise.
14568         * math/e_hypotl.c: Likewise.
14569         * math/e_j0l.c: Likewise.
14570         * math/e_j1l.c: Likewise.
14571         * math/e_jnl.c: Likewise.
14572         * math/e_lgammal_r.c: Likewise.
14573         * math/e_log10l.c: Likewise.
14574         * math/e_log2l.c: Likewise.
14575         * math/e_logl.c: Likewise.
14576         * math/e_powl.c: Likewise.
14577         * math/e_rem_pio2l.c: Likewise.
14578         * math/e_sinhl.c: Likewise.
14579         * math/e_sqrtl.c: Likewise.
14580         * math/fclrexcpt.c: Likewise.
14581         * math/fedisblxcpt.c: Likewise.
14582         * math/feenablxcpt.c: Likewise.
14583         * math/fegetenv.c: Likewise.
14584         * math/fegetexcept.c: Likewise.
14585         * math/fegetround.c: Likewise.
14586         * math/feholdexcpt.c: Likewise.
14587         * math/fesetenv.c: Likewise.
14588         * math/fesetround.c: Likewise.
14589         * math/feupdateenv.c: Likewise.
14590         * math/fgetexcptflg.c: Likewise.
14591         * math/fraiseexcpt.c: Likewise.
14592         * math/fsetexcptflg.c: Likewise.
14593         * math/ftestexcept.c: Likewise.
14594         * math/k_cosl.c: Likewise.
14595         * math/k_rem_pio2l.c: Likewise.
14596         * math/k_sinl.c: Likewise.
14597         * math/k_tanl.c: Likewise.
14598         * math/s_asinhl.c: Likewise.
14599         * math/s_atanl.c: Likewise.
14600         * math/s_cbrtl.c: Likewise.
14601         * math/s_erfl.c: Likewise.
14602         * math/s_expm1l.c: Likewise.
14603         * math/s_log1pl.c: Likewise.
14604         * math/s_tanhl.c: Likewise.
14605         * misc/acct.c: Likewise.
14606         * misc/brk.c: Likewise.
14607         * misc/chflags.c: Likewise.
14608         * misc/chroot.c: Likewise.
14609         * misc/fchflags.c: Likewise.
14610         * misc/fgetxattr.c: Likewise.
14611         * misc/flistxattr.c: Likewise.
14612         * misc/fremovexattr.c: Likewise.
14613         * misc/fsetxattr.c: Likewise.
14614         * misc/fsync.c: Likewise.
14615         * misc/ftruncate.c: Likewise.
14616         * misc/futimes.c: Likewise.
14617         * misc/futimesat.c: Likewise.
14618         * misc/getdomain.c: Likewise.
14619         * misc/getdtsz.c: Likewise.
14620         * misc/gethostid.c: Likewise.
14621         * misc/gethostname.c: Likewise.
14622         * misc/getloadavg.c: Likewise.
14623         * misc/getpagesize.c: Likewise.
14624         * misc/getsysstats.c: Likewise.
14625         * misc/getxattr.c: Likewise.
14626         * misc/gtty.c: Likewise.
14627         * misc/ioctl.c: Likewise.
14628         * misc/lgetxattr.c: Likewise.
14629         * misc/listxattr.c: Likewise.
14630         * misc/llistxattr.c: Likewise.
14631         * misc/lremovexattr.c: Likewise.
14632         * misc/lsetxattr.c: Likewise.
14633         * misc/lutimes.c: Likewise.
14634         * misc/madvise.c: Likewise.
14635         * misc/mincore.c: Likewise.
14636         * misc/mlock.c: Likewise.
14637         * misc/mlockall.c: Likewise.
14638         * misc/mmap.c: Likewise.
14639         * misc/mprotect.c: Likewise.
14640         * misc/msync.c: Likewise.
14641         * misc/munlock.c: Likewise.
14642         * misc/munlockall.c: Likewise.
14643         * misc/munmap.c: Likewise.
14644         * misc/preadv.c: Likewise.
14645         * misc/preadv64.c: Likewise.
14646         * misc/ptrace.c: Likewise.
14647         * misc/pwritev.c: Likewise.
14648         * misc/pwritev64.c: Likewise.
14649         * misc/readv.c: Likewise.
14650         * misc/reboot.c: Likewise.
14651         * misc/remap_file_pages.c: Likewise.
14652         * misc/removexattr.c: Likewise.
14653         * misc/revoke.c: Likewise.
14654         * misc/select.c: Likewise.
14655         * misc/setdomain.c: Likewise.
14656         * misc/setegid.c: Likewise.
14657         * misc/seteuid.c: Likewise.
14658         * misc/sethostid.c: Likewise.
14659         * misc/sethostname.c: Likewise.
14660         * misc/setregid.c: Likewise.
14661         * misc/setreuid.c: Likewise.
14662         * misc/setxattr.c: Likewise.
14663         * misc/sstk.c: Likewise.
14664         * misc/stty.c: Likewise.
14665         * misc/swapoff.c: Likewise.
14666         * misc/swapon.c: Likewise.
14667         * misc/sync.c: Likewise.
14668         * misc/syncfs.c: Likewise.
14669         * misc/syscall.c: Likewise.
14670         * misc/truncate.c: Likewise.
14671         * misc/ualarm.c: Likewise.
14672         * misc/usleep.c: Likewise.
14673         * misc/ustat.c: Likewise.
14674         * misc/utimes.c: Likewise.
14675         * misc/vhangup.c: Likewise.
14676         * misc/writev.c: Likewise.
14677         * posix/_exit.c: Likewise.
14678         * posix/alarm.c: Likewise.
14679         * posix/execve.c: Likewise.
14680         * posix/fexecve.c: Likewise.
14681         * posix/fork.c: Likewise.
14682         * posix/fpathconf.c: Likewise.
14683         * posix/getaddrinfo.c: Likewise.
14684         * posix/getegid.c: Likewise.
14685         * posix/geteuid.c: Likewise.
14686         * posix/getgid.c: Likewise.
14687         * posix/getgroups.c: Likewise.
14688         * posix/getlogin.c: Likewise.
14689         * posix/getlogin_r.c: Likewise.
14690         * posix/getpgid.c: Likewise.
14691         * posix/getpid.c: Likewise.
14692         * posix/getppid.c: Likewise.
14693         * posix/getresgid.c: Likewise.
14694         * posix/getresuid.c: Likewise.
14695         * posix/getsid.c: Likewise.
14696         * posix/getuid.c: Likewise.
14697         * posix/glob64.c: Likewise.
14698         * posix/nanosleep.c: Likewise.
14699         * posix/pathconf.c: Likewise.
14700         * posix/pause.c: Likewise.
14701         * posix/posix_madvise.c: Likewise.
14702         * posix/pread.c: Likewise.
14703         * posix/pread64.c: Likewise.
14704         * posix/pwrite.c: Likewise.
14705         * posix/pwrite64.c: Likewise.
14706         * posix/sched_getaffinity.c: Likewise.
14707         * posix/sched_getp.c: Likewise.
14708         * posix/sched_gets.c: Likewise.
14709         * posix/sched_primax.c: Likewise.
14710         * posix/sched_primin.c: Likewise.
14711         * posix/sched_rr_gi.c: Likewise.
14712         * posix/sched_setaffinity.c: Likewise.
14713         * posix/sched_setp.c: Likewise.
14714         * posix/sched_sets.c: Likewise.
14715         * posix/sched_yield.c: Likewise.
14716         * posix/setgid.c: Likewise.
14717         * posix/setlogin.c: Likewise.
14718         * posix/setpgid.c: Likewise.
14719         * posix/setresgid.c: Likewise.
14720         * posix/setresuid.c: Likewise.
14721         * posix/setsid.c: Likewise.
14722         * posix/setuid.c: Likewise.
14723         * posix/sleep.c: Likewise.
14724         * posix/spawni.c: Likewise.
14725         * posix/sysconf.c: Likewise.
14726         * posix/times.c: Likewise.
14727         * posix/wait.c: Likewise.
14728         * posix/wait3.c: Likewise.
14729         * posix/wait4.c: Likewise.
14730         * posix/waitpid.c: Likewise.
14731         * resolv/gai_sigqueue.c: Likewise.
14732         * resource/getpriority.c: Likewise.
14733         * resource/getrlimit.c: Likewise.
14734         * resource/getrusage.c: Likewise.
14735         * resource/nice.c: Likewise.
14736         * resource/setpriority.c: Likewise.
14737         * resource/setrlimit.c: Likewise.
14738         * resource/ulimit.c: Likewise.
14739         * rt/aio_cancel.c: Likewise.
14740         * rt/aio_fsync.c: Likewise.
14741         * rt/aio_read.c: Likewise.
14742         * rt/aio_sigqueue.c: Likewise.
14743         * rt/aio_suspend.c: Likewise.
14744         * rt/aio_write.c: Likewise.
14745         * rt/clock_getres.c: Likewise.
14746         * rt/clock_gettime.c: Likewise.
14747         * rt/clock_nanosleep.c: Likewise.
14748         * rt/clock_settime.c: Likewise.
14749         * rt/lio_listio.c: Likewise.
14750         * rt/mq_close.c: Likewise.
14751         * rt/mq_getattr.c: Likewise.
14752         * rt/mq_notify.c: Likewise.
14753         * rt/mq_open.c: Likewise.
14754         * rt/mq_receive.c: Likewise.
14755         * rt/mq_send.c: Likewise.
14756         * rt/mq_setattr.c: Likewise.
14757         * rt/mq_timedreceive.c: Likewise.
14758         * rt/mq_timedsend.c: Likewise.
14759         * rt/mq_unlink.c: Likewise.
14760         * rt/shm_open.c: Likewise.
14761         * rt/shm_unlink.c: Likewise.
14762         * rt/timer_create.c: Likewise.
14763         * rt/timer_delete.c: Likewise.
14764         * rt/timer_getoverr.c: Likewise.
14765         * rt/timer_gettime.c: Likewise.
14766         * rt/timer_settime.c: Likewise.
14767         * setjmp/__longjmp.c: Likewise.
14768         * setjmp/setjmp.c: Likewise.
14769         * signal/kill.c: Likewise.
14770         * signal/killpg.c: Likewise.
14771         * signal/raise.c: Likewise.
14772         * signal/sigaction.c: Likewise.
14773         * signal/sigaltstack.c: Likewise.
14774         * signal/sigblock.c: Likewise.
14775         * signal/sigignore.c: Likewise.
14776         * signal/sigintr.c: Likewise.
14777         * signal/signal.c: Likewise.
14778         * signal/sigpause.c: Likewise.
14779         * signal/sigpending.c: Likewise.
14780         * signal/sigqueue.c: Likewise.
14781         * signal/sigreturn.c: Likewise.
14782         * signal/sigset.c: Likewise.
14783         * signal/sigsetmask.c: Likewise.
14784         * signal/sigstack.c: Likewise.
14785         * signal/sigsuspend.c: Likewise.
14786         * signal/sigtimedwait.c: Likewise.
14787         * signal/sigvec.c: Likewise.
14788         * signal/sigwait.c: Likewise.
14789         * signal/sigwaitinfo.c: Likewise.
14790         * signal/sysv_signal.c: Likewise.
14791         * socket/accept.c: Likewise.
14792         * socket/accept4.c: Likewise.
14793         * socket/bind.c: Likewise.
14794         * socket/connect.c: Likewise.
14795         * socket/getpeername.c: Likewise.
14796         * socket/getsockname.c: Likewise.
14797         * socket/getsockopt.c: Likewise.
14798         * socket/isfdtype.c: Likewise.
14799         * socket/listen.c: Likewise.
14800         * socket/recv.c: Likewise.
14801         * socket/recvfrom.c: Likewise.
14802         * socket/recvmsg.c: Likewise.
14803         * socket/send.c: Likewise.
14804         * socket/sendmsg.c: Likewise.
14805         * socket/sendto.c: Likewise.
14806         * socket/setsockopt.c: Likewise.
14807         * socket/shutdown.c: Likewise.
14808         * socket/sockatmark.c: Likewise.
14809         * socket/socket.c: Likewise.
14810         * socket/socketpair.c: Likewise.
14811         * stdio-common/ctermid.c: Likewise.
14812         * stdio-common/cuserid.c: Likewise.
14813         * stdio-common/remove.c: Likewise.
14814         * stdio-common/rename.c: Likewise.
14815         * stdio-common/renameat.c: Likewise.
14816         * stdio-common/tempname.c: Likewise.
14817         * stdlib/getcontext.c: Likewise.
14818         * stdlib/makecontext.c: Likewise.
14819         * stdlib/setcontext.c: Likewise.
14820         * stdlib/swapcontext.c: Likewise.
14821         * stdlib/system.c: Likewise.
14822         * streams/fattach.c: Likewise.
14823         * streams/fdetach.c: Likewise.
14824         * streams/getmsg.c: Likewise.
14825         * streams/getpmsg.c: Likewise.
14826         * streams/putmsg.c: Likewise.
14827         * streams/putpmsg.c: Likewise.
14828         * sysdeps/unix/bsd/getpt.c: Likewise.
14829         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14830         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14831         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14833         Likewise.
14834         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14835         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14836         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14837         * sysvipc/msgctl.c: Likewise.
14838         * sysvipc/msgget.c: Likewise.
14839         * sysvipc/msgrcv.c: Likewise.
14840         * sysvipc/msgsnd.c: Likewise.
14841         * sysvipc/semctl.c: Likewise.
14842         * sysvipc/semget.c: Likewise.
14843         * sysvipc/semop.c: Likewise.
14844         * sysvipc/semtimedop.c: Likewise.
14845         * sysvipc/shmat.c: Likewise.
14846         * sysvipc/shmctl.c: Likewise.
14847         * sysvipc/shmdt.c: Likewise.
14848         * sysvipc/shmget.c: Likewise.
14849         * termios/tcdrain.c: Likewise.
14850         * termios/tcflow.c: Likewise.
14851         * termios/tcflush.c: Likewise.
14852         * termios/tcgetattr.c: Likewise.
14853         * termios/tcgetpgrp.c: Likewise.
14854         * termios/tcsendbrk.c: Likewise.
14855         * termios/tcsetattr.c: Likewise.
14856         * termios/tcsetpgrp.c: Likewise.
14857         * time/adjtime.c: Likewise.
14858         * time/clock.c: Likewise.
14859         * time/getitimer.c: Likewise.
14860         * time/gettimeofday.c: Likewise.
14861         * time/setitimer.c: Likewise.
14862         * time/settimeofday.c: Likewise.
14863         * time/stime.c: Likewise.
14864         * time/time.c: Likewise.
14866 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14868         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14869         /usr/old/bin.
14871         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14872         instead of spaces.
14873         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14875 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14877         [BZ #14796]
14878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14879         FE_TONEAREST before applying Dekker multiplication and Knuth
14880         addition.  Clear inexact exceptions and check for exact zero
14881         results afterwards.
14882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14883         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14885         * math/libm-test.inc (fma_test): Add more tests.
14886         (fma_test_towardzero): Likewise.
14887         (fma_test_downward): Likewise.
14888         (fma_test_upward): Likewise.
14889         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14890         function.
14891         (libc_fesetround): New macro.
14892         (libc_fesetroundf): Likewise.
14893         (libc_fesetroundl): Likewise.
14894         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14895         function.
14896         (libc_fesetround_387): Likewise.
14897         (libc_fesetroundf): New macro.
14898         (libc_fesetround): Likewise.
14899         (libc_fesetroundl): Likewise.
14900         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14901         function.
14902         (libc_fesetroundf): New macro.
14903         (libc_fesetround): Likewise.
14904         (libc_fesetroundl): Likewise.
14905         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14906         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14907         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14908         libm_hidden_ver.
14909         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14910         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14911         libm_hidden_def.
14912         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14913         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14914         libm_hidden_ver.
14915         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14916         libm_hidden_def.
14918         [BZ #3439]
14919         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14920         integer constant usable in #if and use that to give value to enum
14921         constant.
14922         (FE_DIVBYZERO): Likewise.
14923         (FE_UNDERFLOW): Likewise.
14924         (FE_OVERFLOW): Likewise.
14925         (FE_INVALID): Likewise.
14926         (FE_INVALID_SNAN): Likewise.
14927         (FE_INVALID_ISI): Likewise.
14928         (FE_INVALID_IDI): Likewise.
14929         (FE_INVALID_ZDZ): Likewise.
14930         (FE_INVALID_IMZ): Likewise.
14931         (FE_INVALID_COMPARE): Likewise.
14932         (FE_INVALID_SOFTWARE): Likewise.
14933         (FE_INVALID_SQRT): Likewise.
14934         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14935         (FE_TONEAREST): Likewise.
14936         (FE_TOWARDZERO): Likewise.
14937         (FE_UPWARD): Likewise.
14938         (FE_DOWNWARD): Likewise.
14939         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14940         (FE_DIVBYZERO): Likewise.
14941         (FE_OVERFLOW): Likewise.
14942         (FE_UNDERFLOW): Likewise.
14943         (FE_INEXACT): Likewise.
14944         (FE_TONEAREST): Likewise.
14945         (FE_DOWNWARD): Likewise.
14946         (FE_UPWARD): Likewise.
14947         (FE_TOWARDZERO): Likewise.
14948         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14949         (FE_UNDERFLOW): Likewise.
14950         (FE_OVERFLOW): Likewise.
14951         (FE_DIVBYZERO): Likewise.
14952         (FE_INVALID): Likewise.
14953         (FE_TONEAREST): Likewise.
14954         (FE_TOWARDZERO): Likewise.
14955         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14956         (FE_OVERFLOW): Likewise.
14957         (FE_UNDERFLOW): Likewise.
14958         (FE_DIVBYZERO): Likewise.
14959         (FE_INEXACT): Likewise.
14960         (FE_TONEAREST): Likewise.
14961         (FE_TOWARDZERO): Likewise.
14962         (FE_UPWARD): Likewise.
14963         (FE_DOWNWARD): Likewise.
14964         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14965         (FE_DIVBYZERO): Likewise.
14966         (FE_OVERFLOW): Likewise.
14967         (FE_UNDERFLOW): Likewise.
14968         (FE_INEXACT): Likewise.
14969         (FE_TONEAREST): Likewise.
14970         (FE_DOWNWARD): Likewise.
14971         (FE_UPWARD): Likewise.
14972         (FE_TOWARDZERO): Likewise.
14974 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14976         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14978 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14980         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14981         commands.  Quote $PWD.
14982         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14983         -x" by "export".
14984         (remove_newlines): Remove.
14986 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14988         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14989         * stdlib/stdlib.h (atof): Moved to ...
14990         * include/bits/stdlib-float.h: Here.  New file.
14991         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14992         * stdlib/bits/stdlib-float.h: New file.
14993         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14994         -mno-sse -mno-mmx.
14995         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14996         <xmmintrin.h>.
14998 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15000         * conform/conformtest.pl (@headers): Add fenv.h.
15001         * conform/data/fenv.h-data: New file.
15002         * include/fenv.h [_ISOMAC]: Disable all contents of file except
15003         include of <math/fenv.h>.
15005         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15006         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15007         && !UNIX98].  Enables tests for XOPEN2K8.
15008         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15009         POSIX2008]: Likewise.
15011         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15012         (struct rusage): Do not expect type or its members.
15014         [BZ #3439]
15015         * math/math.h (FP_NAN): Define macro to integer constant usable in
15016         #if and use that to give value to enum constant.
15017         (FP_INFINITE): Likewise.
15018         (FP_ZERO): Likewise.
15019         (FP_SUBNORMAL): Likewise.
15020         (FP_NORMAL): Likewise.
15022 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
15024         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15025         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15026         arguments.
15028 2012-11-02  Roland McGrath  <roland@hack.frob.com>
15030         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15031         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15032         autoconf-time if not.
15033         * configure.in: Remove AC_PREREQ.
15035 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15037         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15038         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15039         of the internal implementation.
15041 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15043         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15044         except include of <misc/sys/syslog.h>.
15046 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15049         function returns with a NULL context exit with zero.
15051 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15053         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15055 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
15057         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15058         (run_program_cmd): This.
15059         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15060         (tst_langinfo): New variable.  Use it.
15062 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
15064         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15065         floating point opcodes.
15067 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15069         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15070         variable.
15072         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15074         * sysdeps/mach/hurd/powerpc: Remove directory.
15075         * sysdeps/mach/powerpc: Likewise.
15077 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15079         * scripts/check-local-headers.sh: Ignore c++ headers.
15081 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15083         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15084         __libc_cleanup_region_start argument.
15086 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
15088         [BZ #14784]
15089         [BZ #14785]
15090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15091         x * y using scaling, not as x * y + z.
15092         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15093         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15094         * math/libm-test.inc (fma_test): Add more tests.
15095         (fma_test_towardzero): Likewise.
15096         (fma_test_downward): Likewise.
15097         (fma_test_upward): Likewise.
15099 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15101         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15103 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15105         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15106         New variable.
15108 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
15110         * rt/tst-shm.c (worker): Correct checking for mmap failure.
15112 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15115         Fix sort order.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15117         Likewise.
15119 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15122         Fix the order of the list for glibc 2.17.
15123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15124         Likewise.
15126 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15130 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15132         [BZ #14610]
15133         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15134         for low part of x being zero before using __atanl (y).
15135         * math/libm-test.inc (atan2_test): Add another test.
15137         * manual/install.texi (Configuring and compiling): Document
15138         general use of test-wrapper and test-wrapper-env.
15139         * INSTALL: Regenerated.
15141         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15142         (__fma): Do not extract and scale down low bits on after-rounding
15143         systems when result rounded to normal precision would have normal
15144         exponent.
15145         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15146         (__fmal): Do not extract and scale down low bits on after-rounding
15147         systems when result rounded to normal precision would have normal
15148         exponent.
15149         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15150         (__fmal): Do not extract and scale down low bits on after-rounding
15151         systems when result rounded to normal precision would have normal
15152         exponent.
15153         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15154         macro.
15155         (fma_test): Add more tests.
15156         (fma_test_towardzero): Likewise.
15157         (fma_test_downward): Likewise.
15158         (fma_test_upward): Likewise.
15160 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
15162         * sysdeps/i386/tininess.h: Renamed to ...
15163         * sysdeps/x86/tininess.h: This.
15164         * sysdeps/x86_64/tininess.h: Removed.
15166 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
15168         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15169         input.  Use $(build-program-cmd).
15170         ($(objpfx)tst-array1-static.out): Likewise.
15171         ($(objpfx)tst-array2.out): Likewise.
15172         ($(objpfx)tst-array3.out): Likewise.
15173         ($(objpfx)tst-array4.out): Likewise.
15174         ($(objpfx)tst-array5.out): Likewise.
15175         ($(objpfx)tst-array5-static.out): Likewise.
15177 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
15179         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15180         if defined.
15182         * nss/nsswitch.h (nss_interface_function): Provide new
15183         macro for use with NSS functions.
15184         * grp/initgroups.c: Use new macro.
15185         * nss/getXXbyYY.c: Likewise.
15186         * nss/getXXbyYY_r.c: Likewise.
15187         * nss/getXXent.c: Likewise.
15188         * nss/getXXent_r.c: Likewise.
15189         * sysdeps/posix/getaddrinfo.c: Likewise.
15191 2012-10-30  Andreas Jaeger  <aj@suse.de>
15193         * po/ru.po: Update Russion translation from translation project.
15195 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
15197         [BZ #14152]
15198         [BZ #14783]
15199         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15200         result and shift together with sticky bit instead of replicating
15201         round-to-nearest rounding.
15202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15203         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15204         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
15205         missing underflow exceptions.
15206         (fma_test_towardzero): Add more tests.
15207         (fma_test_downward): Likewise.
15208         (fma_test_upward): Likewise.
15210         [BZ #14047]
15211         * sysdeps/generic/tininess.h: New file.
15212         * sysdeps/i386/tininess.h: Likewise.
15213         * sysdeps/sh/tininess.h: Likewise.
15214         * sysdeps/x86_64/tininess.h: Likewise.
15215         * stdlib/tst-strtod-underflow.c: Likewise.
15216         * stdlib/tst-tininess.c: Likewise.
15217         * stdlib/strtod_l.c: Include <tininess.h>.
15218         (round_and_return): Do not set errno for exact underflow cases.
15219         Force an underflow exception when setting errno for underflow.
15220         Determine underflow based on rounding to normal precision if
15221         TININESS_AFTER_ROUNDING.
15222         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15223         ERANGE for exact underflow cases.
15224         * stdlib/Makefile (tests): Add tst-tininess and
15225         tst-strtod-underflow.
15226         ($(objpfx)tst-tininess): Use $(link-libm).
15227         ($(objpfx)tst-strtod-underflow): Likewise.
15229 2012-10-30  Andreas Jaeger  <aj@suse.de>
15231         [BZ#14767]
15232         * elf/Makefile (tests): Remove conditional for have-initfini-array
15233         since this is now always required and the variable does not exist
15234         anymore.
15235         (tests-static): Likewise.
15236         (modules-names): Likewise.
15238         * po/eo.po: Add Esperanto translation from translation project.
15240         * elf/tst-array1.c (fini_array): Make writeable so that it can be
15241         merged with constructor/destructor.
15242         (init_array): Likewise.
15243         * elf/tst-array2dep.c (fini_array): Likewise.
15244         (init_array): Likewise.
15246 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
15248         * manual/message.texi: Delete @cartouche tags.
15250 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
15252         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15253         EOPNOTSUPP.
15254         * sysdeps/mach/hurd/fsync.c: Likewise.
15256         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15257         [_POSIX_REALTIME_SIGNALS]: Change condition to
15258         [_POSIX_REALTIME_SIGNALS > 0].
15260 2012-10-27  Andreas Jaeger  <aj@suse.de>
15262         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15263         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15264         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15265         [__WORDSIZE != 64]: Likewise.
15267 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
15269         *  iconvdata/tst-table.sh: Remove ${SHELL}.
15270         *  iconvdata/tst-tables.sh: Likewise.
15272 2012-10-25  David S. Miller  <davem@davemloft.net>
15274         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15275         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15276         of strtoull.
15278         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15279         ifunc-impl-list.c
15280         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15281         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15282         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15283         file.
15285 2012-10-25  Roland McGrath  <roland@hack.frob.com>
15287         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15288         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15289         __getdirentries.
15291 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
15292             Jim Blandy  <jimb@codesourcery.com>
15294         * scripts/cross-test-ssh.sh: New file.
15295         * manual/install.texi (Configuring and compiling): Document use of
15296         cross-test-ssh.sh.
15297         * INSTALL: Regenerated.
15299 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
15301         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15302         EOPNOTSUPP.
15304 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
15306         * Makeconfig (run-program-prefix): Fix comment.
15308 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15309             Jim Blandy  <jimb@codesourcery.com>
15311         * Makeconfig (test-wrapper): New variable,
15312         (test-wrapper-env): Likewise.
15313         [$(cross-compiling) = yes && $(test-wrapper) != ""]
15314         (run-built-tests): Define to yes.
15315         (run-program-prefix): Use $(test-wrapper).
15316         (built-program-cmd): Likewise.
15317         * Rules (make-test-out): Use $(test-wrapper-env) and
15318         $(host-built-program-cmd).
15319         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15320         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15321         tst-pathopt.sh.
15322         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15323         $(test-wrapper-env) to tst-rtld-load-self.sh.
15324         ($(objpfx)order2.out): Use $(test-wrapper).
15325         ($(objpfx)tst-initorder.out): Likewise.
15326         ($(objpfx)tst-initorder2.out): Likewise.
15327         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15328         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15329         (test_wrapper_env): New variable.  Use it to run ld.so.
15330         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15331         Use it to run ld.so.
15332         (test_wrapper_env): Likewise.
15333         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15334         $(test-wrapper) to run-iconv-test.sh.
15335         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15336         (ICONV): Use $test_wrapper.
15337         * posix/Makefile ($(objpfx)globtest.out): Pass
15338         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15339         globtest.sh, not $(run-program-prefix).
15340         * posix/globtest.sh (run_via_rtld_prefix): New variable.
15341         (test_wrapper): Likewise.
15342         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
15343         set together with run_via_rtld_prefix.
15344         (run_program_prefix): Define in terms of test_wrapper and
15345         run_via_rtld_prefix.
15347 2012-10-24  Roland McGrath  <roland@hack.frob.com>
15349         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15350         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15351         Targets removed.
15353         [BZ #14743]
15354         * include/time.h: Remove librt_hidden_proto (clock_gettime).
15355         Declare __clock_getres, __clock_gettime, __clock_settime,
15356         __clock_nanosleep, and __clock_getcpuclockid.
15357         * rt/clock_gettime.c: Define __clock_gettime as an alias.
15358         Remove librt_hidden_def (clock_gettime).
15359         * sysdeps/unix/clock_gettime.c: Likewise.
15360         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15361         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15362         * rt/clock_getres.c: Define __clock_getres as an alias.
15363         * sysdeps/posix/clock_getres.c: Likewise.
15364         * rt/clock_settime.c: Define __clock_settime as an alias.
15365         * sysdeps/unix/clock_settime.c: Likewise.
15366         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15367         * sysdeps/unix/clock_nanosleep.c: Likewise.
15368         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15369         * rt/clock-compat.c: New file.
15370         * rt/Makefile (librt-routines): Add clock-compat and move
15371         $(clock-routines) to ...
15372         (routines): ... here, new variable.
15373         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15374         Don't add get_clockfreq here.
15375         * rt/Versions (libc: GLIBC_2.17): New version set.
15376         Add clock_* symbols here.
15377         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
15378         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15379         (GLIBC_2.17): Add clock_* symbols.
15380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15382         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15384         Likewise.
15385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15386         Likewise.
15387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15391         * NEWS: Mention the move.
15393         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15394         Use __open, __read, __close rather than their public counterparts.
15395         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15396         (__get_clockfreq_via_cpuinfo): Likewise.
15397         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15398         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15400         * config.h.in (HAVE_IFUNC): New #undef.
15401         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15402         was successful.
15403         * configure: Regenerated.
15405 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15407         * configure.in: Move READELF check to start of file.
15408         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15409         libc_cv_asm_gnu_indirect_function in the process.
15410         * configure: Regenerated.
15412 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
15414         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15415         send the output to /dev/null.
15416         (libc_cv_cc_with_libunwind): Likewise.
15417         (libc_cv_as_noexecstack): Likewise.
15418         * configure: Regenerate.
15420 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15422         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15424         * posix/globtest.sh (TMPDIR): Do not set.
15425         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15426         (testout): Likewise.
15428 2012-10-24  Andreas Jaeger  <aj@suse.de>
15430         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15431         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15432         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15433         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15434         posix_fadvise64, posix_fallocate64.
15436         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15437         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15438         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15439         Likewise.
15440         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15441         Likewise.
15442         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15445         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15446         <bits/fcntl-linux.h>.
15447         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15449         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15450         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15451         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15452         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15453         [__WORDSIZE != 64]: Likewise.
15455 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15457         * Makeconfig (run-built-tests): New variable.
15458         * Rules [$(cross-compiling) = yes]: Change condition to
15459         [$(run-built-tests) = no].
15460         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15461         to [$(run-built-tests) = yes].
15462         * elf/Makefile [$(cross-compiling) = no]: Likewise
15463         * grp/Makefile [$(cross-compiling) = no]: Likewise.
15464         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15465         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15466         * intl/Makefile [$(cross-compiling) = no]: Likewise.
15467         * io/Makefile [$(cross-compiling) = no]: Likewise.
15468         * libio/Makefile [$(cross-compiling) = no]: Likewise.
15469         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15470         * misc/Makefile [$(cross-compiling) = no]: Likewise.
15471         * posix/Makefile [$(cross-compiling) = no]: Likewise.
15472         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15473         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15474         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15475         * string/Makefile [$(cross-compiling) = no]: Likewise.
15477         * posix/Makefile ($(objpfx)globtest.out): Pass
15478         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15479         $(rtld-installed-name).
15480         * posix/globtest.sh (elf_objpfx): Remove variable.
15481         (rtld_installed_name): Likewise.
15482         (library_path): Likewise.
15483         (run_program_prefix): New variable.  Use for running globtest
15484         binary.
15486 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
15487             Joseph Myers  <joseph@codesourcery.com>
15489         * Makeconfig (host-built-program-cmd): New variable.
15490         * elf/Makefile (tst-stackguard1-ARGS): Use
15491         $(host-built-program-cmd).
15492         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15493         (tst-spawn-ARGS): Likewise.
15494         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15496 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15497             Jim Blandy  <jimb@codesourcery.com>
15499         * Makeconfig (run-via-rtld-prefix): New variable.
15500         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15501         (built-program-cmd): Likewise.
15503 2012-10-22  Andreas Jaeger  <aj@suse.de>
15505         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15506         __O_RSYNC if it exists, otherwise to O_SYNC.
15508 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
15509             Joseph Myers  <joseph@codesourcery.com>
15511         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15512         /dev/null.
15513         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15514         from /dev/null
15515         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15516         /dev/null.
15518 2012-10-22  Andreas Jaeger  <aj@suse.de>
15520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15521         Define always.
15522         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15525         bits/fcntl-linux.h.
15527         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15528         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15530         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15531         to __O_LARGEFILE.
15532         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15533         to __O_LARGEFILE.
15535 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
15536             Joseph Myers  <joseph@codesourcery.com>
15538         * config.make.in (NM): New variable.
15540 2012-10-21  Andreas Jaeger  <aj@suse.de>
15542         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15543         definitions and declarations that are provided by
15544         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15546 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15548         [BZ #14683]
15549         * elf/Makefile (tests-static): Add tst-leaks1-static.
15550         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15551         ($(objpfx)tst-leaks1-static): New rule.
15552         ($(objpfx)tst-leaks1-static-mem): Likewise.
15553         (tst-leaks1-static-ENV): New macro.
15554         * elf/dl-open.c (dl_open_worker): Check the main application
15555         only if SHARED is defined.
15556         * elf/tst-leaks1-static.c: New file.
15558 2012-10-20  Andreas Jaeger  <aj@suse.de>
15560         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15561         generic values for Linux.
15562         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15563         and declarations that are provided by <bits/fcntl-linux.h> and
15564         include <bits/fcntl-linux.h>.
15565         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15568 2012-10-20  Roland McGrath  <roland@hack.frob.com>
15570         * io/fcntl.h: Move include of <bits/types.h> to the top and
15571         include it unconditionally.
15573 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15575         * wcsmbs/Makefile (tests-ifunc): New variable.
15576         (tests): Add $(tests-ifunc).
15577         * wcsmbs/test-wcschr-ifunc.c: New file.
15578         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15579         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15580         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15581         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15582         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15584         * string/Makefile (tests-ifunc): New variable.
15585         (tests): Add $(tests-ifunc).
15586         * string/test-memccpy.c (TEST_NAME): New macro.
15587         * string/test-memchr.c (TEST_NAME): Likewise.
15588         * string/test-memcmp.c (TEST_NAME): Likewise.
15589         * string/test-memcpy.c (TEST_NAME): Likewise.
15590         * string/test-memmem.c (TEST_NAME): Likewise.
15591         * string/test-memmove.c (TEST_NAME): Likewise.
15592         * string/test-memset.c (TEST_NAME): Likewise.
15593         * string/test-rawmemchr.c (TEST_NAME): Likewise.
15594         * string/test-stpcpy.c (TEST_NAME): Likewise.
15595         * string/test-stpncpy.c (TEST_NAME): Likewise.
15596         * string/test-strcasecmp.c (TEST_NAME): Likewise.
15597         * string/test-strcasestr.c (TEST_NAME): Likewise.
15598         * string/test-strcat.c (TEST_NAME): Likewise.
15599         * string/test-strchr.c (TEST_NAME): Likewise.
15600         * string/test-strcmp.c(TEST_NAME): Likewise.
15601         * string/test-strcpy.c (TEST_NAME): Likewise.
15602         * string/test-strcspn.c (TEST_NAME): Likewise.
15603         * string/test-strlen.c (TEST_NAME): Likewise.
15604         * string/test-strncasecmp.c (TEST_NAME): Likewise.
15605         * string/test-strncmp.c (TEST_NAME): Likewise.
15606         * string/test-strncpy.c (TEST_NAME): Likewise.
15607         * string/test-strnlen.c (TEST_NAME): Likewise.
15608         * string/test-strpbrk.c (TEST_NAME): Likewise.
15609         * string/test-strrchr.c (TEST_NAME): Likewise.
15610         * string/test-strspn.c (TEST_NAME): Likewise.
15611         * string/test-strstr.c (TEST_NAME): Likewise.
15612         * string/test-bcopy-ifunc.c: New file.
15613         * string/test-bzero-ifunc.c: Likewise.
15614         * string/test-memccpy-ifunc.c: Likewise.
15615         * string/test-memchr-ifunc.c: Likewise.
15616         * string/test-memcmp-ifunc.c: Likewise.
15617         * string/test-memcpy-ifunc.c: Likewise.
15618         * string/test-memmem-ifunc.c: Likewise.
15619         * string/test-memmove-ifunc.c: Likewise.
15620         * string/test-mempcpy-ifunc.c: Likewise.
15621         * string/test-memset-ifunc.c: Likewise.
15622         * string/test-rawmemchr-ifunc.c: Likewise.
15623         * string/test-stpcpy-ifunc.c: Likewise.
15624         * string/test-stpncpy-ifunc.c: Likewise.
15625         * string/test-strcasecmp-ifunc.c: Likewise.
15626         * string/test-strcasestr-ifunc.c: Likewise.
15627         * string/test-strcat-ifunc.c: Likewise.
15628         * string/test-strchr-ifunc.c: Likewise.
15629         * string/test-strchrnul-ifunc.c: Likewise.
15630         * string/test-strcmp-ifunc.c: Likewise.
15631         * string/test-strcpy-ifunc.c: Likewise.
15632         * string/test-strcspn-ifunc.c: Likewise.
15633         * string/test-strlen-ifunc.c: Likewise.
15634         * string/test-strncasecmp-ifunc.c: Likewise.
15635         * string/test-strncat-ifunc.c: Likewise.
15636         * string/test-strncmp-ifunc.c: Likewise.
15637         * string/test-strncpy-ifunc.c: Likewise.
15638         * string/test-strnlen-ifunc.c: Likewise.
15639         * string/test-strpbrk-ifunc.c: Likewise.
15640         * string/test-strrchr-ifunc.c: Likewise.
15641         * string/test-strspn-ifunc.c: Likewise.
15642         * string/test-strstr-ifunc.c: Likewise.
15644         * debug/Makefile (tests-ifunc): New variable.
15645         (tests): Add $(tests-ifunc).
15646         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15647         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15648         * debug/test-stpcpy_chk-ifunc.c: New file.
15649         * debug/test-strcpy_chk-ifunc.c: Likewise.
15651 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15653         [BZ #13601]
15654         * elf/dl-load.c (open_verify): Retry read if the entire ELF
15655         header is not read in.
15657 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
15659         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
15660         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
15661         directly.  Pass built executable to script as
15662         $(built-program-cmd).
15663         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
15664         $testprogram without using LD_LIBRARY_PATH and $ldso.
15666         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15667         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15668         $(rtld-installed-name).
15669         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15670         (rtld_installed_name): Likewise.
15671         (library_path): Likewise.
15672         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
15673         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15674         $(run-program-prefix) to tst-tables.sh.
15675         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
15676         it to run tst-table-from and tst-table-to.
15677         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15678         Pass it to tst-table.sh.
15679         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15680         $(run-program-prefix) to tst-gettext.sh.
15681         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15682         tst-translit.sh.
15683         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15684         tst-gettext2.sh.
15685         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
15686         to run tst-gettext.
15687         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
15688         to run tst-gettext2.
15689         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
15690         to run tst-translit.
15691         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15692         $(run-program-prefix) to tst-mtrace.sh.
15693         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
15694         to run tst-mtrace.
15695         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15696         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15697         $(rtld-installed-name).
15698         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15699         (rtld_installed_name): Likewise.
15700         (run_program_prefix): New variable.  Use it to run wordexp-test.
15702         * Makeconfig (ARCH): Remove all definitions.
15703         (machine): Likewise.
15704         [ARCH]: Remove conditional code.
15705         [!objdir]: Give error.
15706         [!objdir] (objpfx): Remove.
15707         [!objdir] (common-objpfx): Likewise.
15708         [!objdir] (common-objdir): Likewise.
15709         * configure.in (config_makefile): Remove.  Hardcode Makefile in
15710         AC_CONFIG_FILES call.
15711         * configure: Regenerated.
15713         [BZ #13888]
15714         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15715         or TMPDIR.
15716         (testout): Likewise.
15718         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15719         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15720         $(rtld-installed-name).
15721         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15722         (rtld_installed_name): Likwise.
15723         (runit): Remove function.
15724         (run_getconf): New variable,  Use it for running getconf binary.
15726 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
15728         [BZ #14716]
15729         * string/test-memmem.c (check_result): New function.
15730         (do_one_test): Use it.
15731         (check1): New function.
15732         (test_main): Use it.
15734 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
15736         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15738 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
15740         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15741         (_G_LSEEK64): Likewise.
15742         (_G_MMAP64): Likewise.
15743         (_G_FSTAT64): Likewise.
15744         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15745         (_G_LSEEK64): Likewise.
15746         (_G_MMAP64): Likewise.
15747         (_G_FSTAT64): Likewise.
15748         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15749         unconditional.  Call __mmap64 directly.
15750         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15751         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
15752         __lseek64 directly.
15753         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15754         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
15755         __mmap64 directly.
15756         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15757         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15758         __lseek64 directly.
15759         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15760         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15761         __lseek64 directly.
15762         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15763         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15764         __lseek64 directly.
15765         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15766         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15767         __fxstat64 directly.
15768         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15769         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15770         unconditional.
15771         (freopen64) [!_G_OPEN64]: Remove conditional code.
15772         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15773         unconditional.
15774         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15775         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15776         unconditional.
15777         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15778         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15779         unconditional.
15780         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15781         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15782         unconditional.
15783         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15784         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15785         unconditional.
15786         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15787         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15788         unconditional.
15789         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15790         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15791         unconditional.
15792         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15794 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15796         [BZ #12140]
15797         * manual/memory.texi (Malloc Tunable Parameters): Add note
15798         about free list pointers overwriting some perturb bytes.
15799         Wording suggested by Roland McGrath.
15801 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15803         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15804         (lgamma_test): Likewise.
15805         (tgamma_test): Likewise.
15807 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15809         [BZ #14700]
15810         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15811         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15813 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15815         * NEWS: Mention BZ #14716.
15816         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15817         when removing AVAILABLE1_USES_J macro.
15819 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15821         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15822         (__bswap_64): __uint64_t for unsigned 64-bit int.
15824 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15826         * include/string.h (memmem): Declare libc hidden alias.
15827         * string/memmem.c (memmem): Define libc hidden alias.
15828         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15829         __read, __close instead of open, read, close.
15831 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15834         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15835         global and hidden.
15836         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15837         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15838         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15839         Likewise.
15840         (__rawmemchr_sse2): Likewise.
15841         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15842         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15843         (__strchr_sse2): Likewise.
15844         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15845         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15846         (__strcasecmp_sse2): Likewise.
15847         (__strncasecmp_sse2): Likewise.
15848         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15849         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15850         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15851         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15852         (__strrchr_sse2): Likewise.
15853         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15854         ifunc-impl-list.c.
15855         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15856         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15857         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15858         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15859         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15860         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15861         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15862         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15863         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15864         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15865         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15866         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15867         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15868         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15869         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15870         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15871         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15872         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15873         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15874         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15875         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15876         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15877         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15878         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15879         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15880         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15881         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15882         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15883         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15884         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15886         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15887         global and hidden.
15888         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15889         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15890         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15891         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15892         Likewise.
15893         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15894         Likewise.
15895         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15896         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15897         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15898         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15899         ifunc-impl-list.c.
15900         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15901         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15902         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15903         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15904         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15905         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15906         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15907         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15908         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15909         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15910         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15911         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15912         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15913         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15914         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15915         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15916         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15917         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15918         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15919         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15920         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15921         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15922         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15923         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15924         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15925         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15926         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15927         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15928         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15929         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15930         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15931         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15932         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15933         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15934         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15935         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15936         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15937         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15938         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15939         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15940         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15942         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15943         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15944         * include/ifunc-impl-list.h: New file.
15945         * misc/ifunc-impl-list.c: Likewise.
15946         * misc/Makefile (routines): Add ifunc-impl-list.
15947         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15948         * string/test-string.h: Include <ifunc-impl-list.h>.
15949         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15950         impl_array): New variables.
15951         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15952         are defined.
15953         (test_init): Call __libc_ifunc_impl_list to initialize
15954         func_list if TEST_IFUNC and TEST_NAME are defined.
15956         * string/Makefile (strop-tests): Add bcopy and bzero.
15957         * string/test-bcopy.c: New file.
15958         * string/test-bzero.c: Likewise.
15959         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15960         defined.
15961         * string/test-memset.c: Support bzero test if TEST_BZERO is
15962         defined.
15963         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15964         __libc_memmove.
15965         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15966         __libc_memset.
15967         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15968         of memset.
15970 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15972         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15973         * configure: Regenerated.
15975         * Makeconfig (+link-static-before-libc): Don't include
15976         $(link-static-libc).
15978         * libio/libio.h (_IO_pos_t): Remove.
15980 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15982         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15983         McGrath.
15985 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15987         * crypt/crypt-entry.c: Include fips-private.h.
15988         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15989         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15990         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15991         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15993 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15995         * crypt/crypt-private.h: Include stdbool.h.
15996         (_ufc_setup_salt_r): Return bool.
15997         * crypt/crypt-entry.c: Include errno.h.
15998         (__crypt_r): Return NULL with EINVAL for bad salt.
15999         * crypt/crypt_util.c (bad_for_salt): New.
16000         (_ufc_setup_salt_r): Check that salt is long enough and within
16001         the specified alphabet.
16002         * crypt/badsalttest.c: New file.
16003         * crypt/Makefile (tests): Add it.
16004         ($(objpfx)badsalttest): New.
16006 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
16008         * NEWS: Add entry for BZ #14602.
16010 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16012         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16013         type-generic.
16014         * math/libm-test.inc: Update comment listing what functions and
16015         macros are tested.
16016         (isgreater_test): New function.
16017         (isgreaterequal_test): Likewise.
16018         (isless_test): Likewise.
16019         (islessequal_test): Likewise.
16020         (islessgreater_test): Likewise.
16021         (isunordered_test): Likewise.
16022         (main): Call the new functions.
16024 2012-10-09  Roland McGrath  <roland@hack.frob.com>
16026         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16027         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16028         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16029         * sysdeps/i386/configure: Regenerated.
16030         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16031         * sysdeps/mach/configure: Regenerated.
16032         * sysdeps/mach/hurd/configure: Regenerated.
16033         * sysdeps/powerpc/configure: Regenerated.
16034         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16035         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16036         * sysdeps/s390/s390-32/configure: Regenerated.
16037         * sysdeps/s390/s390-64/configure: Regenerated.
16038         * sysdeps/sh/configure: Regenerated.
16039         * sysdeps/sparc/configure: Regenerated.
16040         * sysdeps/unix/sysv/linux/configure: Regenerated.
16041         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16042         * sysdeps/x86_64/configure: Regenerated.
16044         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16045         defined.  Don't check if MAP is NULL.
16047 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16049         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16050         (_G_stat64): Likewise.
16051         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16052         (_G_stat64): Likewise.
16053         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16054         instead of struct _G_stat64.
16055         * libio/fileops.c (mmap_remap_check): Likewise.
16056         (decide_maybe_mmap): Likewise.
16057         (_IO_new_file_seekoff): Likewise.
16058         (_IO_file_stat): Likewise.
16059         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16060         _G_off64_t.
16061         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16062         instead of struct _G_stat64.
16063         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16065 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
16067         [BZ #14602]
16068         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16069         Replace with ...
16070         (CHECK_EOL): New macro.
16071         (two_way_short_needle): Check beginning of haystack for EOL.  Use
16072         CHECK_EOL.
16073         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16074         Replace with CHECK_EOL.
16075         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16076         Replace with CHECK_EOL.
16078 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
16080         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16081         type-generic.
16082         * math/libm-test.inc: Update comment listing what functions and
16083         macros are tested.
16084         (finite_test): New function.
16085         (isinf_test): Likewise.
16086         (isnan_test): Likewise.
16087         (fpclassify_test): Test subnormal input.
16088         (isfinite_test): Likewise.
16089         (isnormal_test): Likewise.
16090         (main): Call the new functions.
16092 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
16094         [BZ #14660]
16095         * Makerules (%.dynsym): Force C locale when running
16096         $(OBJDUMP) --dynamic-syms.
16098 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
16100         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16101         <stdint.h>.
16103 2012-10-06  David S. Miller  <davem@davemloft.net>
16105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16106         upper 32-bits of the length value in %o2 since we use branch-on-register
16107         tests which consider the entire 64-bit register.
16109 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
16111         * string/test-strstr.c (check2): Add a test for page boundary.
16113 2012-10-05  David S. Miller  <davem@davemloft.net>
16115         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16116         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16117         file.
16118         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16119         sysdep_routines.
16120         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16121         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16122         and bzero when HWCAP_SPARC_CRYPTO is present.
16124 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
16126         [BZ #14602]
16127         * string/test-strstr.c (check2): New function.
16128         (test_main): Call check2.
16130         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16131         and bug-strchr1.
16132         * string/bug-strcasestr1.c (do_test): Moved to ...
16133         * string/test-strcasestr.c (check1): Here.  New function.
16134         (do_one_test): Break out result checking code into ...
16135         (check_result): This.  New function.
16136         (do_one_test): Call check_result.
16137         (test_main): Call check1.
16138         * string/bug-strchr1.c (do_test): Moved to ...
16139         * string/test-strchr.c (check1): Here.  New function.
16140         (do_one_test): Break out result checking code into ...
16141         (check_result): This.  New function.
16142         (do_one_test): Call check_result.
16143         (test_main): Call check1.
16144         * string/bug-strstr1.c (main): Moved to ...
16145         * string/test-strstr.c (check1): Here.  New function.
16146         (do_one_test): Break out result checking code into ...
16147         (check_result): This.  New function.
16148         (do_one_test): Call check_result.
16149         (test_main): Call check1.
16150         * string/bug-strcasestr1.c: Removed.
16151         * string/bug-strchr1.c: Likewise.
16152         * string/bug-strstr1.c: Likewise.
16154         * elf/Makefile (dl-routines): Add hwcaps.
16155         * elf/dl-support.c (_dl_important_hwcaps): Removed.
16156         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16157         (_dl_important_hwcaps): Moved to ...
16158         * elf/dl-hwcaps.c: Here.  New file.
16159         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16161         [BZ #14557]
16162         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16163         if IS_IN_rtld isn't defined.
16165         * elf/dl-support.c (_dl_sysinfo_map): New.
16166         Include "get-dynamic-info.h" and "setup-vdso.h".
16167         (_dl_non_dynamic_init): Call setup_vdso.
16168         * elf/dynamic-link.h: Don't include <assert.h>.
16169         (elf_get_dynamic_info): Moved to ...
16170         * elf/get-dynamic-info.h: Here.  New file.
16171         * elf/dynamic-link.h: Include "get-dynamic-info.h".
16172         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16173         * elf/setup-vdso.h: Here.  New file.
16174         * elf/rtld.c: Include "setup-vdso.h".
16175         (dl_main): Call setup_vdso.
16177 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
16179         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16180         creal in comment listing functions tested.  List finite, isinf,
16181         isnan, isless, islessequal, isgreater, isgreaterequal,
16182         islessgreater, isunordered, lgamma_r and pow10 as functions and
16183         macros not tested.  Mention which functions not tested are aliases
16184         for other functions.  Fix typo.  Note that signs of NaNs are not
16185         tested.
16187         * scripts/config.guess: Update from config.git.
16188         * scripts/config.sub: Likewise.
16190 2012-10-04  Roland McGrath  <roland@hack.frob.com>
16192         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16193         * misc/madvise.c (madvise): Renamed to __madvise.
16194         Make madvise a weak alias.
16195         * include/sys/mman.h: Declare __madvise.
16196         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16197         * sysdeps/unix/syscalls.list
16198         (madvise): Make __madvise the strong name, and madvise a weak alias.
16199         * sysdeps/unix/sysv/linux/syscalls.list
16200         (madvise, mmap): Remove redundant entries.
16201         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16202         * malloc/malloc.c (mtrim): Likewise.
16203         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16205 2012-10-03  Roland McGrath  <roland@hack.frob.com>
16207         * sysdeps/mach/hurd/dl-cache.c: File removed.
16208         * config.h.in (USE_LDCONFIG): New #undef.
16209         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16210         * configure: Regenerated.
16211         * elf/Makefile (dl-routines): Add dl-cache only under
16212         [$(use-ldconfig) = yes].
16213         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16214         cache on [USE_LDCONFIG].
16215         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16216         [USE_LDCONFIG].
16217         * elf/rtld.c (dl_main): Likewise.
16219 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
16221         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16222         _SC_LEVEL4_CACHE_LINESIZE.
16224 2012-10-03  Roland McGrath  <roland@hack.frob.com>
16226         * sysdeps/unix/bsd/confstr.h: File removed.
16228 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
16230         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16231         sys/sdt-config.h.
16233 2012-10-02  Roland McGrath  <roland@hack.frob.com>
16235         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16236         Make 'mapoff' field ElfW(Off) rather than off_t.
16238 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
16240         * nscd/Makefile: Remove nscd-cflags and all its users.
16241         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16242         (CFLAGS-nonlib): Add compiler flags for nscd modules.
16244         [BZ #10631]
16245         * malloc.c (malloc_printerr): Clarify error message.
16247 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
16249         [BZ #14648]
16250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16251         Set bit_FMA_Usable if FMA is supported.
16252         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16253         macro.
16254         (bit_FMA4_Usable): Updated.
16255         (index_FMA_Usable): New macro.
16256         (CPUID_FMA): Likewise
16257         (HAS_FMA): Defined with bit_FMA_Usable.
16259 2012-10-01  Roland McGrath  <roland@hack.frob.com>
16261         * bits/types.h (__swblk_t): Type removed.
16262         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16263         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16264         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16265         (__SWBLK_T_TYPE): Likewise.
16266         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16267         (__SWBLK_T_TYPE): Likewise.
16268         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16269         (__SWBLK_T_TYPE): Likewise.
16270         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16271         (__SWBLK_T_TYPE): Likewise.
16273 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
16274             Honza Horak <hhorak@redhat.com>
16276         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16277         (xdr_mapname): Use YPMAXMAP as maxsize.
16278         (xdr_peername): Use YPMAXPEER as maxsize.
16279         (xdr_keydat): Use YPAXRECORD as maxsize.
16280         (xdr_valdat): Use YPMAXRECORD as maxsize.
16282 2012-10-01  Roland McGrath  <roland@hack.frob.com>
16284         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16286         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16287         * csu/init-first.c: ... here.
16288         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16289         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16290         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16291         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16292         * sysdeps/i386/init-first.c: File removed.
16293         * sysdeps/sh/init-first.c: File removed.
16295 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
16297         [BZ #14645]
16298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16299         if x * y might underflow to zero and z is zero.
16300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16301         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16302         * math/libm-test.inc (min_subnorm_value): New variable.
16303         (fma_test): Add more tests.
16304         (fma_test_towardzero): Likewise.
16305         (fma_test_downward): Likewise
16306         (fma_test_upward): Likewise.
16307         (initialize): Set min_subnorm_value.
16309 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
16311         [BZ #14638]
16312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16313         0 + 0.
16314         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16315         mode for addition resulting in exact zero.
16316         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16318         exact 0 + 0.
16319         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16321         * math/libm-test.inc (fma_test): Add more tests.
16322         (fma_test_towardzero): New function.
16323         (fma_test_downward): Likewise.
16324         (fma_test_upward): Likewise.
16325         (main): Call the new functions.
16327 2012-09-28  David S. Miller  <davem@davemloft.net>
16329         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16331 2012-09-28  Roland McGrath  <roland@hack.frob.com>
16333         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16334         instead of SIGALRM.
16336         * sysdeps/gnu/_G_config.h: Moved to ...
16337         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16338         * sysdeps/mach/hurd/_G_config.h: Moved to ...
16339         * sysdeps/generic/_G_config.h: ... here.
16341         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
16343         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16345         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16346         Conditionalize target on [libnss_test1.so-version].
16348         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16350         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16351         (elfobjdir): Move out of conditionals.
16353         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16354         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16355         (__nss_lookup_function): Conditionalize label remove_from_tree on
16356         [!DO_STATIC_NSS || SHARED], matching its only use.
16358 2012-09-28  David S. Miller  <davem@davemloft.net>
16360         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16361         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16362         file.
16363         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16364         sysdep_routines.
16365         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16366         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16367         when HWCAP_SPARC_CRYPTO is present.
16369 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16371         * io/tst-mknodat.c: Create a FIFO instead of a socket.
16373 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16375         [BZ #6530]
16376         * stdio-common/vfprintf.c (process_string_arg): Revert
16377         2000-07-22 change.
16379 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
16381         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16382         for testcase.
16383         * stdio-common/tst-sprintf.c: Include <locale.h>
16384         (main): Test sprintf's handling of incomplete multibyte
16385         characters.
16387 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
16389         * elf/dl-runtime.c (VERSYMIDX): Removed.
16390         * elf/dl-version.c (VERSYMIDX): Likewise.
16391         * elf/do-rel.h (VERSYMIDX): Likewise.
16392         (VALIDX): Likewise.
16393         * elf/dynamic-link.h (VERSYMIDX): Likewise.
16394         * elf/rtld.c (VALIDX): Likewise.
16395         (ADDRIDX): Likewise.
16396         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16397         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16398         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16399         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16400         (VALIDX): Likewise.
16401         (ADDRIDX): Likewise.
16403 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16405         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16407 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
16409         [BZ #11438]
16410         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16411         to global scope.
16412         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16413         addresses are in the same scope as 192.0.2/24.
16414         * posix/gai.conf: Document new scope table defaults.
16416 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16418         [BZ #5298]
16419         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16420         for ftell.  Compute offsets from write pointers instead.
16421         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16423 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16425         [BZ #14543]
16426         * libio/Makefile (tests): New test case tst-fseek.
16427         * libio/tst-fseek.c: New test case to verify that fseek/ftell
16428         combination works in wide mode.
16429         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16430         state when the external buffer state changes.
16432 2012-09-27  David S. Miller  <davem@davemloft.net>
16434         [BZ #14376]
16435         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16436         pass reloc->r_addend in as the 'high' argument to
16437         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16441 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16443         * rt/tst-aio2.c: Include <pthread.h>.
16444         * rt/tst-aio3.c: Likewise.
16446 2012-09-27  Steve Ellcey  <sellcey@mips.com>
16448         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16450 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
16452         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16453         contents on [SHARED].
16455 2012-09-26  Marek Polacek  <polacek@redhat.com>
16457         [BZ #14530]
16458         [BZ #13741]
16459         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16460         for C++ and GCC <4.3 as well as for non GCC compilers.
16462 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16466 2012-09-25  Roland McGrath  <roland@hack.frob.com>
16468         * Makefile.in (all, install): Declare with .PHONY.
16469         Reported by Michael Hope <michael.hope@linaro.org>.
16471 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16473         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16474         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16475         system header.
16476         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16477         Likewise.
16478         (sydep_routines): Add the new and the internal functions.
16479         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16480         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16482         (GLIBC_2.17): Add the new function.
16483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16484         (GLIBC_2.17): Likewise.
16485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16486         (GLIBC_2.17): Likewise.
16487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16488         (GLIBC_2.17): Likewise.
16489         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16491 2012-09-25  Alan Modra  <amodra@gmail.com>
16493         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16494         Add release barrier before setting once_control to say
16495         initialisation is done.  Add hints on lwarx.  Use macro in
16496         place of isync.
16497         (clear_once_control): Add release barrier.
16499 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16501         [BZ #13629]
16502         * math/s_clog.c (__clog): Handle more values close to |z| = 1
16503         specially.
16504         * math/s_clog10.c (__clog10): Likewise.
16505         * math/s_clog10f.c (__clog10f): Likewise.
16506         * math/s_clog10l.c (__clog10l): Likewise.
16507         * math/s_clogf.c (__clogf): Likewise.
16508         * math/s_clogl.c (__clogl): Likewise.
16509         * math/Makefile (libm-calls): Add x2y2m1.
16510         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16511         (__x2y2m1): Likewise.
16512         (__x2y2m1l): Likewise.
16513         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16514         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16515         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16516         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16517         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16518         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16519         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16520         * sysdeps/i386/fpu/libm-test-ulps: Update.
16521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16523         [BZ #14621]
16524         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16525         int as type of variable DEPTH.
16526         (glob): Use size_t instead of int as type of variables NEWCOUNT
16527         and OLD_PATHC.
16529 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16531         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16532         Add s_sincosf-sse2.
16533         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16534         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16535         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16536         macros for using routine as __sincosf_ia32.
16537         Use macro for function declaration and weak_alias.
16538         * sysdeps/i386/fpu/libm-test-ulps: Update.
16540         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16543         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16544         subnormal argument.
16545         * math/s_cexpf.c (__cexpf): Likewise.
16546         * math/s_csinf.c (__csinf): Likewise.
16547         * math/s_csinhf.c (__csinhf): Likewise.
16548         * math/s_ctanf.c (__ctanf): Likewise.
16549         * math/s_ctanhf.c (__ctanhf): Likewise.
16550         * math/s_ccosh.c (__ccoshf): Likewise.
16551         * math/s_cexp.c (__cexpl): Likewise.
16552         * math/s_csin.c (__csin): Likewise.
16553         * math/s_csinh.c (__csinh): Likewise.
16554         * math/s_ctan.c (__ctan): Likewise.
16555         * math/s_ctanh.c (ctanh): Likewise.
16556         * math/s_ccoshl.c (__ccoshl): Likewise.
16557         * math/s_cexpl.c (__cexpl): Likewise.
16558         * math/s_csinl.c (__csinl): Likewise.
16559         * math/s_csinhl.c (__csinhl): Likewise.
16560         * math/s_ctanl.c (__ctanl): Likewise.
16561         * math/s_ctanhl.c (__ctanhl): Likewise.
16563 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16565         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16566         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16567         (_IO_off_t): Define to __off_t, not _G_off_t.
16568         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16569         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16570         (_IO_wint_t): Define to wint_t, not _G_wint_t.
16571         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16572         type of __dummy and __dummy2 fields.
16573         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16574         (_G_ssize_t): Likewise.
16575         (_G_off_t): Likewise.
16576         (_G_pid_t): Likewise.
16577         (_G_uid_t): Likewise.
16578         (_G_wchar_t): Likewise.
16579         (_G_wint_t): Likewise.
16580         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16581         (_G_ssize_t): Likewise.
16582         (_G_off_t): Likewise.
16583         (_G_pid_t): Likewise.
16584         (_G_uid_t): Likewise.
16585         (_G_wchar_t): Likewise.
16586         (_G_wint_t): Likewise.
16587         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16588         (_G_ssize_t): Likewise.
16589         (_G_off_t): Likewise.
16590         (_G_pid_t): Likewise.
16591         (_G_uid_t): Likewise.
16592         (_G_wchar_t): Likewise.
16593         (_G_wint_t): Likewise.
16595 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16597         * malloc/arena.c: Include malloc-sysdep.h.
16598         (shrink_heap): Use check_may_shrink_heap to decide if madvise
16599         is sufficient to shrink the heap or an unmap is needed.
16600         * sysdeps/generic/malloc-sysdep.h: New file.  Define
16601         new function check_may_shrink_heap.
16602         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
16603         new function check_may_shrink_heap.
16605 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16607         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16608         comments.
16610 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
16612         * catgets/test-gencat.sh: Add "set -e".
16613         * elf/tst-pathopt.sh: Likewise.
16614         * grp/tst_fgetgrent.sh: Likewise.
16615         * iconvdata/run-iconv-test.sh: Likewise.
16616         * intl/tst-gettext.sh: Likewise.
16617         * intl/tst-gettext2.sh: Likewise.
16618         * intl/tst-gettext4.sh: Likewise.
16619         * intl/tst-gettext6.sh: Likewise.
16620         * intl/tst-translit.sh: Likewise.
16621         * io/ftwtest-sh: Likewise.
16622         * libio/test-freopen.sh: Likewise.
16623         * malloc/tst-mtrace.sh: Likewise.
16624         * posix/globtest.sh: Likewise.
16625         * posix/tst-getconf.sh: Likewise.
16626         * posix/wordexp-tst.sh: Likewise.
16627         * stdio-common/tst-printf.sh: Likewise.
16628         * stdio-common/tst-unbputc.sh: Likewise.
16629         * stdlib/tst-fmtmsg.sh: Likewise.
16630         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16631         * catgets/Makefile: Do not specify -e option when running
16632         testsuite shell scripts.
16633         * elf/Makefile: Likewise.
16634         * grp/Makefile: Likewise.
16635         * iconvdata/Makefile: Likewise.
16636         * intl/Makefile: Likewise.
16637         * io/Makefile: Likewise.
16638         * libio/Makefile: Likewise.
16639         * malloc/Makefile: Likewise.
16640         * posix/Makefile: Likewise.
16641         * stdio-common/Makefile: Likewise.
16642         * stdlib/Makefile: Likewise.
16643         * sysdeps/x86_64/Makefile: Likewise.
16645         * io/ftwtest-sh: Add copyright header.
16646         * posix/globtest.sh: Likewise.
16647         * posix/tst-getconf.sh: Likewise.
16648         * posix/wordexp-tst.sh: Likewise.
16649         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16651 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
16653         [BZ #13679]
16654         * Makeconfig (+link): Defined as $(+link-static) if
16655         $(build-shared) isn't yes.
16656         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16657         isn't yes.
16658         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16660         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16662         [BZ #14562]
16663         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16664         new chunk size with MALLOC_ALIGN_MASK.
16666 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
16668         [BZ #5044]
16669         * stdio-common/printf_fphex.c: Include <stdbool.h> and
16670         <rounding-mode.h>.
16671         (__printf_fphex): Determine rounding using get_rounding_mode and
16672         round_away.
16673         * stdio-common/tst-printf-round.c (struct hex_test): New
16674         structure.
16675         (hex_tests): New variable.
16676         (test_hex_in_one_mode): New function.
16677         (do_test): Also run tests for hex float output.
16679 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
16681         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16682         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16683         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16684         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16685         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16686         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16687         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16688         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16690 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
16692         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16693         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16694         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16695         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16697 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
16699         [BZ #14579]
16700         * elf/rtld.c (dl_main): Limit the check for self loading to normal
16701         mode only.
16702         * elf/tst-rtld-load-self.sh: New test.
16703         * elf/Makefile: Run it.
16705 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
16707         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16708         (tst-writev-ENV): Remove.
16709         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16711 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
16713         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16715 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
16717         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16718         unconditional.
16719         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16720         Likewise.
16721         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16722         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16723         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16724         Likewise.
16726 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
16728         [BZ #14587]
16729         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16730         * config.make.in (have-cpp-asm-debuginfo): Removed.
16731         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16732         * configure: Regenerated.
16734 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
16736         [BZ #5044]
16737         * stdio-common/printf_fp.c: Include <stdbool.h> and
16738         <rounding-mode.h>.
16739         (___printf_fp): Determine rounding using get_rounding_mode and
16740         round_away.
16741         * stdio-common/tst-printf-round.c: New file.
16742         * stdio-common/Makefile (tests): Add tst-printf-round.
16743         (link-libm): New variable.
16744         ($(objpfx)tst-printf-round): Depend in $(link-libm).
16746 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
16748         [BZ #14576]
16749         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16750         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16751         Likewise.
16752         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16753         Likewise.
16755 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
16757         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16758         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16759         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16760         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16762 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16764         [BZ #14518]
16765         * include/rounding-mode.h: New file.
16766         * sysdeps/generic/get-rounding-mode.h: Likewise.
16767         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16768         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16769         (MAX_VALUE): New macro.
16770         (MIN_VALUE): Likewise.
16771         (overflow_value): New function.
16772         (underflow_value): Likewise.
16773         (round_and_return): Use overflow_value and underflow_value to
16774         determine return values in overflow and underflow cases.  Use
16775         round_away to determine rounding depending on rounding mode.
16776         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16777         determine return values in overflow and underflow cases.
16778         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16779         (struct test_results): New structure.
16780         (struct test): Use struct test_results to store expected results
16781         for all rounding modes.
16782         (TEST): Include expected results for all rounding modes.
16783         (test_in_one_mode): New function.
16784         (do_test): Use test_in_one_mode to compute and check results.
16785         Check results for all rounding modes.
16786         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16787         $(link-libm).
16789 2012-12-09  Allan McRae  <allan@archlinux.org>
16791         * sysdeps/i386/fpu/libm-test-ulps: Update
16793 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16795         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16796         (_G_int32_t): Likewise.
16797         (_G_uint16_t): Likewise.
16798         (_G_uint32_t): Likewise.
16799         (_G_HAVE_BOOL): Likewise.
16800         (_G_HAVE_ATEXIT): Likewise.
16801         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16802         (_G_HAVE_IO_FILE_OPEN): Likewise.
16803         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16804         (_G_int32_t): Likewise.
16805         (_G_uint16_t): Likewise.
16806         (_G_uint32_t): Likewise.
16807         (_G_HAVE_BOOL): Likewise.
16808         (_G_HAVE_ATEXIT): Likewise.
16809         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16810         (_G_HAVE_IO_FILE_OPEN): Likewise.
16811         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16812         (_G_int32_t): Likewise.
16813         (_G_uint16_t): Likewise.
16814         (_G_uint32_t): Likewise.
16815         (_G_HAVE_BOOL): Likewise.
16816         (_G_HAVE_ATEXIT): Likewise.
16817         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16818         (_G_HAVE_IO_FILE_OPEN): Likewise.
16820 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16822         * csu/libc-tls.c: Update copyright years.
16824 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16826         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16827         [!_G_USING_THUNKS]: Remove conditional code.
16828         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16829         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16831         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16832         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16833         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16834         (_G_VTABLE_LABEL_PREFIX): Likewise.
16835         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16836         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16837         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16838         (_G_VTABLE_LABEL_PREFIX): Likewise.
16839         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16840         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16841         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16842         (_G_VTABLE_LABEL_PREFIX): Likewise.
16843         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16845 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16847         * libio/Makefile: Include ../Makeconfig before tests.
16848         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16849         only if $(build-shared) is yes.
16851         * iconv/gconv_db.c: Update copyright years.
16853 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16855         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16856         unwind info if defined PIC. Fix special cases description.
16857         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16859         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16860         DP_HI_MASK entry.
16861         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16863 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16865         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16867         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16868         is NULL.
16870         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16871         (LDLIBS-tst-chk4): This.
16872         (LDFLAGS-tst-chk5): Renamed to ...
16873         (LDLIBS-tst-chk5): This.
16874         (LDFLAGS-tst-chk6): Renamed to ...
16875         (LDLIBS-tst-chk6): This.
16876         (LDFLAGS-tst-lfschk4): Renamed to ...
16877         (LDLIBS-tst-lfschk4): This.
16878         (LDFLAGS-tst-lfschk5): Renamed to ...
16879         (LDLIBS-tst-lfschk5): This.
16880         (LDFLAGS-tst-lfschk6): Renamed to ...
16881         (LDLIBS-tst-lfschk6): This.
16883         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16884         on $(common-objpfx)soversions.mk.
16886 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16888         [BZ #10014]
16889         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16890         example host name.
16892 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16894         * malloc/arena.c (arena_get_retry): New function that gets
16895         another arena for the caller to try its request on.
16896         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16897         current arena cannot fulfill the request.
16898         (__libc_memalign): Likewise.
16899         (__libc_memalign): Likewise.
16900         (__libc_pvalloc): Likewise.
16901         (__libc_calloc): Likewise.
16903 2012-09-05  John Tobey  <john.tobey@gmail.com>
16905         [BZ #13542]
16906         * manual/arith.texi (Operations on Complex): Fix description
16907         of carg branch cut.
16909 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16911         [BZ #10014]
16912         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16913         host name.
16915         [BZ #10038]
16916         * manual/memory.texi (Memory): Make order of menu items match
16917         order of sections.
16919 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16921         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16922         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16923         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16925 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16927         * csu/libc-tls.c (static_dtv): Renamed to ...
16928         (_dl_static_dtv): This.  Make it global.
16929         (_dl_initial_dtv): Removed.
16930         (__libc_setup_tls): Updated.
16931         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16932         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16933         DL_INITIAL_DTV.
16935 2012-09-06  Petr Machata  <pmachata@redhat.com>
16937         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16938         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16939         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16940         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16942 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16944         [BZ #14545]
16945         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16946         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16947         freeing dtv[-1].
16949 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16951         [BZ #14544]
16952         * Makeconfig (link-static-before-libc): Replace $(+prector)
16953         with $(+prectorT).
16954         (link-static-after-libc): Replace $(+postctor) with
16955         $(+postctorT).
16956         (link-bounded): Replace $(+prector)/$(+postctor) with
16957         $(+prectorT)/$(+postctorT).
16958         (+prectorT): New macro.
16959         (+postctorT): Likewise.
16961 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16963         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16964         (round_str): Handle values above the maximum for IBM long double
16965         as inexact.
16966         * stdlib/tst-strtod-round.c (tests): Regenerated.
16968 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16970         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16971         assembler flag.
16972         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16973         zarch_nohighgprs around the zarch optimized routines.
16974         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16975         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16976         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16977         for zarch.
16979 2012-09-05  David S. Miller  <davem@davemloft.net>
16981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16983         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16984         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16985         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16986         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16987         entries.
16989 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16991         * malloc/arena.c: Fold copyright years.
16992         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16994 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16996         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16998 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17000         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
17002 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17004         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17005         change internal state upon failure.
17007 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17009         * malloc/mcheck.c (mcheck_check_all): Fix typo.
17010         * malloc/memusage.c (mmap): Likewise.
17011         (mmap64, mremap): Likewise.  Adjust name in comment.
17013 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17015         * libio/fileops.c: Fix typos in comments.
17016         * libio/oldfileops.c: Likewise.
17017         * libio/wfileops.c: Likewise.
17019 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17021         [BZ #1349]
17022         * malloc/Makefile (tests): Add tst-malloc-usable test case.
17023         (tst-malloc-usable-ENV): Set environment for test case.
17024         * malloc/hooks.c (malloc_check_get_size): New function to get
17025         requested size.
17026         * malloc/malloc.c (musable): Use malloc_check_get_size.
17027         * malloc/tst-malloc-usable.c: New test case.
17029 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17031         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17033 2012-09-05  Allan McRae  <allan@archlinux.org>
17035         [BZ #13966]
17036         * configure.in (CXX_SYSINCLUDES): Use compiler output to
17037         determine header location.
17038         * configure: Regenerated.
17040 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17042         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17043         float format.
17044         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17045         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17046         format.
17047         (test): Regenerate.
17049 2012-09-04  David S. Miller  <davem@davemloft.net>
17051         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17052         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17053         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17055 2012-09-04  Florian Weimer  <fweimer@redhat.com>
17057         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17058         failures.
17060         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17062 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
17064         [BZ #9914]
17065         * libio/iogetdelim.c: Include <limits.h>.
17066         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17067         + len + 1 would overflow.
17069 2012-09-03  Andreas Jaeger  <aj@suse.de>
17071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17072         * sysdeps/i386/fpu/libm-test-ulps: Update.
17074 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17076         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17077         Add s_sinf-sse2, s_conf-sse2.
17079         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17080         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17081         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17082         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17084         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17085         for using routine as __sinf_ia32.
17086         Use macro for function declaration and weak_alias.
17087         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17088         for using routine as __cosf_ia32.
17089         Use macro for function declaration and weak_alias.
17091         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17092         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17094         * sysdeps/x86_64/fpu/s_sinf.S: New file.
17095         * sysdeps/x86_64/fpu/s_cosf.S: New file.
17096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17098         * math/libm-test.inc (cos_test): Add more test cases.
17099         (sin_test): Likewise.
17100         (sincos_test): Likewise.
17102 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17104         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17105         (IFUNC_RESOLVE): Make pointers to the specialized implementations
17106         hidden.
17107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17109 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
17111         [BZ #14538]
17112         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17113         first element of the GOT.
17114         (elf_machine_load_address): Return the difference between
17115         the runtime address of _DYNAMIC and elf_machine_dynamic ().
17117 2012-09-01  Allan McRae  <allan@archlinux.org>
17119         [BZ #13412]
17120         * configure.in (AWK): Require gawk version 3.0 or later.
17121         * configure: Regenerated.
17123 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
17125         * sysdeps/unix/sysv/linux/kernel-features.h
17126         (__ASSUME_POSIX_CPU_TIMERS): Remove.
17127         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17128         [__NR_clock_getres]: Make code unconditional.
17129         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17130         (clock_getcpuclockid): Remove code left unreachable by removal of
17131         conditionals.
17132         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17133         code unconditional.
17134         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17135         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17136         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17137         Make code unconditional.
17138         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17139         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17140         * sysdeps/unix/sysv/linux/clock_settime.c
17141         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17142         conditional code.
17143         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17144         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17146 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
17148         [BZ #14476]
17149         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17150         scripts/test-installation.pl.
17152         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17153         and $ld_so_version if it is set.
17155 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17157         [BZ #14516]
17158         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17159         failure if reading from procfs failed.
17160         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17162 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
17164         * sysdeps/unix/sysv/linux/kernel-features.h
17165         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17166         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17167         Remove conditional code.
17168         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17169         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17170         Remove conditional code.
17171         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17172         * sysdeps/unix/sysv/linux/i386/fxstat.c
17173         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17174         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17175         * sysdeps/unix/sysv/linux/i386/fxstatat.c
17176         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17177         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17178         * sysdeps/unix/sysv/linux/i386/lxstat.c
17179         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17180         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17181         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17182         Remove conditional code.
17183         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17184         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17185         Remove conditional code.
17186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17187         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17188         <kernel-features.h>.
17189         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17190         Remove.
17191         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17192         Remove conditional code.
17193         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17194         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17195         Remove conditional.
17197 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
17199         [BZ #5400]
17200         * NEWS: Add fixed bug number.
17202 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
17204         [BZ #14519]
17205         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17206         underflowing exponent in case of negative sign.
17207         * stdlib/tst-strtod-round-data: Add more tests.
17208         * stdlib/tst-strtod-round.c (tests): Regenerated.
17210         [BZ #3479]
17211         * stdlib/strtod_l.c (NDIG): Remove.
17212         (HEXNDIG): Likewise.
17213         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17214         smallest representable value.
17215         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17216         lie within an exact representation of 1/2 ulp of the result.
17217         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17218         unconditionally.
17219         (TENS_P9_IDX): Define unconditionally.
17220         (TENS_P9_SIZE): Likewise.
17221         (TENS_P10_IDX): Likewise.
17222         (TENS_P10_SIZE): Likewise.
17223         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17224         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17225         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17226         entries for 10^2^13 and 10^2^14.
17227         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17228         (TENS_P13_IDX): Define.
17229         (TENS_P13_SIZE): Likewise.
17230         (TENS_P14_IDX): Likewise.
17231         (TENS_P14_SIZE): Likewise.
17232         (_fpioconst_pow10): Change array size to
17233         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
17234         unconditional.
17235         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17236         1024]: Add entries for 10^2^13 and 10^2^14.
17237         [LAST_POW10 > _LAST_POW10]: Remove #error.
17238         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17239         (_fpioconst_pow10): Change array size to
17240         FPIOCONST_POW10_ARRAY_SIZE.
17241         * stdlib/gen-fpioconst.c: New file.
17242         * stdlib/gen-tst-strtod-round.c: Likewise.
17243         * stdlib/tst-strtod-round-data: Likewise.
17244         * stdlib/tst-strtod-round.c: Likewise.
17245         * stdlib/Makefile (tests): Add tst-strtod-round.
17247         [BZ #14459]
17248         * stdlib/strtod_l.c: Include <stdint.h>.
17249         (NDEBUG): Do not define.
17250         (round_and_return): Change EXPONENT parameter to type intmax_t.
17251         Rearrange calculations to avoid internal overflow possibilities.
17252         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17253         Rearrange calculations to avoid internal overflow possibilities.
17254         Assert that number fits inside MPNSIZE limbs.
17255         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17256         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
17257         calculations and add assertions to avoid internal overflow
17258         possibilities.  Add casts to avoid signed/unsigned operations.
17259         * stdlib/tst-strtod-overflow.c: New file.
17260         * stdlib/Makefile (tests): Add tst-strtod-overflow.
17262 2012-08-25  Marek Polacek  <polacek@redhat.com>
17264         * time/time.h: Fix some typos in comments.
17266 2012-08-23  Roland McGrath  <roland@hack.frob.com>
17268         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17269         * posix/tst-rfc3484-2.c: Likewise.
17270         * posix/tst-rfc3484-3.c: Likewise.
17272 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
17274         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17275         (EF_ARM_ABI_FLOAT_HARD): Likewise.
17277 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
17279         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17280         #include of fxstatat64.c.
17282 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17284         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17285         * shadow/getspent_r.c: Likewise.
17286         * shadow/getspnam.c: Likewise.
17287         * shadow/getspnam_r.c: Likewise.
17288         * gshadow/getsgent.c: Likewise.
17289         * gshadow/getsgent_r.c: Likewise.
17290         * gshadow/getsgnam.c: Likewise.
17291         * gshadow/getsgnam_r.c: Likewise.
17292         * inet/getnetbyad.c: Likewise.
17293         * inet/getnetbyad_r.c: Likewise.
17294         * inet/getnetbynm.c: Likewise.
17295         * inet/getnetbynm_r.c: Likewise.
17296         * inet/getnetent.c: Likewise.
17297         * inet/getnetent_r.c: Likewise.
17298         * inet/getproto.c: Likewise.
17299         * inet/getproto_r.c: Likewise.
17300         * inet/getprtent.c: Likewise.
17301         * inet/getprtent_r.c: Likewise.
17302         * inet/getprtname.c: Likewise.
17303         * inet/getprtname_r.c: Likewise.
17304         * inet/getrpcbyname.c: Likewise.
17305         * inet/getrpcbyname_r.c: Likewise.
17306         * inet/getrpcbynumber.c: Likewise.
17307         * inet/getrpcbynumber_r.c: Likewise.
17308         * inet/getrpcent.c: Likewise.
17309         * inet/getrpcent_r.c: Likewise.
17310         * inet/getaliasent.c: Likewise.
17311         * inet/getaliasent_r.c: Likewise.
17312         * inet/getaliasname.c: Likewise.
17313         * inet/getaliasname_r.c: Likewise.
17314         * nscd/getgrgid_r.c: Likewise.
17315         * nscd/getgrnam_r.c: Likewise.
17316         * nscd/gethstbyad_r.c: Likewise.
17317         * nscd/gethstbynm3_r.c: Likewise.
17318         * nscd/getpwnam_r.c: Likewise.
17319         * nscd/getpwuid_r.c: Likewise.
17320         * nscd/getsrvbynm_r.c: Likewise.
17321         * nscd/getsrvbypt_r.c: Likewise.
17322         * nscd/gai.c: Likewise.
17324         * configure.in (build_nscd): New substituted variable, set
17325         by --disable-build-nscd and defaults to $use_nscd.
17326         * configure: Regenerated.
17327         * config.make.in (build-nscd): New substituted variable.
17328         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17329         Change conditional to require [$(build-nscd) = yes] as well.
17330         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17332         [BZ# 13696]
17333         * configure.in (use_nscd): New substituted variable, set by
17334         --disable-nscd.  If enabled, define USE_NSCD.
17335         * configure: Regenerated.
17336         * config.h.in: Add USE_NSCD.
17337         * config.make.in (use-nscd): New substituted variable.
17338         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17339         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17340         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17341         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17342         (CFLAGS-getgrnam_r.c): Likewise.
17343         (CFLAGS-initgroups.c): Likewise.
17344         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17345         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17346         Variables removed.
17347         * inet/getnetgrent_r.c
17348         (nscd_setnetgrent): New function, broken out of ...
17349         (setnetgrent): ... here.  Call it.
17350         (innetgr): Conditionalize nscd bits on [USE_NSCD].
17351         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17352         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17353         * nscd/Makefile (routines, aux): Move definitions after include of
17354         Makeconfig.  Conditionalize on [$(use-nscd) != no].
17355         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17356         Conditionalize on [USE_NSCD].
17357         (is_nscd, nscd_init_cb): Likewise.
17358         (nss_load_library): Conditionalize init callback on [USE_NSCD].
17359         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17360         * nss/nss_db/db-init.c: Likewise.
17361         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17362         [USE_NSCD].
17363         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17364         (make_request): Use it.
17365         (cache_valid_p): New function.
17366         (__check_pf): Use it.
17367         * NEWS: Add item for --disable-nscd.
17369 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
17371         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17372         to support sed >= 4.2.1-20-ga9bf076.
17373         * configure: Regenerated.
17375 2012-08-22  Roland McGrath  <roland@hack.frob.com>
17377         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17378         Conditionalize whole body on [IREL].
17380 2012-08-22  Jeff Law <law@redhat.com>
17382         [BZ #14505]
17383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17384         if the family is PF_UNSPEC.
17386 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
17388         * Makerules (lib-version): Rename from V.
17389         (install-lib-nosubdir): Change V to lib-version.
17391 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
17393         [BZ #14252]
17394         * powerpc32/power6/wcschr.c: New file.
17395         * powerpc32/power6/wcscpy.c: New file.
17396         * powerpc32/power6/wcsrchr.c: New file.
17397         * powerpc64/power6/wcschr.c: New file.
17398         * powerpc64/power6/wcscpy.c: New file.
17399         * powerpc64/power6/wcsrchr.c: New file.
17401 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17403         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17404         (two_way_short_needle): Use it.
17405         * string/strstr.c (AVAILABLE1_USES_J): Define.
17406         * string/strcasestr.c: Likewise.
17408         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17409         array references.
17410         * string/strcasestr.c (TOLOWER): Make side-effect safe.
17412         [BZ #11607]
17413         * NEWS: Add an entry.
17414         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17415         define their defaults.
17416         (two_way_short_needle): Detect end-of-string on-the-fly.
17417         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17418         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17419         * string/bug-strcasestr1.c: New test.
17420         * string/Makefile: Run it.
17422 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17424         [BZ #11607]
17425         * string/str-two-way.h (two_way_short_needle): Optimize matching of
17426         the first character.
17428 2012-08-21  Roland McGrath  <roland@hack.frob.com>
17430         * csu/elf-init.c (__libc_csu_irel): Function removed.
17431         * csu/libc-start.c (apply_irel): New function.
17432         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17434 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
17436         * sysdeps/unix/sysv/linux/kernel-features.h
17437         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17438         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17439         <kernel-features.h>.
17440         [__NR_fadvise64_64]: Make code unconditional.
17441         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17442         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17443         !__NR_fadvise64_64)]: Likewise.
17444         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17445         !__NR_fadvise64_64))]: Likewise.
17446         [__NR_fadvise64]: Make code unconditional.
17447         [!__NR_fadvise64]: Remove conditional code.
17448         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17449         <kernel-features.h>.
17450         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17451         unconditional.
17452         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17453         conditional code.
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17455         not include <kernel-features.h>.
17456         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17457         unconditional.
17458         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17459         conditional code.
17460         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17461         include <kernel-features.h>.
17462         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17463         unconditional.
17464         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17465         conditional code.
17467 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17469         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17470         slight instruction rearrangements per scrollpipe analysis.
17471         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17473 2012-08-20  Roland McGrath  <roland@hack.frob.com>
17475         * manual/syslog.texi (syslog; vsyslog, closelog):
17476         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17477         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17479         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17480         DSOCAPS to match condition on defining it.
17482 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
17484         * sysdeps/unix/sysv/linux/kernel-features.h
17485         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17487         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17488         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17490         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17491         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17493         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17494         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17496         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17497         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17499         * sysdeps/unix/sysv/linux/kernel-features.h
17500         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17501         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17502         unconditional.
17503         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17504         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17505         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17506         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17507         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17508         Make code unconditional.
17509         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17510         (__mmap64) [!__NR_mmap2]: Likewise.
17511         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17512         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17513         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17514         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17515         [__NR_mmap2]: Make code unconditional.
17516         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17517         (__mmap64) [!__NR_mmap2]: Likewise.
17519 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17521         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17523 2012-08-18  Andreas Jaeger  <aj@suse.de>
17525         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17527 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17529         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17530         * include/unistd.h (__have_sock_cloexec): Likewise.
17531         (__have_pipe2): Likewise.
17532         (__have_dup3): Likewise.
17534 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17536         [BZ #9685]
17537         * include/unistd.h (__have_pipe2): Change define into an extern int.
17538         (__have_dup3): Likewise.
17539         * socket/have_sock_cloexec.c: Include fcntl.h.
17540         (__have_pipe2): New variable.
17541         (__have_dup3): Likewise.
17543 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
17545         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17547 2012-08-17  Marek Polacek  <polacek@redhat.com>
17549         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17550         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17552 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17554         * configure.in: Add AC_SUBST for sysheaders.
17555         * configure: Regenerated.
17556         * config.make.in (sysheaders): New substituted variable.
17558         * sysdeps/unix/mkfifo.c: Moved ...
17559         * sysdeps/posix/mkfifo.c: ... here.
17560         * sysdeps/unix/mkfifoat.c: Moved ...
17561         * sysdeps/posix/mkfifoat.c: ... here.
17563         * sysdeps/unix/utime.c: Moved ...
17564         * sysdeps/posix/utime.c: ... here.
17566         * sysdeps/unix/time.c: Moved ...
17567         * sysdeps/posix/time.c: ... here.
17568         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17569         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17571         * sysdeps/unix/nice.c: Moved ...
17572         * sysdeps/posix/nice.c: ... here.
17574         * sysdeps/unix/alarm.c: Moved ...
17575         * sysdeps/posix/alarm.c: ... here.
17577         * intl/Makefile ($(codeset_mo)): Depend on the input file.
17579 2012-08-17  Jeff Law <law@redhat.com>
17581         * intl/Makefile (codeset_mo): New variable.
17582         ($(codeset_mo)): New target.
17583         (tst-codeset.out): Depend on that.  Remove explicit rule.
17584         (tst-gettext3.out, tst-gettext5.out): Likewise.
17585         (LOCPATH-ENV, tst-codeset-ENV): New variables.
17586         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17587         * intl/tst-codeset.sh: Remove.
17588         * intl/tst-gettext3.sh: Likewise.
17589         * intl/tst-gettext5.sh: Likewise.
17591 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17593         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
17594         * sysdeps/unix/syscalls.list: ... here.
17596         * sysdeps/posix/getaddrinfo.c
17597         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17598         (gaiconf_init, gaiconf_reload): Use them.
17599         [!_STATBUF_ST_NSEC]
17600         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17601         Define using time_t rather than struct timespec.
17603         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17604         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17605         Macros removed.
17606         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17607         [!NO_THREADS].
17608         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17609         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17610         Likewise.
17612         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17613         __libc_cleanup_push argument.
17615         * bits/param.h: New file.
17616         * misc/sys/param.h: New file.
17617         * include/sys/param.h: New file.
17618         * misc/Makefile (headers): Add bits/param.h.
17619         * sysdeps/generic/sys/param.h: File removed.
17620         * sysdeps/unix/sysv/linux/bits/param.h: New file.
17621         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17622         * sysdeps/mach/hurd/bits/param.h: New file.
17623         * sysdeps/mach/hurd/sys/param.h: File removed.
17625         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17626         last change.
17628         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17629         [_IO_MTSAFE_IO].
17630         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17631         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17632         New macros.
17634         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17635         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17636         rather than -D_IO_MTSAFE_IO conditionally.
17637         * stdio-common/Makefile (CPPFLAGS): Likewise.
17638         * wcsmbs/Makefile (CPPFLAGS): Likewise.
17639         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17640         Use $(libio-mtsafe).
17641         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17642         of -D_IO_MTSAFE_IO.
17643         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17644         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17645         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17646         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17647         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17648         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17649         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17650         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17651         (CFLAGS-fread_u_chk.c): Likewise.
17652         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17653         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17654         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17655         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17656         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17657         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17658         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17659         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17660         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17662         * libio/Makefile: Test [$(libc-reentrant) = yes]
17663         instead of [$(filter %REENTRANT, $(defines)) nonempty].
17665         * Makeconfig
17666         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17667         * sysdeps/pthread/configure: File removed.
17668         * sysdeps/pthread/Makeconfig: New file.
17669         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17670         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17672 2012-08-16  Gary Benson  <gbenson@redhat.com>
17674         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17675         unmapping the first object in a namespace.
17677 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17679         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17680         (__internal_setnetgrent): ... this.  Add internal_function to
17681         definition.  Add libc_hidden_def.
17682         (setnetgrent): Update caller.
17683         (internal_endnetgrent): Renamed to ...
17684         (__internal_endnetgrent): ... this.  Add internal_function to
17685         definition.  Add libc_hidden_def.
17686         (endnetgrent): Update caller.
17687         (internal_getnetgrent_r): Renamed to ...
17688         (__internal_getnetgrent_r): ... this.  Add internal_function to
17689         definition.  Add libc_hidden_def.
17690         (__getnetgrent_r): Update caller.
17691         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
17693 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17695         * stdlib/longlong.h: Update from GCC.
17697 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17699         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17700         on _QL, which is set by umul_ppmm but never used.
17701         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17702         variables, which are set by GMP macros but never used.
17703         * stdio-common/_itowa.c (_itowa): Likewise.
17704         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17705         * stdlib/mod_1.c (mpn_mod_1): Likewise.
17707 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
17709         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17710         struct La_sh_regs is not constant.
17711         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17712         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17713         and struct La_sparc64_regs are not constant.
17715 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17717         * sysdeps/unix/sysv/linux/kernel-features.h
17718         (__ASSUME_POSIX_TIMERS): Remove.
17719         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17720         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17721         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17722         Make code unconditional.
17723         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17724         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17725         Make code unconditional.
17726         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17727         * sysdeps/unix/sysv/linux/clock_nanosleep.c
17728         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17729         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17730         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17731         Make code unconditional.
17732         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17733         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17734         (__libc_missing_posix_timers): Remove.
17736 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17738         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17739         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17741         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17743         * elf/dl-sym.c: Include <stdlib.h>.
17745         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17746         constants, which avoids warnings in 32-bit builds.
17748         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17749         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17751         * misc/lseek.c: File moved to ...
17752         * io/lseek.c: ... here.
17754         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17756         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17757         shifting LEN more than 31 bits at once.
17759 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17761         [BZ #14195]
17762         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17763         segmentation fault for a case of two empty input strings.
17764         * string/test-strncasecmp.c (check1): Renamed to...
17765         (bz12205): ...this.
17766         (bz14195): Add new testcase for two empty input strings and N > 0.
17767         (test_main): Call new testcase, adapt for renamed function.
17769 2012-08-15  Andreas Jaeger  <aj@suse.de>
17771         [BZ #14090]
17772         * crypt/md5test2.c: New test, based on test supplied by Serge
17773         Belyshev <belyshev@depni.sinp.msu.ru>.
17774         * crypt/Makefile (xtests): Add md5test-giant..
17775         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17777 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17779         [BZ #14090]
17780         * crypt/md5.c (md5_process_block): Don't assume the buffer
17781         length is less than 2**32.
17782         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17783         length is less than 2**64.
17785 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17787         * string/str-two-way.h: Include <sys/param.h>.
17788         (MAX): Macro removed.
17790         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17791         Move #define and #undef of memmove to just before and after
17792         including <string.h>.
17794         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17795         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17796         and after including <string.h>.  Move declarations of
17797         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17798         to before #include "string/memmove.c".
17800         * include/dirent.h: Declare __getdirentries.
17802         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17803         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17805 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17807         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17808         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17809         * sysdeps/i386/configure: Regenerated.
17810         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17811         STABS_CURRENT_FILE, and STABS_FUN.
17812         (END): Remove call to STABS_FUN_END.
17813         (STABS_CURRENT_FILE1): Delete.
17814         (STABS_CURRENT_FILE): Likewise.
17815         (STABS_FUN): Likewise.
17816         (STABS_FUN_END): Likewise.
17817         (STABS_FUN2): Likewise.
17818         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17819         * sysdeps/x86_64/configure: Regenerated.
17821 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17823         * elf/dl-open.c: Include <atomic.h>.
17824         * elf/dl-lookup.c: Likewise.
17826 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17828         * sysdeps/unix/sysv/linux/kernel-features.h
17829         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17830         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17831         unconditionally.
17832         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17833         unconditionally.
17834         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17835         condition on __ASSUME_CLONE_THREAD_FLAGS.
17837 2012-08-14  Andreas Jaeger  <aj@suse.de>
17839         * sysdeps/i386/fpu/libm-test-ulps: Update.
17841 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17843         * include/atomic.h (atomic_exchange_and_add): Split into ...
17844         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17845         New atomic macros.
17847 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17851 2012-08-13  Jeff Law <law@redhat.com>
17853         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17854         null byte in the output string.
17856 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17858         * sysdeps/unix/sysv/linux/kernel-features.h
17859         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17860         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17861         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17862         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17863         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17864         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17865         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17867 2012-08-09  Jeff Law <law@redhat.com>
17869         [BZ #13939]
17870         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17871         When avoid_arena is set, don't retry in the that arena.  Pick the
17872         next one, whatever it might be.
17873         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17874         (arena_lock): Pass in new parameter to arena_get2.
17875         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17876         arena_get2.
17877         (__libc_malloc): Unify retrying after main arena failure with
17878         __libc_memalign version.
17879         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17881 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17883         [BZ #14166]
17884         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17885         to __redirect_strstr.
17886         (__strstr_sse42): Use typeof __redirect_strstr.
17887         (__strstr_ia32): Likewise.
17888         (__libc_strstr): New prototype.
17889         (strstr): Renamed to ...
17890         (__libc_strstr): This.
17891         (strstr): New strong alias of __libc_strstr.
17892         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17893         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17894         __redirect_time.
17895         Include <time.h>.
17896         (__libc_time): New prototype.
17897         (time_ifunc): Replace time with __libc_time.
17898         (time): New strong alias and hidden definition of __libc_time.
17899         (__GI_time): Remove strong alias.
17900         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17901         Include <stddef.h>.
17902         (memmove): Redefined to __redirect_memmove.
17903         (__memmove_sse2): Use typeof __redirect_memmove.
17904         (__memmove_ssse3): Likewise.
17905         (__memmove_ssse3_back): Likewise.
17906         (__libc_memmove): New prototype.
17907         (memmove): Renamed to ...
17908         (__libc_memmove): This.
17909         (memmove): New strong alias of __libc_memmove.
17911 2012-08-08  Mark Salter  <msalter@redhat.com>
17913         * elf/elf.h
17914         (R_MN10300_TLS_GD): Define.
17915         (R_MN10300_TLS_LD): Likewise.
17916         (R_MN10300_TLS_LDO): Likewise.
17917         (R_MN10300_TLS_GOTIE): Likewise.
17918         (R_MN10300_TLS_IE): Likewise.
17919         (R_MN10300_TLS_LE): Likewise.
17920         (R_MN10300_TLS_DTPMOD): Likewise.
17921         (R_MN10300_TLS_DTPOFF): Likewise.
17922         (R_MN10300_TLS_TPOFF): Likewise.
17923         (R_MN10300_SYM_DIFF): Likewise.
17924         (R_MN10300_ALIGN): Likewise.
17925         (R_MN10300_NUM): Update.
17927 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17929         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17930         Remove.
17932 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17934         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17936         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17937         sysdeps/unix -> sysdeps/posix move.
17938         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17940 2012-08-07      Allan McRae     <allan@archlinux.org>
17942         [BZ #14303]
17943         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17944         (SUNOS_CPP): Likewise.
17945         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17946         not found.
17947         (open_input): Call CPP using execvp.
17949 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17951         * sysdeps/unix/sysv/linux/kernel-features.h
17952         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17953         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17954         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17955         (__ASSUME_WAITID_SYSCALL): Likewise.
17956         * sysdeps/unix/sysv/linux/dl-execstack.c
17957         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17958         code unconditional.
17959         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17960         conditional code.
17961         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17962         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17963         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17964         code.
17965         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17966         unconditional.
17967         [__ASSUME_WAITID_SYSCALL]: Likewise.
17968         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17970 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17972         * sysdeps/unix/closedir.c: Renamed to ...
17973         * sysdeps/posix/closedir.c: ... here.
17974         * sysdeps/unix/dirfd.c: Renamed to ...
17975         * sysdeps/posix/dirfd.c: ... here.
17976         * sysdeps/unix/dirstream.h: Renamed to ...
17977         * sysdeps/posix/dirstream.h: ... here.
17978         * sysdeps/unix/fdopendir.c: Renamed to ...
17979         * sysdeps/posix/fdopendir.c: ... here.
17980         * sysdeps/unix/opendir.c: Renamed to ...
17981         * sysdeps/posix/opendir.c: ... here.
17982         * sysdeps/unix/readdir.c: Renamed to ...
17983         * sysdeps/posix/readdir.c: ... here.
17984         * sysdeps/unix/readdir_r.c: Renamed to ...
17985         * sysdeps/posix/readdir_r.c: ... here.
17986         * sysdeps/unix/rewinddir.c: Renamed to ...
17987         * sysdeps/posix/rewinddir.c: ... here.
17988         * sysdeps/unix/seekdir.c: Renamed to ...
17989         * sysdeps/posix/seekdir.c: ... here.
17990         * sysdeps/unix/telldir.c: Renamed to ...
17991         * sysdeps/posix/telldir.c: ... here.
17992         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17993         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17994         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17995         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17997         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17998         * bits/fcntl.h: ... here.
18000         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18001         not 0.
18002         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18003         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18004         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18005         (struct flock): Move l_start, l_len to the beginning.
18006         Use __pid_t for l_pid.
18007         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18008         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18009         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18010         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18011         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18012         [__USE_LARGEFILE64] (struct flock64): New type.
18013         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18015         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18016         * bits/dirent.h: ... here.
18018         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18019         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18021 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18023         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18024         Change from 2.6.0 to 2.6.16.
18025         * sysdeps/unix/sysv/linux/configure: Regenerated.
18026         * sysdeps/unix/sysv/linux/kernel-features.h
18027         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18028         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18029         version.
18030         (__ASSUME_UTIMES): Likewise.
18031         (__ASSUME_CLONE_STOPPED): Remove.
18032         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18033         architectures, not kernel version.
18034         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18035         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18036         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18037         (__ASSUME_WAITID_SYSCALL): Likewise.
18038         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18039         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18040         * README: State 2.6.16 as minimum Linux kernel version.  Do not
18041         refer to older versions.
18043 2012-08-06  Roland McGrath  <roland@hack.frob.com>
18045         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18046         Define alphasort64 as an alias.
18047         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18048         Define versionsort64 as an alias.
18049         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18050         Define scandir64 as an alias.
18051         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18052         Define scandirat64 as an alias.
18053         * dirent/alphasort64.c (alphasort64):
18054         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18055         * dirent/versionsort64.c: Likewise.
18056         * dirent/scandir64.c: Likewise.
18057         * dirent/scandirat64.c: Likewise.
18058         * sysdeps/wordsize-64/alphasort.c: File removed.
18059         * sysdeps/wordsize-64/alphasort64.c: File removed.
18060         * sysdeps/wordsize-64/scandir.c: File removed.
18061         * sysdeps/wordsize-64/scandir64.c: File removed.
18062         * sysdeps/wordsize-64/scandirat.c: File removed.
18063         * sysdeps/wordsize-64/scandirat64.c: File removed.
18064         * sysdeps/wordsize-64/versionsort.c: File removed.
18065         * sysdeps/wordsize-64/versionsort64.c: File removed.
18066         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18067         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18068         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18069         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18070         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18071         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18072         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18073         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18075         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18076         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18077         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18079         [defined __arch64__ || defined __sparcv9]
18080         (__INO_T_MATCHES_INO64_T): New macro.
18081         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18082         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18083         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18084         * sysdeps/unix/sysv/linux/bits/dirent.h
18085         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18086         (_DIRENT_MATCHES_DIRENT64): New macro.
18088         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18089         Define lockf64 as an alias.
18090         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18091         Define fseeko64 as an alias.
18092         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18093         Define ftello64 as an alias.
18094         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18095         Define _IO_fgetpos64 and fgetpos64 as aliases.
18096         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18097         Define _IO_fsetpos64 and fsetpos64 as aliases.
18098         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18099         Conditionalize body on this.
18100         * libio/fseeko64.c: Likewise.
18101         * libio/ftello64.c: Likewise.
18102         * libio/iofgetpos64.c: Likewise.
18103         * libio/iofsetpos64.c: Likewise.
18104         * sysdeps/wordsize-64/lockf.c: File removed.
18105         * sysdeps/wordsize-64/lockf64.c: File removed.
18106         * sysdeps/wordsize-64/fseeko.c: File removed.
18107         * sysdeps/wordsize-64/fseeko64.c: File removed.
18108         * sysdeps/wordsize-64/ftello.c: File removed.
18109         * sysdeps/wordsize-64/ftello64.c: File removed.
18110         * sysdeps/wordsize-64/iofgetpos.c: File removed.
18111         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18112         * sysdeps/wordsize-64/iofsetpos.c: File removed.
18113         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18114         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18115         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18116         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18117         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18118         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18119         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18120         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18121         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18122         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18123         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18125         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18126         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18127         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18128         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18129         [defined __arch64__ || defined __sparcv9]
18130         (__OFF_T_MATCHES_OFF64_T): New macro.
18131         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18132         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18133         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18134         (__OFF_T_MATCHES_OFF64_T): New macro.
18136 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
18138         * stdlib/secure-getenv.c (__secure_getenv): Replace
18139         GLIBC_2_16 with GLIBC_2_17.
18141 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
18143         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18144         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18146 2012-08-03  David S. Miller  <davem@davemloft.net>
18148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18150 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
18152         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18153         Remove.
18154         (__ASSUME_CORRECT_SI_PID): Likewise.
18155         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18156         (__ASSUME_TMPFS_NAME): Likewise.
18157         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18158         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18159         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18160         (HAVE_AUX_SECURE): Make definition unconditional.
18161         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18162         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18164 2012-08-03  Roland McGrath  <roland@hack.frob.com>
18166         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18167         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18168         * sysdeps/mach/hurd/eloop-threshold.h: New file.
18169         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18170         __eloop_threshold instead of SYMLOOP_MAX.
18172         * sysdeps/generic/eloop-threshold.h: New file.
18173         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18174         of MAXSYMLINKS.
18175         * elf/chroot_canon.c (chroot_canon): Likewise.
18177 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
18179         [BZ #13717]
18180         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18181         Change to 2.6.0 everywhere.
18182         * sysdeps/unix/sysv/linux/configure: Regenerated.
18183         * sysdeps/unix/sysv/linux/kernel-features.h
18184         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18185         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18186         kernel versions.
18187         (__ASSUME_POSIX_TIMERS): Define unconditionally.
18188         (__ASSUME_FUTEX_REQUEUE): Remove.
18189         (__ASSUME_STATFS64): Define unconditionally.
18190         (__ASSUME_AT_SECURE): Likewise.
18191         (__ASSUME_CORRECT_SI_PID): Likewise.
18192         (__ASSUME_TGKILL): Define without depending on kernel version for
18193         i386.
18194         (__ASSUME_UTIMES): Likewise.
18195         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18196         kernel version.
18197         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18198         (__ASSUME_TMPFS_NAME): Likewise.
18199         * README: Update reference to Linux kernel versions.
18201 2012-08-02  Marek Polacek  <polacek@redhat.com>
18203         [BZ# 14150]
18204         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
18205         libc_cv_asm_type_prefix with %.
18206         * configure: Regenerated.
18207         * include/libc-symbols.h: Remove comment about
18208         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18209         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18210         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18211         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18212         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18213         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18214         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18215         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18216         * elf/tst-unique2mod1.c: Likewise.
18217         * elf/tst-unique1mod2.c: Likewise.
18218         * elf/tst-unique1mod1.c: Likewise.
18219         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18220         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18221         Replace ASM_TYPE_DIRECTIVE with .type.
18222         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18223         * sysdeps/i386/sysdep.h: Likewise.
18224         * sysdeps/x86_64/sysdep.h: Likewise.
18225         * sysdeps/sh/sysdep.h: Likewise.
18226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18227         Do not define ASM_TYPE_DIRECTIVE.
18228         * sysdeps/powerpc/sysdep.h: Likewise.
18229         * sysdeps/powerpc/powerpc32/sysdep.h:
18230         Replace ASM_TYPE_DIRECTIVE with .type.
18231         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18232         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18233         * sysdeps/i386/fpu/e_powf.S: Likewise.
18234         * sysdeps/i386/fpu/e_expl.S: Likewise.
18235         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18236         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18237         * sysdeps/i386/fpu/e_pow.S: Likewise.
18238         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18239         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18240         * sysdeps/i386/fpu/s_expm1.S: Likewise.
18241         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18242         * sysdeps/i386/fpu/e_log2.S: Likewise.
18243         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18244         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18245         * sysdeps/i386/fpu/e_powl.S: Likewise.
18246         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18247         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18248         * sysdeps/i386/fpu/e_logl.S: Likewise.
18249         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18250         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18251         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18252         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18253         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18254         * sysdeps/i386/fpu/e_log.S: Likewise.
18255         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18256         * sysdeps/i386/fpu/e_logf.S: Likewise.
18257         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18258         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18259         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18260         * sysdeps/i386/fpu/e_log10.S: Likewise.
18261         * sysdeps/i386/fpu/s_frexp.S: Likewise.
18262         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18263         * sysdeps/i386/fpu/s_asinh.S: Likewise.
18264         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18265         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18266         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18267         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18268         * sysdeps/i386/i686/strtok.S: Likewise.
18269         * sysdeps/i386/i386-mcount.S: Likewise.
18270         * sysdeps/i386/strtok.S: Likewise.
18271         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18272         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18273         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18274         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18275         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18276         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18277         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18278         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18279         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18280         * sysdeps/x86_64/_mcount.S: Likewise.
18281         * sysdeps/x86_64/strtok.S: Likewise.
18282         * sysdeps/sh/_mcount.S: Likewise.
18284 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18286         * libio/iofopen.c: Include <fcntl.h>.
18287         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18288         (_IO_fopen64, fopen64): Define as aliases.
18289         * libio/iofopen64.c: Include <fcntl.h>.
18290         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18291         Conditionalize body on this.
18292         * sysdeps/wordsize-64/iofopen.c: File removed.
18293         * sysdeps/wordsize-64/iofopen64.c: File removed.
18295 2012-08-01  Marek Polacek  <polacek@redhat.com>
18297         * libc/Makeconfig: Use elf in place of binfmt-subdir.
18298         Use dlfcn directly instead of a variable.
18299         (binfmt-subdir): Do not define.
18300         (dlfcn): Likewise.
18302 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
18304         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18305         Remove all definitions.
18306         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18307         <kernel-features.h>.
18308         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18309         (miss_F_GETOWN_EX): Remove all definitions.
18310         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18311         macro definition.
18312         [!__ASSUME_FCNTL64]: Remove conditional code.
18313         [__ASSUME_FCNTL64]: Make code unconditional.
18314         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18315         <kernel-features.h>.
18316         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18317         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18318         (lockf64) [__NR_fcntl64]: Make code unconditional.
18319         (lockf64) [__ASSUME_FCNTL64]: Likewise.
18321         * sysdeps/unix/sysv/linux/kernel-features.h
18322         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18323         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18324         Make code unconditional.
18325         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18326         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18328         [__NR_vfork]: Make code unconditional.
18329         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18330         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18332         [__NR_vfork]: Make code unconditional.
18333         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18334         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18336 2012-08-01  Roland McGrath  <roland@hack.frob.com>
18338         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18339         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18341         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18342         Define mkstemp64 as an alias.
18343         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18344         Define mkstemps64 as an alias.
18345         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18346         Define mkostemp64 as an alias.
18347         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18348         Define mkostemps64 as an alias.
18349         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18350         Conditionalize body on this.
18351         * misc/mkostemp64.c: Likewise.
18352         * misc/mkostemps64.c: Likewise.
18353         * misc/mkstemps64.c: Likewise.
18354         * sysdeps/wordsize-64/mkstemp64.c: File removed.
18355         * sysdeps/wordsize-64/mkostemp64.c: File removed.
18356         * sysdeps/wordsize-64/mkostemp.c: File removed.
18357         * sysdeps/wordsize-64/mkstemp.c: File removed.
18358         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18359         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18360         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18361         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18363         [BZ #14138]
18364         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18365         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18366         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18367         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18369         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18370         compat_symbol macros from <shlib-compat.h> rather than the underlying
18371         default_symbol_version and symbol_version macros, so that DEFAULT
18372         lines in shlib-versions are respected.
18373         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18375 2012-08-01  Florian Weimer  <fweimer@redhat.com>
18377         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18378         Declare with warn_unused_result.
18379         (setgid, setregid, setegid, setresgid): Likewise.
18380         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18381         Likewise.
18382         * WUR-REPORT: Remove set*id functions.
18384 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
18386         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18388 2012-07-31  Roland McGrath  <roland@hack.frob.com>
18390         [BZ #10191]
18391         * include/sys/socket.h (__libc_accept, __libc_accept4):
18392         Add attribute_hidden.
18393         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18395         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18396         use of PTR_MANGLE.
18397         * inet/getnetgrent_r.c (setup): Likewise.
18399         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18401 2012-07-31  David S. Miller  <davem@davemloft.net>
18403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18405 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
18407         [BZ #13629]
18408         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18409         value between 1.0 and 2.0 and smaller part has absolute value less
18410         than 1.0.
18411         * math/s_clog10.c (__clog10): Likewise.
18412         * math/s_clog10f.c (__clog10f): Likewise.
18413         * math/s_clog10l.c (__clog10l): Likewise.
18414         * math/s_clogf.c (__clogf): Likewise.
18415         * math/s_clogl.c (__clogl): Likewise.
18416         * math/libm-test.inc (clog_test): Add more tests.
18417         (clog10_test): Likewise.
18418         * sysdeps/i386/fpu/libm-test-ulps: Update.
18419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18421 2012-07-31  Florian Weimer  <fweimer@redhat.com>
18423         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18424         Exit with zero in case no suitable GID is found, and write a
18425         message to standard error.
18427 2012-07-30  Roland McGrath  <roland@hack.frob.com>
18429         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18430         rather than to 1.
18431         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18432         (MAXPATHLEN): Removed.
18433         (NOGROUP, NODEV): New macros.
18434         (setbit, clrbit, isset, isclr): New macros.
18435         (howmany, roundup, powerof2): New macros.
18436         (DEV_BSIZE): New macro.
18438         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18439         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18441         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18442         definition on [!__NO_LONG_DOUBLE_MATH].
18444         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18445         PTR_MANGLE and PTR_DEMANGLE.
18447         * socket/accept4.c (accept4): Rename to __libc_accept4.
18448         Define accept4 as a weak alias.
18450         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18451         on [_DIRENT_HAVE_D_TYPE].
18452         * io/ftw.c (ftw_dir): Likewise.
18454         * io/xmknod.c (__xmknod): Don't check PATH for being null.
18456         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18458         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18459         Use the BSD numbers rather than the arbitrary ones we had.
18460         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18461         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18462         (SIGXCPU, SIGXFSZ): New macros.
18463         (_NSIG): Now 32.
18465         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18466         initializer on [_LIBC_REENTRANT].
18468         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18469         definitions inside [_POSIX_MAPPED_FILES].
18471         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18473         * dirent/opendir.c: Include <fcntl.h>.
18475         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18476         (__libc_getspecific): Likewise.
18477         (__libc_key_create): Likewise.
18479         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18480         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18481         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18482         (tmpfile64): Define as alias.
18483         * sysdeps/wordsize-64/tmpfile.c: File removed.
18484         * sysdeps/wordsize-64/tmpfile64.c: File removed.
18485         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18486         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18488         * stdio-common/vfscanf.c: Include <stdbool.h>.
18489         * nss/makedb.c: Likewise.
18490         * stdio-common/_i18n_number.h: Likewise.
18491         * argp/argp-help.c: Likewise.
18492         * posix/wordexp.c: Likewise.
18493         * sysdeps/posix/spawni.c: Likewise.
18494         * nss/nss_files/files-initgroups.c: Likewise.
18495         * stdio-common/reg-modifier.c: Include <stdlib.h>.
18496         * nss/nss_files/files-initgroups.c: Likewise.
18497         * nss/nss_db/db-netgrp.c: Likewise.
18498         * nss/nss_db/db-initgroups.c: Likewise.
18499         * io/fchmodat.c: Include <sys/stat.h>.
18501         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18502         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18504         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18505         [HAVE_MMAP].
18507         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18508         Add multiple inclusion protection.
18510 2012-07-27  David S. Miller  <davem@davemloft.net>
18512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18514 2012-07-27  Gary Benson  <gbenson@redhat.com>
18516         [BZ #14298]
18517         * elf/rtld.c: Include <stap-probe.h>.
18518         (dl_main): Added static probes "init_start" and "init_complete".
18519         * elf/dl-load.c: Include <stap-probe.h>.
18520         (lose): Take new parameter "nsid".
18521         Added static probe "map_failed".
18522         (_dl_map_object_from_fd): Pass namespace id to lose.
18523         Added static probe "map_start".
18524         (open_verify): Pass namespace id to lose.
18525         * elf/dl-open.c: Include <stap-probe.h>.
18526         (dl_open_worker) Added static probes "map_complete", "reloc_start"
18527         and "reloc_complete".
18528         * elf/dl-close.c: Include <stap-probe.h>.
18529         (_dl_close_worker): Added static probes "unmap_start" and
18530         "unmap_complete".
18531         * elf/rtld-debugger-interface.txt: New file documenting the above.
18533 2012-07-26  Roland McGrath  <roland@hack.frob.com>
18535         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18536         rather than a string variable.
18537         * sunrpc/rpc_main.c (h_output): Likewise.
18538         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18540 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
18542         * inet/check_native.c: New file.
18544 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
18546         [BZ #13629]
18547         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18548         if larger part has absolute value 1.0.
18549         * math/s_clog10.c (__clog10): Likewise.
18550         * math/s_clog10f.c (__clog10f): Likewise.
18551         * math/s_clog10l.c (__clog10l): Likewise.
18552         * math/s_clogf.c (__clogf): Likewise.
18553         * math/s_clogl.c (__clogl): Likewise.
18554         * math/libm-test.inc (clog_test): Add more tests.
18555         (clog10_test): Likewise.
18556         * sysdeps/i386/fpu/libm-test-ulps: Update.
18557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18559         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18560         (pltexit): Likewise.
18561         (La_regs): Likewise.
18562         (La_retval): Likewise.
18563         (int_retval): Likewise.
18564         Update #error for removed macros to refer only to definitions in
18565         tst-audit.h.
18566         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18567         macro.
18568         (pltexit): Likewise.
18569         (La_regs): Likewise.
18570         (La_retval): Likewise.
18571         (int_retval): Likewise.
18572         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18573         macro.
18574         (pltexit): Likewise.
18575         (La_regs): Likewise.
18576         (La_retval): Likewise.
18577         (int_retval): Likewise.
18578         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18579         macro.
18580         (pltexit): Likewise.
18581         (La_regs): Likewise.
18582         (La_retval): Likewise.
18583         (int_retval): Likewise.
18584         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18585         macro.
18586         (pltexit): Likewise.
18587         (La_regs): Likewise.
18588         (La_retval): Likewise.
18589         (int_retval): Likewise.
18590         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18591         macro.
18592         (pltexit): Likewise.
18593         (La_regs): Likewise.
18594         (La_retval): Likewise.
18595         (int_retval): Likewise.
18596         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18597         macro.
18598         (pltexit): Likewise.
18599         (La_regs): Likewise.
18600         (La_retval): Likewise.
18601         (int_retval): Likewise.
18602         * sysdeps/generic/tst-audit.h: Update comment to refer only to
18603         macro definitions in tst-audit.h.
18604         * sysdeps/i386/tst-audit.h: New file.
18605         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18606         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18607         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18608         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18609         * sysdeps/sh/tst-audit.h: Likewise.
18610         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18611         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18612         * sysdeps/x86_64/tst-audit.h: Likewise.
18614 2012-07-26  Andreas Jaeger  <aj@suse.de>
18616         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18617         ptrace.
18619         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18620         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18621         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18622         PTRACE_O_MASK.
18623         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18624         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18625         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18627         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18628         value.
18630         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18631         _sigsys.
18632         (si_call_addr, si_syscall, si_arch): Define new macro.
18633         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18634         _sigsys.
18635         (si_call_addr, si_syscall, si_arch): Define new marcro.
18636         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18637         _sigsys.
18638         (si_call_addr, si_syscall, si_arch): Define new macro.
18639         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18640         _sigsys.
18641         (si_call_addr, si_syscall, si_arch): Define new macro.
18643 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18645         [BZ #13717]
18646         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18647         Change to 2.4.21 where previously 2.4.1.
18648         * sysdeps/unix/sysv/linux/configure: Regenerated.
18649         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18650         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18651         Linux kernel version.
18652         (__ASSUME_STD_AUXV): Remove.
18653         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18654         kernel version.
18655         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18656         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18657         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18658         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18659         (__ASSUME_NETLINK_SUPPORT): Likewise.
18660         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18661         (__no_netlink_support): Remove conditional definition.
18662         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18663         Remove.
18664         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18665         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18666         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18667         (if_nameindex_ioctl): Remove.
18668         (if_nameindex_netlink): Do not handle __no_netlink_support.
18669         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18670         code.
18671         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18672         Remove conditional code.
18673         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18674         code.
18675         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18676         unconditional.
18677         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18678         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18679         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18680         Remove.
18681         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18682         [!__ASSUME_STD_AUXV]: Remove conditional code.
18683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18684         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18685         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18687         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18688         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18689         code.
18690         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18692         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18693         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18694         conditional code.
18695         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18697         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18698         code.
18699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18700         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18701         conditional code.
18702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18703         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18704         code unconditional.
18705         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18706         conditional code.
18707         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18708         unconditional.
18709         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18710         conditional code.
18711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18712         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18713         unconditional.
18714         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18715         conditional code.
18716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18717         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18718         code unconditional.
18719         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18720         conditional code.
18721         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18722         unconditional.
18723         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18724         conditional code.
18725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18726         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18727         code unconditional.
18728         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18729         conditional code.
18730         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18731         unconditional.
18732         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18733         conditional code.
18735 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
18737         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18738         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18739         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18740         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18741         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18742         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18743         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18744         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18745         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18746         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18747         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18748         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18749         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18750         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18751         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18752         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18753         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18754         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18755         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18757         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18758         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18759         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18761 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18763         * Versions.def: Add GLIBC_2.17.
18764         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18765         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18766         Introduce __libc_secure_getenv.
18767         * stdlib/Versions (2.17): Add secure_getenv
18768         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18769         * stdlib/secure-getenv.c: Rename __secure_getenv to
18770         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18771         symbol __secure_getenv for GLIBC_2.0.
18772         * stdlib/tst-secure-getenv.c: New.
18773         * stdlib/Makefile (tests): Add testcase.
18774         * manual/startup.texi (Environment Access): Document
18775         secure_getenv.
18776         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18777         __libc_secure_getenv.
18778         * inet/ruserpass.c (ruserpass): Likewise.
18779         * malloc/mtrace.c (mtrace): Likewise.
18780         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18781         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18782         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18783         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18784         HAVE_SECURE_GETENV.
18785         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18786         __secure_getenv to __libc_secure_getenv.
18787         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18789         Likewise.
18790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18791         Likewise.
18792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18794         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18800 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18802         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18803         (struct La_i86_retval): Likewise.
18804         (struct La_x86_64_regs): Likewise.
18805         (struct La_x86_64_retval): Likewise.
18806         (struct La_x32_regs): Likewise.
18807         (struct La_x32_retval): Likewise.
18808         (struct La_ppc32_regs): Likewise.
18809         (struct La_ppc32_retval): Likewise.
18810         (struct La_ppc64_regs): Likewise.
18811         (struct La_ppc64_retval): Likewise.
18812         (struct La_sh_regs): Likewise.
18813         (struct La_sh_retval): Likewise.
18814         (struct La_s390_32_regs): Likewise.
18815         (struct La_s390_32_retval): Likewise.
18816         (struct La_s390_64_regs): Likewise.
18817         (struct La_s390_64_retval): Likewise.
18818         (struct La_sparc32_regs): Likewise.
18819         (struct La_sparc32_retval): Likewise.
18820         (struct La_sparc64_regs): Likewise.
18821         (struct La_sparc64_retval): Likewise.
18822         (struct audit_ifaces): Remove architecture-specific pltenter and
18823         pltexit members.
18824         * sysdeps/i386/ldsodefs.h: New file.
18825         * sysdeps/powerpc/ldsodefs.h: Likewise.
18826         * sysdeps/s390/ldsodefs.h: Likewise.
18827         * sysdeps/sh/ldsodefs.h: Likewise.
18828         * sysdeps/sparc/ldsodefs.h: Likewise.
18829         * sysdeps/x86_64/ldsodefs.h: Likewise.
18831 2012-07-25  Marek Polacek  <polacek@redhat.com>
18833         [BZ #6808]
18834         * math/libm-test.inc (yn_test): Add another test.
18835         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18836         to ERANGE when the result is +-Inf.
18837         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18838         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18839         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18840         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18842 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18844         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18845         equal to 0.
18846         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18847         clock_t.
18848         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18850 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18852         * configure.in <sysdeps resolving>: Correct printing
18853         Implies_before.
18854         * configure: Regenerate.
18856 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18858         * math/w_ilogb.c: Include <limits.h>.
18859         * math/w_ilogbl.c: Likewise.
18861 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18863         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18864         va_copy.  Document allowing for unavailable va_copy only as
18865         pre-C99 compatibility.
18866         * manual/string.texi (Copying and Concatenation): Use va_copy
18867         instead of __va_copy in concat example.
18869 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18871         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18872         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18873         it if not null.
18875         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18876         with O_NOLINK passed to __file_name_lookup.
18878         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18879         with O_NOLINK passed to __file_name_lookup.
18881         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18882         negative N or less than NGIDS.
18884         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18885         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18886         enough.  Use memcpy instead of strncpy.
18888 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18890         * elf/Makefile (check-data): Remove.
18891         (localplt.data): New vpath directive.
18892         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18893         instead of $(check-data).
18894         * scripts/data/localplt-generic.data: Move to ...
18895         * sysdeps/generic/localplt.data: ... here.
18896         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18897         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18898         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18900         ... here.
18901         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18903         ... here.
18904         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18906         ... here.
18907         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18909         ... here.
18910         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18912         ... here.
18913         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18915         ... here.
18917 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18919         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18920         PPC32 and PPC64 files.
18921         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18922         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18924 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18926         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18927         __makecontext_ret to ...
18928         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18929         ... here and call exit if uc_link is NULL.  New file.
18930         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18931         __makecontext_ret.S.
18932         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18933         __makecontext_ret to ...
18934         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18935         ... here and call exit if uc_link is NULL.  New file.
18936         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18937         __makecontext_ret.S.
18939 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18941         * elf/elf.h (R_390_IRELATIVE): New definition.
18942         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18943         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18944         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18945         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18946         (elf_machine_lazy_rel): Likewise.
18947         * sysdeps/s390/dl-irel.h: New file.
18948         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18949         * sysdeps/s390/s390-64/memset.S: New asm code.
18950         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18951         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18952         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18953         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18954         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18955         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18956         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18957         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18958         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18959         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18960         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18961         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18962         * sysdeps/s390/s390-32/memset.S: New asm code.
18963         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18965 2012-07-17  Marek Polacek  <polacek@redhat.com>
18967         [BZ #14349]
18968         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18969         * sysdeps/s390/s390-64/configure.in: Likewise.
18970         * sysdeps/sparc/configure.in: Likewise.
18971         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18972         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18973         * sysdeps/i386/configure.in: Likewise.
18974         * sysdeps/x86_64/configure.in: Likewise.
18975         * sysdeps/sh/configure.in: Likewise.
18976         * sysdeps/s390/s390-32/configure: Regenerated.
18977         * sysdeps/s390/s390-64/configure: Likewise.
18978         * sysdeps/x86_64/configure: Likewise.
18979         * sysdeps/sh/configure: Likewise.
18980         * sysdeps/powerpc/powerpc64/configure: Likewise.
18981         * sysdeps/powerpc/powerpc32/configure: Likewise.
18982         * sysdeps/sparc/configure: Likwise.
18983         * sysdeps/i386/configure: Likewise.
18985         * elf/dl-open.c: Comment fixes.
18987 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18989         * Makefile [CXX] (check-data): Remove.
18990         [CXX] (c++-types.data): New vpath directive.
18991         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18992         vpath.  Do not allow for C++ type data being missing.
18993         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18994         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18995         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18996         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18997         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18998         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18999         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19001         ... here.
19002         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19004         ... here.
19005         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19007         ... here.
19008         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19010         ... here.
19011         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19013         ... here.
19014         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19016         ... here.
19017         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19019         ... here.
19020         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19023         * elf/tls-macros.h (TLS_LE): Move architecture-specific
19024         definitions to architecture-specific files.
19025         (TLS_IE): Likewise.
19026         (TLS_LD): Likewise.
19027         (TLS_GD): Likewise.
19028         * sysdeps/i386/tls-macros.h: New file.
19029         * sysdeps/powerpc/tls-macros.h: Likewise.
19030         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19031         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19032         * sysdeps/sh/tls-macros.h: Likewise.
19033         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19034         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19035         * sysdeps/x86_64/tls-macros.h: Likewise.
19037 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19039         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19040         zero value for regular exit case.
19042         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19043         (__start_context): Preserve zero value for regular exit case.
19045 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19046             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19048         * manual/setjmp.texi (setcontext): Clarify normal process
19049         termination when uc_link is the null pointer.
19050         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19051         exit call.
19053 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
19055         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19056         preprocessor.  Test for each exception mask separately.
19058 2012-07-16  Andreas Jaeger  <aj@suse.de>
19060         * po/ru.po: Update from translation team.
19062 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
19064         * conform/data/string.h-data (NULL): Use macro-constant.  Require
19065         equal to 0.
19066         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19067         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19068         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19069         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19070         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19072 2012-07-13  Andreas Jaeger  <aj@suse.de>
19074         * po/fr.po: Update from translation team.
19076 2012-07-12  Marek Polacek  <polacek@redhat.com>
19078         [BZ #14173]
19079         * math/libm-test.inc (yn_test): Add test for BZ #14173.
19080         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19081         loop condition.
19083 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
19085         [BZ #13717]
19086         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19087         Change to 2.4.1 where previously 2.4.0.
19088         * sysdeps/unix/sysv/linux/configure: Regenerated.
19089         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19090         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19091         version.
19092         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19093         (__ASSUME_AT_CLKTCK): Remove.
19094         (__ASSUME_AT_PAGESIZE): Likewise.
19095         (__ASSUME_AT_XID): Likewise.
19096         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19097         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19098         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19099         unconditionally.
19100         (HAVE_AUX_PAGESIZE): Likewise.
19101         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19102         [__ASSUME_AT_CLKTCK]: Make code unconditional.
19103         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19105 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
19107         [BZ #14307]
19108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19109         the temporary buffer used to invoke __gethostbyname2_r,
19110         __gethostbyaddr_r and gethostbyname4_r to make room for struct
19111         host_data / struct gaih_addrtuple.
19112         * resolv/nss_dns/dns-host.c (global scope): Move definition of
19113         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19114         header file nss/nsswitch.h.
19115         * nss/nsswitch.h (global scope): Add definition of implementation
19116         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19117         resolv/nss_dns/dns-host.c).
19119 2012-07-11  Andreas Jaeger  <aj@suse.de>
19121         * po/fr.po: Update from translation team.
19123         * po/sv.po: Update from translation team
19124         * po/fr.po: Another update from translation team.
19126 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19128         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19129         for subnormals or multiply small sinh result by itself.
19130         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19133 2012-07-11  David S. Miller  <davem@davemloft.net>
19135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19137 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
19139         [BZ #14347]
19140         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19141         (INTERNAL_MARK): Shift it here.
19143 2012-07-10  Marek Polacek  <polacek@redhat.com>
19145         [BZ #14151]
19146         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
19147         libc_cv_asm_global_directive with .globl.
19148         * configure: Regenerated.
19149         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19150         with .globl.
19151         * sysdeps/i386/configure: Regenerated.
19152         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19153         with .globl.
19154         * sysdeps/x86_64/configure: Regenerated.
19155         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19156         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19157         * elf/tst-unique2mod2.c: Likewise.
19158         * elf/tst-unique2mod1.c: Likewise.
19159         * elf/tst-unique1mod2.c: Likewise.
19160         * elf/tst-unique1mod1.c: Likewise.
19161         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19162         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19163         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19164         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19165         * sysdeps/mach/sysdep.h: Likewise.
19166         * sysdeps/i386/sysdep.h: Likewise.
19167         * sysdeps/i386/i386-mcount.S: Likewise.
19168         * sysdeps/x86_64/_mcount.S: Likewise.
19169         * sysdeps/x86_64/sysdep.h: Likewise.
19170         * sysdeps/sh/_mcount.S: Likewise.
19171         * sysdeps/sh/sysdep.h: Likewise.
19172         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19173         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19174         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19175         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19176         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19177         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19178         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19179         * locale/localeinfo.h: Likewise.
19180         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19181         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19183 2012-07-09  Roland McGrath  <roland@hack.frob.com>
19185         [BZ #14336]
19186         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19187         system".
19188         * manual/message.texi (The Uniforum approach): Likewise.
19189         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19190         (glibc iconv Implementation): Likewise.
19192 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
19194         [BZ #14337]
19195         * math/s_clog.c (__clog): Avoid scaling a value down where that
19196         could result in underflow.
19197         * math/s_clog10.c (__clog10): Likewise.
19198         * math/s_clog10f.c (__clog10f): Likewise.
19199         * math/s_clog10l.c (__clog10l): Likewise.
19200         * math/s_clogf.c (__clogf): Likewise.
19201         * math/s_clogl.c (__clogl): Likewise.
19202         * math/libm-test.inc (clog_test): Add more tests.
19203         (clog10_test): Likewise.
19204         * sysdeps/i386/fpu/libm-test-ulps: Update.
19205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19207 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
19209         [BZ #14283]
19210         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19211         by 7 not 8 to examine high bit of fractional part.
19213         [BZ #14042]
19214         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19215         for call to __mcount_internal.
19216         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19217         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19218         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19220 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
19222         [BZ #14154]
19223         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19224         approximation for values within 0x1p-13f of an odd multiple of
19225         pi/4.
19226         * math/libm-test.inc (tan_test): Do not allow spurious underflow
19227         exception.  Add more tests.
19228         * sysdeps/i386/fpu/libm-test-ulps: Update.
19230         [BZ #6778]
19231         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19232         inputs and return -1 for them.  Do not check for +Inf in case not
19233         reachable for +Inf.
19234         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19235         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19236         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19237         and return -1 for them.  Do not check for +Inf in case not
19238         reachable for +Inf.
19239         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19240         define.
19241         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19242         and return -1 for them.  Do not check for +Inf in case not
19243         reachable for +Inf.
19244         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
19245         spurious underflow.
19246         * sysdeps/i386/fpu/libm-test-ulps: Update.
19247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19249 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
19251         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19253 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
19255         [BZ #14157]
19256         [BZ #14331]
19257         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19258         could result in spurious underflow.  Scale down values above
19259         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19260         * math/s_csqrtf.c (__csqrtf): Likewise.
19261         * math/s_csqrtl.c (__csqrtl): Likewise.
19262         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
19263         spurious underflow.
19264         * sysdeps/i386/fpu/libm-test-ulps: Update.
19265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19267 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19269         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19270         xopen-msg.sed.
19271         * catgets/xopen-msg.awk: New file.
19272         * catgets/xopen-msg.sed: Removed.
19274         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19275         po2text.sed.
19276         * intl/po2test.awk: New file.
19277         * intl/po2test.sed: Removed.
19279 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
19281         [BZ #14328]
19282         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19283         or multiply small sinh result by itself.
19284         * math/s_ctanf.c (__ctanf): Likewise.
19285         * math/s_ctanh.c (__ctanh): Likewise.
19286         * math/s_ctanhf.c (__ctanhf): Likewise.
19287         * math/s_ctanhl.c (__ctanhl): Likewise.
19288         * math/s_ctanl.c (__ctanl): Likewise.
19289         * math/libm-test.inc (ctan_test_tonearest): New function.
19290         (ctan_test_towardzero): Likewise.
19291         (ctan_test_downward): Likewise.
19292         (ctan_test_upward): Likewise.
19293         (ctanh_test_tonearest): Likewise.
19294         (ctanh_test_towardzero): Likewise.
19295         (ctanh_test_downward): Likewise.
19296         (ctanh_test_upward): Likewise.
19297         (main): Call these new functions.
19298         * sysdeps/i386/fpu/libm-test-ulps: Update.
19299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19301 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
19303         * .gitignore: Delete /ports entry.
19305 2012-07-03  Andreas Jaeger  <aj@suse.de>
19307         * po/bg.po: Update from translation team.
19308         * po/cs.po: Likewise.
19309         * po/de.po: Likewise.
19310         * po/hr.po: Likewise.
19311         * po/nl.pl: Likewise.
19312         * po/pl.po: Likewise.
19313         * po/vi.po: Likewise.
19315 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
19317         * Makeconfig [!+link] (+link-before-libc): New variable.
19318         [!+link] (+link-after-libc): Likewise.
19319         [!+link] (+link-tests): Likewise.
19320         [!+link] (+link): Define in terms of $(+link-before-libc) and
19321         $(+link-after-libc).
19322         [!+link-static] (+link-static-before-libc): New variable.
19323         [!+link-static] (+link-static-after-libc): Likewise.
19324         [!+link-static] (+link-static-tests): Likewise.
19325         [!+link-static] (+link-static): Define in terms of
19326         $(+link-static-before-libc) and $(+link-static-after-libc).
19327         [build-shared] (link-libc-before-gnulib): New variable.
19328         [build-shared] (link-libc-tests): Likewise.
19329         [build-shared] (link-libc): Define in terms of
19330         $(link-libc-before-gnulib).
19331         [!build-shared] (link-libc-tests): New variable.
19332         (link-libc-static-tests): New variable.
19333         [!gnulib] (gnulib-arch): New variable.
19334         [!gnulib] (gnulib-tests): Likewise.
19335         [!gnulib] (static-gnulib-arch): Likewise.
19336         [!gnulib] (static-gnulib-tests): Likewise.
19337         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
19338         Define with "=" instead of ":=".
19339         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
19340         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
19341         * Rules (binaries-all-notests): New variable.
19342         (binaries-all-tests): Likewise.
19343         (binaries-static-notests): Likewise.
19344         (binaries-static-tests): Likewise.
19345         (binaries-all): Define using $(binaries-all-notests) and
19346         $(binaries-all-tests).
19347         (binaries-static): Define using $(binaries-static-notests) and
19348         $(binaries-static-tests).
19349         (binaries-shared-tests): New variable.
19350         (binaries-shared-notests): Likewise.
19351         (binaries-shared): Remove variable.
19352         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19353         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19354         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19355         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19356         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19357         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19358         * elf/Makefile (sln-modules): New variable.
19359         (extra-objs): Add $(sln-modules:=.o).
19360         (ldconfig-modules): Add static-stubs.
19361         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19362         * elf/static-stubs.c: New file.
19364         [BZ #14283]
19365         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19366         by 7 not 8 to examine high bit of fractional part.  Use volatile
19367         variables when splitting into final array of floats if
19368         __FLT_EVAL_METHOD__ != 0.
19369         * math/libm-test.inc (cos_test): Add another test.
19370         (sin_test): Likewise.
19371         * sysdeps/i386/fpu/libm-test-ulps: Update.
19373         [BZ #14273]
19374         * math/libm-test.inc (cosh_test): Add more tests.
19376         * version.h (RELEASE): Set to "development".
19377         (VERSION): Set to "2.16.90".
19379 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
19381         * NEWS: Update copyright. Remove last-updated date.
19382         Mention math library bug fixes and timezone data changes.
19383         * README: Mention GNU/Hurd, x32, and HPPA support status.
19385 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
19387         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19389 2012-06-27  Andreas Jaeger  <aj@suse.de>
19391         * manual/contrib.texi (Contributors): Add Samuel Thibault.
19393 2012-06-25  Andreas Jaeger  <aj@suse.de>
19395         * sysdeps/s390/fpu/libm-test-ulps: Update.
19397 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
19398             Thomas Schwinge  <thomas@codesourcery.com>
19400         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19401         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19402         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19403         fanotify_mark.
19405 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
19407         * sysdeps/mach/start.c: Remove file.
19408         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19409         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19410         * sysdeps/sh/init-first.c: Likewise.
19412         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19413         registers for frame unwinding purposes, add CFI directives.
19414         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19415         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19416         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19417         Likewise.
19419         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19420         __fortify_fail returning.
19421         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19423         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19424         sysdeps/sh/____longjmp_chk.S.
19425         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19426         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19427         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19428         (gen-as-const-headers): Append sigaltstack-offsets.sym.
19430         * sysdeps/sh/abort-instr.h: New file.
19431         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19432         process in case exit returns.
19434         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19435         initialize the GOT register before use.
19437         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19438         calculation of ARGC > 4.
19440         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19441         meaningful names to some local labels.
19443 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19444             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19446         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19447         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19448         (__arch_compare_and_exchange_val_16_acq): Likewise.
19449         (__arch_compare_and_exchange_val_32_acq): Likewise.
19450         (atomic_exchange_and_add): Fix gUSA sequence.
19451         (atomic_add): Likewise.
19452         (atomic_add_negative): Likewise.
19453         (atomic_add_zero): Likewise.
19454         (atomic_bit_test_set): Likewise.
19456 2012-06-22  Andreas Schwab  <schwab@redhat.com>
19458         [BZ #13579]
19459         * include/link.h (struct link_map): Add l_free_initfini.
19460         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19461         l_initfini.
19462         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19463         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19464         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19465         set.
19467 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
19469         * configure.in: Use AC_LANG_SOURCE.
19470         * configure: Regenerate.
19472 2012-06-22  Roland McGrath  <roland@hack.frob.com>
19474         * configure.in (libc_cv_localstatedir): New substituted variable.
19475         * configure: Regenerated.
19476         * config.make.in (localstatedir): New variable, substituted from
19477         libc_cv_localstatedir.
19478         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19479         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19480         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19481         * sysdeps/gnu/configure: Regenerated.
19483 2012-06-21  Jeff Law  <law@redhat.com>
19485         [BZ #14277]
19486         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19487         free.  Simplify list management for _LIBC case.
19489 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
19491         [BZ #14273]
19492         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19493         Clear sign bit of 64-bit integer value before comparing against
19494         overflow value.
19496         * sysdeps/mach/configure: Regenerated.
19498 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
19500         [BZ #14278]
19501         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19503 2012-06-21  Jeff Law  <law@redhat.com>
19505         [BZ #13882]
19506         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
19507         uint16_t for elements in the "seen" array to avoid char overflows.
19508         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19509         * elf/dl-open.c (dl_open_worker): Likewise.
19511 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
19513         * scripts/list-sources.sh: Scan PORTS for translations.
19514         * po/libc.pot: Regenerated.
19516 2012-06-21  Andreas Jaeger  <aj@suse.de>
19518         [BZ #12194]
19519         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19520         warning.
19521         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19522         * bits/byteswap-16.h (__bswap_16): Likewise.
19523         * bits/byteswap.h (__bswap_constant_16): Likewise.
19525 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
19527         [BZ #14117]
19528         * sysdeps/i386/fpu_control.h: Removed.
19529         * sysdeps/x86_64/fpu_control.h: Moved to ...
19530         * sysdeps/x86/fpu_control.h: Here.
19532         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19533         (_FPU_SETCW): Likewise.
19535 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
19537         [BZ #14117]
19538         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19539         * sysdeps/x86/fpu/bits/mathinline.h: This.
19540         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19542         [BZ #14050]
19543         [BZ #14117]
19544         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19545         functions if __x86_64__ is defined.
19547 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
19549         * string/endian.h: Add !__ASSEMBLER__ condition for including
19550         conversion interfaces.
19552 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
19554         [BZ #14241]
19555         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19556         of ABS(x) in calculating zero to negative powers other than odd
19557         integers.
19558         * math/libm-test.inc (pow_test): Add more tests.
19560 2012-06-15  Andreas Jaeger  <aj@suse.de>
19562         * manual/contrib.texi (Contributors): Update entry of Liubov
19563         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19564         Machado Filho.
19566 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
19568         * string/string.h: Add __wur to GNU version of strerror_r.
19570 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
19572         [BZ #14229]
19573         * string/Makefile (tests): Add tst-strtok_r.
19574         * string/tst-strtok_r.c: New file.
19575         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19576         RAX_LP/RDX_LP on SAVE_PTR.
19578 2012-06-14  Roland McGrath  <roland@hack.frob.com>
19580         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19582 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
19584         * libm_test.inc (csqrt_test): Allow more spurious underflow
19585         exceptions.
19586         (j0_test): Likewise.
19587         (j1_test): Likewise.
19588         (y0_test): Likewise.
19589         (y1_test): Likewise.
19591 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
19593         * po/Makefile (libc.pot): Use UTF-8 charset.
19595 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
19597         [BZ #14210]
19598         Suppress sign-conversion warning from FD_SET.
19599         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19600         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19601         not unsigned long int.
19602         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19604 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
19606         [BZ #14050]
19607         [BZ #14117]
19608         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19609         __extern_always_inline instead of __extern_inline.
19610         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19611         (__signbit): Likewise.
19612         (__signbitl): Support C++ namespace.
19613         (lrintf): New inline function.
19614         (lrint): Likewise.
19615         (llrintf): Likewise.
19616         (llrint): Likewise.
19617         (fmaxf): Likewise.
19618         (fmax): Likewise.
19619         (fminf): Likewise.
19620         (fmin): Likewise.
19621         (rint): Likewise.
19622         (rintf): Likewise.
19623         (ceil): Likewise.
19624         (ceilf): Likewise.
19625         (floor): Likewise.
19626         (floorf): Likewise.
19627         (nearbyint): Likewise.
19628         (nearbyintf): Likewise.
19630 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
19632         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19633         non-default versions.
19635 2012-06-11  Roland McGrath  <roland@hack.frob.com>
19637         [BZ #14218]
19638         * manual/argp.texi (Argp): Reword argp_parse description slightly.
19640 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
19642         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19643         (FE_UPWARD, FE_DOWNWARD): Don't define.
19644         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19645         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19647         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19648         reading it.
19649         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19650         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19652 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19654         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19655         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19656         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19657         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19659 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19661         [BZ #14117]
19662         * sysdeps/i386/fpu/bits/fenv.h: Removed.
19663         * sysdeps/i386/fpu/Implies: New file.
19664         * sysdeps/x86_64/fpu/Implies: Likewise.
19665         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19666         * sysdeps/x86/fpu/bits/fenv.h: This.
19668         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19669         __SSE_MATH__.
19671 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19673         [BZ #14134]
19674         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19675         character 0xffff that matches the last element of the
19676         conversion table.
19678 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19680         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19681         fmodl commit.
19683 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19685         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19686         values higher than 25.6283.
19688 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19690         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19691         subnormal exponent extraction and add some __builtin_expect.
19692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19693         Fix for subnormal mantissa calculation.
19695 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
19697         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19698         cpu2 is -1 and errno is not ENOSYS.
19700 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
19702         [BZ #14117]
19703         * sysdeps/i386/i486/bits/string.h: Renamed to ...
19704         * sysdeps/x86/bits/string.h: This.
19705         * sysdeps/x86_64/bits/string.h: Removed.
19707         * sysdeps/i386/i486/bits/string.h: Define inline functions only
19708         if not compiling for x86-64, but compiling for >= i486.
19710         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19711         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19713         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19714         New macro from Linux kernel 3.4.0.
19715         (FP_XSTATE_MAGIC2): Likewise.
19716         (FP_XSTATE_MAGIC2_SIZE): Likewise.
19717         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19718         (struct _fpx_sw_bytes): New struct.
19719         (struct _xsave_hdr): Likewise.
19720         (struct _ymmh_state): Likewise.
19721         (struct _xstate): Likewise.
19723         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19724         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19725         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19726         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19727         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19728         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19730         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19731         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19732         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19733         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19734         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19735         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19737 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19739         [BZ #13743]
19740         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19741         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19742         (sysdep_headers): Include sys/platform/ppc.h.
19743         * sysdeps/powerpc/test-gettimebase.c: Test for
19744         __ppc_get_timebase() to catch future ISA opcode/insn changes.
19745         * manual/Makefile (appendices): Include platform.texi.
19746         * manual/contrib.texi (Contributors): Update @node pointers.
19747         * manual/maint.texi (Maintenance): Likewise.
19748         (Platform): New node.
19749         * manual/platform.texi: New file.  Document the new features.
19751 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19752             Jakub Jelinek  <jakub@redhat.com>
19754         [BZ #14188]
19755         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19756         where __builtin_expect is unavailable.
19758 2012-06-03  David S. Miller  <davem@davemloft.net>
19760         * stdlib/longlong.h: Updated from GCC.
19762 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19764         [BZ #14042]
19765         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19766         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19767         __mcount_internal.
19768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19769         (GLIBC_2.16): Likewise.
19771 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19773         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19775 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19778         (default-abi): New variable.
19779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19780         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19781         variable.
19782         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19783         Likewise.
19784         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19785         Likewise.
19786         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19787         Likewise.
19789         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19790         definition.  Document in comment.
19792 2012-06-01  David S. Miller  <davem@davemloft.net>
19794         * stdlib/longlong.h: Updated from GCC.
19796 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19798         [BZ #14117]
19799         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19800         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19801         sys/debugreg.h sys/io.h here.
19802         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19803         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19804         sys/io.h.
19805         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19806         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19807         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19808         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19809         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19810         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19812         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19813         Define only if __x86_64__ is defined.
19815 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19817         [BZ #14048]
19818         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19819         Use int64_t for variable i.
19820         * math/libm-test.inc (fmod_test): Add more tests.
19822         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19823         z computation is not scheduled after fetestexcept.
19824         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19825         Use math_force_eval instead of asm to ensure calculation scheduled
19826         before exception test.
19827         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19828         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19830 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19832         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19833         computation is not scheduled after fetestexcept.
19835 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19837         [BZ #14117]
19838         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19839         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19841 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19843         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19844         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19846 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19848         [BZ #14117]
19849         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19850         <bits/wordsize.h>.
19851         (__WCHAR_MIN): Support __WORDSIZE == 64.
19852         (__WCHAR_MAX): Likewise.
19854         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19855         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19857         [BZ #14183]
19858         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19859         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19861         [BZ #14117]
19862         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19863         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19865         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19866         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19868         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19869         Defined to 1 if __x86_64__ isn't defined.
19870         (_STAT_VER_LINUX_OLD): New.
19871         (st_atime): Remove duplicate.
19872         (st_mtime): Likewise.
19873         (st_ctime): Likewise.
19875 2012-05-31  David S. Miller  <davem@davemloft.net>
19877         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19878         entries.
19880 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19882         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19883         gen-libm-test.pl.
19885         [BZ #14132]
19886         * elf/dl-reloc.c: Include <_itoa.h>.
19887         (_dl_reloc_bad_type): Remove use of INTUSE.
19888         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19889         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19890         * stdio-common/psiginfo.c (psiginfo): Likewise.
19891         * stdio-common/psignal.c (psignal): Likewise.
19892         * string/strsignal.c (strsignal): Likewise.
19893         * include/signal.h (_sys_siglist): Declare hidden proto.
19894         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19895         INTVARDEF with libc_hidden_data_def.
19896         * stdio-common/itoa-udigits.c: Likewise.
19897         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19898         (_itoa_lower_digits_internal): Remove declaration.
19899         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19900         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19901         (_sys_sigabbrev_internal): Remove aliases.
19902         (_sys_siglist): Define hidden alias.
19904 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19907         bits/sysctl.h.
19909 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19911         [BZ #14117]
19912         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19913         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19915         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19916         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19917         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19918         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19919         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19920         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19922         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19923         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19924         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19926         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19927         with __addr.
19928         (insw): Likewise.
19929         (insl): Likewise.
19930         (outsb): Likewise.
19931         (outsw): Likewise.
19932         (outsl): Likewise.
19934         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19935         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19936         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19938         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19939         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19940         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19941         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19942         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19943         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19945         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19946         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19948         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19949         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19951         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19952         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19953         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19955         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19956         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19957         to ...
19958         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19960         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19961         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19962         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19964         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19965         for x86-64.
19966         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19968 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19970         * math/math.h (M_El): Use two more decimal places.
19971         (M_LOG2El): Likewise.
19972         (M_LOG10El): Likewise.
19973         (M_LN2l): Likewise.
19974         (M_LN10l): Likewise.
19975         (M_PIl): Likewise.
19976         (M_PI_2l): Likewise.
19977         (M_PI_4l): Likewise.
19978         (M_1_PIl): Likewise.
19979         (M_2_PIl): Likewise.
19980         (M_2_SQRTPIl): Likewise.
19981         (M_SQRT2l): Likewise.
19982         (M_SQRT1_2l): Likewise.
19984 2012-05-31  David S. Miller  <davem@davemloft.net>
19986         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19987         values between float registers.
19988         * sysdeps/sparc/sparc64/memset.S: Likewise.
19989         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19991 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19993         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19994         -D_FORTIFY_SOURCE=1.
19995         (CPPFLAGS-tst-longjmp_chk.c): Define.
19996         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19997         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19998         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19999         CFLAGS-tst-wchar-h.c.
20001 2012-05-31  Marek Polacek  <polacek@redhat.com>
20003         [BZ #14132]
20004         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20005         __endmntent_internal): Remove declaration.
20006         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20007         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20008         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20010 2012-05-30  David S. Miller  <davem@davemloft.net>
20012         * sysdeps/sparc/sparc32/soft-fp/q_util.c
20013         (___Q_simulate_exceptions): Use real FP ops rather than writing
20014         into the %fsr.
20015         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20016         Likewise.
20018 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20020         [BZ #14117]
20021         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20022         * sysdeps/x86/bits/xtitypes.h: This.
20024         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20025         * sysdeps/x86/bits/wordsize.h: This.
20027         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20028         * sysdeps/x86/bits/huge_vall.h: This.
20030         * sysdeps/i386/bits/select.h: Removed.
20031         * sysdeps/x86_64/bits/select.h: Renamed to ...
20032         * sysdeps/x86/bits/select.h: This.
20034         * sysdeps/i386/bits/setjmp.h: Removed.
20035         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20036         * sysdeps/x86/bits/setjmp.h: This.
20038         * sysdeps/i386/bits/mathdef.h: Removed.
20039         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20040         * sysdeps/x86/bits/mathdef.h: This.
20042 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
20044         [BZ #14132]
20045         * include/sys/socket.h (__connect_internal)
20046         (__libc_sa_len_internal): Remove declaration.
20047         (__connect, __libc_sa_len): Declare hidden_proto.
20048         (SA_LEN): Remove use of INTUSE.
20049         * socket/connect.c: Add libc_hidden_def.
20050         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20051         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20052         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20053         alias.
20054         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20055         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20056         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20057         of adding _internal alias.
20059 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20061         [BZ #14117]
20062         * sysdeps/i386/bits/link.h: Removed.
20063         * sysdeps/i386/bits/linkmap.h: Likewise.
20064         * sysdeps/x86_64/bits/link.h: Renamed to ...
20065         * sysdeps/x86/bits/link.h: This.
20066         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20067         * sysdeps/x86/bits/linkmap.h: This.
20069         * sysdeps/i386/bits/endian.h: Removed.
20070         * sysdeps/x86_64/bits/endian.h: Renamed to ...
20071         * sysdeps/x86/bits/endian.h: This.
20073         * sysdeps/i386/bits/byteswap.h: Removed.
20074         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20075         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20076         * sysdeps/x86/bits/byteswap.h: This.
20077         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20078         * sysdeps/x86/bits/byteswap-16.h: This.
20079         * sysdeps/i386/Implies: Add x86.
20080         * sysdeps/x86_64/Implies: Likewise.
20082 2012-05-30  David S. Miller  <davem@davemloft.net>
20084         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20085         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20086         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20087         (FP_TRAPPING_EXCEPTIONS): Define.
20088         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20089         (FP_TRAPPING_EXCEPTIONS): Define.
20090         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20091         subnormals only when inexact has been signalled or underflow
20092         exceptions are enabled.
20093         (_FP_PACK_CANONICAL): Likewise.
20095 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20097         [BZ #14183]
20098         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20099         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20101 2012-05-30  Richard Henderson  <rth@twiddle.net>
20103         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20104         with #ifndef NOT_IN_libc.
20106         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
20107         marked to avoid plt entry.
20109 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20111         [BZ #14112]
20112         * Makeconfig (default-abi): New macro.
20113         (abi-includes): Likewise.
20114         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
20115         $(abi-$(default-abi)-lib-soname) for soname if defined.
20116         ($(common-objpfx)gnu/lib-names.stmp): Generate from
20117         abi-variants.
20118         * Makefile (installed-stubs): Likewise.
20119         * include/stubs-biarch.h: Removed.
20120         * scripts/lib-names.awk: Only handle one library at a time.
20121         * scripts/soversions.awk: Remove WORDSIZE support.
20122         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20123         entries.
20124         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20125         Removed.
20126         (syscall-list-default-condition): Likewise.
20127         (syscall-list-default-condition): Likewise.
20128         (syscall-list-includes): Likewise.
20129         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20130         syscall-list-* with abi-*.  Handle undefined abi-variants.
20131         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20132         * sysdeps/unix/sysv/linux/i386/Implies: New file.
20133         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20134         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20135         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20136         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20137         Removed.
20138         (syscall-list-32-options): Likewise.
20139         (syscall-list-32-condition): Likewise.
20140         (syscall-list-64-options): Likewise.
20141         (syscall-list-64-condition): Likewise.
20142         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20143         macro.
20144         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20145         Renamed to ...
20146         (abi-*): This.
20147         (abi-64-ld-soname): New macro.
20148         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20149         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20150         Renamed to ...
20151         (abi-*): This.
20152         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20153         * sysdeps/x86_64/x32/shlib-versions: Likewise.
20155 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
20157         * sysdeps/unix/sysv/linux/kernel-features.h
20158         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20159         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20160         include <kernel-features.h>.
20161         [!__NR_ftruncate64]: Remove conditional code.
20162         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20163         [__NR_ftruncate64]: Make code unconditional.
20164         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20165         * sysdeps/unix/sysv/linux/truncate64.c: Do not
20166         include <kernel-features.h>.
20167         [!__NR_ftruncate64]: Remove conditional code.
20168         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20169         [__NR_ftruncate64]: Make code unconditional.
20170         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20172         include <kernel-features.h>.
20173         [!__NR_ftruncate64]: Remove conditional code.
20174         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20175         [__NR_ftruncate64]: Make code unconditional.
20176         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20178         include <kernel-features.h>.
20179         [!__NR_ftruncate64]: Remove conditional code.
20180         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20181         [__NR_ftruncate64]: Make code unconditional.
20182         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20184         * configure.in (libc_cv_fpie): Weaken to a compile test using
20185         LIBC_TRY_CC_OPTION.
20186         * configure: Regenerated.
20188 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20194         Refreshed.
20195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20201         Refreshed.
20203 2012-05-27  David S. Miller  <davem@davemloft.net>
20205         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20206         (___Q_zero): New.
20207         (__Q_simulate_exceptions): Return void.  Change to simulate
20208         exceptions by writing into the %fsr.
20209         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20210         (__Qp_handle_exceptions): Likewise.
20211         (numbers): Delete.
20212         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20213         __Qp_handle_exceptions.
20214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20215         __Qp_handle_exceptions.
20216         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20217         as unused and give dummy FP_RND_NEAREST initializer.
20218         (FP_INHIBIT_RESULTS): Define.
20219         (___Q_simulate_exceptions): Update declaration.
20220         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20221         formatting.
20222         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20223         as unused and give dummy FP_RND_NEAREST initializer.
20224         (__Qp_handle_exceptions): Update declaration.
20225         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20226         formatting.
20228 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
20230         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20231         the temporary FPU control word.
20232         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20233         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20234         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20235         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20236         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20237         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20238         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20239         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20240         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20241         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20242         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20244 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20246         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20247         fields.
20249 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
20251         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20252         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20253         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20254         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20255         Likewise.
20256         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20257         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20258         Likewise.
20260 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
20262         * po/h.po: Update from translation team.
20264 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
20266         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20268         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20269         handling of denormals.
20270         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20271         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20272         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20273         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20276         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20277         Likewise.
20279 2012-05-26  Marek Polacek  <polacek@redhat.com>
20281         [BZ #14152]
20282         * math/libm-test.inc (fma_test): Don't always expect underflow
20283         exception.
20285 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20287         [BZ #12416]
20288         * elf/tst-execstack.c: Include stackinfo.h.
20289         (do_test): Adjust test case to ensure that pthread_getattr_np
20290         behaviour remains the same after marking stack executable.
20292 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
20294         * sysdeps/unix/sysv/linux/kernel-features.h
20295         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20296         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20297         kernel-features.h.
20298         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20299         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20300         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20301         kernel-features.h.
20302         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20303         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20305 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
20307         * configure.in: Define the default includes to being none.
20308         * configure: Regenerated.
20310 2012-05-25  Roland McGrath  <roland@hack.frob.com>
20312         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20313         * sysdeps/x86_64/setjmp.S: Likewise.
20314         * sysdeps/i386/bsd-setjmp.S: Likewise.
20315         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20316         * sysdeps/i386/setjmp.S: Likewise.
20317         * sysdeps/i386/__longjmp.S: Likewise.
20318         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20319         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20321         * include/stap-probe.h: New file.
20322         * configure.in: Handle --enable-systemtap.
20323         * configure: Regenerated.
20324         * config.h.in (USE_STAP_PROBE): New #undef.
20325         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20326         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20327         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20329 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
20331         [BZ #13717]
20332         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20333         to 2.4.0 where earlier.
20334         * sysdeps/unix/sysv/linux/configure: Regenerated.
20335         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20336         <kernel-features.h>.
20337         [__ASSUME_32BITUIDS]: Make code unconditional.
20338         [!__ASSUME_32BITUIDS]: Remove conditional code.
20339         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20340         <kernel-features.h>.
20341         [__ASSUME_32BITUIDS]: Make code unconditional.
20342         [!__ASSUME_32BITUIDS]: Remove conditional code.
20343         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20344         [__ASSUME_32BITUIDS]: Make code unconditional.
20345         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20346         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20347         <kernel-features.h>.
20348         [__ASSUME_32BITUIDS]: Make code unconditional.
20349         [!__ASSUME_32BITUIDS]: Remove conditional code.
20350         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20351         <kernel-features.h>.
20352         [__ASSUME_32BITUIDS]: Make code unconditional.
20353         [!__ASSUME_32BITUIDS]: Remove conditional code.
20354         * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
20363         <kernel-features.h>.
20364         [__ASSUME_32BITUIDS]: Make code unconditional.
20365         [!__ASSUME_32BITUIDS]: Remove conditional code.
20366         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20367         <kernel-features.h>.
20368         [__ASSUME_32BITUIDS]: Make code unconditional.
20369         [!__ASSUME_32BITUIDS]: Remove conditional code.
20370         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20371         <kernel-features.h>.
20372         [__ASSUME_32BITUIDS]: Make code unconditional.
20373         [!__ASSUME_32BITUIDS]: Remove conditional code.
20374         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20375         <kernel-features.h>.
20376         [__ASSUME_32BITUIDS]: Make code unconditional.
20377         [!__ASSUME_32BITUIDS]: Remove conditional code.
20378         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20379         <kernel-features.h>.
20380         [__ASSUME_32BITUIDS]: Make code unconditional.
20381         [!__ASSUME_32BITUIDS]: Remove conditional code.
20382         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20383         <kernel-features.h>.
20384         [__ASSUME_32BITUIDS]: Make code unconditional.
20385         [!__ASSUME_32BITUIDS]: Remove conditional code.
20386         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20387         <kernel-features.h>.
20388         [__NR_setresgid] (__setresgid): Do not declare.
20389         [__ASSUME_32BITUIDS]: Make code unconditional.
20390         [!__ASSUME_32BITUIDS]: Remove conditional code.
20391         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20392         <kernel-features.h>.
20393         [__NR_setresuid] (__setresuid): Do not declare.
20394         [__ASSUME_32BITUIDS]: Make code unconditional.
20395         [!__ASSUME_32BITUIDS]: Remove conditional code.
20396         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20397         <kernel-features.h>.
20398         [__ASSUME_32BITUIDS]: Make code unconditional.
20399         [!__ASSUME_32BITUIDS]: Remove conditional code.
20400         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20401         <kernel-features.h>.
20402         [__ASSUME_32BITUIDS]: Make code unconditional.
20403         [!__ASSUME_32BITUIDS]: Remove conditional code.
20404         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20405         <kernel-features.h>.
20406         [__ASSUME_32BITUIDS]: Make code unconditional.
20407         [!__ASSUME_32BITUIDS]: Remove conditional code.
20408         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20409         <kernel-features.h>.
20410         [__ASSUME_32BITUIDS]: Make code unconditional.
20411         [!__ASSUME_32BITUIDS]: Remove conditional code.
20412         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20413         <kernel-features.h>.
20414         [__ASSUME_32BITUIDS]: Make code unconditional.
20415         [!__ASSUME_32BITUIDS]: Remove conditional code.
20416         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20417         <kernel-features.h>.
20418         [__ASSUME_32BITUIDS]: Make code unconditional.
20419         [!__ASSUME_32BITUIDS]: Remove conditional code.
20420         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20421         <kernel-features.h>.
20422         [__ASSUME_32BITUIDS]: Make code unconditional.
20423         [!__ASSUME_32BITUIDS]: Remove conditional code.
20424         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20425         <kernel-features.h>.
20426         [__ASSUME_32BITUIDS]: Make code unconditional.
20427         [!__ASSUME_32BITUIDS]: Remove conditional code.
20428         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20429         <kernel-features.h>.
20430         [__ASSUME_32BITUIDS]: Make code unconditional.
20431         [!__ASSUME_32BITUIDS]: Remove conditional code.
20432         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20433         <kernel-features.h>.
20434         [__ASSUME_32BITUIDS]: Make code unconditional.
20435         [!__ASSUME_32BITUIDS]: Remove conditional code.
20436         * sysdeps/unix/sysv/linux/kernel-features.h
20437         (__ASSUME_SETRESUID_SYSCALL): Remove.
20438         (__ASSUME_SETRESGID_SYSCALL): Likewise.
20439         (__ASSUME_32BITUIDS): Likewise.
20440         (__ASSUME_LDT_WORKS): Likewise.
20441         (__ASSUME_O_DIRECTORY): Likewise.
20442         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20443         architecture but not kernel version.
20444         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20445         (__ASSUME_MMAP2_SYSCALL): Likewise.
20446         (__ASSUME_STAT64_SYSCALL): Likewise.
20447         (__ASSUME_IPC64): Likewise.
20448         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20449         <kernel-features.h>.
20450         [__ASSUME_32BITUIDS]: Make code unconditional.
20451         [!__ASSUME_32BITUIDS]: Remove conditional code.
20452         * sysdeps/unix/sysv/linux/opendir.c: Do not include
20453         <kernel-features.h>.
20454         [__ASSUME_O_DIRECTORY]: Make code unconditional.
20455         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20456         132096]: Remove conditional code.
20457         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20458         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20459         <kernel-features.h>.
20460         [__ASSUME_32BITUIDS]: Make code unconditional.
20461         [!__ASSUME_32BITUIDS]: Remove conditional code.
20462         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20463         <kernel-features.h>.
20464         [__ASSUME_32BITUIDS]: Make code unconditional.
20465         [!__ASSUME_32BITUIDS]: Remove conditional code.
20466         * sysdeps/unix/sysv/linux/setegid.c: Do not include
20467         <kernel-features.h>.
20468         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20469         unconditional.
20470         (__setresgid): Do not declare.
20471         [__ASSUME_32BITUIDS]: Make code unconditional.
20472         [!__ASSUME_32BITUIDS]: Remove conditional code.
20473         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20474         <kernel-features.h>.
20475         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20476         unconditional.
20477         (__setresuid): Do not declare.
20478         [__ASSUME_32BITUIDS]: Make code unconditional.
20479         [!__ASSUME_32BITUIDS]: Remove conditional code.
20480         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20481         <kernel-features.h>.
20482         [__ASSUME_32BITUIDS]: Make code unconditional.
20483         [!__ASSUME_32BITUIDS]: Remove conditional code.
20484         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20485         <kernel-features.h>.
20486         [__ASSUME_32BITUIDS]: Make code unconditional.
20487         [!__ASSUME_32BITUIDS]: Remove conditional code.
20489 2012-05-25  Richard Henderson  <rth@twiddle.net>
20491         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20492         dl_hwcap to ifunc resolver.
20493         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20494         elf_ifunc_invoke.
20495         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20496         dl_hwcap to ifunc resolver.
20497         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20499 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20501         [BZ #14153]
20502         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20503         for |x| <= 2**-26, not 2**-57.
20504         * math/libm-test.inc (acos_test): Do not allow spurious underflow
20505         exception.
20507 2012-05-24  Jeff Law  <law@redhat.com>
20509         * stdio-common/Makefile (tests): Add bug25.
20510         * stdio-common/bug25.c: New test.
20512 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20514         [BZ #13576]
20515         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20516         multiple of MALLOC_ALIGNMENT in size.
20517         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20519 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20521         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20522         Require >= 256.
20523         (FILENAME_MAX): Use macro-int-constant.
20524         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
20525         (_IOFBF): Use macro-int-constant.
20526         (_IOLBF): Likewise.
20527         (_IONBF): Likewise.
20528         (SEEK_CUR): Likewise.
20529         (SEEK_END): Likewise.
20530         (SEEK_SET): Likewise.
20531         (TMP_MAX): Likewise.
20532         (EOF): Use macro-int-constant.  Require < 0.
20533         (NULL): Use macro-constant.  Require == 0.
20534         (stdin): Require type to be FILE *.
20535         (stdout): Likewise.
20536         (stderr): Likewise.
20537         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20538         macro-int-constant.
20539         (EXIT_SUCCESS): Likewise.
20540         (NULL): Use macro-constant.  Require == 0.
20541         (RAND_MAX): Use macro-int-constant.
20542         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20543         [C99-based standards] (strtof): Require function.
20544         [C99-based standards] (strtold): Likewise.
20545         [C99-based standards] (strtoll): Likewise.
20546         [C99-based standards] (strtoull): Likewise.
20547         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20548         [ISO || ISO99 || ISO11] (limits.h): Likewise.
20549         [ISO || ISO99 || ISO11] (math.h): Likewise.
20550         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20551         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20554 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
20556         [BZ #14132]
20557         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20558         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20559         * intl/dgettext.c (DCGETTEXT): Likewise.
20560         * intl/gettext.c (DCGETTEXT): Likewise.
20561         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20562         * posix/regex_internal.h (gettext): Likewise.
20563         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20564         Remove declaration.
20565         * include/argz.h (__argz_count_internal)
20566         (__argz_stringify_internal): Remove declaration.
20567         (__argz_count, __argz_stringify): Declare hidden proto.
20568         * intl/dcgettext.c: Remove use of INTDEF.
20569         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20570         * string/argz-stringify.c: Likewise.
20571         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20572         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20573         Declare hidden proto.
20574         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20575         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20576         Declare hidden proto.
20577         * include/stdio.h (__asprintf_internal): Don't declare.
20578         (__asprintf): Don't define as macro.  Declare hidden proto.
20579         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20580         (__fsetlocking): Declare hidden proto.
20581         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20582         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20583         hidden proto.
20584         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20585         (_IO_setlinebuf): Remove use of INTUSE.
20586         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20587         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20588         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20589         Remove declaration.
20590         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20591         (_IO_do_flush): Remove use of INTUSE.
20592         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20593         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20594         (_IO_adjust_column, _IO_least_wmarker)
20595         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20596         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20597         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20598         (_IO_default_doallocate, _IO_wdefault_doallocate)
20599         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20600         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20601         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20602         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20603         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20604         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20605         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20606         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20607         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20608         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20609         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20610         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20611         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20612         proto.
20613         (_IO_flush_all_internal, _IO_adjust_column_internal)
20614         (_IO_default_uflow_internal, _IO_default_finish_internal)
20615         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20616         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20617         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20618         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20619         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20620         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20621         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20622         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20623         (_IO_file_close_internal, _IO_file_close_it_internal)
20624         (_IO_file_underflow_internal, _IO_file_overflow_internal)
20625         (_IO_file_init_internal, _IO_file_attach_internal)
20626         (_IO_file_fopen_internal, _IO_file_read_internal)
20627         (_IO_file_sync_internal, _IO_file_seek_internal)
20628         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20629         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20630         (_IO_str_underflow_internal, _IO_str_overflow_internal)
20631         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20632         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20633         (_IO_list_all_internal, _IO_link_in_internal)
20634         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20635         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20636         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20637         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20638         (_IO_do_write_internal, _IO_padn_internal)
20639         (_IO_getline_info_internal, _IO_getline_internal)
20640         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20641         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20642         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20643         (_IO_vfscanf_internal, _IO_vfprintf_internal)
20644         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20645         (_IO_init_internal, _IO_un_link_internal): Don't declare.
20646         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20647         with libc_hidden_ver, remove use of INTUSE.
20648         * libio/genops.c: Likewise.
20649         * libio/freopen.c: Likewise.
20650         * libio/freopen64.c: Likewise.
20651         * libio/iofclose.c: Likewise.
20652         * libio/iofdopen.c: Likewise.
20653         * libio/iofflush.c: Likewise.
20654         * libio/iofflush_u.c: Likewise.
20655         * libio/iofgets.c: Likewise.
20656         * libio/iofgets_u.c: Likewise.
20657         * libio/iofopen.c: Likewise.
20658         * libio/iofopncook.c: Likewise.
20659         * libio/iofread.c: Likewise.
20660         * libio/iofread_u.c: Likewise.
20661         * libio/ioftell.c: Likewise.
20662         * libio/iofwrite.c: Likewise.
20663         * libio/iogetline.c: Likewise.
20664         * libio/iogets.c: Likewise.
20665         * libio/iogetwline.c: Likewise.
20666         * libio/iopadn.c: Likewise.
20667         * libio/iopopen.c: Likewise.
20668         * libio/ioseekoff.c: Likewise.
20669         * libio/ioseekpos.c: Likewise.
20670         * libio/iosetbuffer.c: Likewise.
20671         * libio/iosetvbuf.c: Likewise.
20672         * libio/ioungetc.c: Likewise.
20673         * libio/ioungetwc.c: Likewise.
20674         * libio/iovdprintf.c: Likewise.
20675         * libio/iovsprintf.c: Likewise.
20676         * libio/iovsscanf.c: Likewise.
20677         * libio/memstream.c: Likewise.
20678         * libio/obprintf.c: Likewise.
20679         * libio/oldfileops.c: Likewise.
20680         * libio/oldiofclose.c: Likewise.
20681         * libio/oldiofdopen.c: Likewise.
20682         * libio/oldiofopen.c: Likewise.
20683         * libio/oldiopopen.c: Likewise.
20684         * libio/oldstdfiles.c: Likewise.
20685         * libio/putc.c: Likewise.
20686         * libio/setbuf.c: Likewise.
20687         * libio/setlinebuf.c: Likewise.
20688         * libio/stdfiles.c: Likewise.
20689         * libio/strops.c: Likewise.
20690         * libio/vasprintf.c: Likewise.
20691         * libio/vscanf.c: Likewise.
20692         * libio/vsnprintf.c: Likewise.
20693         * libio/vswprintf.c: Likewise.
20694         * libio/wfiledoalloc.c: Likewise.
20695         * libio/wfileops.c: Likewise.
20696         * libio/wgenops.c: Likewise.
20697         * libio/wmemstream.c: Likewise.
20698         * libio/wstrops.c: Likewise.
20699         * libio/__fpurge.c: Likewise.
20700         * libio/__fsetlocking.c: Likewise.
20701         * assert/assert.c: Likewise.
20702         * debug/fgets_chk.c: Likewise.
20703         * debug/fgets_u_chk.c: Likewise.
20704         * debug/fread_chk.c: Likewise.
20705         * debug/fread_u_chk.c: Likewise.
20706         * debug/gets_chk.c: Likewise.
20707         * debug/obprintf_chk.c: Likewise.
20708         * debug/vasprintf_chk.c: Likewise.
20709         * debug/vdprintf_chk.c: Likewise.
20710         * debug/vsnprintf_chk.c: Likewise.
20711         * debug/vsprintf_chk.c: Likewise.
20712         * malloc/mtrace.c: Likewise.
20713         * misc/error.c: Likewise.
20714         * misc/syslog.c: Likewise.
20715         * stdio-common/asprintf.c: Likewise.
20716         * stdio-common/fxprintf.c: Likewise.
20717         * stdio-common/getw.c: Likewise.
20718         * stdio-common/isoc99_fscanf.c: Likewise.
20719         * stdio-common/isoc99_scanf.c: Likewise.
20720         * stdio-common/isoc99_vfscanf.c: Likewise.
20721         * stdio-common/isoc99_vscanf.c: Likewise.
20722         * stdio-common/isoc99_vsscanf.c: Likewise.
20723         * stdio-common/printf-prs.c: Likewise.
20724         * stdio-common/printf_fp.c: Likewise.
20725         * stdio-common/printf_fphex.c: Likewise.
20726         * stdio-common/printf_size.c: Likewise.
20727         * stdio-common/putw.c: Likewise.
20728         * stdio-common/scanf.c: Likewise.
20729         * stdio-common/sprintf.c: Likewise.
20730         * stdio-common/tmpfile.c: Likewise.
20731         * stdio-common/vfprintf.c: Likewise.
20732         * stdio-common/vfscanf.c: Likewise.
20733         * stdlib/strfmon_l.c: Likewise.
20734         * sunrpc/openchild.c: Likewise.
20735         * sunrpc/xdr_stdio.c: Likewise.
20736         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20737         * sysdeps/mach/hurd/tmpfile.c: Likewise.
20739 2012-05-24  Roland McGrath  <roland@hack.frob.com>
20741         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20743         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20744         in the third column, to generate for the shared library an IFUNC
20745         that uses _dl_vdso_vsym.
20746         * Makerules (COMPILE.c, compile-stdin.c): New variables.
20747         * Makeconfig (object-suffixes-noshared): New variable.
20749         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20750         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20751         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20752         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20754         [BZ #14132]
20755         * include/sys/time.h (__gettimeofday): Remove macro.
20756         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20757         * time/gettimeofday.c (__gettimeofday): Remove #undef.
20758         Remove INTDEF.
20759         (__gettimeofday): Add libc_hidden_def.
20760         (gettimeofday): Add libc_hidden_weak.
20761         * sysdeps/mach/gettimeofday.c: Likewise.
20762         * sysdeps/posix/gettimeofday.c: Likewise.
20763         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20764         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20765         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20766         (__gettimeofday_internal): Remove strong_alias.
20767         (__gettimeofday): Add libc_hidden_def.
20768         (gettimeofday): Add libc_hidden_weak.
20769         * sysdeps/unix/syscalls.list (gettimeofday):
20770         Remove __gettimeofday_internal alias.
20772 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20773             H.J. Lu  <hongjiu.lu@intel.com>
20775         [BZ #12495]
20776         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20777         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20778         (largebin_index_32_big): New.
20779         (largebin_index): Use it for 16-byte alignment.
20780         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20781         correction with front_misalign.
20783 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20787         Likewise.
20788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20789         Likewise.
20790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20791         Likewise.
20792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20793         Likewise.
20794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20795         Likewise.
20796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20797         Likewise.
20798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20799         Likewise.
20800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20801         Likewise.
20802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20803         Likewise.
20804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20805         Likewise.
20806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20807         Likewise.
20808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20809         Likewise.
20811         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20812         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20814 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20816         [BZ #10846]
20817         [BZ #14036]
20818         * math/libm-test.inc (exp_test): Add test from bug 14036.
20819         (pow_test): Add test from bug 10846.
20821         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20822         and other flags.
20823         (special_function): Do not include flags in test name.
20824         (parse_args): Likewise.
20825         * sysdeps/i386/fpu/libm-test-ulps: Update.
20826         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20827         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20828         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20831         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20832         exceptions.
20833         * math/libm-test.inc ("Philosophy"): Update comment about
20834         exception testing.
20835         (UNDERFLOW_EXCEPTION): New macro.
20836         (UNDERFLOW_EXCEPTION_OK): Likewise.
20837         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20838         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20839         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20840         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20841         (INVALID_EXCEPTION_OK): Update value.
20842         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20843         (OVERFLOW_EXCEPTION_OK): Likewise.
20844         (IGNORE_ZERO_INF_SIGN): Likewise.
20845         (test_exceptions): Handle underflow exceptions.
20846         (acos_test): Update for underflow exception expectations.
20847         (cexp_test): Likewise.
20848         (clog_test): Likewise.
20849         (clog10_test): Likewise.
20850         (csqrt_test): Likewise.
20851         (ctan_test): Likewise.
20852         (ctanh_test): Likewise.
20853         (exp_test): Likewise.
20854         (exp10_test): Likewise.
20855         (exp2_test): Likewise.
20856         (expm1_test): Likewise.
20857         (fma_test): Likewise.
20858         (j0_test): Likewise.
20859         (jn_test): Likewise.
20860         (nexttoward_test): Likewise.
20861         (pow_test): Likewise.
20862         (scalbn_test): Likewise.
20863         (scalbln_test): Likewise.
20864         (tan_test): Likewise.
20865         (y1_test): Likewise.
20866         * sysdeps/i386/fpu/libm-test-ulps: Update.
20867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20869 2012-05-23  David S. Miller  <davem@davemloft.net>
20871         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20872         (__libc_sigaction): Remove unused local variables.
20874 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20876         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20878 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20880         mktime: avoid signed integer overflow
20881         * time/mktime.c (__mktime_internal): Do not mishandle the case
20882         where diff == INT_MIN.
20884         mktime: simplify computation of average
20885         * time/mktime.c (ranged_convert): Use new time_t_avg function
20886         instead of rolling our own (probably-slower) code.
20888         mktime: do not assume signed right shift propagates sign bit
20889         * time/mktime.c (isdst_differ): New static function.
20890         (__mktime_internal): No need to normalize tm_isdst now.
20891         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20892         tm_isdst values.
20894         mktime: merge another wrapv change from gnulib
20895         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20896         from some compilers.
20898         mktime: remove incorrect attempt at unusual arithmetics
20899         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20900         The code didn't really work on such machines anyway.
20901         (TYPE_MINIMUM): Assume two's complement.
20902         (twos_complement_arithmetic): Verify that long_int and time_t
20903         are two's complement (or unsigned, in the latter case).
20905         mktime: check signed shifts on long_int and time_t, too
20906         * time/mktime.c (SHR): Check that shifts work as desired
20907         on the types long_int and time_t too, as SHR is used on
20908         such types.
20910         mktime: do not assume 'long' is wide enough
20911         * time/mktime.c (verify): Move decl up.
20912         (long_int): New type.
20913         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20914         to remove assumption in the code that 'long' is wide enough to
20915         store year values.  This assumption is not true on x32 and on
20916         some non-glibc platforms.
20918         mktime: merge wrapv change from gnulib
20919         * time/mktime.c (WRAPV): New macro.
20920         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20921         (guess_time_tm, __mktime_internal): Do not assume that signed
20922         integer overflow wraps around; modern compilers generate code
20923         where this assumption is no longer valid.
20925 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20927         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20928         Replace "jmp L(pseudo_end)" with "ret".
20929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20930         Likewise.
20932 2012-05-23  Andreas Jaeger  <aj@suse.de>
20934         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20935         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20937 2012-05-23  Andreas Jaeger  <aj@suse.de>
20938             Maximilian Attems  <max@stro.at>
20940         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20941         New macros.
20943 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20945         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20946         code so that pseudo_end is just ret and the stack pointer is
20947         correct also for static library in error case.
20949 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20951         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20952         move to syscalls.list.
20953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20958         * manual/install.texi (Running make install): Do not mention Linux
20959         kernel version for which pt_chown is not needed.
20960         (Linux): Do not mention problems with nscd with 2.0 kernels.
20961         * INSTALL: Regenerated.
20963 2012-05-23  Andreas Jaeger  <aj@suse.de>
20965         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20966         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20967         macro.
20968         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20969         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20970         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20971         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20972         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20973         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20974         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20975         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20976         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20977         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20978         * sysdeps/unix/sysv/linux/bits/in.h
20979         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20981 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20983         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20984         (PREPARE_VERSION): Just use assert instead, it will be elided
20985         under [NDEBUG] anyway.
20987 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20989         * sysdeps/unix/sysv/linux/Makefile: Include
20990         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20991         (sysdep_routines): Remove sysctl.
20992         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20993         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20994         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20995         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20996         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20998 2012-05-22  Andreas Jaeger  <aj@suse.de>
21000         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21001         that pseudo_end is just ret and the stack pointer is correct also
21002         for static library in error case.
21004 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21006         [BZ #14122]
21007         * nss/nsswitch.c (defconfig_entries): New variable.
21008         (__nss_database_lookup): Don't leak defconfig entries.
21009         (nss_parse_service_list): Don't leak on error paths.
21010         (free_database_entries): New function.
21011         (free_defconfig): New function.
21012         (free_mem): Move common code to free_database_entries.
21014 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21016         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21017         Add arch_prctl.
21018         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21020         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21021         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21023         New macro.
21024         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21025         (INTERNAL_SYSCALL_TYPES): Likewise.
21026         (LOAD_ARGS_TYPES_[1-6]): Likewise.
21027         (LOAD_REGS_TYPES_[1-6]): Likewise.
21028         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21029         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21031 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21033         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21034         copysignl for GLIBC_2_0.
21035         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21036         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21037         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21038         logbl for GLIBC_2_0.
21039         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21040         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21042 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21044         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21045         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21047         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21048         Use "neg %eax".
21050         * time/mktime.c: Update copyright years.
21052 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21054         mktime: merge comment-quoting-style change from gnulib
21055         * time/mktime.c: Quote 'like this' in comments.
21056         The GNU coding standards suggest that we no longer quote `like this',
21057         as "`" and "'" are typically rendered asymmetrically nowadays.
21058         The typical gnulib style is to quote 'like this' when quoting
21059         code, and "like this" when quoting English.
21061         * time/mktime.c (compile-command): Add "-I.".
21063         mktime: merge mktime-internal.h change from gnulib
21064         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21066         mktime: merge time_r change from gnulib
21067         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21069         mktime: merge DEBUG change from gnulib
21070         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21071         case system <time.h> has a #define.
21073         mktime: merge <sys/types.h> change from gnulib
21074         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21075         since <time.t> is now guaranteed to define time_t.
21077         mktime: merge HAVE_CONFIG_H change from gnulib
21078         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21080 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21083         Use "neg %eax".
21085         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21086         __rlim_t cast.
21087         (struct rusage): Use anonymous union to pad each field to
21088         __syscall_slong_t.
21090 2012-05-21  David S. Miller  <davem@davemloft.net>
21092         * Makefules (o-iterator): Remove .s cases.
21093         (compile-command.s): Delete.
21094         (COMPILE.s): Delete.
21095         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21097 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
21099         * configure.in (libc_cv_predef_stack_protector): Only consider
21100         "foobar" and "__stack_chk_fail" lines in libc_undefs.
21101         * configure: Regenerated.
21103 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21106         New macro.  Use R*LP on int and pointer.
21107         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21108         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21109         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21110         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21112         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21113         [__WORDSIZE_TIME64_COMPAT32] instead of
21114         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21115         (struct utmp): Likewise.
21116         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21117         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21118         Renamed to ...
21119         (__WORDSIZE_TIME64_COMPAT32): This.
21120         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21121         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21122         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21123         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21124         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21125         (__WORDSIZE_TIME64_COMPAT32): New macro.
21127 2012-05-21  Andreas Jaeger  <aj@suse.de>
21129         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21130         only if [SHARED]. Add prototype for __wcschr_ia32.
21132 2012-05-21  Roland McGrath  <roland@hack.frob.com>
21134         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21135         of %rbp unmolested in the jmp_buf while mangling the low bits.
21136         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21137         unmolested high bits of %rbp while demangling the low bits.
21138         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21140 2012-05-21  Andreas Jaeger  <aj@suse.de>
21142         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21143         * sunrpc/svc_simple.c: Use it for registerrpc.
21144         * sunrpc/xcrypt.c: Use it for passwd2des.
21146         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21148 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21150         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21151         Don't define if [__SYSCALL_WORDSIZE != 32].
21152         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21153         New macro.
21155 2012-05-21  Bruno Haible  <bruno@clisp.org>
21156             Andreas Jaeger  <aj@suse.de>
21158         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21159         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21160         inptr and inend for must_buffer_ch.
21161         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21162         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21163         * stdio-common/Makefile (tests): Remove bug15.
21164         (bug15-ENV): Remove macro.
21165         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21166         anymore.
21168 2012-05-19  Andreas Jaeger  <aj@suse.de>
21169             Roland McGrath  <roland@hack.frob.com>
21171         * manual/contrib.texi: Completely rewritten. It contains now an
21172         alphabetical list of contributors and their contributions.
21174 2012-05-21  Richard Henderson  <rth@twiddle.net>
21176         * misc/getauxval.c (__getauxval): Use unsigned long int.
21177         * misc/sys/auxv.h: Include <sys/cdefs.h>.
21178         (getauxval): Use unsigned long int.
21180 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21182         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21184 2012-05-21  Roland McGrath  <roland@hack.frob.com>
21186         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21187         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21188         __alignof__ (long double).
21190 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21194 2012-05-20  Richard Henderson  <rth@twiddle.net>
21196         * misc/getauxval.c: New file.
21197         * misc/sys/auxv.h: New file.
21198         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21199         (routines): Add getauxval.
21200         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21201         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21202         * elf/dl-sysdep.c (_dl_auxv): Remove.
21203         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21204         * elf/dl-support.c (_dl_auxv): New variable.
21205         (_dl_aux_init): Initialize it.
21206         * manual/startup.texi (Auxiliary Vector): New node.
21207         * sysdeps/generic/bits/hwcap.h: New file.
21208         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21209         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
21210         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21211         * sysdeps/sparc/sysdep.h: ... here.  Include it.
21212         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21213         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21215         Update.
21216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21219         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21225 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21229 2012-05-19  David S. Miller  <davem@davemloft.net>
21231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21233 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
21235         [BZ #14123]
21236         * math/s_ccosh.c: Include <float.h>
21237         (__ccosh): Avoid internal overflow calculating sinh and cosh
21238         values before multiplying by sin and cos values.
21239         * math/s_ccoshf.c: Likewise.
21240         * math/s_ccoshl.c: Likewise.
21241         * math/s_csin.c: Likewise.
21242         * math/s_csinf.c: Likewise.
21243         * math/s_csinl.c: Likewise.
21244         * math/s_csinh.c: Likewise.
21245         * math/s_csinhf.c: Likewise.
21246         * math/s_csinhl.c: Likewise.
21247         * math/libm-test.inc (ccos_test): Add more tests.
21248         (ccosh_test): Likewise.
21249         (csin_test): Likewise.
21250         (csinh_test): Likewise.
21251         * sysdeps/i386/fpu/libm-test-ulps: Update.
21252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21254 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21256         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21257         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21259         * sysdeps/x86_64/x32/_itoa.h: Add comment.
21261 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
21263         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21264         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21265         * sysdeps/powerpc/soft-fp/Versions: Likewise.
21266         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21267         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21268         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21269         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21270         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21271         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21272         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21273         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21274         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21275         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21276         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21277         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21278         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21279         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21280         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21281         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21282         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21283         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21284         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21285         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21286         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21287         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21288         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21289         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21290         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21291         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21292         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21293         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21295 2012-05-18  Andreas Jaeger  <aj@suse.de>
21297         * csu/.gitignore: Delete.
21299 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21301         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21302         (timex): Use __syscall_slong_t.
21304 2012-05-18  Andreas Jaeger  <aj@suse.de>
21305             Carlos O'Donell  <carlos_odonell@mentor.com>
21307         * manual/install.texi (Configuring and compiling): Update
21308         description about files modified in the source directory.
21309         * INSTALL: Regenerated.
21311 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21313         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21314         value.  Use "or" to set return value to -1.
21315         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21316         negate return value.
21318 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21320         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21321         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21322         failure if the compiler has Graphite support disabled.
21323         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21324         Likewise.
21325         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21326         CFLAGS-memmove.c): Likewise.
21327         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21328         Likewise.
21330 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21332         * sysdeps/x86_64/x32/_itoa.h: New file.
21334         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21335         getdents system call only if kernel and user dirents have the
21336         same d_ino and d_off.
21338         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21339         LLONG_MAX != LONG_MAX.
21340         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21341         (_fitoa_word): Likewise.
21343         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21344         years.
21345         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21346         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21347         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21349         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21350         include <bits/wordsize.h>.  Check __x86_64__ instead of
21351         __WORDSIZE.
21352         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21353         if __x86_64__ is defined.  Use anonymous union on fpstate.
21355         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21356         anonymous union.
21358 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
21360         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21361         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21362         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21363         Refer to _rtld_local_ro instead of _rtld_global_ro.
21364         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21365         Likewise.
21366         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21367         Likewise.
21368         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21369         Likewise.
21370         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21371         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21372         of _rtld_global, and rtld_progname instead of _dl_argv[0].
21374         * sysdeps/powerpc/powerpc32/dl-machine.c
21375         (__elf_machine_runtime_setup) [PROF]: Don't reference
21376         _dl_prof_resolve.
21378 2012-05-18  Andreas Jaeger  <aj@suse.de>
21380         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21381         function only available for GCCs before 3.4 since GCC 3.4
21382         introduced a builtin.
21383         (lrint): Likewise.
21384         (llrintf): Likewise.
21385         (llrint): Likewise.
21386         (fmaxf): Likewise.
21387         (fmax): Likewise.
21388         (fminf): Likewise.
21389         (fmin): Likewise.
21390         (rint): Likewise.
21391         (rintf): Likewise.
21392         (nearbyint): Likewise.
21393         (nearbyintf): Likewise.
21394         (ceil): Likewise.
21395         (ceilf): Likewise.
21396         (floor): Likewise.
21397         (floorf): Likewise.
21399 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21401         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21402         on both fields and cast pointer to __syscall_ulong_t.
21404         * bits/types.h (__fsword_t): New type.
21405         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21406         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21407         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21408         (__FSWORD_T_TYPE): Likewise.
21409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21410         (__FSWORD_T_TYPE): Likewise.
21411         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21412         (__FSWORD_T_TYPE): Likewise.
21413         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21414         (__FSWORD_T_TYPE): Likewise.
21415         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21416         __SWORD_TYPE with __fsword_t.
21417         (statfs64): Likewise.
21419 2012-05-17  David S. Miller  <davem@davemloft.net>
21421         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21423 2012-05-17  Andreas Jaeger  <aj@suse.de>
21425         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21426         warning.
21428 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21430         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21432 2012-05-17  Andreas Jaeger  <aj@suse.de>
21434         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21435         when it is used.
21437 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21439         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21441 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21443         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21444         * sysdeps/x86_64/tst-mallocalign1.c: New file.
21446 2012-05-17  Andreas Jaeger  <aj@suse.de>
21447             Carlos O'Donell  <carlos_odonell@mentor.com>
21449         [BZ #14059]
21450         * sysdeps/x86_64/multiarch/init-arch.h
21451         (bit_YMM_Usable): Rename to...
21452         (bit_AVX_Usable): ... this.
21453         (bit_FMA4_Usable): New macro.
21454         (bit_XMM_state): New macro.
21455         (bit_YMM_state): New macro.
21456         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21457         [__ASSEMBLER__] (index_AVX_Usable): ... this.
21458         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21459         (CPUID_OSXSAVE): New macro.
21460         (CPUID_AVX): New macro.
21461         (CPUID_FMA4): New macro.
21462         (index_YMM_Usable): Rename to...
21463         (index_AVX_Usable): ... this.
21464         (HAS_AVX): Use HAS_ARCH_FEATURE.
21465         (HAS_FMA4): Likewise.
21466         (HAS_YMM_USABLE): Remove.
21467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21468         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21469         are present.
21470         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21471         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21472         * sysdeps/x86_64/multiarch/Makefile: Likewise.
21473         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21474         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21476 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21478         * math/libm-test.c: Support platforms without multiple rounding modes.
21479         * math/bug-nextafter.c: Support platforms without FP exceptions.
21480         * math/bug-nexttoward.c: Likewise.
21481         * math/test-fenv.c: Likewise.
21482         * math/test-misc.c: Likewise.
21483         * stdlib/bug-getcontext.c: Likewise.
21485 2012-05-17  Andreas Jaeger  <aj@suse.de>
21487         * manual/examples/search.c (critter_cmp): Change signature to
21488         avoid warnings.
21489         * manual/string.texi (Collation Functions): Likewise.
21491 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21493         * bits/types.h: Fold copyright years.
21494         * bits/typesizes.h: Likewise.
21495         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21496         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21497         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21499         * time/time.h: Likewise.
21501 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
21503         [BZ #208]
21504         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21505         in instead of returning them.  Return void.
21506         (__libc_mallinfo): Accumulate over all arenas.
21507         (__malloc_stats): Adjust for change in int_mallinfo interface.
21509 2012-05-16  Roland McGrath  <roland@hack.frob.com>
21511         [BZ #10375]
21512         * configure.in (NM): Add AC_CHECK_TOOL for it.
21513         (libc_extra_cflags): New substituted variable.
21514         Check for -fstack-protector being used implicitly.
21515         * configure: Regenerated.
21516         * config.make.in (config-extra-cflags): New variable,
21517         gets @libc_extra_cflags@.
21518         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21520         [BZ #10375]
21521         * configure.in: Check for _FORTIFY_SOURCE being predefined.
21522         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21523         * configure: Regenerated.
21524         * config.make.in (CPPUNDEFS): New substituted variable.
21525         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21526         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21527         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21529 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21531         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21532         (mq_attr): Use __syscall_slong_t.
21534 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21536         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21537         Check __x86_64__ instead of __WORDSIZE.
21538         (_STAT_VER_LINUX): Likewise.
21539         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
21540         __syscall_ulong_t and __syscall_slong_t.
21541         (stat64): Likewise.
21543 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21547 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21549         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21551 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21553         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21554         __syscall_ulong_t.
21556         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21557         include <bits/wordsize.h>.  Check __x86_64__ instead of
21558         __WORDSIZE.
21559         (greg_t): Use "__extension__ long long int" if __x86_64__ is
21560         defined.
21561         (mcontext_t): Replace "unsigned long" with "unsigned long long".
21563         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21564         include <bits/wordsize.h>.  Check __x86_64__ instead of
21565         __WORDSIZE.
21566         (user_regs_struct): Use "__extension__ unsigned long long"
21567         instead of "unsigned long" if __x86_64__ is defined.
21568         (user): Likewise.  Pad after pointer field if __ILP32__ is
21569         defined.
21571 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
21573         * configure.in (makeinfo): Require version 4.5 or later.  Allow
21574         versions 5 to 9.
21575         * configure: Regenerated.
21576         * manual/install.texi (texinfo): Increase version requirement to
21577         4.5 or later.
21578         * INSTALL: Regenerated.
21580         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21582 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21584         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21586         * sysdeps/x86_64/x32/ffs.c: New file.
21588         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21589         __syscall_ulong_t.
21590         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21591         defined.  Use __syscall_ulong_t.
21592         (shminfo): Use __syscall_ulong_t.
21593         (shm_info): Likewise.
21595         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21596         __syscall_ulong_t.
21598         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21599         <bits/wordsize.h>.
21600         (msgqnum_t): Use __syscall_ulong_t.
21601         (msglen_t): Likewise.
21602         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
21603         __syscall_ulong_t.
21605         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21606         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21608         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21610         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21611         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21613         * sysvipc/sys/msg.h (msgbuf): Replace long int with
21614         __syscall_slong_t.
21616         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21617         include <bits/wordsize.h>.  Check __x86_64__ instead of
21618         __WORDSIZE.
21620         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21621         "unsigned long long int" if __x86_64__ is defined.
21622         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21624         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21625         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21626         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21628         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21629         <stdint.h>.
21630         (GET_PC): Cast to uintptr_t first.
21631         (GET_FRAME): Likewise.
21632         (GET_STACK): Likewise.
21634         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21635         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21636         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21637         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21638         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21639         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21640         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21641         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21642         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21643         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21644         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21645         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21646         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21647         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21648         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21649         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21650         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21651         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21652         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21653         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21654         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21655         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21656         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21657         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21658         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21659         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21660         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21661         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21662         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21664 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
21666         * Makerules (+depfiles): Also collect depfiles from .oS in
21667         $(extra-objs).
21668         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21669         .oS, $(libnldbl-routines)).
21671         * Makerules (native-compile-mkdep-flags): Define.
21672         * sunrpc/Makefile (extra-objs): Add $(addprefix
21673         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21674         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21675         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
21676         calling $(make-target-directory).
21678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21680         * bits/types.h (__snseconds_t): Removed.
21681         * time/time.h (struct timespec): Replace __snseconds_t with
21682         __syscall_slong_t.
21683         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21684         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21685         Likewise.
21686         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21687         (__SNSECONDS_T_TYPE): Likewise.
21688         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21689         (__SNSECONDS_T_TYPE): Likewise.
21690         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21691         (__SNSECONDS_T_TYPE): Likewise.
21693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21695         * sysdeps/mach/hurd/bits/typesizes.h
21696         (__SYSCALL_SLONG_TYPE): New macro.
21697         (__SYSCALL_ULONG_TYPE): Likewise.
21699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21701         * bits/types.h (__syscall_slong_t): New type.
21702         (__syscall_ulong_t): Likewise.
21704         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21705         (__SYSCALL_ULONG_TYPE): Likewise.
21706         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21707         (__SYSCALL_SLONG_TYPE): Likewise.
21708         (__SYSCALL_ULONG_TYPE): Likewise.
21709         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21710         (__SYSCALL_SLONG_TYPE): Likewise.
21711         (__SYSCALL_ULONG_TYPE): Likewise.
21712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21713         (__SYSCALL_SLONG_TYPE): Likewise.
21714         (__SYSCALL_ULONG_TYPE): Likewise.
21716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21718         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21719         Add sigaltstack-offsets.sym.
21720         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21721         <sigaltstack-offsets.h>.
21722         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
21723         longjmp_msg pointer.
21724         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
21725         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21726         signal stack.
21727         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21729 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21731         * elf/stackguard-macros.h: Remove file.
21732         * sysdeps/generic/stackguard-macros.h: New file.
21733         * sysdeps/i386/stackguard-macros.h: Likewise.
21734         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21735         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21736         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21737         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21738         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21739         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21740         * sysdeps/x86_64/stackguard-macros.h: Likewise.
21741         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21742         <elf/stackguard-macros.h>.
21744         [BZ #14109]
21745         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21746         __aligned__ in attribute.
21747         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21748         (gregset_t): Likewise.
21750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21752         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21753         * sysdeps/x86_64/64/Implies-after: Here.  New file.
21754         * sysdeps/x86_64/x32/Implies-after: New file.
21756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21758         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21759         and access return value for _dl_profile_fixup.  Use R10_LP to
21760         load frame size.
21762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21764         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21768         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21769         * sysdeps/x86_64/x32/sysdep.h: New file.
21771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21773         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21774         * sysdeps/x86_64/setjmp.S: Likewise.
21776 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21778         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21779         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21780         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21781         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21782         remove unused global constant.
21784 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21786         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21787         include of <not-cancel.h>.
21789 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21791         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21793 2012-05-15  Jeff Law  <law@redhat.com>
21794             Andreas Jaeger  <aj@suse.de>
21796         [BZ #13594]
21797         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21798         out from...
21799         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21800         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21801         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21802         code changing __hst_map_handle.map.
21804 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21806         * configure.in (sysnames): Look for Implies-before and Implies-after
21807         files.
21808         * configure: Regenerated.
21810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21812         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21813         8-byte data alignment with LP_SIZE alignment.
21815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21817         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21818         into R10_LP.
21820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21822         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21826         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21827         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21828         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21829         Likewise.
21830         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21834         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21835         (stackinfo_sub_sp): Likewise.
21837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21839         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21840         RAX_LP.
21842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21844         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21845         into R*_LP.
21847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21849         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21850         sizes into R*_LP.
21852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21854         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21858         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21859         into R11_LP and load __x86_64_shared_cache_size_half into
21860         R8_LP.
21862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21864         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21865         R8_LP.
21867 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21870         logb for POWER7.
21871         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21872         logbf for POWER7.
21873         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21874         logbl for POWER7.
21875         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21876         powerpc32/power7/fpu/s_logb.c via #include.
21877         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21878         powerpc32/power7/fpu/s_logbf.c via #include.
21879         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21880         powerpc32/power7/fpu/s_logbl.c via #include.
21882 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21884         * README.libm: Remove file.
21886 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21888         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21889         count for x32.  Use R*_LP and omit operand-size suffix.
21891 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21893         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21894         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21895         * sysdeps/x86_64/x32/shlib-versions: New file.
21897 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21899         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21900         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21901         Use _dl_fatal_printf instead.
21903 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21905         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21906         set if not set by the user.  Do not allow for being unset.
21907         * sysdeps/unix/sysv/linux/configure: Regenerated.
21909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21911         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21912         the `q' suffix from lea and replace .quad with ASM_ADDR.
21914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21917         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21918         instead of $17.
21919         (PTR_DEMANGLE): Likewise.
21921 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21923         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21924         (LP_OP): Likewise.
21925         (ASM_ADDR): Likewise.
21926         (RAX_LP): Likewise.
21927         (RBP_LP): Likewise.
21928         (RBX_LP): Likewise.
21929         (RCX_LP): Likewise.
21930         (RDI_LP): Likewise.
21931         (RSI_LP): Likewise.
21932         (RSP_LP): Likewise.
21933         (R8_LP): Likewise.
21934         (R9_LP): Likewise.
21935         (R10_LP): Likewise.
21936         (R10_LP): Likewise.
21937         (R11_LP): Likewise.
21938         (R12_LP): Likewise.
21939         (R13_LP): Likewise.
21940         (R14_LP): Likewise.
21941         (R15_LP): Likewise.
21943 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21945         * sysdeps/x86_64/x32/dl-machine.h: New file.
21947 2012-05-14  Andreas Jaeger  <aj@suse.de>
21949         * manual/Makefile (subdir): Remove export of subdir.
21950         (all): Remove target.
21951         (.PHONY): Remove all from list.
21952         (mkinstalldirs): Remove.
21953         (.PHONY): Remove installdirs from list.
21954         ($(inst_infodir)/libc.info): Use make-target-directory.
21955         (installdirs): Remove.
21956         (subdir_%): Remove.
21957         (glibc-targets): Remove.
21958         (lib): Remove.
21959         (stubs): Remove.
21960         ($(objpfx)stubs ../po/manual.pot): Remove.
21961         ($(objpfx)stamp%): Remove.
21962         (make-target-directory): Remove.
21963         (subdir_install): Remove.
21964         (routines): Remove.
21965         (aux): Remove.
21966         (sources): Remove.
21967         (objects): Remove.
21968         (headers): Remove.
21970         [BZ #13750]
21971         * manual/.gitignore: Remove, it's not needed anymore.
21972         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21973         all files in it.
21974         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21975         directory.
21976         (texis): Renamed to $(objpfx)texis.
21977         (texis-path): New, contains path to generated files.
21978         (chapters.%): Use texis-path for complete path, add extra argument
21979         libc-texinfo.sh.
21980         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21981         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21982         (summary,texi, stamp-summary): Use complete path of
21983         files. Generate files in build dir.
21984         (dir-add.texi): Build in build dir.
21985         (libm-err.texi,stamp-libm-err): Likewise.
21986         (version.texi, stamp-version): Likewise.
21987         (.%c.texi): Likewise.
21988         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21989         (mostlyclean): Remove target.
21990         (realclean): Remove target.
21991         (generated): Add new variable with contents from mostlyclean and
21992         realclean, remove entries duplicated in common-mostlyclean, add
21993         stamp-libm-err and stamp-version.
21994         (generated-dirs): Add libc directory.
21995         ($(inst_infodir)/libc.info): Install files from build dir.
21997         * manual/install.texi (Configuring and compiling): Adjust since
21998         the info files are not part of the tar ball anymore.
22000 2012-05-14  Andreas Jaeger  <aj@suse.de>
22002         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22003         variable.
22005 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22007         [BZ #13717]
22008         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22009         to 2.2.0 where earlier.
22010         * sysdeps/unix/sysv/linux/configure: Regenerated.
22011         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22012         Remove conditional code.
22013         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22014         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22015         Remove conditional code.
22016         [!__NR_lchown]: Likewise.
22017         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22018         [__NR_lchown]: Likewise.
22019         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22020         comment referencing __ASSUME_LCHOWN_SYSCALL.
22021         * sysdeps/unix/sysv/linux/i386/sigaction.c
22022         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22023         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22024         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22025         Remove conditional code.
22026         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22027         (__protocol_available): Remove #if 0 code.
22028         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22029         conditional code.
22030         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22031         * sysdeps/unix/sysv/linux/kernel-features.h
22032         (__ASSUME_GETCWD_SYSCALL): Don't define.
22033         (__ASSUME_REALTIME_SIGNALS): Likewise.
22034         (__ASSUME_PREAD_SYSCALL): Likewise.
22035         (__ASSUME_PWRITE_SYSCALL): Likewise.
22036         (__ASSUME_POLL_SYSCALL): Likewise.
22037         (__ASSUME_LCHOWN_SYSCALL): Likewise.
22038         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22039         non-SPARC.
22040         (__ASSUME_SIOCGIFNAME): Don't define.
22041         (__ASSUME_MSG_NOSIGNAL): Likewise.
22042         (__ASSUME_SENDFILE): Define unconditionally.
22043         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22044         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22045         conditional code.
22046         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22047         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22048         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22049         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22050         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22051         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22052         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22054         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22055         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22057         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22058         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22060         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22061         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22063         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22066         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22067         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22069         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22072         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22073         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22075         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22077         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22078         Remove conditional code.
22079         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22080         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22081         Remove conditional code.
22082         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22083         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22084         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22085         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22086         Remove conditional code.
22087         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22088         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22089         Remove conditional code.
22090         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22091         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22092         Remove conditional code.
22093         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22094         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22095         Remove conditional code.
22096         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22097         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22098         Remove conditional code.
22099         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22100         * sysdeps/unix/sysv/linux/sh/pwrite64.c
22101         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22102         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22103         * sysdeps/unix/sysv/linux/sigaction.c
22104         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22105         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22106         * sysdeps/unix/sysv/linux/sigpending.c
22107         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22108         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22109         * sysdeps/unix/sysv/linux/sigprocmask.c
22110         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22111         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22112         * sysdeps/unix/sysv/linux/sigsuspend.c
22113         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22114         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22115         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22116         (__libc_missing_rt_sigs): Remove.
22117         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22118         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22119         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22120         Remove conditional code.
22121         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22122         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22123         return 1.
22124         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22125         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22126         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22127         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22129 2012-05-14  Andreas Jaeger  <aj@suse.de>
22131         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22132         it's not used in glibc.
22133         (__coshm1): Likewise.
22134         (__acosh1p): Likewise.
22135         (__sgn): Likewise.
22137         * manual/string.texi (Copying and Concatenation): Add missing
22138         variable in concat example.
22139         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22141 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22143         [BZ #14103]
22144         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22145         __builtin_clzl with __builtin_clzll.
22147 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22149         [BZ #14104]
22150         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22151         libc_freeres_ptr.
22153 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22155         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22156         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22157         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22158         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22160 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
22162         * NEWS: Update ia64 info.
22164 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
22166         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22167         used as bcopy.
22169 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
22171         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22172         * sysdeps/unix/syscalls.list (dup3): Likewise.
22173         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22174         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22176 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22178         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22179         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22181 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22183         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22184         thread pointer.
22185         (TLS_IE): Use mov/add instead of movq/addq to load thread
22186         pointer.
22187         (TLS_GD_PREFIX): New.
22188         (TLS_GD): Use it.
22190 2012-05-11  David S. Miller  <davem@davemloft.net>
22192         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22193         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22194         (_FPU_SETCW): Likewise.
22196 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22198         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22199         is 32-byte aligned.
22201 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
22203         [BZ #11837]
22204         * iconvdata/gb18030.c: Update tables.
22205         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
22206         characters specially.
22207         (BODY for TO_LOOP): Add encoding of missing ranges.
22209 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
22211         [BZ #13673]
22212         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22213         * sysdeps/mach/hurd/dup3.c: Likewise.
22214         * sysdeps/mach/hurd/readlinkat.c: Likewise.
22215         * sysdeps/powerpc/memmove.c:: Likewise.
22217 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22219         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22220         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22222 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22224         * elf/elf.h (R_X86_64_RELATIVE64): New.
22225         (R_X86_64_NUM): Updated.
22226         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22227         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
22228         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22229         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22230         tst-quad1pie tst-quad2pie
22231         (modules-names): Add tst-quadmod1 tst-quadmod2.
22232         ($(objpfx)tst-quad1): New dependency.
22233         ($(objpfx)tst-quad2): Likewise.
22234         ($(objpfx)tst-quad1pie): Likewise.
22235         ($(objpfx)tst-quad2pie): Likewise.
22236         * sysdeps/x86_64/tst-quad1.c: New file.
22237         * sysdeps/x86_64/tst-quad1pie.c: New file.
22238         * sysdeps/x86_64/tst-quad2.c: Likewise.
22239         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22240         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22241         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22242         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22243         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22247         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22248         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22249         * streams/stropts.h (t_scalar_t): Define type.
22251         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22252         (_PATH_PRESERVE): Set to "/var/lib".
22253         (_PATH_RWHODIR): Set to "/var/spool/rwho".
22255         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22256         instead of int.
22258         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22259         if __dir_mkfile succeeded.
22261         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22262         checking for _hurd_dtablesize.  Unlock it right after having
22263         finished _hurd_dtable allocation.
22265 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22267         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22268         * sysdeps/mach/hurd/configure: Regenerated.
22269         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22270         special-casing to...
22271         * sysdeps/gnu/configure.in: ... this new file.
22272         * sysdeps/unix/sysv/linux/configure: Regenerated.
22273         * sysdeps/gnu/configure: New generated file.
22275         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22276         for Linux: use nsec instead of usec, as well as:
22277         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22278         members of type struct timespec.
22279         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22280         New macros.
22281         (struct stat64): Likewise.
22282         (_STATBUF_ST_NSEC): New macro.
22283         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22285         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22286         __strtoul_internal rather than strtoul.
22288 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22290         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22291         and reject them.
22293 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22295         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22296         which preserves existing values.
22297         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22299 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22301         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22302         TIMEOUT values.  Return EINVAL for NFDS values either negative or
22303         greater than FD_SETSIZE.
22305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22307         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22308         allocated, call __vm_protect to finish enabling the existing space, and
22309         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22310         allocate the remainder.
22312 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22314         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22315         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
22317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22319         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22320         sysdeps/mach/hurd/readlink.c.
22322         * posix/tst-sysconf.c (posix_options): Only use
22323         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22324         _POSIX_SYNCHRONIZED_IO when they are defined
22325         * sysdeps/mach/hurd/bits/posix_opt.h:
22326         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22327         (_XOPEN_REALTIME): Undefine macro.
22328         (_XOPEN_REALTIME_THREADS): Undefine macro.
22329         (_XOPEN_SHM): Undefine macro.
22330         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22331         macro to -1.
22332         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22333         macro to -1.
22334         (_POSIX_ASYNC_IO): Undefine macro.
22335         (_POSIX_PRIORITIZED_IO): Undefine macro.
22336         (_POSIX_SPIN_LOCKS): Define macro to -1.
22338         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22339         SA_NODEFER, SA_RESETHAND.
22340         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22341         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22342         F_DUPFD_CLOEXEC.
22344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22346         * elf/Makefile (pldd-modules): Define unconditionally.
22348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22350         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22354         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22355         Return ENOENT when name is empty.
22356         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22358 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22360         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22362         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22366         Fix mlock in all cases except non-readable pages.
22367         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22368         instead of VM_PROT_ALL as parameter to __vm_wire function.
22370         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22371         (__mkdir): When path is `/', just fail with EEXIST.
22372         * sysdeps/mach/hurd/mkdirat.c: Likewise.
22374 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22376         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22377         <sys/uio.h> (for writev).
22378         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22379         and <sys/param.h> (for MIN).
22381 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22383         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22384         REQUESTED_TIME.  Properly set the remaining time and return EINTR
22385         if interrupted.
22387 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22389         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22390         Depend on against $(link-rpcuserlibs).
22392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22394         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22395         (__libc_stack_end): Do not use attribute_relro.
22396         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22397         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22398         to libthread-provided value.
22399         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22400         attribute_relro.
22402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22404         [BZ #3748]
22405         * bits/libc-lock.h (__libc_once_get): New macro.
22406         * sysdeps/mach/bits/libc-lock.h: Likewise.
22407         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22408         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22409         instead of using implementation details.
22411         * libio/fileops.c: Unconditionally include <kernel-features.h>.
22412         * libio/freopen.c: Likewise.
22413         * libio/freopen64.c: Likewise.
22414         * misc/syslog.c: Likewise.
22415         * nscd/connections.c: Likewise.
22416         * nscd/netgroupcache.c: Likewise.
22417         * sysdeps/posix/getcwd.c: Likewise.
22419 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22421         * math/w_ilogbf.c: Add #include <limits.h>.
22423 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22425         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22426         path instead of returning without unlocking.
22428         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22429         immediate-write ioctls.
22430         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22432 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22434         * sysdeps/mach/hurd/i386/init-first.c (init): Use
22435         __builtin_frame_address instead of making assumptions about the
22436         location of the return address relative to DATA.  Force early load of
22437         the return address.
22438         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22439         __builtin_frame_address.
22441         dup3 for GNU Hurd.
22442         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22443         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
22444         implement dup3 and do some further code clean-ups.
22445         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22446         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22450         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22452         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22453         HURD_CRITICAL_END around holding _hurd_dtable_lock.
22454         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22455         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22456         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22457         d->port.lock.
22459         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22460         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
22461         when handler == SIG_ERR, not when handler != SIG_ERR.
22463 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22465         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22466         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22467         definitions.
22469         accept4 for GNU Hurd.
22470         * include/sys/socket.h (__libc_accept4): New prototype.
22471         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
22472         to implement __libc_accept4.
22473         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22474         __libc_accept4.
22475         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22477         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22478         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22479         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22480         signal-defines.sym.
22482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22484         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22488         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22489         assertion on O_CLOEXEC flag.
22490         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22491         * hurd/intern-fd.c: Likewise.
22492         * hurd/port2fd.c: Likewise.
22494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22496         [BZ #3906]
22497         * bits/in.h (IPV6_PKTINFO): Define new macro.
22498         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22500 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22502         [BZ #13954]
22503         [BZ #13955]
22504         [BZ #13956]
22505         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22506         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22507         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22508         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22510         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22511         * math/libm-test.inc (logb_test) : Additional logb tests.
22513 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
22514             Andreas Jaeger  <aj@suse.de>
22516         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22517         * configure: Regenerated.
22518         * config.h.in (LINK_OBSOLETE_RPC): New macro.
22519         * config.make.in (link-obsolete-rpc): New substituted variable.
22520         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22521         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22522         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22523         (shared-only-routines): Don't set it under [link-obsolete-rpc],
22524         so that libc.a contains the symbols.
22525         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22526         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22527         * sunrpc/auth_none.c: Likewise.
22528         * sunrpc/auth_unix.c: Likewise.
22529         * sunrpc/authdes_prot.c: Likewise.
22530         * sunrpc/authuxprot.c: Likewise.
22531         * sunrpc/clnt_gen.c: Likewise.
22532         * sunrpc/clnt_perr.c: Likewise.
22533         * sunrpc/clnt_raw.c: Likewise.
22534         * sunrpc/clnt_simp.c: Likewise.
22535         * sunrpc/clnt_tcp.c: Likewise.
22536         * sunrpc/clnt_udp.c: Likewise.
22537         * sunrpc/clnt_unix.c: Likewise.
22538         * sunrpc/des_crypt.c: Likewise.
22539         * sunrpc/des_soft.c: Likewise.
22540         * sunrpc/get_myaddr.c: Likewise.
22541         * sunrpc/key_call.c: Likewise.
22542         * sunrpc/key_prot.c: Likewise.
22543         * sunrpc/netname.c: Likewise.
22544         * sunrpc/pm_getmaps.c: Likewise.
22545         * sunrpc/pm_getport.c: Likewise.
22546         * sunrpc/pmap_clnt.c: Likewise.
22547         * sunrpc/pmap_prot.c: Likewise.
22548         * sunrpc/pmap_prot2.c: Likewise.
22549         * sunrpc/pmap_rmt.c: Likewise.
22550         * sunrpc/publickey.c: Likewise.
22551         * sunrpc/rpc_cmsg.c: Likewise.
22552         * sunrpc/rpc_common.c: Likewise.
22553         * sunrpc/rpc_dtable.c: Likewise.
22554         * sunrpc/rpc_prot.c: Likewise.
22555         * sunrpc/rpc_thread.c: Likewise.
22556         * sunrpc/rtime.c: Likewise.
22557         * sunrpc/svc.c: Likewise.
22558         * sunrpc/svc_auth.c: Likewise.
22559         * sunrpc/svc_raw.c: Likewise.
22560         * sunrpc/svc_run.c: Likewise.
22561         * sunrpc/svc_tcp.c: Likewise.
22562         * sunrpc/svc_udp.c: Likewise.
22563         * sunrpc/svc_unix.c: Likewise.
22564         * sunrpc/svcauth_des.c: Likewise.
22565         * sunrpc/xcrypt.c: Likewise.
22566         * sunrpc/xdr.c: Likewise.
22567         * sunrpc/xdr_array.c: Likewise.
22568         * sunrpc/xdr_float.c: Likewise.
22569         * sunrpc/xdr_intXX_t.c: Likewise.
22570         * sunrpc/xdr_mem.c: Likewise.
22571         * sunrpc/xdr_rec.c: Likewise.
22572         * sunrpc/xdr_ref.c: Likewise.
22573         * sunrpc/xdr_sizeof.c: Likewise.
22574         * sunrpc/xdr_stdio.c: Likewise.
22576 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22578         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22579         change.  Update copyright years.
22581 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22583         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22585 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
22586             Joseph Myers  <joseph@codesourcery.com>
22587             Paul Pluzhnikov  <ppluzhnikov@google.com>
22589         [BZ #14012]
22590         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22591         requiring rpcgen.
22592         [cross-compiling] (extra-libs): Likewise.
22593         [cross-compiling] (extra-libs-others): Likewise.
22594         [cross-compiling] (librpcsvc-routines): Likewise.
22595         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22596         [cross-compiling] (omit-deps): Likewise.
22597         (sunrpc-CPPFLAGS): New variable.
22598         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22599         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22600         (cross-rpcgen-objs): New variable.
22601         (extra-objs): Append $(cross-rpcgen-objs).
22602         ($(cross-rpcgen-objs)): New rule.
22603         ($(objpfx)cross-rpcgen): Likewise.
22604         (rpcgen-cmd): Define to use $(built-program-file).  Expand
22605         comment.
22606         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22607         ($(objpfx)x%.stmp): Likewise.
22608         * sunrpc/proto.h [IS_IN_build] (_): Define.
22609         [IS_IN_build] (_libc_intl_domainname): Likewise.
22611 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22613         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22614         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22615         and R_X86_64_TPOFF64.
22617 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22619         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22620         sysdeps/unix/sysv/syscalls.list.
22621         (stime): Likewise.
22622         (utime): Likewise.
22623         * sysdeps/unix/sysv/syscalls.list: Remove file.
22625 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
22627         [BZ #3440]
22628         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22629         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22630         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22631         (__LC_IDENTIFICATION): Make these macros useful in #if
22632         expressions, as required by C99.
22634 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
22636         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22637         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
22638         after this.
22640 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
22642         * stdlib/longlong.h: Updated from GCC.
22644 2012-05-09  Andreas Jaeger  <aj@suse.de>
22646         * nscd/nscd.c (run_modes): Make named enum, reorder so that
22647         default is first entry.
22648         (run_mode): Set type.
22649         (main): Remove informal message about syslog.
22650         (options): Fix typo.
22652         [BZ #14053]
22653         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22654         to asm.
22655         (lrint): Likewise.
22656         (llrintf): Likewise.
22657         (llrint): Likewise.
22658         (rint): Likewise.
22659         (rintf): Likewise.
22660         (nearbyint): Likewise.
22661         (nearbyintf): Likewise.
22663 2012-05-09  Andreas Jaeger  <aj@suse.de>
22664             Pedro Alves  <palves@redhat.com>
22666         * nscd/nscd.c (run_mode): Use enum.
22667         (main): Cleanup coding style issue.
22669 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
22670             Andreas Jaeger  <aj@suse.de>
22672         * nscd/nscd.c (go_background): Replaced with...
22673         (run_mode): ... this.
22674         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22675         (options): Add -F --foreground.
22676         (main): Implement it.
22677         (parse_opt): Parse it.
22679 2012-05-09  Andreas Jaeger  <aj@suse.de>
22681         [BZ #14083]
22682         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22683         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22684         -Wconversion warning.
22685         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22686         Likewise.
22688 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
22690         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
22691         == 0.
22692         (LC_ALL): Use macro-int-constant.
22693         (LC_COLLATE): Likewise.
22694         (LC_CTYPE): Likewise.
22695         (LC_MESSAGES): Likewise.
22696         (LC_MONETARY): Likewise.
22697         (LC_NUMERIC): Likewise.
22698         (LC_TIME): Likewise.
22699         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22700         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22702         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22703         Specify type.
22704         [C99-based standards] (float_t): Expect type.
22705         [C99-based standards] (double_t): Expect type.
22706         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
22707         type.
22708         [C99-based standards] (HUGE_VALL): Likewise.
22709         [C99-based standards] (INFINITY): Likewise.
22710         [C99-based standards] (NAN): Likewise.
22711         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22712         [C99-based standards] (FP_NAN): Likewise.
22713         [C99-based standards] (FP_NORMAL): Likewise.
22714         [C99-based standards] (FP_SUBNORMAL): Likewise.
22715         [C99-based standards] (FP_ZERO): Likewise.
22716         [C99-based standards] (FP_FAST_FMA): Use
22717         optional-macro-int-constant.  Specify type.  Require == 1.
22718         [C99-based standards] (FP_FAST_FMAF): Likewise.
22719         [C99-based standards] (FP_FAST_FMAL): Likewise.
22720         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22721         [C99-based standards] (FP_ILOGBNAN): Likewise.
22722         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22723         Specify type.
22724         [C99-based standards] (MATH_ERREXCEPT): Likewise.
22725         [C99-based standards] (math_errhandling): Specify type.
22726         [ISO99 || ISO11] (signgam): Do not allow.
22727         [non-C99-based standards] (copysignf): Do not allow.
22728         [non-C99-based standards] (exp2f): Likewise.
22729         [non-C99-based standards] (log2f): Likewise.
22730         [non-C99-based standards] (modff): Allow.
22731         [non-C99-based standards] (erff): Do not allow.
22732         [non-C99-based standards] (erfcf): Likewise.
22733         [non-C99-based standards] (gammaf): Likewise.
22734         [non-C99-based standards] (hypotf): Likewise.
22735         [non-C99-based standards] (j0f): Likewise.
22736         [non-C99-based standards] (j1f): Likewise.
22737         [non-C99-based standards] (jnf): Likewise.
22738         [non-C99-based standards] (lgammaf): Likewise.
22739         [non-C99-based standards] (tgammaf): Likewise.
22740         [non-C99-based standards] (y0f): Likewise.
22741         [non-C99-based standards] (y1f): Likewise.
22742         [non-C99-based standards] (ynf): Likewise.
22743         [non-C99-based standards] (isnanf): Likewise.
22744         [non-C99-based standards] (acoshf): Likewise.
22745         [non-C99-based standards] (asinhf): Likewise.
22746         [non-C99-based standards] (atanhf): Likewise.
22747         [non-C99-based standards] (cbrtf): Likewise.
22748         [non-C99-based standards] (expm1f): Likewise.
22749         [non-C99-based standards] (ilogbf): Likewise.
22750         [non-C99-based standards] (log1pf): Likewise.
22751         [non-C99-based standards] (logbf): Likewise.
22752         [non-C99-based standards] (nextafterf): Likewise.
22753         [non-C99-based standards] (remainderf): Likewise.
22754         [non-C99-based standards] (rintf): Likewise.
22755         [non-C99-based standards] (scalbf): Likewise.
22756         [non-C99-based standards] (copysignl): Likewise.
22757         [non-C99-based standards] (exp2l): Likewise.
22758         [non-C99-based standards] (log2l): Likewise.
22759         [non-C99-based standards] (modfl): Allow.
22760         [non-C99-based standards] (erfl): Do not allow.
22761         [non-C99-based standards] (erfcl): Likewise.
22762         [non-C99-based standards] (gammal): Likewise.
22763         [non-C99-based standards] (hypotl): Likewise.
22764         [non-C99-based standards] (j0l): Likewise.
22765         [non-C99-based standards] (j1l): Likewise.
22766         [non-C99-based standards] (jnl): Likewise.
22767         [non-C99-based standards] (lgammal): Likewise.
22768         [non-C99-based standards] (tgammal): Likewise.
22769         [non-C99-based standards] (y0l): Likewise.
22770         [non-C99-based standards] (y1l): Likewise.
22771         [non-C99-based standards] (ynl): Likewise.
22772         [non-C99-based standards] (isnanl): Likewise.
22773         [non-C99-based standards] (acoshl): Likewise.
22774         [non-C99-based standards] (asinhl): Likewise.
22775         [non-C99-based standards] (atanhl): Likewise.
22776         [non-C99-based standards] (cbrtl): Likewise.
22777         [non-C99-based standards] (expm1l): Likewise.
22778         [non-C99-based standards] (ilogbl): Likewise.
22779         [non-C99-based standards] (log1pl): Likewise.
22780         [non-C99-based standards] (logbl): Likewise.
22781         [non-C99-based standards] (nextafterl): Likewise.
22782         [non-C99-based standards] (remainderl): Likewise.
22783         [non-C99-based standards] (rintl): Likewise.
22784         [non-C99-based standards] (scalbl): Likewise.
22785         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22786         [non-C99-based standards] (FP_*): Do not allow.
22787         [C99-based standards] (FP_*): Change to
22788         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22789         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22790         allow.
22791         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22792         (SIG_ERR): Likewise.
22793         [X/Open-based standards] (SIG_HOLD): Likewise.
22794         (SIG_IGN): Likewise.
22795         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22796         positive value.
22797         (SIGFPE): Likewise.
22798         (SIGILL): Likewise.
22799         (SIGINT): Likewise.
22800         (SIGSEGV): Likewise.
22801         (SIGTER): Likewise.
22802         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22803         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22804         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22805         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22806         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22807         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22808         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22809         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22810         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22811         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22812         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22813         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22814         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22815         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22816         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22817         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22818         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22819         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22820         [X/Open-based standards] (SIGTRAP): Likewise.
22821         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22822         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22823         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22824         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22825         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22826         allow.
22828 2012-05-08  Ian Wienand  <ianw@vmware.com>
22830         [BZ #14080]
22831         * time/tzset.c (__tzset_parse_tz): Update default rules for
22832         daylight time changes in the Energy Policy Act of 2005.
22834 2012-05-09  Andreas Jaeger  <aj@suse.de>
22836         [BZ #13983]
22837         * elf/ldconfig.c (parse_conf): Change string to make clear that
22838         ldconfig only issued a warning if ld.so.conf does not exist.
22840 2012-05-08  David S. Miller  <davem@davemloft.net>
22842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22843         movxtod instead of popping the value on the stack.
22845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22847 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22849         * config.h.in: Add HAVE_ARM_PCS_VFP.
22851 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22853         [BZ #13979]
22854         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22855         checking but the checks are disabled for any reason.
22857 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22859         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22860         and ELF64_R_TYPE with ELFW(R_TYPE).
22862 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22864         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22865         (ulimit): Likewise.
22867         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22868         (settimeofday): Likewise.
22870 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22872         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22873         a struct th_u2 inside the union, and move tu_block/tu_code into
22874         a new th_u3 union of tu_block/tu_code inside of that.  Move
22875         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22876         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22877         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22878         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22879         (th_stuff): Change to th_u1.tu_stuff.
22880         (th_data): Define.
22881         (th_msg): Change to th_u1.th_u2.tu_data.
22883 2012-05-07  David S. Miller  <davem@davemloft.net>
22885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22887         [BZ #14074]
22888         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22889         (SETUP_PIC_REG): Use it.
22890         (SETUP_PIC_REG_LEAF): Use it.
22892 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22894         [BZ #13885]
22895         [BZ #13923]
22896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22897         USE_AS_EXPM1L.
22898         (EXPL_FINITE): Likewise.
22899         (FLDLOG): Likewise.
22900         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22901         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22902         e_expl.S.
22903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22904         USE_AS_EXPM1L.
22905         (EXPL_FINITE): Likewise.
22906         (FLDLOG): Likewise.
22907         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22908         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22909         e_expl.S.
22910         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22911         test of -max_value argument for long double.
22912         * sysdeps/i386/fpu/libm-test-ulps: Update.
22913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22915 2012-05-06  David S. Miller  <davem@davemloft.net>
22917         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22918         quad soft-float symbols whose references which are compiler
22919         generated.
22920         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22922 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22924         [BZ #13884]
22925         [BZ #13914]
22926         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22927         USE_AS_EXP10L.
22928         (EXPL_FINITE): Likewise.
22929         (FLDLOG): Likewise.
22930         (c0): Likewise.
22931         (c1): Likewise.
22932         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22933         Adjust comments for base varying.
22934         (__expl_finite): Change alias to EXPL_FINITE.
22935         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22936         e_expl.S.
22937         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22938         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22939         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22940         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22941         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22942         USE_AS_EXP10L.
22943         (EXPL_FINITE): Likewise.
22944         (FLDLOG): Likewise.
22945         (c0): Likewise.
22946         (c1): Likewise.
22947         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22948         Adjust comments for base varying.
22949         (__expl_finite): Change alias to EXPL_FINITE.
22950         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22951         tests for bugs.
22952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22954         [BZ #14064]
22955         * math/libm-test.inc (check_float_internal): Correct ulp
22956         calculation for subnormal expected results.
22958 2012-05-06  Andreas Jaeger  <aj@suse.de>
22960         * Makeconfig (+math-flags): New, set to -frounding-math.
22961         (+cflags): Add +math-flags so that all of glibc gets compiled with
22962         it.
22964         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22966 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22968         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22969         Disable one test.
22971         [BZ #13787]
22972         [BZ #13922]
22973         [BZ #14036]
22974         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22975         (__ieee754_expl): Allow for and saturate large arguments.
22976         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22977         (u_threshold): Likewise.
22978         (__exp): Call __ieee754_exp before checking for overflow and
22979         underflow.
22980         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22981         (u_threshold): Likewise.
22982         (__expf): Call __ieee754_expf before checking for overflow and
22983         underflow.
22984         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22985         (u_threshold): Likewise.
22986         (__expl): Call __ieee754_expl before checking for overflow and
22987         underflow.
22988         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22989         (__ieee754_expl): Allow for and saturate large arguments.
22990         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22991         missing overflow exception on overflow.
22992         (expm1_test): Do not allow missing overflow exception on overflow.
22994         * sysdeps/i386/fpu/e_expl.c: Move to ...
22995         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22996         rather than using inline asm.
22997         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22998         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22999         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23001         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23002         (nice): Likewise.
23003         (poll): Likewise.
23004         (signal): Likewise.
23005         (time): Likewise.
23006         (times): Likewise.
23008 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23010         * sysdeps/unix/syscalls.list (adjtime): Add entry from
23011         sysdeps/unix/common/syscalls.list.
23012         (fchmod): Likewise.
23013         (fchown): Likewise.
23014         (ftruncate): Likewise.
23015         (getrusage): Likewise.
23016         (gettimeofday): Likewise.
23017         (setpgid): Likewise.
23018         (setregid): Likewise.
23019         (setreuid): Likewise.
23020         (sigaction): Likewise.
23021         (truncate): Likewise.
23022         (vhangup): Likewise.
23023         * sysdeps/unix/common/syscalls.list: Remove file.
23024         * sysdeps/unix/bsd/Implies: Don't include unix/common.
23025         * sysdeps/unix/sysv/linux/Implies: Likewise.
23027 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
23029         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23031         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23032         Moved to ...
23033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23034         Here.
23035         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23036         to ...
23037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23038         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23039         to ...
23040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23041         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23042         to ...
23043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23044         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23045         to ...
23046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23047         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23048         to ...
23049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23050         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23051         to ...
23052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23053         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23054         to ...
23055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23056         Here.
23057         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23058         to ...
23059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23060         Here.
23061         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23062         to ...
23063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23064         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23065         Moved to ...
23066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23067         Here.
23068         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23069         to ...
23070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23072 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23074         * sysdeps/unix/common/bits/dirent.h: Remove file.
23075         * sysdeps/unix/common/bits/fcntl.h: Likewise.
23077         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23078         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23079         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23080         * sysdeps/unix/bsd/isatty.c: Likewise.
23081         * sysdeps/unix/bsd/tcdrain.c: Likewise.
23082         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23083         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23085 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23087         [BZ #13563]
23088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23089         long double comparison inaccuracies.
23090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23093 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
23095         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23096         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23098 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23100         [BZ #14049]
23101         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23102         nonzero digits before rounding a hex value.
23103         * stdlib/tst-strtod.c (tests): Add another test.
23105 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23107         * sysdeps/s390/fpu/libm-test-ulps: Update.
23109 2012-05-03  Andreas Jaeger  <aj@suse.de>
23111         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23112         does not get optimized out.
23113         (malloc_opt_barrier): New.
23115 2012-05-03  Andreas Jaeger  <aj@suse.de>
23116             Roland McGrath  <roland@hack.frob.com>
23118         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23119         intermediate file deletion.
23120         (generated): Add .symlist files.
23122 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
23124         [BZ #13775]
23125         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23126         Redirect under this condition.
23127         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23128         [__USE_GNU] (__dprintf_chk): Not under this condition.
23129         [__USE_GNU] (__vdprintf_chk): Likewise.
23130         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23131         under this condition.
23132         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23133         [__USE_XOPEN2K8] (dprintf): Define under this condition.
23134         [__USE_XOPEN2K8] (vdprintf): Likewise.
23135         [__USE_GNU] (__dprintf_chk): Not under this condition.
23136         [__USE_GNU] (__vdprintf_chk): Likewise.
23137         [__USE_GNU] (dprintf): Likewise.
23138         [__USE_GNU] (vdprintf): Likewise.
23140 2012-05-03  Roland McGrath  <roland@hack.frob.com>
23142         * elf/Makefile (common-generated): Set this instead of generated for
23143         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
23144         $(all-built-dso)-derived lists.
23146 2012-05-03  Andreas Jaeger  <aj@suse.de>
23148         * sysdeps/i386/fpu/libm-test-ulps: Update.
23150         * FAQ: Removed.
23151         * FAQ.in: Likewise.
23152         * scripts/gen-FAQ.pl: Likewise.
23153         * manual/install.texi (Installation): Point to online location of
23154         FAQ.
23155         * Makefile (files-for-dist): Remove FAQ.
23156         (FAQ): Remove.
23158 2012-05-02  Allan McRae  <allan@archlinux.org>
23160         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23161         (LDFLAGS-reldepmod5.so): Likewise.
23162         (LDFLAGS-reldep6mod1.so): Likewise.
23163         (LDFLAGS-reldep6mod4.so): Likewise.
23164         (LDFLAGS-reldep8mod3.so): Likewise.
23165         (LDFLAGS-unload4mod1.so): Likewise.
23166         (LDFLAGS-unload4mod2.so): Likewise.
23167         (LDFLAGS-tst-initorder): Likewise.
23168         (LDFLAGS-tst-initordera2.so): Likewise.
23169         (LDFLAGS-tst-initordera3.so): Likewise.
23170         (LDFLAGS-tst-initordera4.so): Likewise.
23171         (LDFLAGS-tst-initorderb2.so): Likewise.
23172         (LDFLAGS-noload): Likewise.
23173         (LDFLAGS-next): Likewise.
23174         (LDFLAGS-order2mod1.so): Likewise.
23175         (LDFLAGS-order2mod2.so): Likewise.
23176         (LDFLAGS-tst-initorder2): Likewise.
23177         (LDFLAGS-tst-initorder2a.so): Likewise.
23178         (LDFLAGS-tst-initorder2b.so): Likewise.
23179         (LDFLAGS-tst-initorder2c.so): Likewise.
23180         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23182 2012-05-02  David S. Miller  <davem@davemloft.net>
23184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23186 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23188         [BZ #14055]
23189         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23191 2012-05-02  Andreas Jaeger  <aj@suse.de>
23193         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23194         since we manipulate rounding mode.
23195         (CPPFLAGS-test-idouble.c): Likewise.
23196         (CPPFLAGS-test-ifloat.c): Likewise.
23197         (CFLAGS-test-ldouble.c): Likewise.
23198         (CFLAGS-test-double.c): Likewise.
23199         (CFLAGS-test-float.c): Likewise.
23200         (CFLAGS-test-misc.c): Likewise.
23201         (CFLAGS-test-test-fenv.c): Likewise.
23203 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23205         [BZ #2550]
23206         [BZ #2570]
23207         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23208         comparisons to determine direction to adjust input.
23210 2012-05-01  Roland McGrath  <roland@hack.frob.com>
23212         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23213         output to the target.
23215         * scripts/localplt.awk: New file.
23216         * elf/Makefile ($(objpfx)check-localplt): Target removed.
23217         (check-localplt-CFLAGS): Variable removed.
23218         ($(all-built-dso:=.jmprel)): New static pattern rule.
23219         (generated): Add those targets.
23220         (localplt-built-dso): New variable.
23221         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23223         * elf/check-localplt.c: File removed.
23225         * scripts/check-execstack.awk: New file.
23226         * elf/Makefile ($(objpfx)check-execstack): Target removed.
23227         (check-execstack-CFLAGS): Variable removed.
23228         ($(objpfx)check-execstack.h): Target removed.
23229         ($(objpfx)execstack-default): New target.
23230         (generated): Add that instead of check-execstack.h.
23231         ($(all-built-dso:=.phdr)): New static pattern rule.
23232         (generated): Add those targets.
23233         * elf/check-execstack.c: File removed.
23235         * scripts/check-textrel.awk: New file.
23236         * elf/Makefile ($(objpfx)check-textrel): Target removed.
23237         (check-textrel-CFLAGS): Variable removed.
23238         (all-built-dso): Use := to define.o
23239         ($(all-built-dso:=.dyn)): New static pattern rule.
23240         (generated): Add those targets.
23241         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23242         * config.make.in (READELF): New substituted variable.
23243         * elf/check-textrel.c: File removed.
23245 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23247         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23248         allow.
23249         * conform/data/ctype.h-data [C99-based standards] (isblank):
23250         Expect function.
23251         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23252         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23253         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23254         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23255         Specify type.  Require positive value.
23256         (EILSEQ): Likewise.
23257         (ERANGE): Likewise.
23258         [ISO || POSIX] (EILSEQ): Do not expect.
23259         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23260         Specify type.  Require positive value.
23261         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23262         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23263         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23264         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23265         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23266         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23267         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23268         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23269         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23270         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23271         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23272         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23273         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23274         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23275         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23276         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23277         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23278         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23279         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23280         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23281         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23282         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23283         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23284         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23285         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23286         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23287         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23288         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23289         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23290         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23291         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23292         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23293         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23294         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23295         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23296         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23297         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23298         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23299         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23300         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23301         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23302         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23303         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23304         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23305         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23306         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23307         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23308         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23309         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23310         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23311         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23312         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23313         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23314         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23315         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23316         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23317         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23318         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23319         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23320         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23321         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23322         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23323         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23324         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23325         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23326         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23327         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23328         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23329         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23330         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23331         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23332         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23333         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23334         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23335         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23336         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23337         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23338         Require >= 2.
23339         (FLT_ROUNDS): Expect as macro, not constant.
23340         (FLT_MANT_DIG): Use macro-int-constant.
23341         (DBL_MANT_DIG): Likewise.
23342         (LDBL_MANT_DIG): Likewise.
23343         (FLT_DIG): Likewise.
23344         (DBL_DIG): Likewise.
23345         (LDBL_DIG): Likewise.
23346         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
23347         (DBL_MIN_EXP): Likewise.
23348         (LDBL_MIN_EXP): Likewise.
23349         (FLT_MAX_EXP): Use macro-int-constant.
23350         (DBL_MAX_EXP): Likewise.
23351         (LDBL_MAX_EXP): Likewise.
23352         (FLT_MAX_10_EXP): Likewise.
23353         (DBL_MAX_10_EXP): Likewise.
23354         (LDBL_MAX_10_EXP): Likewise.
23355         (FLT_MAX): Use macro-constant.
23356         (DBL_MAX): Likewise.
23357         (LDBL_MAX): Likewise.
23358         (FLT_EPSILON): Use macro-constant.  Give upper bound.
23359         (DBL_EPSILON): Likewise.
23360         (LDBL_EPSILON): Likewise.
23361         (FLT_MIN): Likewise.
23362         (DBL_MIN): Likewise.
23363         (LDBL_MIN): Likewise.
23364         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23365         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23366         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23367         [ISO11] (FLT_HAS_SUBNORM): Likewise.
23368         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23369         [ISO11] (DBL_DECIMAL_DIG): Likewise.
23370         [ISO11] (FLT_DECIMAL_DIG): Likewise.
23371         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23372         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23373         [ISO11] (FLT_TRUE_MIN): Likewise.
23374         [ISO11] (LDBL_TRUE_MIN): Likewise.
23375         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23376         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23377         (SCHAR_MIN): Use macro-int-constant.  Specify type.
23378         (SCHAR_MAX): Likewise.
23379         (UCHAR_MAX): Likewise.
23380         (CHAR_MIN): Likewise.
23381         (CHAR_MAX): Likewise.
23382         (MB_LEN_MAX): Use macro-int-constant.
23383         (SHRT_MIN): Use macro-int-constant.  Specify type.
23384         (SHRT_MAX): Likewise.
23385         (USHRT_MAX): Likewise.
23386         (INT_MAX): Likewise.
23387         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
23388         bound negative.
23389         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23390         bound with "U".
23391         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23392         bound with "L".
23393         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
23394         bound negative.  Suffix upper bound with "L".
23395         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
23396         bound with "UL".
23397         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23398         Specify type.
23399         [C99-based standards] (LLONG_MAX): Likewise.
23400         [C99-based standards] (ULLONG_MAX): Likewise.
23401         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
23402         == 0.
23403         [ISO11] (max_align_t): Require type.
23404         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23406         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23407         from $CFLAGS, without defining away __attribute__ calls.
23408         (checknamespace): Use $CFLAGS_namespace.
23410         * conform/conformtest.pl (@keywords): Only include C99 keywords
23411         for standards based on C99 or C11.
23413         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23414         Disable tests.
23415         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23416         UNIX98]: Likewise.
23418         * conform/conformtest.pl: Handle "macro-int-constant" and test for
23419         usability of symbols in #if.
23421         * conform/conformtest.pl: If macro or constant types start
23422         "promoted:", expect the symbol to be of the following type
23423         promoted by the integer promotions.
23425         * conform/conformtest.pl: Parse all "constant" and "macro" lines
23426         in one place.  Also handle "macro-constant".
23428         * conform/conformtest.pl: Only accept expected macro values with
23429         "==".  Parse all "macro" lines in one place.
23430         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23432         * conform/conformtest.pl: Handle braced types on "constant" lines
23433         instead of handling "typed-constant".
23434         * conform/data/signal.h-data: Use "constant" instead of
23435         "typed-constant".
23437         * conform/conformtest.pl: Handle "optional-" at start of lines in
23438         one place rather than duplicating several cases.  Handle each
23439         format of "macro" line with initial "optional-".
23441         * conform/conformtest.pl: Only accept expected constant or
23442         optional-constant values with "==".  Parse all "constant" lines in
23443         one place.  Parse all "optional-constant" lines in one place.
23444         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23445         * conform/data/fmtmsg.h-data: Likewise.
23446         * conform/data/netinet/in.h-data: Likewise.
23447         * conform/data/tar.h-data: Likewise.
23448         * conform/data/limits.h-data: Use "==" form on "constant" and
23449         "optional-constant" lines.
23451         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23452         Use -std=c99 for XOPEN2K.
23453         (@knownproblems): Remove.
23454         (newtoken): Don't check %isknown.
23456         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23457         Do not expect macro.
23458         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23459         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23460         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23461         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23462         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23463         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23464         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23465         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23466         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23467         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23468         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23469         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23470         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23471         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23472         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23473         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23474         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23475         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23476         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23477         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23478         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23479         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23480         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23481         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23482         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23483         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23484         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23485         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23486         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23487         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23488         [XPG3] (acosh): Likewise.
23489         [XPG3] (asinh): Likewise.
23490         [XPG3] (atanh): Likewise.
23491         [XPG3] (cbrt): Likewise.
23492         [XPG3] (expm1): Likewise.
23493         [XPG3] (ilogb): Likewise.
23494         [XPG3] (log1p): Likewise.
23495         [XPG3] (logb): Likewise.
23496         [XPG3] (nextafter): Likewise.
23497         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23498         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23499         [XPG3] (remainder): Likewise.
23500         [XPG3] (rint): Likewise.
23501         [XPG3 || XPG4 || UNIX98] (round): Likewise.
23502         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23503         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23504         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23505         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23506         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23507         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23508         [UNIX98 || XOPEN2K] (scalb): Expect.
23509         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23510         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23511         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23512         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23513         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23514         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23515         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23516         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23517         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23518         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23519         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23520         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23521         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23522         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23523         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23524         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23525         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23526         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23527         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23528         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23529         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23530         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23531         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23532         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23533         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23534         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23535         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23536         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23537         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23538         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23539         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23540         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23541         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23542         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23543         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23544         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23545         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23546         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23547         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23548         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23549         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23550         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23551         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23552         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23553         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23554         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23555         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23556         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23557         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23558         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23559         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23560         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23561         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23562         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23563         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23564         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23565         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23566         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23567         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23568         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23569         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23570         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23571         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23572         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23573         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23574         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23575         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23576         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23577         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23578         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23579         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23580         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23581         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23582         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23583         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23584         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23585         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23586         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23587         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23588         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23589         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23590         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23591         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23592         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23593         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23594         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23595         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23596         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23597         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23598         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23599         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23600         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23601         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23602         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23603         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23604         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23605         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23606         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23607         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23608         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23609         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23610         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23611         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23612         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23613         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23614         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23615         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23616         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23617         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23618         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23619         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23620         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23621         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23622         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23623         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23624         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23625         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23626         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23627         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23628         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23629         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23630         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23631         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23632         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23633         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23634         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23635         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23636         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23637         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23638         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23639         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23640         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23641         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23642         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23643         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23644         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23645         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23647         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23648         _XOPEN_SOURCE_EXTENDED for XPG4.
23650         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23652         * Makeconfig (localtime): Remove variable.
23653         (inst_localtime-file): Likewise.
23655 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23658         Update.
23659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23660         Update.
23661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23662         Update.
23663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23664         Update.
23665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23666         Update.
23667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23668         Update.
23669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23670         Update.
23671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23672         Update.
23673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23674         Update.
23676 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23678         [BZ #2550]
23679         [BZ #2570]
23680         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23681         comparisons to determine direction to adjust input.
23682         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23683         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23684         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23685         Likewise.
23686         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23687         Likewise.
23688         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23689         Likewise.
23690         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23691         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23692         Likewise.
23693         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23694         Likewise.
23695         * math/libm-test.inc (nexttoward_test): Add more tests.
23697 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23699         [BZ #14040]
23700         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23701         in version GLIBC_2.1, not GLIBC_2.0.
23702         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23703         Likewise.
23705 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
23707         [BZ #13942]
23708         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23709         (1 - x) * (1 + x).
23710         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23711         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23712         * math/libm-test.inc (acos_test): Add more tests.
23713         (asin_test): Likewise.
23714         * sysdeps/i386/fpu/libm-test-ulps: Update.
23715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23717         [BZ #14034]
23718         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23719         of square root.
23720         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23721         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23722         * math/libm-test.inc (acos_test_tonearest): New function.
23723         (acos_test_towardzero): Likewise.
23724         (acos_test_downward): Likewise.
23725         (acos_test_upward): Likewise.
23726         (asin_test_tonearest): Likewise.
23727         (asin_test_towardzero): Likewise.
23728         (asin_test_downward): Likewise.
23729         (asin_test_upward): Likewise.
23730         (main): Call the new functions.
23731         * sysdeps/i386/fpu/libm-test-ulps: Update.
23732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23734         [BZ #13884]
23735         [BZ #13924]
23736         * math/e_exp10.c: Include <float.h>.
23737         (__ieee754_exp10): Handle underflow here rather than multiplying
23738         large negative argument by M_LN10.
23739         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23740         of __ieee754_expf.
23741         * math/e_exp10l.c: Include <float.h>.
23742         (__ieee754_exp10l): Handle underflow here rather than multiplying
23743         large negative argument by M_LN10l.
23744         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
23745         spurious overflow exception on underflow.
23747 2012-04-29  Marek Polacek  <polacek@redhat.com>
23749         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23750         (__fortify_function): New macro.
23751         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23752         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23753         __extern_always_inline.
23754         * libio/bits/stdio2.h: Likewise.
23755         * libio/bits/stdio.h: Likewise.
23756         * string/string.h: Likewise.
23757         * string/bits/string3.h: Likewise.
23758         * include/stdio.h: Likewise.
23759         * stdlib/bits/stdlib.h: Likewise.
23760         * stdlib/stdlib.h: Likewise.
23761         * rt/bits/mqueue2.h: Likewise.
23762         * rt/mqueue.h: Likewise.
23763         * posix/bits/unistd.h: Likewise.
23764         * posix/unistd.h: Likewise.
23765         * io/bits/poll2.h: Likewise.
23766         * io/bits/fcntl2.h: Likewise.
23767         * io/fcntl.h: Likewise.
23768         * io/sys/poll.h: Likewise.
23769         * misc/bits/syslog.h: Likewise.
23770         * misc/bits/syslog-ldbl.h: Likewise.
23771         * misc/sys/syslog.h: Likewise.
23772         * socket/bits/socket2.h: Likewise.
23773         * socket/sys/socket.h: Likewise.
23774         * debug/tst-chk1.c: Likewise.
23775         * wcsmbs/bits/wchar2.h: Likewise.
23776         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23777         * wcsmbs/wchar.h: Likewise.
23779 2012-04-29  Andreas Jaeger  <aj@suse.de>
23781         * Makerules (tests): Remove enable-check-abi protection.
23782         (check-abi-warn): Remove.
23783         (check-abi-%): Remove check-abi-warn usage.
23785         * configure.in: Remove check-abi configure option.
23786         * configure: Regenerated.
23787         * config.make.in (enable-check-abi): Remove.
23789 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23791         [BZ #14033]
23792         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23793         double functions to double *_finite functions.
23795         [BZ #13941]
23796         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23797         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23798         LDBL_MIN_EXP.
23799         * stdio-common/Makefile (tests): Add tst-sprintf3.
23800         * stdio-common/tst-sprintf3.c: New file.
23802         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23803         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23805 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23807         * conform/conformtest.pl: Remove duplicate typed-constant
23808         handling.
23810 2012-04-28  David S. Miller  <davem@davemloft.net>
23812         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23813         (check-abi-%): Remove AWK script prerequisite and explicit
23814         abilist directory.
23815         (check-abi): Rewrite to just diff the symlist with the abilist.
23816         (config-tls, config-abi-config): Delete, no longer used.
23817         (update-abi-%): Remove AWK script and explicit abilist directory.
23818         (update-abi): Rewrite to simply compare and conditionally copy the
23819         symlist and the sysdep abilist file.  Remove update-abi-config
23820         checks.
23821         * abilist/ld.abilist: Remove.
23822         * abilist/libBrokenLocale.abilist: Remove.
23823         * abilist/libanl.abilist: Remove.
23824         * abilist/libcrypt.abilist: Remove.
23825         * abilist/libdl.abilist: Remove.
23826         * abilist/librt.abilist: Remove.
23827         * abilist/libthread_db.abilist: Remove.
23828         * abilist/libutil.abilist: Remove.
23829         * scripts/extract-abilist.awk: Remove.
23830         * scripts/merge-abilist.awk: Remove.
23831         * sysdeps/generic/libcidn.abilist: New file.
23832         * sysdeps/generic/libnss_compat.abilist: New file.
23833         * sysdeps/generic/libnss_db.abilist: New file.
23834         * sysdeps/generic/libnss_dns.abilist: New file.
23835         * sysdeps/generic/libnss_files.abilist: New file.
23836         * sysdeps/generic/libnss_hesiod.abilist: New file.
23837         * sysdeps/generic/libnss_nis.abilist: New file.
23838         * sysdeps/generic/libnss_nisplus.abilist: New file.
23839         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23840         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23841         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23842         file.
23843         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23844         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23845         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23846         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23847         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23848         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23849         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23850         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23851         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23852         file.
23853         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23854         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23855         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23856         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23857         file.
23858         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23859         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23860         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23861         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23862         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23863         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23864         file.
23865         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23866         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23867         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23868         file.
23869         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23870         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23871         New file.
23872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23873         New file.
23874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23875         New file.
23876         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23877         New file.
23878         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23879         New file.
23880         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23881         New file.
23882         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23883         New file.
23884         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23885         New file.
23886         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23887         New file.
23888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23889         New file.
23890         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23891         New file.
23892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23893         New file.
23894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23895         New file.
23896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23897         file.
23898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23899         New file.
23900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23901         New file.
23902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23903         file.
23904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23905         New file.
23906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23907         New file.
23908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23909         file.
23910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23911         New file.
23912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23913         New file.
23914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23915         New file.
23916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23917         New file.
23918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23919         New file.
23920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23921         New file.
23922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23924         file.
23925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23926         New file.
23927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23928         file.
23929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23930         file.
23931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23932         file.
23933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23934         file.
23935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23936         file.
23937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23938         New file.
23939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23940         file.
23941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23942         file.
23943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23944         New file.
23945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23946         file.
23947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23949         file.
23950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23951         New file.
23952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23953         file.
23954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23955         file.
23956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23957         file.
23958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23959         file.
23960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23961         file.
23962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23963         New file.
23964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23965         file.
23966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23967         file.
23968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23969         New file.
23970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23971         file.
23972         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23973         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23974         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23975         file.
23976         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23977         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23978         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23979         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23980         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23981         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23982         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23983         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23984         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23985         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23988         file.
23989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23990         New file.
23991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23992         file.
23993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23994         file.
23995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23996         file.
23997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23998         file.
23999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24000         file.
24001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24002         New file.
24003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24004         New file.
24005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24006         file.
24007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24008         New file.
24009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24010         file.
24011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24013         file.
24014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24015         New file.
24016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24017         file.
24018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24019         file.
24020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24021         file.
24022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24023         file.
24024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24025         file.
24026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24027         New file.
24028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24029         New file.
24030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24031         file.
24032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24033         New file.
24034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24035         file.
24037 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24039         * conform/conformtest.pl: Fix typo in handling typed-constant from
24040         allow-header.
24042 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24044         * README: Cut down references to pre-2.6 Linux kernels and
24045         Linuxthreads.  Update lists of configurations in libc and ports
24046         and sort alphabetically.  Say "or newer" with Linux kernel version
24047         requirements.
24049         * config.h.in [IS_IN_build]: Allow compiling without optimization.
24051 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24053         [BZ #887]
24054         * math/libm-test.inc (logb_test_downward): New test to expose
24055         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24056         rounding mode.
24058 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24060         [BZ #14027]
24061         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24062         to be done.
24063         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24064         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24066 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
24068         * sysdeps/unix/i386/brk.S: Remove file.
24069         * sysdeps/unix/i386/dl-brk.S: Likewise.
24070         * sysdeps/unix/i386/pipe.S: Likewise.
24071         * sysdeps/unix/i386/sigreturn.S: Likewise.
24072         * sysdeps/unix/i386/syscall.S: Likewise.
24073         * sysdeps/unix/i386/vfork.S: Likewise.
24074         * sysdeps/unix/i386/wait.S: Likewise.
24076         * sysdeps/unix/common/tcsendbrk.c: Move to ...
24077         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24079         * configure.in (arm*-none*): Do not allow without
24080         --enable-hacker-mode.
24081         (netbsd*): Remove case setting base_os.
24082         (386bsd*): Likewise.
24083         (freebsd*): Likewise.
24084         (bsdi*): Likewise.
24085         (osf*): Likewise.
24086         (sunos*): Likewise.
24087         (ultrix*): Likewise.
24088         (newsos*): Likewise.
24089         (dynix*): Likewise.
24090         (*bsd*): Likewise.
24091         (sysv*): Likewise.
24092         (isc*): Likewise.
24093         (esix*): Likewise.
24094         (sco*): Likewise.
24095         (minix*): Likewise.
24096         (irix4*): Likewise.
24097         (irix6*): Likewise.
24098         (solaris[2-9]*): Likewise.
24099         (none): Likewise.
24100         * configure: Regenerated.
24102 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24104         [BZ #11521]
24105         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24106         overflow or cancellation in calculating denominator.
24107         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24109         down expression to avoid unexpected rounding in newer GCCs.
24110         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24112 2012-04-26  David S. Miller  <davem@davemloft.net>
24114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24115         long-double compat symbols.
24116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24130 2012-04-25  David S. Miller  <davem@davemloft.net>
24132         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24133         HWCAP_* values only after the memory barriers have been defined.
24134         (atomic_full_barrier): Define.
24135         (atomic_read_barrier): Define.
24136         (atomic_write_barrier): Define.
24138 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24140         * shlib-versions: Add libgcc_s version information.
24141         * sysdeps/generic/libgcc_s.h: Remove.
24142         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24143         libgcc_s.h.
24144         * sysdeps/gnu/unwind-resume.c: Likewise.
24145         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24147 2012-04-25  David S. Miller  <davem@davemloft.net>
24149         * sysdeps/unix/sparc/brk.S: Delete.
24150         * sysdeps/unix/sparc/dl-brk.S: Delete.
24151         * sysdeps/unix/sparc/pipe.S: Delete.
24152         * sysdeps/unix/sparc/sysdep.S: Delete.
24153         * sysdeps/unix/sparc/sysdep.h: Delete.
24154         * sysdeps/unix/sparc/vfork.S: Delete.
24155         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24156         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24157         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24158         ret_ERRVAL, r0, r1, MOVE): Define.
24159         (JUMPTARGET): Remove.
24160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24161         sysdeps/unix/sparc/sysdep.h
24162         (ENTRY, END): Remove.
24163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24165 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
24167         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24168         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24169         -DIS_IN_build.
24171         * timezone/README: Update upstream location and email address for
24172         tzcode and tzdata.
24173         * timezone/zdump.c: Update from tzcode 2012b.
24174         * timezone/zic.c: Likewise.
24176         * configure.in (libc_cv_as_needed): Remove test.
24177         * configure: Regenerated.
24178         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24179         conditional definition.
24180         [$(have-as-needed) != yes] (no-as-needed): Likewise.
24181         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24182         * config.make.in (have-as-needed): Remove variable.
24184 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24185             Paul Pluzhnikov  <ppluzhnikov@google.com>
24187         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24188         strings correctly.
24190 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
24192         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24193         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24194         * sysdeps/sh/strlen.S: Likewise.
24196 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24198         * sysdeps/unix/fork.S: Remove file.
24199         * sysdeps/unix/i386/fork.S: Likewise.
24200         * sysdeps/unix/sparc/fork.S: Likewise.
24202         * sysdeps/unix/system.c: Remove file.
24203         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24205         * sysdeps/unix/getegid.S: Remove file.
24206         * sysdeps/unix/geteuid.S: Likewise.
24208 2012-04-24  Roland McGrath  <roland@hack.frob.com>
24210         * scripts/check-localplt.awk: New file.
24211         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24212         of diff.
24213         * scripts/data/localplt-generic.data: Add a comment.
24215         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24216         NODE when __dir_mkfile failed.
24217         * sysdeps/mach/hurd/symlinkat.c: Likewise.
24218         Reported by Ludovic Courtès <ludo@gnu.org>.
24220 2012-04-24  Andreas Jaeger  <aj@suse.de>
24222         * Makerules (common-clean): Also remove gen-as-const-headers
24223         files.
24225 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24227         * Makerules (native-compile): Do not change working directory for
24228         build.  Use $(OUTPUT_OPTION) in command.
24229         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24231 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24233         [BZ #13886]
24234         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24235         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24236         * math/libm-test.inc (floor_test): Add more tests.
24237         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24239 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
24241         * sysdeps/unix/getdents.c: Remove file.
24242         * sysdeps/unix/sysv/getdents.c: Likewise.
24243         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24245         * sysdeps/unix/syscalls.list (madvise): Add syscall from
24246         sysdeps/unix/mman/syscalls.list.
24247         (mmap): Likewise.
24248         (mprotect): Likewise.
24249         (msync): Likewise.
24250         (munmap): Likewise.
24251         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24252         * sysdeps/unix/mman/syscalls.list: Remove.
24253         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24255         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24256         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24257         * configure: Regenerated.
24258         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24259         $(libgcc_s_suffix).
24260         * config.make.in (libgcc_s_suffix): Remove variable.
24262 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
24264         * sysdeps/unix/sysv/gethostname.c: Move to ...
24265         * sysdeps/posix/gethostname.c: ... here.
24267         * sysdeps/unix/execve.S: Remove file.
24269         * sysdeps/unix/_exit.S: Remove file.
24271 2012-04-23  Andreas Jaeger  <aj@suse.de>
24273         [BZ #13739]
24274         * manual/Makefile: Remove make dist support, there's no
24275         need for a stand-alone documentation tar ball.
24276         (TEXI2DVI): Define always, it's not in Makeconfig.
24277         (dist): Removed.
24278         (tar-it): Removed.
24279         (edition): Removed.
24280         (glibc-doc-$(edition).tar): Removed
24281         (%.Z): Removed.
24282         (%.gz): Removed.
24283         (%.uu): Removed.
24284         (ETAGS): Remove, it's in Makeconfig.
24285         (move-if-change): Remove, it's in Makeconfig.
24287 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
24289         [BZ #13970]
24290         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24291         (strtod, strtof, strtold, strtol, strtoul, strtoq)
24292         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24293         (strtod_l, strtof_l, strtold_l): Remove __wur.
24294         It is not necessarily an error to ignore strtol's return value.
24295         One can reliably look at the stored endptr to decide whether
24296         the number had valid syntax.
24298 2012-04-21  Andreas Jaeger  <aj@suse.de>
24300         [BZ #13739]
24301         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24303 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
24305         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24306         * sysdeps/unix/sysv/Versions: Remove file.
24308 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
24310         [BZ #13927]
24311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24313 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
24315         [BZ #7064]
24316         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24317         version from __vm86.
24319 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
24321         * sysdeps/unix/common/lxstat.c: Remove file.
24322         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24324         * sysdeps/unix/sysv/Makefile: Remove file.
24326         * sysdeps/unix/sysv/direct.h: Remove file.
24328         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24329         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24330         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24331         * sysdeps/unix/sysv/bits/signum.h: Likewise.
24332         * sysdeps/unix/sysv/bits/stat.h: Likewise.
24333         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24334         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24336         * sysdeps/unix/sysv/setrlimit.c: Remove file.
24338         * sysdeps/unix/xmknod.c: Remove file.
24339         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24341         * sysdeps/unix/sysv/settimeofday.c: Remove file.
24343         * sysdeps/unix/sysv/i386/time.S: Remove file.
24345         * sysdeps/unix/fxstat.c: Remove file.
24346         * sysdeps/unix/xstat.c: Likewise.
24347         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24349         * sysdeps/unix/sysv/sigaction.c: Remove file.
24351         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24352         (sysdep_headers): Remove variable.
24353         [termio.h not in sysdep_headers] (generated): Likewise.
24354         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24355         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24356         * sysdeps/unix/sysv/tcdrain.c: Likewise.
24357         * sysdeps/unix/sysv/tcflow.c: Likewise.
24358         * sysdeps/unix/sysv/tcflush.c: Likewise.
24359         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24360         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24361         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24362         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24363         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24365         * sysdeps/unix/siglist.c: Remove file.
24367         * sysdeps/unix/getppid.S: Remove file.
24369         * sysdeps/unix/mkdir.c: Remove file.
24370         * sysdeps/unix/rmdir.c: Likewise.
24372 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
24374         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24375         ERR_MAX value.
24376         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24377         errlist-compat value.
24379 2012-04-18  David S. Miller  <davem@davemloft.net>
24381         * sysdeps/generic/memcopy.h (reg_char): Delete.
24382         * debug/strcat_chk.c: Use char, not reg_char.
24383         * debug/strcpy_chk.c: Likewise.
24384         * debug/strncat_chk.c: Likewise.
24385         * debug/strncpy_chk.c: Likewise.
24386         * string/memchr.c: Likewise.
24387         * string/memrchr.c: Likewise.
24388         * string/rawmemchr.c: Likewise.
24389         * string/strcat.c: Likewise.
24390         * string/strchr.c: Likewise.
24391         * string/strchrnul.c: Likewise.
24392         * string/strcmp.c: Likewise.
24393         * string/strcpy.c: Likewise.
24394         * string/strncat.c: Likewise.
24395         * string/strncmp.c: Likewise.
24396         * string/strncpy.c: Likewise.
24398 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24400         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24401         __builtin_memcopy is called when src and dest ranges are known to not
24402         overlap.
24404 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24406         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24407         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24408         fwd_align_merge macro call.
24409         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24410         bwd_align_merge macro call.
24411         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24413 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
24415         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24416         bwd_align_merge macros.
24417         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24418         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24419         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24421 2012-04-18  David S. Miller  <davem@davemloft.net>
24423         * sysdeps/sparc/sparc64/memcopy.h: Delete.
24425 2012-04-18  Andreas Jaeger  <aj@suse.de>
24427         [BZ# 6794]
24428         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24429         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24430         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24432         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24433         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24434         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24436         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24437         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24438         Adjust for changed ldbl-128 files.
24440         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24441         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24442         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24444 2012-04-17  David S. Miller  <davem@davemloft.net>
24446         * sysdeps/sparc/sparc32/memcopy.h: Delete.
24448 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
24450         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24451         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24452         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24453         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24454         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24455         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24457 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24459         [BZ #6794]
24460         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24461         * math/libm-test.inc: Add ilogb errno and exception tests.
24462         * math/w_ilogb.c: New file: ilogb wrapper.
24463         * math/w_ilogbf.c: New file: ilogbf wrapper.
24464         * math/w_ilogbl.c: New file: ilogbl wrapper.
24465         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24466         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24467         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24468         exception being thrown with 0.0 as argument.
24469         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24470         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24471         exception being thrown with 0.0 as argument.
24472         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24473         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24474         exception being thrown with 0.0 as argument.
24475         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24476         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24477         exception being thrown with 0.0 as argument.
24478         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24479         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24480         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24481         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24482         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24483         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24484         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24485         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24486         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24488 2012-04-17  Petr Baudis  <pasky@ucw.cz>
24490         * include/sys/uio.h: Change __vector to __iovec to avoid clash
24491         with altivec.
24493 2012-04-16  Marek Polacek  <polacek@redhat.com>
24495         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24497 2012-04-16  Marek Polacek  <polacek@redhat.com>
24499         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24500         operands of fdivp instruction.
24502 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24504         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24505         * elf/tst-auditmod3b.c: Likewise.
24506         * elf/tst-auditmod4b.c: Likewise.
24507         * elf/tst-auditmod5b.c: Likewise.
24508         * elf/tst-auditmod6b.c: Likewise.
24509         * elf/tst-auditmod6c.c: Likewise.
24510         * elf/tst-auditmod7b.c: Likewise.
24511         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24512         * sysdeps/x86_64/preconfigure.in: Likewise.
24513         * sysdeps/x86_64/preconfigure: Regenerated.
24515 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24517         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24518         __ILP32__.
24520 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
24522         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24523         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24525 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
24527         [BZ #13973]
24528         * locale/iso-639.def: Fix gl language name. Spotted by
24529         Yaron Shahrabani.
24531 2012-04-12  Roland McGrath  <roland@hack.frob.com>
24533         [BZ #2074]
24534         * libio/libio.h (__io_write_fn): Update comment.
24536 2012-04-12  Petr Baudis  <pasky@ucw.cz>
24538         [BZ #2074]
24539         * stdio.texi (Hook Functions): The user provided writer function
24540         is not allowed to return -1.
24542 2012-04-11  David S. Miller  <davem@davemloft.net>
24544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24546 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
24548         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24549         Add a leading slash to rtkaio.
24551 2012-04-11  Jim Meyering  <meyering@redhat.com>
24553         [BZ #11959]
24554         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24555         It is not necessarily an error to ignore fwrite's return
24556         value.  One can reliably use ferror to test for errors after
24557         the fact.
24559 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24561         * bits/types.h (__snseconds_t): New type.
24562         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24564         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24565         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24566         (__SNSECONDS_T_TYPE): Likewise.
24567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24568         (__SNSECONDS_T_TYPE): Likewise.
24569         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24570         (__SNSECONDS_T_TYPE): Likewise.
24572 2012-04-10  Andreas Jaeger  <aj@suse.de>
24574         [BZ #2636]
24575         * manual/time.texi (Processor Time): Return type of times is
24576         elapsed real time since an arbitrary point in the past.
24577         (CPU Time): Move CLK_TCK from here...
24578         (Processor Time): ...to here.  Correct description.
24579         * manual/conf.texi (Constants for Sysconf): Correct description of
24580         _SC_CLK_TCK.
24582 2012-04-10  David S. Miller  <davem@davemloft.net>
24584         [BZ #13967]
24585         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24586         where the is a gap between DT_REL(A) and DT_JMPREL.
24588 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24590         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24591         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24592         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24594 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24596         * elf/dl-support.c (_dl_inhibit_cache): New variable.
24597         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24598         (dl_main): Handle --inhibit-cache.
24599         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24600         _dl_inhibit_cache.
24601         * elf/dl-load.c (_dl_map_object): Use it.
24602         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24604 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24606         [BZ #13872]
24607         * sysdeps/i386/fpu/e_powl.S (p78): New object.
24608         (__ieee754_powl): Saturate large exponents rather than testing for
24609         overflow of y*log2(x).
24610         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24611         * math/libm-test.inc (pow_test): Do not permit spurious overflow
24612         exceptions.
24614         [BZ #11521]
24615         * math/s_ctan.c: Include <float.h>.
24616         (__ctan): Avoid internal overflow or cancellation in calculating
24617         denominator.
24618         * math/s_ctanf.c: Likewise.
24619         * math/s_ctanl.c: Likewise.
24620         * math/s_ctanh.c: Likewise.
24621         * math/s_ctanhf.c: Likewise.
24622         * math/s_ctanhl.c: Likewise.
24623         * math/libm-test.inc (ctan_test): Add more tests.
24624         (ctanh_test): Likewise.
24625         * sysdeps/i386/fpu/libm-test-ulps: Update.
24626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24628 2012-04-09  Andreas Jaeger  <aj@suse.de>
24630         [BZ #6894]
24631         * manual/filesys.texi (Directory Entries): Mention that d_namlen
24632         is an optional BSD extension.
24634         [BZ #10254]
24635         * manual/stdio.texi (Opening Streams): Document additional fopen
24636         parameters.
24638 2012-04-09  Roland McGrath  <roland@hack.frob.com>
24640         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24641         %eax without telling the compiler.
24643 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
24645         [BZ # 13963]
24646         * manual/install.texi: Use sourceware.org.
24648 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24650         [BZ #13873]
24651         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24652         (__ieee754_pow): Generate overflow and underflow using huge*huge
24653         and tiny*tiny rather than just returning constant infinity or zero
24654         for large exponents.
24655         * math/libm-test.inc (pow_test): Require overflow exceptions for
24656         applicable cases of large exponents.
24658         [BZ #706]
24659         * sysdeps/i386/fpu/e_pow.S (p10): New object.
24660         (__ieee754_pow): Use iterative multiplication algorithm only for
24661         integer exponents with absolute value below 1024.  Check for odd
24662         integer exponents when using algorithm for real exponents.
24663         * math/libm-test.inc (pow_test): Add more tests.
24664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24666 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
24668         [BZ #13705]
24669         * math/libm-test.inc (exp_test): Do not allow overflow exception
24670         on underflow test.
24672 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
24674         [BZ #13705]
24675         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24676         instead of __kernel_standard_f.
24678 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
24680         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24681         * sysdeps/x86_64/memset_chk.S: Likewise.
24683 2012-04-08  Andreas Jaeger  <aj@suse.de>
24685         [BZ #10153]
24686         * manual/startup.texi (Environment Access): Describe return value
24687         for putenv and setenv.
24689         [BZ #6895]
24690         * manual/filesys.texi (Directory Entries): Add description for
24691         DT_LNK.
24693         [BZ #6890]
24694         * manual/filesys.texi (Directory Entries): Clarify that it's file
24695         system not operating system in the description of DT_UNKNOWN.
24697         [BZ #6578]
24698         * manual/syslog.texi (closelog): Fix reference, it's openlog.
24700 2012-04-08  Stephen Compall  <s11@member.fsf.org>
24702         [BZ #6649]
24703         * manual/llio.texi (Opening and Closing Files): Add cross
24704         reference to explain mode argument.
24706 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
24708         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24709         * sysdeps/x86_64/memset_chk.S: Likewise.
24711 2012-04-07  David S. Miller  <davem@davemloft.net>
24713         * elf/elf.h (R_SPARC_WDISP10): Define.
24714         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24715         R_SPARC_SIZE32.
24716         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24717         R_SPARC_SIZE64 and R_SPARC_H34.
24719 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
24721         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24722         conditions and remove no longer applicable assertion.
24724 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24726         * bits/byteswap.h: Include <features.h>.
24727         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24728         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24730 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24732         * bits/byteswap.h (__bswap_16): Removed.
24733         Include <bits/byteswap-16.h> to get __bswap_16.
24734         * sysdeps/i386/bits/byteswap.h: Likewise.
24735         * sysdeps/s390/bits/byteswap.h: Likewise.
24736         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24737         * bits/byteswap-16.h: New file.
24738         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24739         * sysdeps/s390/bits/byteswap-16.h: Likewise.
24740         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24741         * string/Makefile (headers): Add bits/byteswap-16.h.
24743 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24745         [BZ #13895]
24746         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24747         extra indirection.
24748         * nss/Makefile (tests-static, tests): Add tst-nss-static.
24749         * nss/tst-nss-static.c: New.
24751 2012-04-06  Robert Millan  <rmh@gnu.org>
24753         [BZ #6486]
24754         * manual/llio.texi (File Position Primitive): lseek
24755         refers to WHENCE when it really means OFFSET.
24757 2012-04-06  Andreas Jaeger  <aj@suse.de>
24759         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24760         strncmp declarations.
24762         * abilist/libc.abilist: Add __poll and __ppoll.
24764 2012-04-05  David S. Miller  <davem@davemloft.net>
24766         * scripts/check-local-headers.sh: Accept a host triplet in the
24767         path matched by the exclude regexp.
24769         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24770         definition.
24771         * sysdeps/powerpc/powerpc32/dl-machine.h
24772         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24773         * sysdeps/s390/s390-32/dl-machine.h
24774         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24775         * sysdeps/sparc/sparc32/dl-machine.h
24776         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24777         * sysdeps/sparc/sparc64/dl-machine.h
24778         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24780         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24781         lazy binding.
24782         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24783         undefined symbol errors.
24785         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24786         DT_NEEDED entries.
24788 2012-04-05  Michael Matz  <matz@suse.de>
24790         [BZ #13592]
24791         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24793 2012-04-05  Andreas Jaeger  <aj@suse.de>
24795         [BZ #13908]
24796         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24797         comment.
24799 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24801         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24802         which ROUND is no valid rounding mode.
24804 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24806         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24807         read again.
24808         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24810 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24812         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24813         an exception using FPU order intentionally.
24815 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24817         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24818         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24819         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24820         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24822 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24824         [BZ #12340]
24825         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24826         EINVAL when BUFLEN is too smal.
24828 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24830         [BZ #13553]
24831         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24832         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24834 2012-04-03  Andreas Jaeger  <aj@suse.de>
24836         [BZ #13938]
24837         * manual/setjmp.texi (System V contexts): Fix sentence.
24839         [BZ #13926]
24840         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24841         New macro for this case.
24842         [!__GNUC__] (__bswap_64): New inline function for this case.
24843         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24844         * bits/byteswap.h: Likewise.
24845         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24846         ull, guard with __GLIBC_HAVE_LONG_LONG.
24848         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24849         __GLIBC_HAVE_LONG_LONG.
24851         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24852         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24854 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24856         [BZ #13691]
24857         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24858         inptr and inend, rather than using last_ch.
24860 2012-04-02  David S. Miller  <davem@davemloft.net>
24862         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24863         * stdio-common/printf-parse.h (read_int): Change return type to
24864         'int', return -1 on INT_MAX overflow.
24865         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24866         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24867         overflows INT_MAX.  Check for overflow of in-format-string precision
24868         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24869         SIZE_MAX not INT_MAX for integer overflow test.
24870         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24871         skip the construct in the format string but do not record anything.
24872         * stdio-common/bug22.c: Adjust to test both width/prevision
24873         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24874         explicitly for proper errno values.
24876 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24878         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24879         CHAR_MAX.
24880         * string/test-strcmp.c [! WIDE]: Likewise.
24881         * time/tst-mktime2.c: Likewise for INT_MAX.
24882         * string/test-string.h: #include <sys/param.h> for MIN.
24884         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24885         * sysdeps/i386/init-first.c (init): Likewise.
24886         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24887         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24888         * sysdeps/sh/init-first.c (init): Likewise.
24890 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24892         * po/ru.po: Update from translation team.
24893         * po/vi.po: Likewise.
24895 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24897         * resolv/nss_dns/dns-host.c: Merge copyright years.
24899 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24901         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24902         Optimize memcpy with prefetch if
24903         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24904         src, dst pointers have unequal 16 byte alignments.
24906 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24908         [BZ #13928]
24909         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24910         from a CNAME entry and return the minimum ttl for the query.
24911         (gaih_getanswer_slice): Likewise.
24913 2012-03-30  Jeff Law  <law@redhat.com>
24915         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24916         due to long keys.
24917         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24918         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24920         * resolv/nss_dns/dns-host.c: Update copyright year.
24922 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24924         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24925         requests to save a system call.  Fix check that all bytes are sent.
24927         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24928         comments for sendmmsg.
24930 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24932         [BZ #13691]
24933         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24934         with only 1 character between 0x0041 and 0x01b0.
24935         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24936         * wcsmbs/tst-mbsnrtowcs.c: New file.
24938 2012-03-29  David S. Miller  <davem@davemloft.net>
24940         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24941         small copies by hand.
24943 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24945         [BZ #13761]
24946         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24947         _nss_compat_initgroups_dyn): Fall back to malloc/free
24948         for large group memberships.
24950 2012-03-28  David S. Miller  <davem@davemloft.net>
24952         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24953         that branches into memcpy.
24954         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24955         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24956         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24957         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24958         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24959         bits.
24960         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24961         implementation too.
24962         * sysdeps/sparc/mempcpy.S: New file.
24964         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24965         the IFUNC routine in the libc case.
24966         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24968         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24969         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24970         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24971         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24972         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24973         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24974         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24975         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24977         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24978         loop to 256 bytes instead of 64 bytes and fix test signedness.
24980         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24981         * sysdeps/sparc/sparc32/Makefile: rather than here...
24982         * sysdeps/sparc/sparc64/Makefile: and here.
24984 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24986         * malloc/mallocbug.c: Avoid warnings about unused variables.
24988 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24990         [BZ #13760]
24991         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24992         in the right place. Discard and retry query if response is
24993         larger than input buffer size.
24995 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24997         [BZ #369]
24998         [BZ #2678]
24999         [BZ #3866]
25000         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25001         x for large integer exponent.
25002         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25003         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
25004         sign of result as needed afterwards.
25005         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25006         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25007         result for underflowing pow the same as for overflow.
25008         (__kernel_standard_l): Handle powl overflow and underflow here
25009         rather than calling __kernel_standard.
25010         * math/libm-test.inc (pow_test): Add more tests.
25012         [BZ #3868]
25013         [BZ #13879]
25014         [BZ #13910]
25015         [BZ #13911]
25016         [BZ #13912]
25017         [BZ #13913]
25018         [BZ #13915]
25019         [BZ #13916]
25020         [BZ #13917]
25021         [BZ #13918]
25022         [BZ #13919]
25023         [BZ #13920]
25024         [BZ #13921]
25025         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25026         * sysdeps/ieee754/k_standard.c: Include <float.h>.
25027         (__kernel_standard_l): New function.
25028         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25029         __kernel_standard.
25030         * math/w_acosl.c (__acosl): Likewise.
25031         * math/w_asinl.c (__asinl): Likewise.
25032         * math/w_atan2l.c (__atan2l): Likewise.
25033         * math/w_atanhl.c (__atanhl): Likewise.
25034         * math/w_coshl.c (__coshl): Likewise.
25035         * math/w_exp10l.c (__exp10l): Likewise.
25036         * math/w_exp2l.c (__exp2l): Likewise.
25037         * math/w_fmodl.c (__fmodl): Likewise.
25038         * math/w_hypotl.c (__hypotl): Likewise.
25039         * math/w_j0l.c (__j0l, __y0l): Likewise.
25040         * math/w_j1l.c (__j1l, __y1l): Likewise.
25041         * math/w_jnl.c (__jnl, __ynl): Likewise.
25042         * math/w_lgammal.c (__lgammal): Likewise.
25043         * math/w_log10l.c (__log10l): Likewise.
25044         * math/w_log2l.c (__log2l): Likewise.
25045         * math/w_logl.c (__logl): Likewise.
25046         * math/w_powl.c (__powl): Likewise.
25047         * math/w_remainderl.c (__remainderl): Likewise.
25048         * math/w_scalbl.c (sysv_scalbl): Likewise.
25049         * math/w_sinhl.c (__sinhl): Likewise.
25050         * math/w_sqrtl.c (__sqrtl): Likewise.
25051         * math/w_tgammal.c (__tgammal): Likewise.
25052         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25053         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25054         * math/libm-test.inc (acos_test): Add more tests.
25055         (acosh_test): Likewise.
25056         (asin_test): Likewise.
25057         (atanh_test): Likewise.
25058         (exp_test): Likewise.
25059         (exp10_test): Likewise.
25060         (exp2_test): Likewise.
25061         (expm1_test): Likewise.
25062         (lgamma_test): Likewise.
25063         (log_test): Likewise.
25064         (log10_test): Likewise.
25065         (log1p_test): Likewise.
25066         (log2_test): Likewise.
25067         (pow_test): Do not allow some spurious overflow exceptions.
25068         (sqrt_test): Add more tests.
25069         (tgamma_test): Likewise.
25070         (y0_test): Likewise.
25071         (y1_test): Likewise.
25072         (yn_test): Likewise.
25074 2012-03-27  Anton Blanchard  <anton@samba.org>
25076         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25077         MAP_HUGETLB.
25078         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25079         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25080         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25082 2012-03-27  David S. Miller  <davem@davemloft.net>
25084         * conform/Makefile: Run run-conformtest.sh using $(BASH).
25086         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25087         have-as-vis3 check.
25089 2012-03-27  Andreas Jaeger  <aj@suse.de>
25091         * sysdeps/x86_64/elf/configure.in: Moved to ...
25092         * sysdeps/x86_64/configure.in: ... here.
25093         * sysdeps/x86_64/elf/start.S: Moved to ...
25094         * sysdeps/x86_64/start.S: ... here.
25095         * sysdeps/x86_64/elf/configure: Delete.
25097         * sysdeps/x86_64/configure.in: Merge contents from
25098         sysdeps/i386/configure.in (without i686 check).
25100         * sysdeps/i386/elf/Versions: Merge into ...
25101         * sysdeps/i386/Versions: ... this.
25102         * sysdeps/i386/elf/Versions: Delete file.
25103         * sysdeps/i386/elf/start.S: Moved to ...
25104         * sysdeps/i386/start.S: ...here.
25105         * sysdeps/i386/elf/configure.in: Merge into...
25106         * sysdeps/i386/configure.in: ...here.
25107         * sysdeps/i386/elf/configure.in: Delete file.
25108         * sysdeps/i386/elf/configure: Delete file.
25110         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25111         * debug/backtracesyms.c: ... here.
25112         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25113         * debug/backtracesymsfd.c: ... here.
25114         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25115         * sysdeps/generic/ifunc-sel.h: ... here.
25117         * sysdeps/unix/i386/start.c: Delete file.
25118         * sysdeps/unix/sparc/start.c: Delete file.
25119         * sysdeps/unix/start.c: Delete file.
25121         * sysdeps/sh/elf/configure.in: Moved to ...
25122         * sysdeps/sh/configure.in: ... here.
25123         * sysdeps/sh/elf/start.S: Moved to ...
25124         * sysdeps/sh/start.S: ... here.
25125         * sysdeps/sh/elf/configure: Delete file.
25127         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25128         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25129         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25130         * sysdeps/powerpc/powerpc64/entry.h: ... here.
25131         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25132         * sysdeps/powerpc/powerpc64/start.S: here.
25133         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25134         * sysdeps/powerpc/powerpc64/Makefile: ... this.
25135         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25136         * sysdeps/powerpc/powerpc64/configure.in: ... this.
25137         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25139         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25140         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25141         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25142         * sysdeps/powerpc/powerpc32/start.S: ... here.
25143         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25144         * sysdeps/powerpc/powerpc32/configure.in: ... this.
25145         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25147         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25148         * sysdeps/powerpc/ifunc-sel.h: ... here.
25149         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25150         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25152         * sysdeps/sparc/elf/configure.in: Moved to ...
25153         * sysdeps/sparc/configure.in: ... here.
25154         * sysdeps/sparc/elf/configure: Delete file.
25155         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25156         * sysdeps/sparc/sparc32/start.S: ... here.
25157         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25158         * sysdeps/sparc/sparc64/start.S: ... here.
25159         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25160         * sysdeps/sparc/sparc32/Makefile: ... this.
25161         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25162         * sysdeps/sparc/sparc64/Makefile: ... this.
25164         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25165         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25166         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25167         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25168         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25169         * sysdeps/s390/s390-32/setjmp.S: ... here.
25170         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25171         * sysdeps/s390/s390-32/configure.in: ... here.
25172         * sysdeps/s390/s390-32/elf/configure: Delete file.
25173         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25174         * sysdeps/s390/s390-32/start.S: ... here.
25176         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25177         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25178         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25179         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25180         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25181         * sysdeps/s390/s390-64/setjmp.S: ... here.
25182         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25183         * sysdeps/s390/s390-64/configure.in: ... here
25184         * sysdeps/s390/s390-64/elf/configure: Delete file.
25185         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25186         * sysdeps/s390/s390-64/start.S: ... here.
25187         * sysdeps/s390/s390-64/elf/configure: Delete.
25189         * configure.in: Remove support for elf directories in sysdeps.
25191         * configure: Regenerated.
25192         * sysdeps/i386/configure: Regenerated.
25193         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25194         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25195         * sysdeps/s390/s390-32/configure: Regenerated.
25196         * sysdeps/s390/s390-64/configure: Regenerated.
25197         * sysdeps/sh/configure: Regenerated.
25198         * sysdeps/sparc/configure: Regenerated.
25199         * sysdeps/x86_64/configure: Regenerated.
25201 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
25203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25206         denormal result into account.
25208 2012-03-25  Roland McGrath  <roland@hack.frob.com>
25210         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25211         Reported by Allan McRae <allan@archlinux.org>.
25213 2012-03-23  Jeff Law  <law@redhat.com>
25215         * nss/getnssent.c (__nss_getent): Fix typo.
25217 2012-03-23  David S. Miller  <davem@davemloft.net>
25219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25221 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
25223         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25224         to pad to uint64_t for each field.
25225         (dl_tls_index): Replace unsigned long with uint64_t.
25227 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
25228         Paul Pluzhnikov  <ppluzhnikov@google.com>
25230         [BZ #6528]
25231         * grp/Makefile (otherlibs): Don't set it.
25232         * inet/Makefile (otherlibs): Likewise.
25233         * login/Makefile (otherlibs): Likewise.
25234         * nscd/Makefile (otherlibs): Likewise.
25235         * posix/Makefile (otherlibs): Likewise.
25236         * pwd/Makefile (otherlibs): Likewise.
25237         * rt/Makefile (otherlibs): Likewise.
25238         * sunrpc/Makefile (otherlibs): Likewise.
25239         * nss/Makefile (otherlibs): Likewise.
25240         Add libnss_files to routines and static-only-routines.
25241         ($(objpfx)getent): Remove rule.
25242         * resolv/Makefile: Add libnss_dns and libresolv to routines and
25243         static-only-routines.
25245 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
25247         [BZ #13892]
25248         * math/s_cexp.c: Include <float.h>.
25249         (__cexp): Handle exp result overflowing not necessarily
25250         overflowing both real and imaginary parts of result.
25251         * math/s_cexpf.c: Likewise.
25252         * math/s_cexpl.c: Likewise.
25253         * math/libm-test.inc (cexp_test): Add more tests.
25254         * sysdeps/i386/fpu/libm-test-ulps: Update.
25255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25257 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25259         * include/link.h (ELFW): New macro.
25260         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25261         Replace ELF64_R_TYPE with ELFW(R_TYPE).
25263 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25265         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25266         with uint64_t.
25268 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25270         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25271         declaration.
25272         (struct La_x32_retval): Likewise.
25274 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
25276         * sysdeps/x86_64/preconfigure.in: New file.
25277         * sysdeps/x86_64/preconfigure: New generated file.
25279 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
25281         [BZ #13824]
25282         * math/e_exp2l.c: Include <float.h>.
25283         (__ieee754_exp2l): Handle overflow and underflow cases
25284         separately.  Only pass fractional part of argument to
25285         __ieee754_expl.
25286         * math/libm-test.inc (exp2_test): Add more tests.
25288         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25289         negating x to take absolute value.
25290         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25291         Likewise.
25292         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25293         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25294         Likewise.
25295         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25296         computing low part if x was negated.
25297         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25299 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25301         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25302         la_x32_gnu_pltexit.
25303         (pltexit): Cast int_retval to ptrdiff_t.
25304         * elf/tst-auditmod3b.c: Likewise.
25305         * elf/tst-auditmod4b.c: Likewise.
25306         * elf/tst-auditmod5b.c: Likewise.
25307         * elf/tst-auditmod6b.c: Likewise.
25308         * elf/tst-auditmod6c.c: Likewise.
25309         * elf/tst-auditmod7b.c: Likewise.
25311         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25312         and x32_gnu_pltexit.
25314         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25315         __ELF_NATIVE_CLASS.
25316         (La_x32_regs): New macro.
25317         (La_x32_retval): Likewise.
25318         (la_x32_gnu_pltenter): New function prototype.
25319         (la_x32_gnu_pltexit): Likewise.
25321 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
25323         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25324         exponent.
25326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25328         * configure.in (libc_cv_cc_nofma): Check for option to disable
25329         generation of FMA instructions.
25330         * configure: Regenerate.
25331         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25332         * sysdeps/ieee754/dbl-64/Makefile: New file.
25333         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25334         Remove brandred-fma4.
25335         (CFLAGS-brandred-fma4.c): Remove.
25336         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25337         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25338         define.
25339         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25340         define.
25342 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25344         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25345         LLONG_MAX != LONG_MAX.
25346         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25347         (_fitoa_word): Likewise.
25348         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25349         LLONG_MAX != LONG_MAX.
25350         * stdio-common/_itowa.h: Include <_itoa.h>.
25351         (_itowa_word): Use _ITOA_WORD_TYPE on value.
25352         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
25353         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
25354         only if not defined.
25355         (_ITOA_WORD_TYPE): Likewise.
25356         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25357         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25359 2012-03-21  David S. Miller  <davem@davemloft.net>
25361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25363 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
25365         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25366         of x86_64 when setting libc_cv_slibdir, libdir and
25367         libc_cv_localedir.
25368         * sysdeps/unix/sysv/linux/configure: Regenerated.
25370 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25372         * manual/lang.texi (Old Varargs): Remove section.
25373         (How Variadic): Update menu.
25374         (va_start): Do not mention varargs.h.
25376 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25377             Joseph Myers  <joseph@codesourcery.com>
25379         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25380         link test.
25381         * configure: Regenerated.
25383 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25385         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25386         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25387         conformtest.pl
25389 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25391         * NOTES: Remove.
25392         * Makefile (files-for-dist): Remove NOTES.
25393         (NOTES): Remove rule.
25394         * README: Don't refer to NOTES.
25395         * manual/creature.texi: Don't include macros.texi.
25396         * manual/intro.texi (creature.texi): Remove comment referring to
25397         NOTES.
25399         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25400         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25401         * configure: Regenerated.
25402         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25403         LIBC_TRY_CC_OPTION.
25404         (libc_cv_as_i686): Likewise.
25405         (libc_cv_cc_avx): Likewise.
25406         (libc_cv_cc_sse2avx): Likewise.
25407         (libc_cv_cc_fma4): Likewise.
25408         (libc_cv_cc_novzeroupper): Likewise.
25409         * sysdeps/i386/configure: Regenerated.
25411         [BZ #13883]
25412         * sysdeps/i386/fpu/s_cexp.S: Remove.
25413         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25414         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25415         * math/libm-test.inc (cexp_test): Add more tests.
25416         * sysdeps/i386/fpu/libm-test-ulps: Update.
25417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25419 2012-03-21  Allan McRae  <allan@archlinux.org>
25421         * timezone/Makefile: Do not install iso3166.tab and zone.tab
25423 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25425         [BZ #13871]
25426         * math/w_exp2.c: Do not include <float.h>.
25427         (o_threshold, u_threshold): Remove.
25428         (__exp2): Calculate result before checking finiteness and calling
25429         __kernel_standard.
25430         * math/w_exp2f.c: Likewise.
25431         * math/w_exp2l.c: Likewise.
25432         * math/libm-test.inc (exp2_test): Require overflow exception for
25433         1e6 input.
25435         [BZ #3866]
25436         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25437         range of signed 64-bit integers before using fistpll.  Remove
25438         checks for whether integers fit in mantissa bits.
25439         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25440         the range of signed 32-bit integers before using fistpl.  Remove
25441         checks for whether integers fit in mantissa bits.
25442         * sysdeps/i386/fpu/e_powl.S (p64): New object.
25443         (__ieee754_powl): Test for y outside the range of signed 64-bit
25444         integers before using fistpll.  Reduce 64-bit values to 63-bit
25445         ones as needed.
25446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25447         divide-by-zero is raised for zero to large negative powers.
25448         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25449         (__ieee754_powl): Test for y outside the range of signed 64-bit
25450         integers before using fistpll.  Reduce 64-bit values to 63-bit
25451         ones as needed.
25452         * math/libm-test.inc (pow_test): Add more tests.
25454 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25456         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25457         <stdio-common/_itoa.h>.
25458         * debug/segfault.c: Likewise.
25459         * elf/dl-cache.c: Likewise.
25460         * elf/dl-minimal.c: Likewise.
25461         * elf/dl-misc.c: Likewise.
25462         * elf/dl-sysdep.c: Likewise.
25463         * elf/dl-version.c: Likewise.
25464         * elf/rtld.c: Likewise.
25465         * hurd/hurdsock.c: Likewise.
25466         * hurd/lookup-retry.c: Likewise.
25467         * malloc/malloc.c: Likewise.
25468         * malloc/mtrace.c: Likewise.
25469         * nscd/nscd_getgr_r.c: Likewise.
25470         * nscd/nscd_getpw_r.c: Likewise.
25471         * nscd/nscd_getserv_r.c: Likewise.
25472         * posix/getopt_init.c: Likewise.
25473         * posix/wordexp.c: Likewise.
25474         * stdio-common/_itoa.c: Likewise.
25475         * stdio-common/printf_fphex.c: Likewise.
25476         * stdio-common/vfprintf.c: Likewise.
25477         * string/_strerror.c: Likewise.
25478         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25479         * sysdeps/i386/i686/hp-timing.h: Likewise.
25480         * sysdeps/mach/_strerror.c: Likewise.
25481         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25482         * sysdeps/mach/hurd/sethostid.c: Likewise.
25483         * sysdeps/mach/hurd/xmknodat.c: Likewise.
25484         * sysdeps/mach/xpg-strerror.c: Likewise.
25485         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25486         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25487         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25488         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25489         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25490         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25491         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25492         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25493         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25494         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25495         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25496         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25497         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25498         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25499         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25500         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25501         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25502         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25503         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25504         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25505         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25507         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25509         * stdio-common/_itoa.h: Moved to ...
25510         * sysdeps/generic/_itoa.h: Here.
25512         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25514         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25515         instead of "_itoa.h" and "_itowa.h".
25516         * stdio-common/vfprintf.: Likewise.
25518 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25520         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25521         <bits/wordsize.h>.
25522         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25523         (__signbit): Likwise.
25524         (llrintf): Likwise.
25525         (llrint): Likwise.
25527 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25529         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25530         __WORDSIZE != 64.
25532 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
25534         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25535         OVERFLOW_EXCEPTION_OK.
25536         * math/libm-test.inc ("Philosophy"): Update comment about
25537         exception testing.
25538         (OVERFLOW_EXCEPTION): Define.
25539         (OVERFLOW_EXCEPTION_OK): Likewise.
25540         (INVALID_EXCEPTION_OK): Renumber.
25541         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25542         (IGNORE_ZERO_INF_SIGN): Likewise.
25543         (test_exceptions): Handle FE_OVERFLOW.
25544         (exp10_test): Expect overflow exceptions.
25545         (exp2_test): Likewise.
25546         (expm1_test): Likewise.
25547         (nextafter_test): Likewise.
25548         (pow_test): Likewise.
25549         (scalbn_test): Likewise.
25550         (scalbln_test): Likewise.
25552 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25554         * sysdeps/x86_64/bits/atomic.h
25555         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25556         64bit integer.
25557         (atomic_exchange_acq): Likewise.
25558         (__arch_exchange_and_add_body): Likewise.
25559         (__arch_add_body): Likewise.
25560         (atomic_add_negative): Likewise.
25561         (atomic_add_zero): Likewise.
25563 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25565         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25566         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25570         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25571         Check __x86_64__ instead of __WORDSIZE.
25573 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25575         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25577 2012-03-19  David S. Miller  <davem@davemloft.net>
25579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25581         * sysdeps/sparc/fpu/fenv_private.h: New file.
25582         * sysdeps/sparc/fpu/math_private.h: Use it.
25583         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25584         Remove.
25585         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25586         (libc_feholdexcept_setroundl): Remove.
25587         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25588         Remove.
25589         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25590         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25592 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25594         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25595         int64_t instead of long int.
25596         (INSERT_WORDS64): Likwise.
25598 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25600         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25601         _Unwind_GetCFA return to _Unwind_Ptr first.
25603 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
25605         [BZ #13629]
25606         * math/s_clog.c: Include <float.h>.
25607         (__clog): Scale large or subnormal inputs.
25608         * math/s_clogf.c: Likewise.
25609         * math/s_clogl.c: Likewise.
25610         * math/s_clog10.c: Include <float.h>.
25611         (M_LOG10_2): Define.
25612         (__clog10): Scale large or subnormal inputs.
25613         * math/s_clog10f.c: Likewise.
25614         * math/s_clog10l.c: Likewise.
25615         * math/libm-test.inc (clog_test): Add more tests.
25616         (clog10_test): Likewise.
25617         * sysdeps/i386/fpu/libm-test-ulps: Update.
25618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25620         [BZ #11451]
25621         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25622         x and y.
25623         * math/libm-test.inc (atan2_test): Add another test.
25625         * Makerules (common-objdir-compile): Remove.
25626         * sysdeps/unix/Makefile (config-generated): Do not add
25627         $(unix-generated) to variable.
25628         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25629         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25630         Remove rule.
25631         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25632         Likewise.
25633         [generic bits/local_lim.h] (before-compile): Do not append to
25634         variable.
25635         [generic bits/local_lim.h] (common-generated): Likewise.
25636         [generic sys/param.h] (before-compile): Do not append to variable.
25637         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25638         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25639         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25640         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25641         include.
25642         [generic sys/param.h] (sys/param.h-includes): Remove variable.
25643         [generic sys/param.h] (sys/param.h-includes): Remove rule.
25644         [generic sys/param.h] ($(addprefix
25645         $(common-objpfx),$(sys/param.h-includes))): Likewise.
25646         [generic sys/param.h] (common-generated): Do not append to
25647         variable.
25648         [generic sys/param.h] (sysdep_headers): Likewise.
25649         [generic bits/errno.h] (before-compile): Do not append to
25650         variable.
25651         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25652         rule.
25653         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25654         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25655         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25656         [generic bits/errno.h] (common-generated): Do not append to
25657         variable.
25658         [generic bits/ioctls.h] (before-compile): Do not append to
25659         variable.
25660         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25661         rule.
25662         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25663         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25664         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25665         rule.
25666         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25667         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25668         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25669         [generic bits/ioctls.h] (common-generated): Do not append to
25670         variable.
25671         [generic sys/syscall.h] (syscall.h): Remove variable.
25672         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25673         rule.
25674         [generic sys/syscall.h] (before-compile): Do not append to
25675         variable.
25676         [generic sys/syscall.h] (common-generated): Likewise.
25677         * sysdeps/unix/errnos-tmpl.c: Remove file.
25678         * sysdeps/unix/errnos.awk: Likewise.
25679         * sysdeps/unix/ioctls-tmpl.c: Likewise.
25680         * sysdeps/unix/ioctls.awk: Likewise.
25681         * sysdeps/unix/mk-local_lim.c: Likewise.
25682         * sysdeps/unix/snarf-ioctls: Likewise.
25684 2012-03-19  Richard Henderson  <rth@twiddle.net>
25686         * sysdeps/i386/fpu/fenv_private.h: New file.
25687         * sysdeps/i386/fpu/math_private.h: Use it.
25688         (math_opt_barrier, math_force_eval): Remove.
25689         (libc_feholdexcept_setround_53bit): Remove.
25690         (libc_feupdateenv_53bit): Remove.
25691         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25692         (math_opt_barrier, math_force_eval): Remove.
25693         (libc_feholdexcept): Remove.
25694         (libc_feholdexcept_setround): Remove.
25695         (libc_fetestexcept, libc_fesetenv): Remove.
25696         (libc_feupdateenv_test): Remove.
25697         (libc_feupdateenv, libc_feholdsetround): Remove.
25698         (libc_feresetround): Remove.
25700         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25701         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25703         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25704         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25705         (libc_feupdateenv_testl): New.
25706         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25707         (libc_feupdateenv_testf): New.
25708         (libc_feupdateenv): Use libc_feupdateenv_test.
25709         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25710         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25712         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25713         (libc_feholdsetroundf, libc_feholdsetroundl): New.
25714         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25715         (libc_feresetround_noex): New.
25716         (libc_feresetround_noexf): New.
25717         (libc_feresetround_noexl): New.
25718         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25719         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25720         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25721         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25722         SET_RESTORE_ROUND.
25723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25725         (__cos): Likewise.
25726         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25727         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25728         SET_RESTORE_ROUND_NOEX.
25729         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25730         SET_RESTORE_ROUND_NOEXF.
25731         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25732         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25733         (libc_feholdsetroundf): New.
25734         (libc_feresetround, libc_feresetroundf): New.
25736         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25737         (libc_feholdexcept_setround_53bit): Convert from macro to function.
25738         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
25740         * sysdeps/generic/math_private.h: Include <fenv.h>.
25741         (default_libc_feholdexcept): New.
25742         (default_libc_feholdexcept_setround): New.
25743         (default_libc_fesetenv, default_libc_feupdateenv): New.
25744         (libc_feholdexcept): Only define if undefined.
25745         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25746         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25747         (libc_feholdexcept_setroundl): Likewise.
25748         (libc_feholdexcept_setround_53bit): Likewise.
25749         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25750         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25751         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25752         (libc_feupdateenv_53bit): Likewise.
25753         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25754         (libc_feholdexcept): Convert from macro to inline function.
25755         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25756         (libc_fesetenv, libc_feupdateenv): Likewise.
25758         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25759         not previously defined.
25760         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25761         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25762         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25763         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25764         * sysdeps/ieee754/flt-32/math_private.h: New file.
25765         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25766         math_private.h below SET_FLOAT_WORD.
25767         (__isnan, __isinf_ns, __finite): Remove.
25768         (__isnanf, __isinf_nsf, __finitef): Remove.
25770 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25774 2012-03-17  David S. Miller  <davem@davemloft.net>
25776         [BZ #6471]
25777         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25778         for 2.16.
25780 2012-03-16  David S. Miller  <davem@davemloft.net>
25782         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25783         warnings.
25785         [BZ #6471]
25786         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25787         properly.
25788         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25789         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25790         sysdep_routines when subdir is sysvipc.
25791         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25792         __getshmlba helper.
25794         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25796 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25798         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25799         [__LP64__].
25801 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25803         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25804         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25805         (__lround): Renamed to ...
25806         (__llround): This.  Replace long int with long long int.
25807         Define lround functions as aliases of llround functions.
25808         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25810 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25812         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25813         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25814         adresses to uintptr_t.  Replace "long int" and "unsigned long
25815         int" with "greg_t" on va_arg.
25817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25819         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25820         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25822         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25823         Move e_machine check before EI_CLASS check.  Handle x32
25824         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25825         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25826         SKIP_EM_IA_64 and include
25827         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25829         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25830         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25831         (add_system_dir): New macro.
25833         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25834         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25836 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25838         [BZ #2551]
25839         [BZ #2552]
25840         [BZ #2553]
25841         [BZ #2554]
25842         [BZ #2562]
25843         [BZ #2563]
25844         [BZ #2565]
25845         [BZ #2566]
25846         [BZ #2576]
25847         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25848         (y0): Likewise.
25849         * math/w_j0f.c (j0f): Likewise.
25850         (y0f): Likewise.
25851         * math/w_j0l.c (__j0l): Likewise.
25852         (__y0l): Likewise.
25853         * math/w_j1.c (j1): Likewise.
25854         (y1): Likewise.
25855         * math/w_j1f.c (j1f): Likewise.
25856         (y1f): Likewise.
25857         * math/w_j1l.c (__j1l): Likewise.
25858         (__y1l): Likewise.
25859         * math/w_jn.c (jn): Likewise.
25860         (yn): Likewise.
25861         * math/w_jnf.c (jnf): Likewise.
25862         (ynf): Likewise.
25863         * math/w_jnl.c (__jnl): Likewise.
25864         (__ynl): Likewise.
25865         * math/libm-test.inc (j0_test): Add more tests.
25866         (j1_test): Likewise.
25867         (jn_test): Likewise.  Add trailing semicolon to existing test.
25868         (y0_test): Likewise.
25869         (y1_test): Likewise.
25870         * sysdeps/i386/fpu/libm-test-ulps: Update.
25871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25873         [BZ #13851]
25874         [BZ #13854]
25875         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25876         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25877         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25878         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25879         (__tanl): Set errno for infinite argument.
25880         * sysdeps/i386/fpu/mptan.c: Remove.
25881         * sysdeps/i386/fpu/s_tan.S: Likewise.
25882         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25883         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25884         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25885         * math/libm-test.inc (tan_test): Add more tests and enable more
25886         tests for double and long double.
25887         * sysdeps/i386/fpu/libm-test-ulps: Update.
25888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25890 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25892         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25893         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25895 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25897         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25898         * configure.in: Use it for both main tree and add-ons.
25899         * configure: Regenerated.
25901 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25903         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25905 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25907         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25908         in comment.
25910         [BZ #13851]
25911         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25912         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25913         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25914         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25915         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25916         infinite argument.
25917         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25918         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25919         != 0 for prec == 2.
25920         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25921         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25922         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25923         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25924         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25925         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25926         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25927         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25928         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25929         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25930         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25931         * math/libm-test.inc (cos_test): Add more tests and enable more
25932         tests for long double.
25933         (sin_test): Likewise.
25934         (sincos_test): Likewise.
25935         * sysdeps/i386/fpu/libm-test-ulps: Update.
25936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25938 2012-03-16  David S. Miller  <davem@davemloft.net>
25940         * sysdeps/sparc/fpu/math_private.h: New file.
25942 2012-03-15  David S. Miller  <davem@davemloft.net>
25944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25945         file.
25946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25948         file.
25949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25954         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25955         sysdep routines.
25956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25958         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25959         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25961         * sysdeps/sparc/sparc-ifunc.h: New file.
25962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25963         sparc-ifunc.h
25964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25966         Likewise.
25967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25968         Likewise.
25969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25973         Likewise.
25974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25979         Likewise.
25980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25981         Likewise.
25982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25988         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25989         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25996         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25997         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25999         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26000         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26001         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26002         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26003         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26004         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26005         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26007 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26009         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26010         scaling.
26011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26013 2012-03-15  Andreas Jaeger  <aj@suse.de>
26015         [BZ #13852]
26016         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26017         ieee754/flt-32 implementation for sin, cos and sincos.
26018         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26019         * sysdeps/i386/fpu/s_cosf.S: Likewise.
26020         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26021         * sysdeps/i386/fpu/s_sinf.S: Likewise.
26022         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26023         ieee754/flt-32 implementation for tan.
26025         * math/libm-test.inc (cos_test): Enable some large input tests for
26026         float as well
26027         (sin_test): Likewise.
26028         (sincos_test): Likewise.
26029         (tan_test): Add tests for large input.
26031         * sysdeps/i386/fpu/libm-test-ulps: Update.
26033 2012-03-15  Andreas Jaeger  <aj@suse.de>
26035         [BZ #13658]
26036         * math/libm-test.inc (cos_test): Add more test cases.
26037         (sin_test): Likewise.
26038         (sincos_test): Likewise.
26040 2012-03-15  Andreas Jaeger  <aj@suse.de>
26042         [BZ #13837]
26043         * math/libm-test.inc (cos_test): Add a test case for large input
26044         value.
26045         (sin_test): Likewise.
26046         (sincos_test): Likewise.
26048 2012-03-15  Andreas Jaeger  <aj@suse.de>,
26049         Joseph Myers  <joseph@codesourcery.com>
26051         [BZ #13658]
26052         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26053         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26054         * sysdeps/i386/fpu/branred.c: Likewise.
26055         * sysdeps/i386/fpu/dosincos.c: Likewise.
26056         * sysdeps/i386/fpu/mpa.c: Likewise.
26057         * sysdeps/i386/fpu/s_cos.S: Likewise.
26058         * sysdeps/i386/fpu/s_sin.S: Likewise.
26059         * sysdeps/i386/fpu/s_sincos.S: Likewise.
26060         * sysdeps/i386/fpu/sincos32.c: Likewise.
26062         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26063         Define.
26064         (libc_feupdateenv_53bit): Define.
26065         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26066         Define.
26067         (libc_feupdateenv_53bit): Define.
26069         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26070         53 bit (without extend i386 double precision).
26072         * math/libm-test.inc (sincos_test): Add tests for large input.
26073         (sin): Likewise.
26074         (cos): Likewise.
26076         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26078 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26082 2012-03-15  David S. Miller  <davem@davemloft.net>
26084         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26085         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26086         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26087         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26095         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26096         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26100         file.
26101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26103         file.
26104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26106         file.
26107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26109         file.
26110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26111         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26112         fmin/fmax sysdep routines.
26113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26115 2012-03-14  David S. Miller  <davem@davemloft.net>
26117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26118         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26121         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26122         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26123         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26124         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26137         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26138         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26139         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26140         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26141         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26142         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26143         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26144         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26145         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26146         routines.
26147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26148         file.
26149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26151         file.
26152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26154         file.
26155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26157         file.
26158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26160         file.
26161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26163         file.
26164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26165         file.
26166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26167         file.
26168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26169         file.
26170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26171         New file.
26172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26173         file.
26174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26175         file.
26176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26178         file.
26179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26181         file.
26182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26184         file.
26185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26187         VIS3 routines.
26189         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26190         New file.
26192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26194         * sysdeps/sparc/configure.in: New file.
26195         * sysdeps/sparc/configure: Generate.
26196         * configure.in (libc_cv_sparc_as_vis3): Substitute.
26197         * configure: Regenerate.
26198         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26199         * config.make.in (have-as-vis3): New.
26200         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26201         available use -Av9d instead of -Av9a.
26202         * sysdeps/sparc/sparc64/Makefile: Likewise.
26203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26205         New file.
26206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26207         file.
26208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26209         New file.
26210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26211         file.
26212         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26213         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26214         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26215         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26216         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26218         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26219         fzeros/fnegs to load 0x80000000 into a float register instead of
26220         using the stack.
26221         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26223 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
26225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26226         bits/syscall.h.
26227         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26228         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26229         ($(inst_includedir)/bits/syscall.h): Remove rule.
26230         ($(objpfx)bits/syscall.d): Include instead of
26231         $(objpfx)syscall-list.d.
26232         (generated): Change syscall-list.h and syscall-list.d to
26233         bits/syscall.h and bits/syscall.d.
26235 2012-03-14  Roland McGrath  <roland@hack.frob.com>
26237         [BZ #13846]
26238         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26240 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
26242         [BZ #13841]
26243         * math/s_csqrt.c: Include <float.h>.
26244         (__csqrt): Scale large or subnormal inputs.
26245         * math/s_csqrtf.c: Likewise.
26246         * math/s_csqrtl.c: Likewise.
26247         * math/libm-test.inc (csqrt_test): Add more tests.
26248         * sysdeps/i386/fpu/libm-test-ulps: Update.
26249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26251         [BZ #13840]
26252         * math/libm-test.inc (hypot_test): Add more tests.
26254 2012-03-13  David S. Miller  <davem@davemloft.net>
26256         [BZ #13840]
26257         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26258         double-precision for the calculation instead of scaling.
26260 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
26262         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26263         manipulate bits before adding and subtracting TWO52[sx].
26264         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26265         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26266         Likewise.
26267         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26269 2012-03-13  David S. Miller  <davem@davemloft.net>
26271         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26272         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26274         rtld-global-offsets.h
26275         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26277         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26278         large parameters.
26280         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26282         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26283         'err' in the ifdef scope in which it is actually used.
26285         * nss/nss_db/db-init.c: Include string.h
26287 2012-03-12  David S. Miller  <davem@davemloft.net>
26289         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26290         masking out of the most significant byte of random value used.
26291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26292         Fix coding style in previous change.
26294         * sysdeps/unix/sysv/linux/kernel-features.h
26295         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26296         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26297         expression.
26298         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26299         later.
26301 2012-03-11  David S. Miller  <davem@davemloft.net>
26303         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26304         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26306         for 'resultvar' otherwise things get truncated on 64-bit.
26308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26309         Fix masking out of the most significant byte of random value used.
26311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26313 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
26315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26317 2012-03-09  David S. Miller  <davem@davemloft.net>
26319         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26320         variables with appropriate CPP guards.
26321         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26322         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
26323         on resulting framesize and the management of the outregs buffer for pltexit.
26324         Preserve floating point return values across _dl_call_pltexit call.
26325         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26326         framesize and the management of the outregs buffer for pltexit.
26327         Preserve floating point return values across _dl_call_pltexit
26328         call.
26329         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26330         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26331         (print_exit): Fix format string for return register value.
26333 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
26335         * sunrpc/Makefile (others): Add rpcgen.
26336         ($(objpfx)rpcgen): Remove special build rule and dependency on
26337         libc.
26338         * sunrpc/rpcgen.c: New file.
26340 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
26342         [BZ #13673]
26343         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26344         * stdio-common/bug-vfprintf-nargs.c: Likewise.
26345         * sysdeps/i386/crti.S: Likewise.
26346         * sysdeps/i386/crtn.S: Likewise.
26347         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26348         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26349         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26350         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26351         * sysdeps/sh/crti.S: Likewise.
26352         * sysdeps/sh/crtn.S: Likewise.
26353         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26355         [BZ #13673]
26356         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26357         with URL.
26358         * locale/programs/locfile-kw.gperf: Likewise.
26359         * locale/programs/charmap-kw.h: Regenerated.
26360         * locale/programs/locfile-kw.h: Likewise.
26362         [BZ #13673]
26363         * intl/plural.y: Replace FSF snail mail address with URL.
26364         * intl/plural.c: Regenerated.
26366 2012-03-09  Richard Henderson  <rth@twiddle.net>
26368         * include/math_private.h: Remove file.
26369         * math/math_private.h: Move file ...
26370         * sysdeps/generic/math_private.h: ... here.
26372         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26373         * sysdeps/powerpc/fpu/math_private.h: Likewise.
26374         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26376         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26377         and <math_private.h>.
26378         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26379         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26380         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26381         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26382         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26383         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26384         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26385         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26386         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26387         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26388         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26389         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26390         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26391         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26392         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26393         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26394         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26395         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26396         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26397         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26398         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26399         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26400         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26401         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26402         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26403         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26404         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26405         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26406         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26407         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26408         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26409         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26410         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26411         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26412         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26413         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26414         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26415         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26416         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26417         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26418         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26419         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26420         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26421         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26422         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26423         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26424         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26425         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26426         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26427         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26428         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26429         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26430         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26431         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26432         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26433         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26434         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26435         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26436         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26437         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26438         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26439         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26440         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26441         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26442         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26443         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26444         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26445         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26446         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26447         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26448         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26449         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26450         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26451         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26452         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26453         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26454         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26456         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26457         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26458         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26459         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26460         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26461         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26462         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26463         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26464         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26465         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26466         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26467         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26468         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26469         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26470         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26471         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26472         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26473         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26474         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26475         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26476         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26477         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26478         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26479         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26480         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26481         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26482         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26483         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26484         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26485         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26486         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26487         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26488         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26489         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26490         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26491         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26492         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26493         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26494         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26495         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26496         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26497         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26498         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26499         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26500         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26501         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26502         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26503         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26504         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26505         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26506         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26507         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26508         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26509         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26510         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26511         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26512         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26513         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26514         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26515         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26516         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26517         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26518         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26519         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26520         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26521         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26522         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26523         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26524         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26525         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26526         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26527         * sysdeps/ieee754/k_standard.c: Likewise.
26528         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26529         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26530         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26531         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26532         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26533         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26534         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26535         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26536         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26537         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26538         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26539         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26540         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26541         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26542         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26543         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26544         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26545         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26546         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26547         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26548         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26549         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26550         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26551         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26552         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26553         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26554         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26555         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26556         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26557         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26558         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26559         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26560         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26561         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26562         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26563         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26564         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26565         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26566         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26567         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26568         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26569         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26570         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26571         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26572         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26573         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26574         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26575         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26576         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26577         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26578         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26579         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26580         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26581         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26582         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26583         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26584         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26585         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26586         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26587         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26588         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26589         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26590         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26591         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26592         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26593         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26594         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26595         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26596         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26597         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26598         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26599         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26600         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26601         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26602         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26603         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26604         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26605         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26607         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26608         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26609         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26610         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26611         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26612         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26613         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26614         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26615         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26616         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26617         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26618         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26619         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26620         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26621         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26622         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26623         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26624         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26625         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26626         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26627         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26628         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26629         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26630         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26631         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26632         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26633         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26634         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26635         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26636         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26637         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26638         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26639         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26640         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26641         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26642         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26643         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26644         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26645         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26646         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26647         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26648         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26649         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26650         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26651         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26652         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26653         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26654         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26655         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26656         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26657         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26658         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26659         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26660         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26661         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26662         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26663         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26664         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26665         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26666         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26667         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26668         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26669         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26670         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26671         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26672         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26673         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26674         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26675         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26676         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26677         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26678         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26679         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26680         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26681         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26682         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26683         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26684         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26685         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26686         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26687         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26688         * sysdeps/ieee754/s_lib_version.c: Likewise.
26689         * sysdeps/ieee754/s_matherr.c: Likewise.
26690         * sysdeps/ieee754/s_signgam.c: Likewise.
26691         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26692         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26693         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26694         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26695         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26696         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26697         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26698         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26699         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26700         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26701         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26702         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26703         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26704         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26705         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26706         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26707         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26708         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26709         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26710         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26711         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26713 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26715         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26716         * sunrpc/rpc_main.c: Likewise.
26717         * sunrpc/rpc_svcout.c: Likewise.
26719 2012-03-09  David S. Miller  <davem@davemloft.net>
26721         * include/math_private.h: New file.
26723 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26725         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26726         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26727         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26728         from <bits/socket_type.h>.
26729         (enum __socket_type): Don't define here.
26730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26732         bits/socket_type.h.
26734         [BZ #13566]
26735         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26736         checking __USE_GNU.
26738         * Makerules ($(inst_includedir)/%.h): New rule.
26739         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26740         (install-others): Remove variable setting.
26741         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26743 2012-03-08  Richard Henderson  <rth@twiddle.net>
26745         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26746         from macro to inline function; merge with the
26747         !__LIBC_INTERNAL_MATH_INLINES version.
26748         (__ieee754_sqrtf): Likewise.
26750         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26751         to inline function.
26752         (__rintf, __floor, __floorf): Likewise.
26754         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26755         macro to inline function.
26756         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26758         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26759         not <math/math_private.h>.
26761 2012-03-08  David S. Miller  <davem@davemloft.net>
26763         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26764         copyright year.
26765         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26767 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26769         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26770         normalization.
26771         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26772         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26774 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26776         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26777         be defined individually, they must be defined as a block.  Define
26778         S for printing a string instead of hidint the different by using a
26779         macro for adding the 'l'.
26780         * stdio-common/tst-fphex-wide.c: Adjust.
26782 2012-03-07  Marek Polacek  <polacek@redhat.com>
26784         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26786 2012-03-08  Marek Polacek  <polacek@redhat.com>
26788         [BZ #13806]
26789         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26790         * stdio-common/tst-fphex.c: Define a few macros to make the
26791         test reusable.  Use them.
26792         * stdio-common/tst-fphex-wide.c: New file.
26794 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26796         [BZ #6911]
26797         * manual/macros.texi (gnusystems): New macro.
26798         (nongnusystems): Likewise.
26799         (gnulinuxhurdsystems): Likewise.
26800         (gnuhurdsystems): Likewise..
26801         (gnulinuxsystems): Likewise.
26802         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26803         variants of the GNU system, not "GNU system".
26804         * manual/conf.texi: Likewise.
26805         * manual/errno.texi: Likewise.  Update example of errno macro
26806         expansion.
26807         * manual/filesys.texi: Likewise.
26808         (getumask): Document as specific to GNU/Hurd.
26809         * manual/install.texi: Likewise.  Reword some references to
26810         GNU/Linux.
26811         * manual/intro.texi: Likewise.
26812         * manual/io.texi: Likewise.
26813         (File Name Portability): Detail which constraints are inapplicable
26814         to all GNU systems and which are only inapplicable to GNU/Hurd.
26815         * manual/job.texi: Likewise.
26816         * manual/llio.texi: Likewise.
26817         (O_NOCTTY): Document as present on GNU/Linux.
26818         * manual/maint.texi: Likewise.
26819         * manual/memory.texi: Likewise.
26820         * manual/pattern.texi: Likewise.
26821         * manual/pipe.texi: Likewise.
26822         * manual/process.texi: Likewise.
26823         * manual/resource.texi: Likewise.
26824         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26825         child on GNU/Hurd.
26826         * manual/setjmp.texi: Likewise.
26827         * manual/signal.texi: Likewise.
26828         * manual/startup.texi: Likewise.
26829         * manual/stdio.texi: Likewise.
26830         * manual/terminal.texi: Likewise.
26831         (ONLCR): Document as POSIX.
26832         (OXTABS): Document availability on GNU/Linux as XTABS.
26833         (ONOEOT): Document availability separately from other bits.
26834         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26835         * manual/time.texi: Likewise.
26836         * manual/users.texi: Likewise.
26837         * INSTALL: Regenerated.
26838         * sysdeps/gnu/errlist.c: Regenerated.
26840         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26841         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26842         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26843         puts.
26844         * configure: Regenerated.
26846 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26848         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26849         default includes instead of AC_HEADER_CHECK.
26850         * sysdeps/i386/configure: Regenerated.
26852         [BZ #10716]
26853         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26854         * math/s_cacoshf.c (__cacoshf): Likewise.
26855         * math/s_cacoshl.c (__cacoshl): Likewise.
26856         * math/s_casinh.c (__casinh): Set signs of result from argument.
26857         * math/s_casinhf.c (__casinhf): Likewise.
26858         * math/s_casinhl.c (__casinhl): Likewise.
26859         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26860         (casinh_test): Add more tests.
26861         * sysdeps/i386/fpu/libm-test-ulps: Update.
26862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26864 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26866         * po/zh_TW.po: Update from translation team.
26868         * login/Makefile (distribute): Remove variable.
26869         * catgets/Makefile: Likewise.
26870         * mach/Makefile: Likewise.
26871         * malloc/Makefile: Likewise.
26872         * misc/Makefile: Likewise.
26873         * iconv/Makefile: Likewise.
26874         * nscd/Makefile: Likewise.
26875         * hurd/Makefile: Likewise.
26876         * manual/Makefile: Likewise.
26877         * locale/Makefile: Likewise.
26878         * intl/Makefile: Likewise.
26879         * conform/Makefile: Likewise.
26880         * nss/Makefile: Likewise.
26881         * time/Makefile: Likewise.
26882         * soft-fp/Makefile: Likewise.
26883         * dirent/Makefile: Likewise.
26884         * gmon/Makefile: Likewise.
26885         * po/Makefile: Likewise.
26886         * rt/Makefile: Likewise.
26887         * socket/Makefile: Likewise.
26888         * math/Makefile: Likewise.
26889         * signal/Makefile: Likewise.
26890         * debug/Makefile: Likewise.
26891         * elf/Makefile: Likewise.
26892         * timezone/Makefile: Likewise.
26893         * stdlib/Makefile: Likewise.
26894         * iconvdata/Makefile: Likewise.
26895         * sunrpc/Makefile: Likewise.
26896         * io/Makefile: Likewise.
26897         * argp/Makefile: Likewise.
26898         * inet/Makefile: Likewise.
26899         * hesiod/Makefile: Likewise.
26900         * grp/Makefile: Likewise.
26901         * csu/Makefile: Likewise.
26902         * wctype/Makefile: Likewise.
26903         * crypt/Makefile: Likewise.
26904         * libio/Makefile: Likewise.
26905         * string/Makefile: Likewise.
26906         * nis/Makefile: Likewise.
26907         * resolv/Makefile: Likewise.
26908         * stdio-common/Makefile: Likewise.
26909         * wcsmbs/Makefile: Likewise.
26910         * dlfcn/Makefile: Likewise.
26911         * posix/Makefile: Likewise.
26913         [BZ #6959]
26914         * timezone/Makefile: Don't install timezone files, just the programs
26915         and scripts.
26917 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26919         * nss/databases.def: Add missing gshadow entry.
26921         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26923 2012-03-06  Marek Polacek  <polacek@redhat.com>
26925         [BZ #13726]
26926         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26927         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26928         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26929         * stdio-common/tst-long-dbl-fphex.c: New file.
26931 2012-03-06  David S. Miller  <davem@davemloft.net>
26933         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26934         (set_obp_int): New function.
26935         (get_obp_int): New function.
26936         (__get_clockfreq_via_dev_openprom): Likewise.
26937         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26938         Avoid unused variable warnings on 'val' and use builtin_expect.
26939         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26940         __builtin_expect.
26941         (INLINE_CLONE_SYSCALL): Likewise.
26943 2012-03-05  David S. Miller  <davem@davemloft.net>
26945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26947 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26951         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26952         only for |x| >= 40.
26953         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26955 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26957         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26958         Replace gettimeofday with __vdso_gettimeofday.
26960         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26961         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26962         __vdso_clock_gettime and __vdso_getcpu.
26964         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26965         time with __vdso_time.
26967 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26969         * manual/lang.texi (size_t): Note types to which size_t may be
26970         equivalent with the GNU C Library, but do not describe when
26971         differences between them are significant.
26973 2012-03-05  Andreas Jaeger  <aj@suse.de>
26975         * sysdeps/i386/fpu/libm-test-ulps: Update.
26977 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26979         [BZ #3976]
26980         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26981         (__ieee754_pow): Save and restore rounding mode and use
26982         round-to-nearest for main computations.
26983         * math/libm-test.inc (pow_test_tonearest): New function.
26984         (pow_test_towardzero): Likewise.
26985         (pow_test_downward): Likewise.
26986         (pow_test_upward): Likewise.
26987         (main): Call the new functions.
26988         * sysdeps/i386/fpu/libm-test-ulps: Update.
26989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26991         [BZ #3976]
26992         * math/libm-test.inc (cosh_test_tonearest): New function.
26993         (cosh_test_towardzero): Likewise.
26994         (cosh_test_downward): Likewise.
26995         (cosh_test_upward): Likewise.
26996         (sinh_test_tonearest): Likewise.
26997         (sinh_test_towardzero): Likewise.
26998         (sinh_test_downward): Likewise.
26999         (sinh_test_upward): Likewise.
27000         (main): Call the new functions.
27001         * sysdeps/i386/fpu/libm-test-ulps: Update.
27002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27004 2012-03-05  Tom de Vries  <tom@codesourcery.com>
27006         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27007         default stack guard is set in last bytes.
27008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27010 2012-03-05  Kees Cook  <keescook@chromium.org>
27012         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27014         [BZ #13656]
27015         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27016         possibly allocate from heap instead of stack.
27017         * stdio-common/bug-vfprintf-nargs.c: New file.
27018         * stdio-common/Makefile (tests): Add nargs overflow test.
27020 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
27022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27024 2012-03-03  Marek Polacek  <polacek@redhat.com>
27026         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27027         * math/math_private.h: Likewise.
27028         * stdlib/tst-strtod.c: Likewise.
27029         * sysdeps/i386/i486/bits/atomic.h: Likewise.
27030         * sysdeps/x86_64/bits/atomic.h: Likewise.
27032 2012-03-02  David S. Miller  <davem@davemloft.net>
27034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27038         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27039         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27040         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27041         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27043 2012-03-02  Roland McGrath  <roland@hack.frob.com>
27045         [BZ #13792]
27046         * manual/examples/README: New file, says the example source files
27047         can be used under GPL>=2.
27048         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27049         line containing just "*/".
27050         * manual/examples/add.c: Add copyright header (GPL>=2).
27051         * manual/examples/argp-ex1.c: Likewise.
27052         * manual/examples/argp-ex2.c: Likewise.
27053         * manual/examples/argp-ex3.c: Likewise.
27054         * manual/examples/argp-ex4.c: Likewise.
27055         * manual/examples/atexit.c: Likewise.
27056         * manual/examples/db.c: Likewise.
27057         * manual/examples/dir.c: Likewise.
27058         * manual/examples/dir2.c: Likewise.
27059         * manual/examples/execinfo.c: Likewise.
27060         * manual/examples/filecli.c: Likewise.
27061         * manual/examples/filesrv.c: Likewise.
27062         * manual/examples/fmtmsgexpl.c: Likewise.
27063         * manual/examples/genpass.c: Likewise.
27064         * manual/examples/inetcli.c: Likewise.
27065         * manual/examples/inetsrv.c: Likewise.
27066         * manual/examples/isockad.c: Likewise.
27067         * manual/examples/longopt.c: Likewise.
27068         * manual/examples/memopen.c: Likewise.
27069         * manual/examples/memstrm.c: Likewise.
27070         * manual/examples/mkfsock.c: Likewise.
27071         * manual/examples/mkisock.c: Likewise.
27072         * manual/examples/mygetpass.c: Likewise.
27073         * manual/examples/pipe.c: Likewise.
27074         * manual/examples/popen.c: Likewise.
27075         * manual/examples/rprintf.c: Likewise.
27076         * manual/examples/search.c: Likewise.
27077         * manual/examples/select.c: Likewise.
27078         * manual/examples/setjmp.c: Likewise.
27079         * manual/examples/sigh1.c: Likewise.
27080         * manual/examples/sigusr.c: Likewise.
27081         * manual/examples/stpcpy.c: Likewise.
27082         * manual/examples/strdupa.c: Likewise.
27083         * manual/examples/strftim.c: Likewise.
27084         * manual/examples/strncat.c: Likewise.
27085         * manual/examples/subopt.c: Likewise.
27086         * manual/examples/swapcontext.c: Likewise.
27087         * manual/examples/termios.c: Likewise.
27088         * manual/examples/testopt.c: Likewise.
27089         * manual/examples/testpass.c: Likewise.
27090         * manual/examples/timeval_subtract.c: Likewise.
27092         [BZ #13792]
27093         * manual/time.texi (Elapsed Time): Move timeval_subtract example
27094         function to ...
27095         * manual/timeval_subtract.c.texi: ... here, new file.
27097 2012-03-02  David S. Miller  <davem@davemloft.net>
27099         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27101 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
27103         [BZ #3976]
27104         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27105         (__sin): Save and restore rounding mode and use round-to-nearest
27106         for all computations.
27107         (__cos): Save and restore rounding mode and use round-to-nearest
27108         for all computations.
27109         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27110         <fenv.h>.
27111         (tan): Save and restore rounding mode and use round-to-nearest for
27112         all computations.
27113         * math/libm-test.inc (cos_test_tonearest): New function.
27114         (cos_test_towardzero): Likewise.
27115         (cos_test_downward): Likewise.
27116         (cos_test_upward): Likewise.
27117         (sin_test_tonearest): Likewise.
27118         (sin_test_towardzero): Likewise.
27119         (sin_test_downward): Likewise.
27120         (sin_test_upward): Likewise.
27121         (tan_test_tonearest): Likewise.
27122         (tan_test_towardzero): Likewise.
27123         (tan_test_downward): Likewise.
27124         (tan_test_upward): Likewise.
27125         (main): Call the new functions.
27126         * sysdeps/i386/fpu/libm-test-ulps: Update.
27127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27129         [BZ #10135]
27130         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27131         small n, then large n, before computing and testing k+n.
27132         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27133         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27134         Likewise.
27135         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27136         Likewise.
27137         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27138         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27139         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27140         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27141         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27142         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27143         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27144         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27145         * math/libm-test.inc (scalbn_test): Add more tests.
27146         (scalbln_test): Likewise.
27148         * manual/filesys.texi (mode_t): Describe constraints on size and
27149         signedness, not exact equivalence to a particular type.
27150         (ino_t): Likewise.
27151         (ino64_t): Likewise.
27152         (dev_t): Likewise.
27153         (nlink_t): Likewise.
27154         (blkcnt_t): Likewise.
27155         (blkcnt64_t): Likewise.
27156         * manual/llio.texi (off_t): Likewise.
27158         [BZ #3976]
27159         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27160         (__ieee754_exp): Save and restore rounding mode and use
27161         round-to-nearest for all computations.
27162         * math/libm-test.inc (exp_test_tonearest): New function.
27163         (exp_test_towardzero): Likewise.
27164         (exp_test_downward): Likewise.
27165         (exp_test_upward): Likewise.
27166         (main): Call the new functions.
27167         * sysdeps/i386/fpu/libm-test-ulps: Update.
27168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27170 2012-03-01  Chris Demetriou  <cgd@google.com>
27172         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27173         have predictable order.
27175 2012-03-01  David S. Miller  <davem@davemloft.net>
27177         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27179         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27180         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27181         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27182         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27184         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27185         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27186         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27188         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27189         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27190         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27191         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27192         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27196         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27197         * sysdeps/sparc/fpu/libm-test-ulps: to here.
27198         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27200         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27201         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27202         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27203         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27204         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27205         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27206         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27207         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27208         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27209         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27210         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27211         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27212         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27213         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27214         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27216         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27217         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27218         * sysdeps/sparc/elf/configure: Regenerated.
27220 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
27222         * configure.in (AS, LD): Require binutils 2.20 or later.
27223         * configure: Regenerated.
27224         * manual/install.texi (Tools for Compilation): Give binutils 2.20
27225         as required minimum version.
27226         * INSTALL: Regenerated.
27228         [BZ #2541]
27229         [BZ #4108]
27230         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27231         before squaring exponent.
27232         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27233         bottom long double and 27 bits of top long double before squaring
27234         exponent.
27235         * math/libm-test.inc (erfc_test): Add more tests.
27236         * sysdeps/i386/fpu/libm-test-ulps: Update.
27237         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27240 2012-03-01  Kai Tietz  <ktietz@redhat.com>
27242         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27243         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27244         containing bit-fields.
27245         * soft-fp/extended.h (_FP_UNION_E): Likewise.
27246         * soft-fp/single.h (_FP_UNION_S): Likewise.
27247         * soft-fp/double.h (_FP_UNION_D): Likewise.
27249 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
27251         [BZ #13786]
27252         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27253         not include ../strcmp.S.
27254         [USE_AS_STRNCASECMP_L]: Likewise.
27255         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27256         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27257         * sysdeps/i386/i686/multiarch/strncase_l-c.c
27258         (__strncasecmp_l_ia32): Define as alias to
27259         __strncasecmp_l_nonascii.
27261         [BZ #5794]
27262         * math/libm-test.inc (expm1_test): Add test for bug 5794.
27263         * sysdeps/i386/fpu/libm-test-ulps: Update.
27264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27266         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27269 2012-02-29  Jeff Law  <law@redhat.com>
27271         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27272         out of bounds read.
27274 2012-02-29  Marek Polacek  <polacek@redhat.com>
27276         [BZ #13706]
27277         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27278         * elf/Makefile: Add rules to run tst-unused-dep.out.
27280 2012-02-28  David S. Miller  <davem@davemloft.net>
27282         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27283         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27284         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27285         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27286         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27287         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27289 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
27291         * math/libm-test.inc (llround_test): Move one test from
27292         lround_test.  Use TEST_f_L in moved test.
27293         (lround_test): Move misplaced test to llround_test.  Add testcase
27294         from bug 2561.
27296 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
27298         * sysdeps/x86_64/fpu/e_expf.S: New file.
27299         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27301 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
27303         [BZ #13637]
27304         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27305         of remain_len that may cause incomplete multi-byte character and
27306         false match.
27307         * posix/bug-regex33.c: New file.
27308         * posix/Makefile (tests): Add bug-regex33.
27310 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
27312         * manual/macros.texi: New file.
27313         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27314         * manual/libc.texinfo: Include macros.texi.
27315         * manual/creatute.texi: Likewise.
27316         * manual/install.texi: Likewise.
27317         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27318         @glibcadj{} in references to the GNU C Library.
27319         * manual/charset.texi: Likewise.
27320         * manual/conf.texi: Likewise.
27321         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
27322         when not using those macros.
27323         * manual/creature.texi: Likewise.
27324         * manual/crypt.texi: Likewise.
27325         * manual/errno.texi: Likewise.
27326         * manual/filesys.texi: Likewise.
27327         * manual/header.texi: Likewise.
27328         * manual/install.texi: Likewise.
27329         * manual/intro.texi: Likewise.
27330         * manual/io.texi: Likewise.
27331         * manual/job.texi: Likewise.
27332         * manual/lang.texi: Likewise.
27333         * manual/libc.texiinfo: Likewise.
27334         * manual/llio.texi: Likewise.
27335         * manual/locale.texi: Likewise.
27336         * manual/maint.texi: Likewise.
27337         * manual/math.texi: Likewise.
27338         * manual/memory.texi: Likewise.
27339         * manual/message.texi: Likewise.
27340         * manual/nss.texi: Likewise.
27341         * manual/pattern.texi: Likewise.
27342         * manual/process.texi: Likewise.
27343         * manual/resource.texi: Likewise.
27344         * manual/search.texi: Likewise.
27345         * manual/setjmp.texi: Likewise.
27346         * manual/signal.texi: Likewise.
27347         * manual/socket.texi: Likewise.
27348         * manual/startup.texi: Likewise.
27349         * manual/stdio.texi: Likewise.
27350         * manual/string.texi: Likewise.
27351         * manual/sysinfo.texi: Likewise.
27352         * manual/syslog.texi: Likewise.
27353         * manual/terminal.texi: Likewise.
27354         * manual/time.texi: Likewise.
27355         * manual/users.texi: Likewise.
27356         * INSTALL: Regenerated.
27357         * NOTES: Regenerated.
27358         * sysdeps/gnu/errlist.c: Regenerated.
27360 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
27362         * include/dirent.h: Include <dirstream.h> before
27363         <dirent/dirent.h>.
27365 2012-02-28  David S. Miller  <davem@davemloft.net>
27367         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27368         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27369         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27370         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27372 2012-02-27  David S. Miller  <davem@davemloft.net>
27374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27376         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27377         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27380         frame pointer instead of stack pointer relative arg slot.
27381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27382         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27383         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27385 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
27387         [BZ #3992]
27388         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27390 2012-02-27  David S. Miller  <davem@davemloft.net>
27392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27396         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27397         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27398         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27399         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27401 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27403         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27404         later.  Allow versions 5-9.
27405         * configure: Regenerated.
27406         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27407         required minimum version and 4.6 as recommended version.  Do not
27408         mention bugs in GCC 2.7 and 2.8.
27409         * INSTALL: Regenerated.
27411 2012-02-27  David S. Miller  <davem@davemloft.net>
27413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27417         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27418         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27419         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27420         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27422         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27423         manipulate bits before adding and subtracting TWO112[sx].
27424         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27426 2012-02-27  Roland McGrath  <roland@hack.frob.com>
27428         [BZ #13775]
27429         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27430         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27431         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27432         being in POSIX, because they are in 1003.1-2008.
27434         * rt/tst-aio.c: Include <fcntl.h>.
27435         * rt/tst-aio7.c: Likewise.
27436         * rt/tst-aio64.c: Likewise.
27438         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27440 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27442         * manual/install.texi (--with-headers): Describe headers as
27443         interface headers, not private headers.
27444         (Specific advice for GNU/Linux systems): Describe use of headers
27445         from "make headers_install", not private headers from older
27446         kernels.
27447         * INSTALL: Regenerated.
27448         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27449         Change to 2.6.19.
27450         * sysdeps/unix/sysv/linux/configure: Regenerated.
27452         * manual/llio.texi (fclean): Remove documentation.
27454         * manual/Makefile (libc-texi-generated): New variable.  Include
27455         version.texi.
27456         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27457         $(libc-texi-generated), not duplicated list of files.
27458         (version.texi, stamp-version): New rules.
27459         (realclean): Remove $(libc-texi-generated), not individual files
27460         from that list.  Do not remove dir-add.texinfo.
27461         * manual/libc.texinfo: Comment out uses of edition numbers and
27462         references to printed manual.  Remove last-updated dates.
27463         (EDITION): Comment out.
27464         (ISBN): Likewise.
27465         (VERSION, UPDATED): Remove.
27466         (version.texi): Include.
27468 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
27470         * sysdeps/posix/spawni.c: Include <signal.h>.
27471         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27472         * sysdeps/pthread/aio_fsync.c: Likewise.
27474 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
27476         * conform/Makefile (tests): Run only when not cross-compiling and
27477         when fast-check is not defined.
27479         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27480         * conform/data/limits.h-data: Fixes for POSIX2008.
27481         * conform/run-conformtest.sh: Run all tests.
27482         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27483         headers.
27484         * include/bits/dlfcn.h: Likewise.
27485         * include/langinfo.h: Likewise.
27486         * include/monetary.h: Likewise.
27487         * include/sys/poll.h: Likewise.
27489         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27490         for __USE_GNU.
27491         * posix/spawn.h: Define __need_sigset_t.
27492         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27493         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27494         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
27495         to get sigevent_t only.
27496         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27497         only for __USE_GNU.
27498         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27499         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27500         process_vm_writev only for __USE_GNU.
27501         * termios/termios.h: Declare tcgetsid also for POSIX2008.
27503         * conform/Makefile: For now ignore errors from run-conformtest.
27504         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
27505         POSIX to avoid namespace pollution.  Don't prepend headers.
27506         * conform/data/aio.h-data: Fixes for POSIX testing.
27507         * conform/data/fcntl.h-data: Likewise.
27508         * conform/data/glob.h-data: Likewise.
27509         * conform/data/grp.h-data: Likewise.
27510         * conform/data/pthread.h-data: Likewise.
27511         * conform/data/pwd.h-data: Likewise.
27512         * conform/data/signal.h-data: Likewise.
27513         * conform/data/spawn.h-data: Likewise.
27514         * conform/data/stdio.h-data: Likewise.
27515         * conform/data/stdlib.h-data: Likewise.
27516         * conform/data/stropts.h-data: Likewise.
27517         * conform/data/sys/mman.h-data: Likewise.
27518         * conform/data/sys/stat.h-data: Likewise.
27519         * conform/data/sys/types.h-data: Likewise.
27520         * conform/data/sys/wait.h-data: Likewise.
27521         * conform/data/time.h-data: Likewise.
27522         * conform/data/unistd.h-data: Likewise.
27523         * conform/data/utime.h-data: Likewise.
27525         * io/sys/stat.h: fchmod was always in POSIX.
27526         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27527         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27528         * rt/aio.h: Define __need_timespec before including <time.h>.
27529         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27530         struct.  Add forward declaration of pthread_attr_t and use it in
27531         sigevent.
27532         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27534         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27535         always remove CLK_TCK definition.
27537 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
27539         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27541 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
27543         * conform/run-conformtest.sh: New file.
27544         * conform/Makefile: Run run-conformtest for tests.
27545         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
27546         support.
27548         * conform/data/uchar.h-data: New file.
27549         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27550         * conform/data/arpa/inet.h-data: Likewise.
27551         * conform/data/assert.h-data: Likewise.
27552         * conform/data/complex.h-data: Likewise.
27553         * conform/data/cpio.h-data: Likewise.
27554         * conform/data/ctype.h-data: Likewise.
27555         * conform/data/dirent.h-data: Likewise.
27556         * conform/data/dlfcn.h-data: Likewise.
27557         * conform/data/errno.h-data: Likewise.
27558         * conform/data/fcntl.h-data: Likewise.
27559         * conform/data/float.h-data: Likewise.
27560         * conform/data/fmtmsg.h-data: Likewise.
27561         * conform/data/fnmatch.h-data: Likewise.
27562         * conform/data/ftw.h-data: Likewise.
27563         * conform/data/glob.h-data: Likewise.
27564         * conform/data/grp.h-data: Likewise.
27565         * conform/data/iconv.h-data: Likewise.
27566         * conform/data/inttypes.h-data: Likewise.
27567         * conform/data/langinfo.h-data: Likewise.
27568         * conform/data/libgen.h-data: Likewise.
27569         * conform/data/limits.h-data: Likewise.
27570         * conform/data/locale.h-data: Likewise.
27571         * conform/data/math.h-data: Likewise.
27572         * conform/data/monetary.h-data: Likewise.
27573         * conform/data/mqueue.h-data: Likewise.
27574         * conform/data/ndbm.h-data: Likewise.
27575         * conform/data/net/if.h-data: Likewise.
27576         * conform/data/netdb.h-data: Likewise.
27577         * conform/data/netinet/in.h-data: Likewise.
27578         * conform/data/nl_types.h-data: Likewise.
27579         * conform/data/poll.h-data: Likewise.
27580         * conform/data/pthread.h-data: Likewise.
27581         * conform/data/pwd.h-data: Likewise.
27582         * conform/data/regex.h-data: Likewise.
27583         * conform/data/sched.h-data: Likewise.
27584         * conform/data/search.h-data: Likewise.
27585         * conform/data/semaphore.h-data: Likewise.
27586         * conform/data/setjmp.h-data: Likewise.
27587         * conform/data/signal.h-data: Likewise.
27588         * conform/data/spawn.h-data: Likewise.
27589         * conform/data/stdarg.h-data: Likewise.
27590         * conform/data/stdio.h-data: Likewise.
27591         * conform/data/stdlib.h-data: Likewise.
27592         * conform/data/string.h-data: Likewise.
27593         * conform/data/strings.h-data: Likewise.
27594         * conform/data/stropts.h-data: Likewise.
27595         * conform/data/sys/ipc.h-data: Likewise.
27596         * conform/data/sys/mman.h-data: Likewise.
27597         * conform/data/sys/msg.h-data: Likewise.
27598         * conform/data/sys/resource.h-data: Likewise.
27599         * conform/data/sys/select.h-data: Likewise.
27600         * conform/data/sys/sem.h-data: Likewise.
27601         * conform/data/sys/shm.h-data: Likewise.
27602         * conform/data/sys/socket.h-data: Likewise.
27603         * conform/data/sys/stat.h-data: Likewise.
27604         * conform/data/sys/statvfs.h-data: Likewise.
27605         * conform/data/sys/time.h-data: Likewise.
27606         * conform/data/sys/timeb.h-data: Likewise.
27607         * conform/data/sys/times.h-data: Likewise.
27608         * conform/data/sys/types.h-data: Likewise.
27609         * conform/data/sys/uio.h-data: Likewise.
27610         * conform/data/sys/un.h-data: Likewise.
27611         * conform/data/sys/utsname.h-data: Likewise.
27612         * conform/data/sys/wait.h-data: Likewise.
27613         * conform/data/syslog.h-data: Likewise.
27614         * conform/data/tar.h-data: Likewise.
27615         * conform/data/termios.h-data: Likewise.
27616         * conform/data/utime.h-data: Likewise.
27617         * conform/data/utmpx.h-data: Likewise.
27618         * conform/data/varargs.h-data: Likewise.
27619         * conform/data/wchar.h-data: Likewise.
27620         * conform/data/wctype.h-data: Likewise.
27621         * conform/data/wordexp.h-data: Likewise.
27623         * include/stropts.h: New file.
27624         * include/uchar.h: New file.
27625         * include/aio.h: Changes to allow conformtest.pl to use the headers.
27626         * include/assert.h: Likewise.
27627         * include/ctype.h: Likewise.
27628         * include/dirent.h: Likewise.
27629         * include/dlfcn.h: Likewise.
27630         * include/fcntl.h: Likewise.
27631         * include/fnmatch.h: Likewise.
27632         * include/glob.h: Likewise.
27633         * include/grp.h: Likewise.
27634         * include/libio.h: Likewise.
27635         * include/locale.h: Likewise.
27636         * include/math.h: Likewise.
27637         * include/net/if.h: Likewise.
27638         * include/netdb.h: Likewise.
27639         * include/netinet/in.h: Likewise.
27640         * include/pthread.h: Likewise.
27641         * include/pwd.h: Likewise.
27642         * include/regex.h: Likewise.
27643         * include/sched.h: Likewise.
27644         * include/search.h: Likewise.
27645         * include/setjmp.h: Likewise.
27646         * include/signal.h: Likewise.
27647         * include/stdio.h: Likewise.
27648         * include/stdlib.h: Likewise.
27649         * include/string.h: Likewise.
27650         * include/sys/cdefs.h: Likewise.
27651         * include/sys/mman.h: Likewise.
27652         * include/sys/msg.h: Likewise.
27653         * include/sys/resource.h: Likewise.
27654         * include/sys/select.h: Likewise.
27655         * include/sys/socket.h: Likewise.
27656         * include/sys/stat.h: Likewise.
27657         * include/sys/statvfs.h: Likewise.
27658         * include/sys/time.h: Likewise.
27659         * include/sys/times.h: Likewise.
27660         * include/sys/uio.h: Likewise.
27661         * include/sys/utsname.h: Likewise.
27662         * include/sys/wait.h: Likewise.
27663         * include/termios.h: Likewise.
27664         * include/time.h: Likewise.
27665         * include/ulimit.h: Likewise.
27666         * include/unistd.h: Likewise.
27667         * include/utime.h: Likewise.
27668         * include/wchar.h: Likewise.
27669         * include/wctype.h: Likewise.
27670         * include/wordexp.h: Likewise.
27672         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27674         * time/time.h: TIME_UTC must be a macro.
27675         Make timespec_get available for ISO C11 only as well.
27677 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
27679         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27680         Reported by Peng Haitao <penght@cn.fujitsu.com>.
27682 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27684         * configure.in: Use -o not -a in test for unsupported multi-arch.
27686 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27688         * manual/texinfo.tex: Update to version 2012-01-19.16.
27690 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27692         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27694 2012-02-24  Roland McGrath  <roland@hack.frob.com>
27696         [BZ #13738]
27697         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27698         * manual/fdl-1.3.texi: New file.
27699         * manual/fdl-1.1.texi: File removed.
27701         [BZ #13738]
27702         * manual/libc.texinfo (FDL_VERSION): New @set.
27703         Use it for mention of FDL in cover text.
27704         (Documentation License): Use it in @include file name.
27706 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27707             Roland McGrath  <roland@hack.frob.com>
27709         [BZ #5461]
27710         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27711         not LONG_LONG_MAX and LONG_LONG_MIN.
27712         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27713         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
27714         name.
27715         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27717 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27719         [BZ #2547]
27720         [BZ #11365]
27721         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27722         manipulate bits before adding and subtracting TWO23[sx].
27723         * math/libm-test.inc (nearbyint_test): Add more tests.
27725 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27727         [BZ #2548]
27728         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27729         bits before adding and subtracting TWO23[sx].
27730         * math/libm-test.inc (rint_test): Add more tests.
27731         (rint_test_tonearest): Likewise.
27732         (rint_test_towardzero): Likewise.
27733         (rint_test_downward): Likewise.
27734         (rint_test_upward: Likewise.
27736 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27738         [BZ #10110]
27739         * include/stdc-predef.h: New file.  Extracted from features.h.
27740         * include/features.h: Include stdc-predef.h.
27741         * Makefile (headers): Add stdc-predef.h.
27742         * CONFORMANCE (Compiler limitations): Update.
27744 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27746         * manual/libc.texinfo (VERSION, UPDATED): Revert.
27748 2012-02-21  David S. Miller  <davem@davemloft.net>
27750         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27751         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27753 2012-02-20  David S. Miller  <davem@davemloft.net>
27755         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27756         using a normal save/restore sequence, rather than allocating a
27757         dummy stack frame just to store a frame pointer and restore.
27758         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27760 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27762         * manual/install.texi: Fix stray word in line-wrapped comment.
27764 2012-02-20  David S. Miller  <davem@davemloft.net>
27766         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27767         both binutils and gcc support GOTDATA.
27769         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27770         "rd %pc" in the PIC register setup sequences.
27772         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27773         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27774         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27775         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27776         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27777         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27778         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27779         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27780         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27781         (SYSCALL_ERROR_HANDLER): Likewise.
27782         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27783         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27784         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27785         (SYSCALL_ERROR_HANDLER): Likewise.
27787         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27788         (HAVE_GCC_GOTDATA): New.
27789         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27790         relocation support in both binutils and gcc.
27791         * sysdeps/sparc/elf/configure: Regenerate.
27793         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27794         * sysdeps/sparc/sparc32/elf/configure: Delete.
27795         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27796         * sysdeps/sparc/sparc64/elf/configure: Delete.
27797         * sysdeps/sparc/elf/configure.in: New file.
27798         * sysdeps/sparc/elf/configure: Generate.
27800         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27801         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27802         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27803         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27804         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27806 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27808         * manual/install.texi: Do not mention specific glibc version
27809         numbers.
27810         * manual/libc.texinfo (VERSION, UPDATED): Update.
27811         (@copying): Use @copyright{} and range of years.
27813 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27815         [BZ #13695]
27816         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27817         [crti.S not in sysdirs] (generated): Do not append.
27818         [crti.S not in sysdirs] (omit-deps): Likewise.
27819         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27820         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27821         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27822         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27823         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27824         Likewise.
27825         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27826         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27827         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27828         * csu/defs.awk: Remove file.
27829         * sysdeps/generic/initfini.c: Likewise.
27830         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27831         variable.
27832         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27833         Likewise.
27835 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27837         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27838         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27839         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27840         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27841         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27842         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27843         <bits/epoll.h>.
27844         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27845         (__EPOLL_PACKED): Define to empty if not defined by
27846         <bits/epoll.h>.
27847         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27849         bits/epoll.h.
27851 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27853         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27854         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27855         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27856         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27857         <bits/timerfd.h>.
27858         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27859         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27860         bits/timerfd.h.
27862 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27864         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27865         in C locale.
27866         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27867         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27868         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27871 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27873         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27874         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27876 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27878         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27879         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27880         defined.
27881         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27882         Likewise.
27883         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27884         entry for 2.16.
27886 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27888         * math/w_acos.c: Use non-signaling floating-point comparisons.
27889         * math/w_acosf.c: Likewise.
27890         * math/w_acosh.c: Likewise.
27891         * math/w_acoshf.c: Likewise.
27892         * math/w_acoshl.c: Likewise.
27893         * math/w_acosl.c: Likewise.
27894         * math/w_asin.c: Likewise.
27895         * math/w_asinf.c: Likewise.
27896         * math/w_asinl.c: Likewise.
27897         * math/w_atanh.c: Likewise.
27898         * math/w_atanhf.c: Likewise.
27899         * math/w_atanhl.c: Likewise.
27900         * math/w_exp2.c: Likewise.
27901         * math/w_exp2f.c: Likewise.
27902         * math/w_exp2l.c: Likewise.
27903         * math/w_j0.c: Likewise.
27904         * math/w_j0f.c: Likewise.
27905         * math/w_j0l.c: Likewise.
27906         * math/w_j1.c: Likewise.
27907         * math/w_j1f.c: Likewise.
27908         * math/w_j1l.c: Likewise.
27909         * math/w_jn.c: Likewise.
27910         * math/w_jnf.c: Likewise.
27911         * math/w_log.c: Likewise.
27912         * math/w_log10.c: Likewise.
27913         * math/w_log10f.c: Likewise.
27914         * math/w_log10l.c: Likewise.
27915         * math/w_log2.c: Likewise.
27916         * math/w_log2f.c: Likewise.
27917         * math/w_log2l.c: Likewise.
27918         * math/w_logf.c: Likewise.
27919         * math/w_logl.c: Likewise.
27920         * math/w_sqrt.c: Likewise.
27921         * math/w_sqrtf.c: Likewise.
27922         * math/w_sqrtl.c: Likewise.
27923         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27924         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27925         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27926         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27927         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27929 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27931         [BZ #9739]
27932         * manual/string.texi (strnlen): Use correct parameter name in
27933         equivalent expression.
27935 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27937         [BZ #11174]
27938         * manual/users.texi (seteuid): Consistently use neweuid for
27939         argument name.
27941 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27943         [BZ #13704]
27944         * manual/nss.texi (Services in the NSS configuration): Correct
27945         list of services in example configuration file.
27947 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27949         [BZ #11322]
27950         * manual/arith.texi: Remove statements about negative zero
27951         behaving identically to zero.
27953 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27955         [BZ #5993]
27956         * manual/install.texi: Do not document upgrading from libc5.
27958 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27960         [BZ #4596]
27961         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27963 2012-02-18  David S. Miller  <davem@davemloft.net>
27965         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27966         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27967         %o7 across the call.
27968         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27969         instead.
27970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27971         SETUP_PIC_REG_LEAF.
27972         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27973         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27974         * sysdeps/sparc/crtn.S: Likewise.
27976 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27978         * aout/Makefile: Remove.
27980 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27982         [BZ #13058]
27983         * manual/examples/argp-ex1.c (main): Format definition in GNU
27984         style.
27985         * manual/examples/argp-ex2.c (main): Likewise.
27986         * manual/examples/argp-ex3.c (main): Likewise.
27987         * manual/examples/argp-ex4.c (main): Likewise.
27988         * manual/examples/longopt.c (main): Use new-style prototype
27989         definition.
27990         * manual/examples/strncat.c (main): Specify return type and use
27991         (void) for arguments.
27992         * manual/examples/subopt.c (main): Use char **argv argument.
27994 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27996         [BZ #5077]
27997         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27998         rounding modes.
28000 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
28002         [BZ #6907]
28003         * manual/string.texi (strchr): Change when strchrnul is
28004         recommended.
28006 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
28008         [BZ #174]
28009         * manual/locale.texi (setlocale): Document LOCPATH.
28011 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28013         [BZ #10210]
28014         * manual/process.texi (execle): Move @dots{} before last argument.
28016 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
28018         [BZ #12047]
28019         * manual/charset.texi (Generic Charset Conversion): Fix typo
28020         (LC_TYPE -> LC_CTYPE).
28022 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
28024         [BZ #5805]
28025         * manual/arith.texi (scalbn): Use @var{} on parameter names.
28026         (scalbnf): Likewise.
28027         (scalbnl): Likewise.
28028         (scalbln): Likewise.
28029         (scalblnf): Likewise.
28030         (scalblnl): Likewise.
28031         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28032         (vwarnx): Likewise.
28033         (verr): Likewise.
28034         (verrx): Likewise.
28035         * manual/filesys.texi (telldir): Use braces around return type.
28036         * manual/llio.texi (mmap): Add space after comma.
28037         (mmap64): Likewise.
28038         * manual/math.texi (jn): Use @var{} on parameter names.
28039         (jnf): Likewise.
28040         (jnl): Likewise.
28041         (yn): Likewise.
28042         (ynf): Likewise.
28043         (ynl): Likewise.
28044         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28045         line.
28046         * manual/resource.texi (ulimit): Use @dots{} instead of literal
28047         "...".
28048         (sched_get_priority_min): Remove semicolon on @deftypefun line.
28049         (sched_get_priority_max): Likewise.
28050         * manual/signal.texi (sigvec): Add space after comma.
28051         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28052         names.
28053         (if_indextoname): Likewise.
28054         (if_freenameindex): Likewise.
28055         (sendto): Use ',' instead of '.' in prototype.
28056         * manual/startup.texi (syscall): Use @dots{} instead of literal
28057         "...".
28058         * manual/stdio.texi (__fpending): Separate initial words of
28059         paragraph from @deftypefun line.
28060         * manual/syslog.texi (syslog): Use @dots{} instead of literal
28061         "...".
28062         (vsyslog): Use @var{} on parameter names.
28063         * manual/terminal.texi (stty): Use @var{} on parameter names.
28064         * manual/users.texi (getutmp): Use @var{} on parameter names.
28065         (getutmpx): Likewise.
28067 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28069         [BZ #6884]
28070         * manual/stdio.texi (fopen): Fix typos in description of
28071         ",ccs=STRING".
28073 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
28075         [BZ #4026]
28076         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28077         get clock_id definition.
28079 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
28081         [BZ #4822]
28082         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28083         (madvise): Cast every argument to void on its own.
28085 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28087         [BZ #9902]
28088         * manual/startup.texi (Exit Status): Fix typo.
28090 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28092         [BZ #10140]
28093         * manual/examples/argp-ex1.c: Include <stdlib.h>.
28094         * manual/examples/argp-ex2.c: Likewise.
28095         * manual/examples/argp-ex3.c: Likewise.
28097 2012-02-16  Richard Henderson  <rth@redhat.com>
28099         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28100         * sysdeps/s390/s390-32/initfini.c: Remove.
28101         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28102         * sysdeps/s390/s390-64/initfini.c: Remove.
28104 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28106         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28107         compiler output for sysdeps/generic/initfini.c.
28108         * sysdeps/sh/elf/initfini.c: Remove file.
28110 2012-02-16  David S. Miller  <davem@davemloft.net>
28112         [BZ #11494]
28113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28115         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28116         * sysdeps/sparc/crti.S: New file.
28117         * sysdeps/sparc/crtn.S: New file.
28118         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28119         * sysdeps/sparc/sparc64/Makefile: Likewise.
28121 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
28123         [BZ #3335]
28124         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28126 2012-02-15  Roland McGrath  <roland@hack.frob.com>
28128         [BZ #4822]
28129         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28131         * mach/devstream.c (cookie_io_functions_t): Macro removed.
28132         (write, read, close): Likewise.
28133         Patch by Aurelien Jarno <aurelien@aurel32.net>.
28135 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
28137         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28138         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28139         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28140         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28141         <bits/signalfd.h>.
28142         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28144         bits/signalfd.h.
28146 2012-02-14  Marek Polacek  <polacek@redhat.com>
28148         * sysdeps/x86_64/crti.S: New file.
28149         * sysdeps/x86_64/crtn.S: New file.
28150         * sysdeps/x86_64/elf/initfini.c: Remove file.
28152 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
28154         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28155         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28156         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28157         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28158         <bits/inotify.h>.
28159         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28161         bits/inotify.h.
28163 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
28165         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28166         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28167         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28168         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28169         <bits/eventfd.h>.
28170         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28172         bits/eventfd.h.
28174 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
28176         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28177         __feraiseexcept instead of feraiseexcept.
28179         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28180         nanosleep invocations.
28181         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28182         strings, and add error checking for a nanosleep invocations.
28184 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
28186         Replace FSF snail mail address with URLs, as per GNU coding standards.
28187         Most of the snail mail addresses were wrong anyway, and omitting
28188         them makes the source code easier to maintain.  Almost all of the
28189         changes are to license notices and to locale LC_IDENTIFICATION
28190         addresses, except for this one:
28191         * manual/libc.texinfo: In "Published by", give the FSF's URL,
28192         not its snail mail address.
28194 2012-02-09  Richard Henderson  <rth@twiddle.net>
28196         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28197         of kernel-features.h.
28199         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28201 2012-02-08  Marek Polacek  <polacek@redhat.com>
28203         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28204         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28205         * sysdeps/gnu/_G_config.h: Likewise.
28206         * sysdeps/generic/_G_config.h: Likewise.
28208 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
28210         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28211         tests.
28212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28214         * sysdeps/powerpc/powerpc32/crti.S: New file.
28215         * sysdeps/powerpc/powerpc32/crtn.S: New file.
28216         * sysdeps/powerpc/powerpc64/crti.S: New file.
28217         * sysdeps/powerpc/powerpc64/crtn.S: New file.
28219         * Makeconfig (have-initfini): Don't set.
28220         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28221         * configure.in (nopic_initfini): Don't substitute.
28222         * config.h.in (HAVE_INITFINI): Don't #undef.
28223         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28224         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28226 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
28228         Support crti.S and crtn.S provided directly by architectures.
28229         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28230         [crti.S in sysdirs] (omit-deps): Likewise.
28231         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28232         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28233         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28234         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28235         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28236         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28237         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28238         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28239         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28240         compiler output for sysdeps/generic/initfini.c.
28241         * sysdeps/i386/elf/Makefile: Remove file.
28242         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28244 2012-02-07  Marek Polacek  <polacek@redhat.com>
28246         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28247         * sysdeps/gnu/_G_config.h: Likewise.
28248         * sysdeps/mach/hurd/_G_config.h: Likewise.
28250 2012-02-07  Marek Polacek  <polacek@redhat.com>
28252         * math/Makefile (tests): Add tst-CMPLX2.
28253         * math/tst-CMPLX2.c: New file.
28255 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
28257         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28259         * math/libm-test.inc (jn_test): Add missing L suffix.
28261 2012-02-06  Marek Polacek  <polacek@redhat.com>
28263         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28264         * sysdeps/i386/fpu/e_powf.S: Likewise.
28265         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28266         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28267         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28268         * sysdeps/i386/fpu/e_pow.S: Likewise.
28269         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28270         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28271         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28272         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28273         * sysdeps/i386/fpu/e_log2.S: Likewise.
28274         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28275         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28276         * sysdeps/i386/fpu/e_powl.S: Likewise.
28277         * sysdeps/i386/fpu/s_log1p.S: Likewise.
28278         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28279         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28280         * sysdeps/i386/fpu/e_logl.S: Likewise.
28281         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28282         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28283         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28284         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28285         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28286         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28287         * sysdeps/i386/fpu/e_log.S: Likewise.
28288         * sysdeps/i386/fpu/s_cexp.S: Likewise.
28289         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28290         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28291         * sysdeps/i386/fpu/e_logf.S: Likewise.
28292         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28293         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28294         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28295         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28296         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28297         * sysdeps/i386/fpu/e_log10.S: Likewise.
28298         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28299         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28300         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28301         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28302         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28303         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28304         * sysdeps/i386/asm-syntax.h: Likewise.
28305         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28306         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28307         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28308         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28309         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28310         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28311         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28312         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28313         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28314         * sysdeps/powerpc/sysdep.h: Likewise.
28315         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28316         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28318 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
28320         [BZ #411]
28321         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28323 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
28325         * sysdeps/i386/sysdep.h: Include <features.h>.
28326         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28327         version.
28329 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
28331         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28332         Define.
28333         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28334         LOAD_PIC_REG_STR.
28336 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28338         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28339         (SETUP_PIC_REG): Use GET_PC_THUNK.
28340         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28341         macro.
28343 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28345         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28346         for non-PIC compilation.
28347         (SETUP_PIC_REG): Add .p2align directive.
28348         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28349         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28350         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28351         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28352         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28353         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28354         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28355         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28356         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28357         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28358         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28359         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28360         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28361         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28362         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28363         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28364         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28365         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28366         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28367         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28368         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28369         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28370         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28371         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28372         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28373         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28374         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28375         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28376         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28377         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28378         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28379         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28380         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28381         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28382         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28383         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28384         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28385         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28386         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28387         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28388         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28390 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
28392         * math/tst-CMPLX.c: Include <stdio.h>.
28394 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
28396         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28397         float.
28398         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28399         * sysdeps/sparc/bits/mathdef.h: Likewise.
28401 2012-01-31  Marek Polacek  <polacek@redhat.com>
28403         * libio/libio.h: Don't define _PARAMS.
28404         * locale/programs/config.h: Don't define PARAMS.
28405         * stdlib/strtol_l.c: Likewise.
28406         (__strtol_l): Remove PARAMS from the prototype.
28408 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
28410         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
28411         names.  Just use the correct names.  Remove unnecessary wrapper
28412         functions.
28413         * malloc/arena.c: Likewise.
28414         * malloc/hooks.c: Likewise.
28416         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28417         ARENA_TEST says not to.  Simplify test for creation of a new arena.
28418         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28420 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
28422         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28423         into tail calls.
28424         (update_get_addr): New function.
28425         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28426         GET_ADDR_MODULE parameter.
28428 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28430         * crypt/cert.c: Remove __STDC__ conditionals.
28431         * crypt/crypt-entry.c: Likewise.
28432         * crypt/crypt_util.c: Likewise.
28433         * libio/filedoalloc.c: Likewise.
28434         * libio/fileops.c: Likewise.
28435         * libio/genops.c: Likewise.
28436         * libio/iofclose.c: Likewise.
28437         * libio/iofdopen.c: Likewise.
28438         * libio/iofopen.c: Likewise.
28439         * libio/iofopen64.c: Likewise.
28440         * libio/iogetdelim.c: Likewise.
28441         * libio/iopopen.c: Likewise.
28442         * libio/obprintf.c: Likewise.
28443         * libio/oldfileops.c: Likewise.
28444         * libio/oldiofclose.c: Likewise.
28445         * libio/oldiofdopen.c: Likewise.
28446         * libio/oldiofopen.c: Likewise.
28447         * libio/oldiopopen.c: Likewise.
28448         * libio/wfiledoalloc.c: Likewise.
28449         * libio/wgenops.c: Likewise.
28450         * locale/programs/xmalloc.c: Likewise.
28451         * misc/syslog.c: Likewise.
28452         * stdio-common/xbug.c: Likewise.
28453         * string/memchr.c: Likewise.
28454         * string/memcmp.c: Likewise.
28455         * string/memrchr.c: Likewise.
28456         * string/rawmemchr.c: Likewise.
28457         * sysdeps/posix/getcwd.c: Likewise.
28458         * time/strftime_l.c: Likewise.
28460 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28462         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28463         * config.make.in (config-cflags-sse2avx): Define.
28464         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28465         Fix typo.
28467 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
28469         * scripts/config.guess: Update from upstream config git repository.
28470         * scripts/config.sub: Likewise.
28472 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
28474         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28475         (EM_NUM): Update.
28476         (R_TILEPRO_*, R_TILEGX_*): New macros.
28478         * scripts/firstversions.awk: Fix bug in version range handling.
28480         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28482         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28484         * include/sys/epoll.h: New file.
28485         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28486         libc_hidden_def.
28488 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
28490         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28491         Avoid unnecessary __WORDSIZE == 64 test.
28492         (fmaxf): Use VEX format if possible.
28493         (fmax): Likewise.
28494         (fminf): Likewise.
28495         (fmin): Likewise.
28497         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28498         * math/math_private.h: Remove libc_fegetround* and
28499         libc_fesetround*.
28500         * sysdeps/i386/configure.in: Check for -msse2avx.
28501         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28502         also if SSE2AVX is defined.
28503         Remove libc_fegetround* and libc_fesetround*.
28504         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28505         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
28506         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28507         of HAS_YMM_USABLE.
28508         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28509         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28510         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28511         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28512         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28514         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28516 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28518         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28519         size is not set.
28520         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28522 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
28524         [BZ #13618]
28525         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28526         relocation.
28527         * Makeconfig (libm): Define.
28528         * elf/Makefile: Add rules to build and run tst-relsort1.
28529         * elf/tst-relsort1.c: New file.
28530         * elf/tst-relsort1mod1.c: New file.
28531         * elf/tst-relsort1mod2.c: New file.
28533 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
28535         * math/s_ldexp.c: Remove __STDC__ conditionals.
28536         * math/s_ldexpf.c: Likewise.
28537         * math/s_ldexpl.c: Likewise.
28538         * math/s_nextafter.c: Likewise.
28539         * math/s_nexttowardf.c: Likewise.
28540         * math/s_significand.c: Likewise.
28541         * math/s_significandf.c: Likewise.
28542         * math/s_significandl.c: Likewise.
28543         * math/w_jnl.c: Likewise.
28544         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28545         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28546         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28547         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28548         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28549         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28550         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28551         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28552         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28553         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28554         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28555         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28556         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28557         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28558         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28559         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28560         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28561         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28562         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28563         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28564         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28565         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28566         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28567         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28568         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28569         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28570         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28571         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28572         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28573         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28574         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28575         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28576         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28577         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28578         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28579         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28580         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28581         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28582         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28583         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28584         * sysdeps/ieee754/k_standard.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28646         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28649         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28650         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28651         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28652         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28655         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28659         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28660         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28663         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28664         * sysdeps/ieee754/s_matherr.c: Likewise.
28665         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28666         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28667         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28668         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28670 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28672         * crypt/md5.h: Remove __STDC__ conditionals.
28673         * libio/libioP.h: Likewise.
28674         * locale/programs/config.h: Likewise.
28675         * sysdeps/generic/sysdep.h: Likewise.
28676         * sysdeps/i386/asm-syntax.h: Likewise.
28677         * sysdeps/s390/asm-syntax.h: Likewise.
28678         * sysdeps/unix/sysdep.h: Likewise.
28679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28682 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28684         * libio/libio.h: Remove __STDC__ conditionals.
28685         * malloc/obstack.h: Likewise.
28686         * math/complex.h: Likewise.
28687         * math/math.h: Likewise.
28688         * sysdeps/generic/_G_config.h: Likewise.
28689         * sysdeps/gnu/_G_config.h: Likewise.
28690         * sysdeps/mach/hurd/_G_config.h: Likewise.
28691         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28692         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28693         * sysdeps/sparc/bits/mathdef.h: Likewise.
28695 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
28697         [BZ #13583]
28698         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28699         Clean up HAS_* macros.
28700         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28701         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28702         possible.
28703         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28704         HAS_AVX.
28705         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28706         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28707         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28708         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28709         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28711 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
28713         * elf/tst-unique3.cc (gets): Remove declaration.
28714         * elf/tst-unique3lib.cc (gets): Likewise.
28715         * elf/tst-unique3lib2.cc (gets): Likewise.
28716         * elf/tst-unique4.cc (gets): Likewise.
28718 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
28720         * include/stdio.h: Add C++ protection.  Add gets declarations and
28721         definitions.
28722         * debug/tst-chk1.c: Don't declare gets here.
28723         * stdio-common/tst-gets.c: Likewise.
28725 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28727         * posix/glob: Remove directory.
28729 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28731         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28733 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
28735         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28736         of the non-standard EPFNOSUPPORT.
28738 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28740         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28741         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28742         ANYWHERE set to 1 only on KERN_NO_SPACE error.
28744 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
28746         * wcsmbs/uchar.h: Test __STDC_VERSION__.
28748 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
28750         * nscd/aicache.c (addhstaiX): Do not cache negative results of
28751         transient errors.
28752         * nscd/grpcache.c (cache_addgr): Likewise.
28753         * nscd/hstcache.c (cache_addhst): Likewise.
28754         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28755         * nscd/pwdcache.c (cache_addpw): Likewise.
28756         * nscd/servicescache.c (cache_addserv): Likewise.
28758 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
28760         * malloc/malloc.c: Various cleanups.
28761         * malloc/hooks.c: Likewise.
28763         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28764         * stdlib/bug-fmtmsg1.c: New file.
28766         * stdlib/fmtmsg.c (init): Add missing unlock.
28767         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28769 2012-01-12  Marek Polacek  <polacek@redhat.com>
28771         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28772         and _GNU_SOURCE.
28774 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28776         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28777         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28778         macro to ensure uniqueness of label name.
28779         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28780         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28782 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28784         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28786         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28787         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28788         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28791 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28793         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28795         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28796         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28797         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28799         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28801         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28802         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28803         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28804         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28806         * math/bits/math-finite.h: Add ldexp support.
28808 2012-01-10  Marek Polacek  <polacek@redhat.com>
28810         * locale/programs/localedef.h (show_archive_content): Add noreturn
28811         attribute.
28813 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28815         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28817 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28819         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28821         * io/Makefile (headers): Add bits/poll2.h.
28823 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28826         typo #include statement.
28828 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28830         * include/sys/cdefs.h: Define __attribute_alloc_size.
28831         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28832         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28833         * elf/pldd.c: Likewise.
28834         * iconv/iconv_charmap.c: Likewise.
28835         * iconv/iconvconfig.c: Likewise.
28836         * iconv/strtab.c: Likewise.
28837         * locale/programs/locale.c: Likewise.
28838         * locale/programs/localedef.h: Likewise.
28839         * locale/programs/simple-hash.c: Likewise.
28840         * nscd/nscd.h: Likewise.
28841         * nss/makedb.c: Likewise.
28842         * sysdeps/generic/ldconfig.h: Likewise.
28843         * locale/programs/localedef.c: Remove xmalloc prototype.
28844         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28846 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28848         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28849         appropriate.
28851 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28853         * math/Makefile (tests): Add tst-CMPLX.
28854         * math/tst-CMPLX.c: New file.
28856         * math/complex.h (CMPLXL): Fix typo.
28858         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28859         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28860         GLIBC_2.16.
28861         * debug/tst-chk1.c: Add poll and ppoll tests.
28862         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28863         * include/sys/poll.h: Add hidden proto for ppoll.
28864         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28865         * sysdeps/mach/hurd/ppoll.c: Likewise.
28866         * io/ppoll.c: Likewise.
28867         * debug/poll_chk.c: New file.
28868         * debug/ppoll_chk.c: New file.
28869         * include/bits/poll2.h: New file.
28870         * io/bits/poll2.h: New file.
28872         [BZ #1350]
28873         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28875         * configure.in: static is always set to yes.  Remove.
28876         * config.make.in: Don't set build-static.
28877         * Makeconfig: Remove use of build-static.
28878         * dlfcn/Makefile: Likewise.
28879         * elf/Makefile: Likewise.
28880         * math/Makefile: Likewise.
28881         * misc/Makefile: Likewise.
28882         * nptl/Makefile: Likewise.
28883         * sysdeps/mach/hurd/Makefile: Likewise.
28885         * configure.in: PWD_P is not used anymore.
28886         * config.make.in: Remove PWD_P entry.
28888         * configure.in: Remove last remnants of RANLIB.
28889         No need to check for signed size_t anymore.
28890         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28891         and IA-64.
28892         Remove __builtin_expect test because we require at least gcc 3.4.
28893         * aclocal.m4: Likewise.
28895         * wcsmbs/mbrtoc16.c: Implement using towc function.
28896         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28897         * wcsmbs/wcsmbsload.c: Likewise.
28898         * iconv/gconv_simple.c: Likewise.
28899         * iconv/gconv_int.h: Likewise.
28900         * iconv/gconv_builtin.h: Likewise.
28901         * iconv/iconv_prog.c: Remove CHAR16 handling.
28903         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28905         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28907         * configure.in: Remove --with-elf and --enable-bounded options.
28908         Dont set base_machine for ia64.  More non-ELF conditions removed.
28909         Remove testing and setting of leading underscore information.
28910         * config.make.in (build-bounded): Set to no.
28911         * config.h.in: Remove NO_UNDERSCORES entry.
28912         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28913         them.
28914         * csu/start.c: Remove !NO_UNDERSCORE code.
28915         * locale/localeinfo.h: Likewise.
28916         * sysdeps/generic/machine-gmon.h: Likewise.
28917         * sysdeps/generic/sysdep.h: Likewise.
28918         * sysdeps/i386/sysdep.h: Likewise.
28919         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28920         * sysdeps/mach/sysdep.h: Likewise.
28921         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28922         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28923         * sysdeps/sh/sysdep.h: Likewise.
28924         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28925         * sysdeps/unix/i386/sysdep.S: Likewise.
28926         * sysdeps/unix/sparc/start.c: Likewise.
28927         * sysdeps/unix/sparc/sysdep.S: Likewise.
28928         * sysdeps/unix/sparc/sysdep.h: Likewise.
28929         * sysdeps/unix/start.c: Likewise.
28930         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28931         * sysdeps/x86_64/sysdep.h: Likewise.
28933 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28935         [BZ #13553]
28936         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28937         for non-gcc.
28938         * argp/argp-fmtstream.h: Use const instead __const.
28939         * argp/argp.h: Likewise.
28940         * assert/assert.h: Likewise.
28941         * bits/fenv.h: Likewise.
28942         * bits/sched.h: Likewise.
28943         * bits/sigset.h: Likewise.
28944         * bits/sigthread.h: Likewise.
28945         * catgets/nl_types.h: Likewise.
28946         * conform/data/pthread.h-data: Likewise.
28947         * crypt/crypt-private.h: Likewise.
28948         * crypt/crypt.h: Likewise.
28949         * crypt/crypt_util.c: Likewise.
28950         * ctype/ctype.h: Likewise.
28951         * debug/execinfo.h: Likewise.
28952         * debug/mbsnrtowcs_chk.c: Likewise.
28953         * debug/mbsrtowcs_chk.c: Likewise.
28954         * debug/wcsnrtombs_chk.c: Likewise.
28955         * debug/wcsrtombs_chk.c: Likewise.
28956         * debug/wcstombs_chk.c: Likewise.
28957         * dirent/dirent.h: Likewise.
28958         * dlfcn/dlfcn.h: Likewise.
28959         * elf/neededtest4.c: Likewise.
28960         * grp/grp.h: Likewise.
28961         * gshadow/gshadow.h: Likewise.
28962         * iconv/gconv.h: Likewise.
28963         * iconv/gconv_int.h: Likewise.
28964         * iconv/gconv_simple.c: Likewise.
28965         * iconv/iconv.h: Likewise.
28966         * iconv/loop.c: Likewise.
28967         * iconv/skeleton.c: Likewise.
28968         * include/aio.h: Likewise.
28969         * include/aliases.h: Likewise.
28970         * include/argz.h: Likewise.
28971         * include/arpa/inet.h: Likewise.
28972         * include/assert.h: Likewise.
28973         * include/dirent.h: Likewise.
28974         * include/dlfcn.h: Likewise.
28975         * include/execinfo.h: Likewise.
28976         * include/fcntl.h: Likewise.
28977         * include/fenv.h: Likewise.
28978         * include/glob.h: Likewise.
28979         * include/grp.h: Likewise.
28980         * include/libintl.h: Likewise.
28981         * include/mntent.h: Likewise.
28982         * include/netdb.h: Likewise.
28983         * include/pwd.h: Likewise.
28984         * include/rpc/netdb.h: Likewise.
28985         * include/sched.h: Likewise.
28986         * include/search.h: Likewise.
28987         * include/shadow.h: Likewise.
28988         * include/signal.h: Likewise.
28989         * include/stdio.h: Likewise.
28990         * include/stdlib.h: Likewise.
28991         * include/string.h: Likewise.
28992         * include/sys/socket.h: Likewise.
28993         * include/sys/stat.h: Likewise.
28994         * include/sys/statfs.h: Likewise.
28995         * include/sys/statvfs.h: Likewise.
28996         * include/sys/syslog.h: Likewise.
28997         * include/sys/time.h: Likewise.
28998         * include/sys/uio.h: Likewise.
28999         * include/time.h: Likewise.
29000         * include/unistd.h: Likewise.
29001         * include/utmp.h: Likewise.
29002         * include/wchar.h: Likewise.
29003         * include/wctype.h: Likewise.
29004         * inet/aliases.h: Likewise.
29005         * inet/arpa/inet.h: Likewise.
29006         * inet/netinet/ether.h: Likewise.
29007         * inet/netinet/in.h: Likewise.
29008         * intl/libintl.h: Likewise.
29009         * io/bits/fcntl2.h: Likewise.
29010         * io/fcntl.h: Likewise.
29011         * io/ftw.h: Likewise.
29012         * io/sys/poll.h: Likewise.
29013         * io/sys/stat.h: Likewise.
29014         * io/sys/statfs.h: Likewise.
29015         * io/sys/statvfs.h: Likewise.
29016         * io/utime.h: Likewise.
29017         * libio/bits/stdio.h: Likewise.
29018         * libio/bits/stdio2.h: Likewise.
29019         * libio/libio.h: Likewise.
29020         * libio/libioP.h: Likewise.
29021         * libio/stdio.h: Likewise.
29022         * locale/lc-ctype.c: Likewise.
29023         * locale/locale.h: Likewise.
29024         * login/utmp.h: Likewise.
29025         * malloc/arena.c: Likewise.
29026         * malloc/malloc.c: Likewise.
29027         * malloc/malloc.h: Likewise.
29028         * malloc/mcheck.c: Likewise.
29029         * malloc/mtrace.c: Likewise.
29030         * math/bits/mathcalls.h: Likewise.
29031         * math/fenv.h: Likewise.
29032         * math/math_private.h: Likewise.
29033         * misc/bits/error.h: Likewise.
29034         * misc/bits/syslog.h: Likewise.
29035         * misc/err.h: Likewise.
29036         * misc/error.h: Likewise.
29037         * misc/fstab.h: Likewise.
29038         * misc/mntent.h: Likewise.
29039         * misc/regexp.h: Likewise.
29040         * misc/search.h: Likewise.
29041         * misc/sgtty.h: Likewise.
29042         * misc/sys/mman.h: Likewise.
29043         * misc/sys/syslog.h: Likewise.
29044         * misc/sys/uio.h: Likewise.
29045         * misc/sys/xattr.h: Likewise.
29046         * misc/ttyent.h: Likewise.
29047         * nis/rpcsvc/ypclnt.h: Likewise.
29048         * nss/nss.h: Likewise.
29049         * posix/bits/unistd.h: Likewise.
29050         * posix/fnmatch.h: Likewise.
29051         * posix/glob.h: Likewise.
29052         * posix/sched.h: Likewise.
29053         * posix/spawn.h: Likewise.
29054         * posix/sys/wait.h: Likewise.
29055         * posix/unistd.h: Likewise.
29056         * posix/wordexp.h: Likewise.
29057         * pwd/pwd.h: Likewise.
29058         * resolv/netdb.h: Likewise.
29059         * resource/sys/resource.h: Likewise.
29060         * rt/aio.h: Likewise.
29061         * rt/bits/mqueue2.h: Likewise.
29062         * rt/mqueue.h: Likewise.
29063         * shadow/shadow.h: Likewise.
29064         * signal/signal.h: Likewise.
29065         * socket/send.c: Likewise.
29066         * socket/sendto.c: Likewise.
29067         * socket/sys/socket.h: Likewise.
29068         * stdio-common/printf.h: Likewise.
29069         * stdlib/bits/stdlib.h: Likewise.
29070         * stdlib/fmtmsg.h: Likewise.
29071         * stdlib/monetary.h: Likewise.
29072         * stdlib/stdlib.h: Likewise.
29073         * stdlib/ucontext.h: Likewise.
29074         * streams/stropts.h: Likewise.
29075         * string/argz.h: Likewise.
29076         * string/bits/string2.h: Likewise.
29077         * string/string.h: Likewise.
29078         * string/strings.h: Likewise.
29079         * sunrpc/rpc/auth.h: Likewise.
29080         * sunrpc/rpc/auth_des.h: Likewise.
29081         * sunrpc/rpc/clnt.h: Likewise.
29082         * sunrpc/rpc/netdb.h: Likewise.
29083         * sunrpc/rpc/pmap_clnt.h: Likewise.
29084         * sunrpc/rpc/xdr.h: Likewise.
29085         * sysdeps/generic/inttypes.h: Likewise.
29086         * sysdeps/generic/net/if.h: Likewise.
29087         * sysdeps/generic/sys/swap.h: Likewise.
29088         * sysdeps/gnu/net/if.h: Likewise.
29089         * sysdeps/gnu/utmpx.h: Likewise.
29090         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29091         * sysdeps/i386/i486/bits/string.h: Likewise.
29092         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29093         * sysdeps/s390/bits/string.h: Likewise.
29094         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29095         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29096         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29097         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29098         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29099         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29100         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29101         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29102         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29103         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29104         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29105         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29106         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29107         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29108         * sysdeps/unix/sysv/linux/readv.c: Likewise.
29109         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29110         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29112         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29113         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29114         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29115         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29116         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29117         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29118         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29119         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29120         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29121         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29122         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29123         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29124         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29125         * sysvipc/sys/ipc.h: Likewise.
29126         * sysvipc/sys/msg.h: Likewise.
29127         * sysvipc/sys/sem.h: Likewise.
29128         * sysvipc/sys/shm.h: Likewise.
29129         * termios/termios.h: Likewise.
29130         * time/sys/time.h: Likewise.
29131         * time/time.h: Likewise.
29132         * wcsmbs/bits/wchar2.h: Likewise.
29133         * wcsmbs/uchar.h: Likewise.
29134         * wcsmbs/wchar.h: Likewise.
29135         * wctype/wctype.h: Likewise.
29137         [BZ #13551]
29138         * Makeconfig: Remove all but ELF support including AIX support.
29139         * Makerules: Likewise.
29140         * config.h.in: Likewise.
29141         * config.make.in: Likewise.
29142         * configure: Likewise.
29143         * configure.in: Likewise.
29144         * csu/Makefile: Likewise.
29145         * csu/version.c: Likewise.
29146         * debug/Makefile: Likewise.
29147         * dlfcn/Makefile: Likewise.
29148         * elf/Makefile: Likewise.
29149         * extra-lib.mk: Likewise.
29150         * iconv/Makefile: Likewise.
29151         * include/libc-symbols.h: Likewise.
29152         * include/shlib-compat.h: Likewise.
29153         * resolv/Makefile: Likewise.
29154         * resolv/res_libc.c: Likewise.
29155         * rt/Makefile: Likewise.
29156         * sysdeps/i386/asm-syntax.h: Likewise.
29157         * sysdeps/i386/sysdep.h: Likewise.
29158         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29159         * sysdeps/mach/sysdep.h: Likewise.
29160         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29161         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29162         * sysdeps/s390/asm-syntax.h: Likewise.
29163         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29164         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29165         * sysdeps/sh/sysdep.h: Likewise.
29166         * sysdeps/unix/sparc/sysdep.h: Likewise.
29167         * sysdeps/wordsize-32/divdi3.c: Likewise.
29168         * sysdeps/x86_64/sysdep.h: Likewise.
29170         * argp/Versions: Remove _argp_unlock_xxx.
29172         [BZ #13559]
29173         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
29174         * abilist/libBrokenLocale.abilist: Likewise.
29175         * abilist/libanl.abilist: Likewise.
29176         * abilist/libc.abilist: Likewise.
29177         * abilist/libcrypt.abilist: Likewise.
29178         * abilist/libdl.abilist: Likewise.
29179         * abilist/libm.abilist: Likewise.
29180         * abilist/libnsl.abilist: Likewise.
29181         * abilist/libpthread.abilist: Likewise.
29182         * abilist/libresolv.abilist: Likewise.
29183         * abilist/librt.abilist: Likewise.
29184         * abilist/libthread_db.abilist: Likewise.
29185         * abilist/libutil.abilist: Likewise.
29186         * abilist/libnss_db.abilist: New file.
29188         * scripts/abilist.awk: Add support for indirect functions.
29190         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29192         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29194         * shlib-versions: Remove entries for ports architectures.
29196         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
29197         files in ports.
29198         * elf/stackguard-macros.h: Remove support for IA-64.
29199         * elf/tst-auditmod1.c: Likewise.
29200         * sysdeps/generic/ldsodefs.h: Likewise.
29202         * sysdeps/unix/sysv/linux/configure.in: Ports should define
29203         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29204         configure files.
29206         [BZ #13552]
29207         * configure.in: Remove --enable-omitfp support.
29208         * FAQ.in: Adjust.
29209         * config.make.in: Likewise.
29210         * Makeconfig: Likewise.
29211         * manual/install.texi: Likewise.
29213         In case anyone cares, the IA-64 architecture could move to ports.
29214         * sysdeps/ia64/*: Removed.
29215         * sysdeps/unix/sysv/linux/ia64/*: Removed.
29216         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29218         [BZ #13555]
29219         * configure.in: Remove entries for unsupported architectures.
29221         [BZ #13533]
29222         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29223         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
29224         routines.
29225         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29226         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29227         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
29228         fall back to using wcrtomb.
29229         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29230         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
29231         renaming.
29232         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29233         * wcsmbs/tst-c16c32-1.c: New file.
29235         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29236         local variable.
29238         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29240         * elf/tst-unique3.cc: Add explicit declaration of gets.
29241         * elf/tst-unique3lib.cc: Likewise.
29242         * elf/tst-unique3lib2.cc: Likewise.
29243         * elf/tst-unique4.cc: Likewise.
29245         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29247 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
29249         [BZ #13566]
29250         * assert/assert.h (static_assert): Don't define for C++.
29251         * libio/stdio.h (gets): Do declare for C++ <= C++11.
29252         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29254 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
29256         * iconv/loop.c (single loop): Fix assertion in storing of
29257         remaining bytes.
29259         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29261 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
29263         * posix/getconf.c: Update copyright year.
29264         * nss/getent.c: Likewise.
29265         * nss/makedb.c: Likewise.
29266         * iconv/iconvconfig.c: Likewise.
29267         * iconv/iconv_prog.c: Likewise.
29268         * elf/ldconfig.c: Likewise.
29269         * elf/pldd.c: Likewise.
29270         * elf/sotruss.ksh: Likewise.
29271         * catgets/gencat.c: Likewise.
29272         * csu/version.c: Likewise.
29273         * elf/ldd.bash.in: Likewise.
29274         * elf/sprof.c (print_version): Likewise.
29275         * locale/programs/locale.c: Likewise.
29276         * locale/programs/localedef.c: Likewise.
29277         * login/programs/pt_chown.c: Likewise.
29278         * nscd/nscd.c (print_version): Likewise.
29279         * debug/xtrace.sh: Likewise.
29280         * malloc/memusage.sh: Likewise.
29281         * malloc/mtrace.pl: Likewise.
29282         * debug/catchsegv.sh: Likewise.
29284 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
29286         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29287         pure attribute.
29289 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
29291         [BZ #13533]
29292         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29293         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29294         transformations.
29295         * iconv/gconv_int.h: Likewise.
29296         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29297         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29298         from libc for GLIBC_2.16.
29299         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29300         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29301         * wcsmbs/uchar.h: Really define mbstate_t.
29302         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29303         * wcsmbs/c16rtomb.c: New file.
29304         * wcsmbs/mbrtoc16.c: New file.
29305         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29306         for C/POSIX locale.
29307         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29308         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29310         * wcsmbs/wchar.h: Add missing __restrict.
29312 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29314         [BZ #13532]
29315         * time/Makefile (routines): Add timespec_get.
29316         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29317         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
29318         timespec for ISO C11.
29319         * time/timespec_get.c: New file.
29320         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29321         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29323         [BZ #13531]
29324         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29325         * stdlib/stdlib.h: Declare aligned_alloc.
29326         * Versions.def: Add GLIBC_2.16 for libc.
29327         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29329         [BZ 13527]
29330         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29331         ISO C11.
29333         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29334         code.
29336         [BZ #13528]
29337         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29339         [BZ #13529]
29340         * assert/assert.h (static_assert): Define.
29342         * version.h: Update for 2.16 development version.
29344         [BZ #13526]
29345         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29346         _ISOC11_SOURCE.
29348         * version.h (RELEASE): Bump for 2.15 release.
29349         * include/features.h (__GLIBC_MINOR__): Bump to 15.
29351         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29352         Patch by Marek Polacek <mpolacek@redhat.com>.
29354         * bits/byteswap.h: Protect long long constants with __extension__.
29355         * sysdeps/i386/bits/byteswap.h: Likewise.
29356         * sysdeps/ia64/bits/byteswap.h: Likewise.
29357         * sysdeps/s390/bits/byteswap.h: Likewise.
29358         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29360 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29362         [BZ #13540]
29363         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29364         destination buffer.
29365         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29367 2011-12-23  Marek Polacek  <polacek@redhat.com>
29369         * elf/dl-addr.c (determine_info): Add inline keyword.
29370         * elf/tst-auditmod4b.c (check_avx): Likewise.
29371         * elf/tst-auditmod6b.c (check_avx): Likewise.
29372         * elf/tst-auditmod6c.c (check_avx): Likewise.
29373         * elf/tst-auditmod7b.c (check_avx): Likewise.
29375 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
29377         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29378         !__SSE_MATH__.
29380 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29382         [BZ #13540]
29383         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29384         processing for last bytes.
29386 2011-08-06  Bruno Haible  <bruno@clisp.org>
29388         [BZ #13061]
29389         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29390         U+0385, not to U+1FEE.
29392         [BZ #13062]
29393         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29394         entry for U+00A5 U+0301.
29396 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29398         [BZ #13166]
29399         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29400         buffer for the output is too small.
29402         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29403         optimization.
29405         [BZ #13185]
29406         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29407         SSE flags if possible.
29409 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29411         [BZ #13540]
29412         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29413         processing for last bytes.
29415 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
29417         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29418         (syscall-list-default-options, syscall-list-default-condition)
29419         (syscall-list-includes): Define.
29420         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29421         list of ABIs and options and #if conditions for each ABI.  Do not
29422         handle common syscalls between ABIs specially.
29423         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29424         Remove.
29425         (syscall-list-variants, syscall-list-32bit-options)
29426         (syscall-list-32bit-condition, syscall-list-64bit-options)
29427         (syscall-list-64bit-condition): Define.
29428         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29429         (syscall-list-variants, syscall-list-32bit-options)
29430         (syscall-list-32bit-condition, syscall-list-64bit-options)
29431         (syscall-list-64bit-condition): Define.
29432         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29433         Remove.
29434         (syscall-list-variants, syscall-list-32bit-options)
29435         (syscall-list-32bit-condition, syscall-list-64bit-options)
29436         (syscall-list-64bit-condition): Define.
29437         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29438         Remove.
29439         (syscall-list-variants, syscall-list-32bit-options)
29440         (syscall-list-32bit-condition, syscall-list-64bit-options)
29441         (syscall-list-64bit-condition): Define.
29443 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29445         * locale/iso-639.def: Add brx entry.
29447         [BZ #13328]
29448         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29449         Proposed by Mariusz_Cukr <marcukr@op.pl>.
29451         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29452         __feraiseexcept_renamed.
29454 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29456         [BZ #13538]
29457         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29458         EPOLLET with unsigned values.
29459         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29460         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29462         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29463         to large cancellation.
29464         * math/s_cacoshf.c: Likewise.
29465         * math/s_cacoshl.c: Likewise.
29467 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
29469         [BZ #13305]
29470         [BZ #12786]
29471         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29472         * math/s_cacoshf.c: Likewise.
29473         * math/s_cacoshl.c: Likewise.
29475 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29477         [BZ #13439]
29478         * iconv/gconv.h: Define __GCONV_SWAP.
29479         * iconvdata/unicode.c: The swap bit must be stored in __flags.
29480         * iconvdata/utf-16.c: Likewise.
29481         * iconvdata/utf-32.c: Likewise.
29483 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29485         [BZ #13524]
29486         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29487         numerator after shifting it by one limb.
29489 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
29491         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29492         under [__USE_EXTERN_INLINES].
29494 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29496         [BZ #13446]
29497         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29499 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29501         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29502         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29503         optimized code.
29504         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29505         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29506         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29507         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29508         for strncasecmp/strncasecmp_l compilation.
29509         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29510         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29512 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
29514         [BZ #13484]
29515         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29516         of __asm__.
29518 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29520         [BZ #13506]
29521         * time/tzfile.c (__tzfile_read): Check values from file header.
29523 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29525         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29526         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29527         * powerpc/powerpc32/dl-start.S: Likewise.
29528         * powerpc/powerpc32/elf/start.S: Likewise.
29529         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29530         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29531         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29532         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29533         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29534         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29535         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29536         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29537         * powerpc/powerpc32/fpu/s_round.S: Likewise.
29538         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29539         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29540         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29541         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29542         * powerpc/powerpc32/memset.S: Likewise.
29543         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29544         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29545         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29546         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29547         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29548         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29549         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29550         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29551         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29552         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29553         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29554         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29555         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29557 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29559         * math/libm-test.inc: Added more nearbyint tests.
29560         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29561         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29562         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29563         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29565 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
29567         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29568         FD_CLOEXEC.
29570 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29572         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29573         Add wcscpy-ssse3 wcscpy-c.
29574         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29575         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29576         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29577         * sysdeps/x86_64/wcschr.S: New file.
29578         * sysdeps/x86_64/wcsrchr.S: New file.
29579         * string/test-strcmp.c: Remove checking of wcscmp function for
29580         wrong alignments.
29581         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29582         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29583         wcsrchr-sse2 wcsrchr-c.
29584         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29585         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29586         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29587         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29588         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29589         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29590         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29591         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29592         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29593         * wcsmbc/wcschr.c (WCSCHR): New macro.
29595 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29597         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29598         * wcsmbs/test-wcsrchr.c: New file.
29599         * string/test-strrchr.c: Add wcsrchr support.
29600         (WIDE): New macro.
29601         * wcsmbs/test-wcscpy.c: New file.
29602         * string/test-strcpy.c: Add wcscpy support.
29603         (WIDE): New macro.
29605 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
29607         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29608         the inner loop.
29610 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
29612         [BZ #13472]
29613         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29615 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
29617         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29618         Minor optimizations.
29620         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29621         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29622         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29624 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
29626         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29627         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29628         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29629         for gcc to avoid warnings.
29630         * inet/Makefile (tests): Add tst-checks.
29631         * inet/tst-checks.c: New file.
29633         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29634         warning.
29636         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29637         __wmemcmp_sse2.
29639         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29640         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29642         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29644 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
29646         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29647         problem.
29649         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29651 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
29653         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29654         conditional on GCC version.
29655         (__arch_compare_and_exchange_val_8_acq)
29656         (__arch_compare_and_exchange_val_16_acq)
29657         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29658         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29659         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29661 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
29663         * sysdeps/sh/backtrace.c: New file.
29665 2011-12-02  Andreas Schwab  <schwab@redhat.com>
29667         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
29668         parenthesis.
29670 2011-12-01  Andreas Schwab  <schwab@redhat.com>
29672         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29673         falling back to utime.
29675 2011-11-30  Andreas Schwab  <schwab@redhat.com>
29677         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29678         expectations for float.
29680 2011-11-29  Andreas Schwab  <schwab@redhat.com>
29682         * locale/weight.h (findidx): Add parameter len.
29683         * locale/weightwc.h (findidx): Likewise.
29684         * posix/fnmatch_loop.c (FCT): Adjust caller.
29685         * posix/regcomp.c (build_equiv_class): Likewise.
29686         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29687         * posix/regexec.c (check_node_accept_bytes): Likewise.
29688         * string/strcoll_l.c (STRCOLL): Likewise.
29689         * string/strxfrm_l.c (STRXFRM): Likewise.
29691 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
29693         * Makefile.in: Remove CVSOPT handling.
29694         * configure.in: Remove use of AC_REVISION.
29695         * iconvdata/Makefile (distribute): No need to filter out CVS.
29696         * scripts/list-sources.sh: Remove CVS, subversion and monotone
29697         handling.
29699 2011-11-16  Andreas Schwab  <schwab@redhat.com>
29701         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29702         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29703         [USE_AS_STRNCASECMP_L]: Likewise.
29704         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29705         NO_TLS_DIRECT_SEG_REFS.
29706         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29707         Fix argument offsets for non-PIC.
29708         [USE_AS_STRNCASECMP_L]: Likewise.
29709         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29710         NO_TLS_DIRECT_SEG_REFS.
29712 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29714         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29715         O_CLOEXEC.
29716         * locale/loadlocale.c (_nl_load_locale): Likewise.
29718 2011-11-15  Andreas Schwab  <schwab@redhat.com>
29720         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29721         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29722         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29723         (SYSCALL_GETTIME): Set errno on error.
29725         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29726         count references to noai6ai_cached.
29728 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29730         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29732         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29733         FD_CLOEXEC for /proc/self/maps.
29735         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29736         FD_CLOEXEC for /proc/meminfo.
29738         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29739         gai.conf.
29741         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
29742         FD_CLOEXEC for given file.
29744         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29746         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29747         FD_CLOEXEC for /etc/hosts.
29748         (_gethtent): Likewise.
29750         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29752         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29753         cancellation and set FD_CLOEXEC for /etc/netgroup.
29755         * nss/nss_files/files-key.c (search): Don't allow cancellation when
29756         reading /etc/publickey.
29758         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29759         allow cancellation when reading /etc/group.
29761         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29762         cancellation.
29763         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29765         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29766         when using data file.
29768         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29770         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29771         (write_nis_obj): Use "c" and "e" in fopen.
29773         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29775         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29777         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29779         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29781         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29782         locale.alias.
29784         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29786         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29788         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29790         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29791         file parsing and set FD_CLOEXEC.
29793 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29795         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29797 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29799         * malloc/arena.c (arena_get2): Don't call reused_arena when
29800         _int_new_arena failed.
29802 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29804         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29805         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29806         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29807         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29808         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29809         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29810         to compile strcasecmp and strncasecmp.
29811         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29812         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29814         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29816 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29818         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29819         locale-defines.sym to gen-as-const-headers.
29820         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29821         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29822         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29823         to compile strcasecmp and strncasecmp.
29824         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29825         strcasecmp_l and strncasecmp_l.
29826         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29827         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29828         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29829         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29830         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29831         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29832         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29833         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29834         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29835         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29836         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29838 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29840         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29841         result of SYSDEP_GETTIME_CPU to retval.
29842         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29843         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29845         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29846         variable.
29848         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29849         mantissa words.
29850         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29852         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29853         from unused variable.
29855         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29856         DWARF definitions.
29857         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29858         for assembling.
29860         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29861         over namespaces.
29863         * sunrpc/rpc_prot.c (rejected): Fix case value.
29865         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29866         unsigned long long int to avoid warnings in shift.
29868         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29869         of use of trans.
29870         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29871         variable tmp.
29873         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29874         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29875         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29877         * nis/nis_table.c (nis_list): Use variable of correct type for
29878         result of __follow_path call.
29880 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29882         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29883         of math functions ceil, trunc, floor, round, and sqrt, when
29884         avaliable on the platform.
29885         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29886         name clash.
29887         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29888         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29889         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29891 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29893         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29894         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29896 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29898         * include/unistd.h: Fix __readlink return type.
29899         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29901 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29903         * stdlib/ucontext.h: Undo last change for makecontext.
29905 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29907         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29909         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29910         * setjmp/setjmp.h: Mark functions as non-leaf.
29911         * setjmp/bits/setjmp2.h: Likewise.
29912         * stdlib/ucontext.h: Likewise.
29914 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29916         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29917         (reused_arena): Don't check arena limit.
29918         (arena_get2): Atomically check arena limit.
29920 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29922         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29923         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29925         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29926         instructions.
29928 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29930         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29931         handler when locking.
29933         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29934         Fix size of allocated buffer.
29936 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29938         [BZ #10103]
29939         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29940         declarations for long double functions.
29941         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29943         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29945 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29947         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29948         installed.
29950         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29951         is disabled.
29953 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29955         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29957 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29959         * include/alloca.h (stackinfo_alloca_round): Define.
29960         (extend_alloca): Use it.
29961         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29962         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29963         here.
29965         * scripts/check-local-headers.sh: Ignore libaudit.h.
29967         * nscd/Makefile (extra-objs): Make recursively expanded.
29969 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29971         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29972         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29974         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29975         * posix/tst-rfc3484-2.c: Likewise.
29976         * posix/tst-rfc3484-3.c: Likewise.
29978         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29979         process_vm_writev.
29980         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29981         process_vm_writev.
29982         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29983         process_vm_writev from libc using GLIBC_2.15 version.
29985         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29987 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29989         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29990         stack usage.
29992 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29994         [BZ #13367]
29995         * nss/getent.c (initgroups_keys): Show error message in case no group
29996         names are given.
29998         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29999         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30000         __bump_nl_timestamp.
30001         * nscd/connections (nscd_init): When host database is served open
30002         netlink socket and request notification about configuration changes.
30003         (main_loop_poll): Track netlink file descriptor and bump timestamp
30004         in case data becomes available.
30005         (main_loop_epoll): Likewise.
30006         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30007         (database_pers_head): Add extra_data fileds.
30008         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30009         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30010         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30011         Adjust caller.
30012         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30013         in6ai data, call __free_in6ai.
30014         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30015         Add -DHAVE_NETLINK.
30016         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
30017         interface information.  Reuse previous data if netlink timestamp
30018         is not changed.
30019         (__bump_nl_timestamp): New function.
30020         (__free_in6ai): New function.
30022 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
30024         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30025         close_not_cancel_no_status here.
30026         (__check_pf): Reorganize code a bit to not call close twice if OOM.
30028 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30030         [BZ #13276]
30031         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30032         return value.
30034         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30035         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30036         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30038 2011-07-03  Andreas Jaeger  <aj@suse.de>
30040         [BZ #10709]
30041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30042         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30043         * math/libm-test.inc (sin_test): Add test case.
30045 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30047         [BZ #13337]
30048         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30049         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30051         * elf/chroot_canon.c (chroot_canon): Cleanups.
30053         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30055         [BZ #13335]
30056         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30057         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30059         * string/test-strchr.c: Make usable for strchrnul testing.
30060         * string/test-strchrnul.c: New file.
30061         * string/Makefile (strop-tests): Add strchrnul.
30063         * po/it.po: Update from translation team.
30064         * po/es.po: Likewise.
30066 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
30068         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30069         the three constants needed as parameters.  Drop the others.
30070         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30071         __m128i_strloadu_tolower.
30072         Create and initialize variable zero and use it in all the places
30073         where _mm_setzero_si128 was used.
30075         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30076         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30077         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30078         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30079         anymore.
30080         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30081         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30082         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30083         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30084         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30085         __mpranred, __mptan.
30086         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30087         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30088         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30089         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30090         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30091         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30092         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30093         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30094         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30096 2011-10-28  Andreas Schwab  <schwab@redhat.com>
30098         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30099         redefine if SHARED.
30100         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30102         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30103         wide char related routines to wcsmbs subdir.
30105 2011-10-27  Andreas Schwab  <schwab@redhat.com>
30107         [BZ #13344]
30108         * misc/sys/cdefs.h (__THROWNL): Define.
30109         * posix/unistd.h: Use __THREADNL instead of __THREAD
30110         for memory synchronization functions.
30112 2011-10-26  Roland McGrath  <roland@hack.frob.com>
30114         [BZ #13349]
30115         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30116         doesn't exist.
30117         * manual/stdio.texi (Obstack Streams): Node removed.
30119 2011-10-26  Andreas Schwab  <schwab@redhat.com>
30121         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30122         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30123         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30125         * math/math_private.h (math_force_eval): Allow non-addressable
30126         arguments.
30127         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30129 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30131         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30132         file is not needed.
30134         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30135         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30136         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30137         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30138         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30139         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30140         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30141         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30142         Add AVX variants.
30143         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30144         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30145         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30146         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30147         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30148         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30149         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30150         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30151         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30152         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30153         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30154         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30155         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30156         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30157         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30158         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30159         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30160         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30161         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30163         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30164         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
30166         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30167         place.  Use VEX encoding when compiling for AVX.
30169 2011-10-25  Andreas Schwab  <schwab@redhat.com>
30171         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30172         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30174         * string/test-strchr.c (do_test): Don't generate NUL bytes.
30176 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30178         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30179         useless if() expression.
30180         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30181         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30182         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30183         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30184         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30185         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30186         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30187         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30188         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30189         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30190         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30191         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30192         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30193         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30194         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30195         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30196         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30197         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30198         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30200         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30202 2011-10-25  Andreas Schwab  <schwab@redhat.com>
30204         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30205         condition.
30206         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30208 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
30210         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30211         .text section.  Avoid duplicate constants.
30212         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30214         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30216         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30217         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30218         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30219         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30220         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30221         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30222         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30223         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30224         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30225         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30226         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30227         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30228         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30229         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30230         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30231         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30232         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30233         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30234         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30235         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30236         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30237         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30238         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30239         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30240         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30241         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30242         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30243         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30244         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30245         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30246         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30247         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30248         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30249         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30250         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30251         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30252         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30253         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30254         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30255         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30256         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30258 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
30260         * sysdeps/x86_64/dla.h: Move to ...
30261         * sysdeps/x86_64/fpu/dla.h: ...here.
30262         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30263         situations.  Use __builtin_fma only for gcc 4.6 and up.
30265         * config.make.in: Add have-mfma4 entry.
30266         * configure.in: Substitute libc_cv_cc_fma4.
30267         * math/Makefile (dbl-only-routines): Add sincostab.
30268         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30269         Use __sincostab not sincos.
30270         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30271         name is a macro.
30272         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30274         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30275         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
30276         using __copysign.
30277         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
30278         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
30279         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30280         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30281         and __inv.
30282         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30283         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30284         __copysign.
30285         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
30286         define aliases when function name is a macro.
30287         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30288         sysdeps/ieee754/dbl-64/sincos.tbl.
30289         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30290         fma4-enabled routines.
30291         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30292         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30293         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30294         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30295         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30296         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30297         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30298         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30299         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30300         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30301         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30302         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30303         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30304         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30305         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30306         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30307         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30308         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30309         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30310         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30311         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30312         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30313         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30314         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30315         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30316         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30317         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30318         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30319         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30320         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30322         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30323         rename.
30324         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30325         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30326         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30327         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30328         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30329         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30330         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30331         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30333 2011-10-24  Andreas Schwab  <schwab@redhat.com>
30335         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30337 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30339         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30341         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30342         prediction.
30343         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30345         * string/strnlen.c: Don't define STRNLEN, reverse logic.
30346         Remove unused variable magic_bits.
30347         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30349         * string/strnlen.c: Define and use STRNLEN macro.
30350         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30351         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30352         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30353         * wcsmbs/wcslen.c: Define and use WCSLEN.
30354         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30355         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30356         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30357         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30358         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30359         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30360         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30362 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30365         strnlen-sse2-no-bsf.
30366         Rename strlen-no-bsf to strlen-sse2-no-bsf.
30367         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30368         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30369         Add strnlen support.
30370         (USE_AS_STRNLEN): New macro.
30371         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30372         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30373         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30374         * sysdeps/x86_64/wcslen.S: New file.
30376 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
30378         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30379         XMM-moves are used for copying on small sizes.
30381 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30383         * wcsmbs/Makefile (strop-tests): Add wcschr.
30384         * wcsmbs/test-wcschr.c: New file.
30385         * string/test-strchr.c: Update.
30386         Add wcschr support.
30387         (WIDE): New macro.
30389 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30391         * wcsmbs/Makefile (strop-tests): Add wcslen.
30392         * wcsmbs/test-wcslen.c: New file.
30393         * string/test-strlen.c: Update.
30394         Add wcslen support.
30395         (WIDE): New macro.
30397 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30399         * po/it.po: Update from translation team.
30401 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30403         * sysdeps/x86_64/wcscmp.S: Update.
30404         Fix wrong comparison semantics.
30405         wcscmp shall use signed comparison not unsigned.
30406         Don't use substraction to avoid overflow bug.
30407         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30408         * wcsmbc/wcscmp.c: Likewise.
30409         * string/test-strcmp.c: Likewise.
30410         Add new tests to check cases with negative values.
30412 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
30414         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30415         * sysdeps/x86_64/dla.h: ...here.  New file.
30416         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30417         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30418         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30419         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30420         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30421         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30422         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30423         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30424         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30426 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
30428         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30429         __ynl_finite aliases.
30431 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30435         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30436         define DLA_FMA.
30437         [DLA_FMA] (EMULV): Use DLA_FMA.
30438         [DLA_FMA] (MUL12): Use EMULV.
30439         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30440         that are not needed.
30441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30442         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30443         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30444         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30446         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30449 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
30451         * math/s_nan.c: Undef __nan.
30452         * math/s_nanf.c: Undef __nanf.
30453         * math/s_nanl.c: Undef __nanl.
30454         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30455         "math_private.h".
30457 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30459         * math/s_catan.c: Add branch predictions.
30460         * math/s_catanf.c: Likewise.
30461         * math/s_catanh.c: Likewise.
30462         * math/s_catanhf.c: Likewise.
30463         * math/s_catanhl.c: Likewise.
30464         * math/s_catanl.c: Likewise.
30465         * math/s_cexp.c: Likewise.
30466         * math/s_cexpf.c: Likewise.
30467         * math/s_cexpl.c: Likewise.
30468         * math/s_clog.c: Likewise.
30469         * math/s_clog10.c: Likewise.
30470         * math/s_clog10f.c: Likewise.
30471         * math/s_clog10l.c: Likewise.
30472         * math/s_clogf.c: Likewise.
30473         * math/s_clogl.c: Likewise.
30474         * math/s_csqrt.c: Likewise.
30475         * math/s_csqrtf.c: Likewise.
30476         * math/s_csqrtl.c: Likewise.
30477         * math/s_ctanf.c: Likewise.
30478         * math/s_ctanh.c: Likewise.
30479         * math/s_ctanhf.c: Likewise.
30480         * math/s_ctanhl.c: Likewise.
30481         * math/s_ctanl.c: Likewise.
30483         * math/math_private.h: Define __nan, __nanf, __nanl.
30484         * math/s_cacosh.c: Include <math_private.h>.
30485         * math/s_cacoshl.c: Likewise.
30486         * math/s_casinh.c: Likewise.
30487         * math/s_casinhf.c: Likewise.
30488         * math/s_casinhl.c: Likewise.
30489         * math/s_ccos.c: Rely entire on ccosh.
30490         * math/s_ccosf.c: Rely entire on ccoshf.
30491         * math/s_ccosl.c: Rely entirely on ccoshl.
30492         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
30493         Remove tests for FE_INVALID.
30494         * math/s_ccoshf.c: Likewise.
30495         * math/s_ccoshl.c: Likewise.
30496         * math/s_csin.c: Likewise.
30497         * math/s_csinf.c: Likewise.
30498         * math/s_csinh.c Likewise.
30499         * math/s_csinhf.c: Likewise.
30500         * math/s_csinhl.c: Likewise.
30501         * math/s_csinl.c: Likewise.
30502         * math/s_ctan.c: Likewise.
30503         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30504         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30505         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30507 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
30509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30510         compilation problems.
30512         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30513         __builtin_expect.
30515 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
30517         * sysdeps/i386/configure.in: Test for -mfma4 option.
30518         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30519         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30520         COMMON_CPUID_INDEX_80000001.
30521         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30522         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30523         use it if FMA3 is not supported.
30524         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30526         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30527         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30529 2011-10-20  Andreas Schwab  <schwab@redhat.com>
30531         [BZ #12892]
30532         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30533         it would create a cycle with a link time dependency.
30535 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
30537         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30538         instruction.
30539         * string/Makefile (strop-tests): Add rawmemchr.
30540         * string/test-rawmemchr.c: New file.
30542         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30543         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
30544         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
30545         when compiling str{,n}casecmp and when AVX is available.  Hook up
30546         new optimized code in initializers.
30548 2011-10-19  Andreas Schwab  <schwab@redhat.com>
30550         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30551         __feraiseexcept instead of feraiseexcept.
30553 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
30555         * math/math_private.h: Define defaults for libc_fetestexcept and
30556         libc_feupdateenv.
30557         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30558         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30559         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30560         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30561         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30562         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30563         libc_fetestexcept and libc_feupdateenv.
30565         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30566         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30567         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30568         * sysdeps/x86_64/fpu/math_private.h: Define special version of
30569         libc_feholdexcept_setround.
30571         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30572         Add s_nearbyint-c and s_nearbyintf-c.
30573         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30574         nearbyintf inlines.
30575         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30576         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30577         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30578         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30580         * math/math_private.h: Define defaults for libc_fegetround,
30581         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30582         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30583         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30584         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30585         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30586         standard functions.
30587         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30588         Remove comments and hacks for old compiler versions.
30589         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30590         libc_fegetround, libc_fesetround, libc_feholdexcept, and
30591         libc_feholdexceptl.
30593 2011-10-18  Andreas Schwab  <schwab@redhat.com>
30595         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30596         (__feraiseexcept_renamed): Add __NTH.
30597         (feraiseexcept): Add __NTH.  Rename local variables to fix
30598         namespace violations.
30600 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
30602         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30604         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30606         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30607         recently added interfaces.
30608         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30610         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30611         about macro parameter expansion.
30613         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30614         __NO_MATH_INLINES is defined.  Cleanups.
30616         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30617         and __floorf is target has SSE4.1.
30618         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30619         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30620         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30621         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30623         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30624         name.
30625         (floorf): Likewise.
30627         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30629 2011-10-17  Andreas Schwab  <schwab@redhat.com>
30631         * misc/sys/cdefs.h: Fix last change.
30633         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30634         database lookup.
30636 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
30638         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30640         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30641         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30642         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30643         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30644         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30645         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30646         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30647         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30648         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30649         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30650         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30651         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30652         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30653         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30654         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30655         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30656         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30657         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30658         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30659         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30660         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30661         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30663         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30664         ceil, ceilf, floor, floorf.
30666         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30667         Perform IRELATIVE relocations last.
30669         * elf/do-rel.h: Add another parameter nrelative, replacing the
30670         local variable with the same name.  Change name of the function
30671         to end in Rel or Rela (uppercase).
30672         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30673         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
30674         elf_dynamic_do_##reloc function.
30676 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30678         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30679         is sufficient, at least on modern CPUs.
30681         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30683         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30684         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30686         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30687         __expl_finite.
30688         * math/bits/math-finite.h: Add entries for exp.
30689         * math/e_expl.c: Add __*_finite alias.
30690         * sysdeps/i386/fpu/e_exp.S: Likewise.
30691         * sysdeps/i386/fpu/e_expf.S: Likewise.
30692         * sysdeps/i386/fpu/e_expl.c: Likewise.
30693         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30694         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30695         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30697         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30698         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30699         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30701         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30702         is sufficient, at least on modern CPUs.
30704         * ctype/ctype-info.c (__ctype_init): Define.
30705         * include/ctype.h (__ctype_init): Declare.
30706         (__ctype_b_loc): The variable is always initialized.
30707         (__ctype_toupper_loc): Likewise.
30708         (__ctype_tolower_loc): Likewise.
30709         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30710         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30712 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
30714         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30716         * configure.in: Also look in $cxxmachine/include for C++ system
30717         headers.
30719 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30721         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30722         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30723         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30724         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
30725         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30726         (USE_AS_WMEMCMP): New macro.
30727         Fixing indents.
30728         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30729         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30730         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30731         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30732         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30733         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30734         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30735         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30736         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30737         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30738         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30739         (USE_AS_WMEMCMP): New macro.
30740         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30741         * sysdeps/string/test-memcmp.c: Update.
30742         Fix simple_wmemcmp.
30743         Add new tests.
30744         * wcsmbs/wmemcmp.c: Update.
30745         (WMEMCMP): New macro.
30746         Fix overflow bug.
30748 2011-10-12  Andreas Jaeger  <aj@suse.de>
30750         [BZ #13268]
30751         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30753 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30755         * libio/iofwide.c (do_length): Avoid warning.
30757         * ctype/ctype.h (__isctype_f): Add missing __THROW.
30759 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30761         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30763         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30764         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30765         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30766         * sysdeps/i386/i686/fpu/e_log.S: New file.
30767         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30768         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30770         * ctype/ctype.h: Add support for inlined isXXX functions when
30771         compiling C++ code.
30773 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30775         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30777         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30779 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30781         [BZ #13291]
30782         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30784 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30786         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30787         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30788         feraiseexcept.
30790         * sysdeps/x86_64/memrchr.S: Check for zero size.
30792         * string/stratcliff.c: Add memrchr tests.
30794 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30797         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30798         rawmemchr-sse2 rawmemchr-sse2-bsf.
30799         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30800         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30801         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30802         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30803         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30804         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30805         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30806         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30807         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30808         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30809         * string/memrchr.c (MEMRCHR): New macro.
30811 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30813         Add integration with gcc's -ffinite-math-only and optimize wrapper
30814         functions in libm.
30815         * Versions.def: Define GLIBC_2.15 version for libm.
30816         * math/Makefile (headers): Add bits/math-finite.h.
30817         * math/bits/math-finite.h: New file.
30818         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30819         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30820         * math/e_acoshl.c: Add __*_finite alias.
30821         * math/e_acosl.c: Likewise.
30822         * math/e_asinl.c: Likewise.
30823         * math/e_atan2l.c: Likewise.
30824         * math/e_atanhl.c: Likewise.
30825         * math/e_coshl.c: Likewise.
30826         * math/e_exp10.c: Likewise.
30827         * math/e_exp10f.c: Likewise.
30828         * math/e_exp10l.c: Likewise.
30829         * math/e_exp2l.c: Likewise.
30830         * math/e_fmodl.c: Likewise.
30831         * math/e_gammal_r.c: Likewise.
30832         * math/e_hypotl.c: Likewise.
30833         * math/e_j0l.c: Likewise.
30834         * math/e_j1l.c: Likewise.
30835         * math/e_jnl.c: Likewise.
30836         * math/e_lgammal_r.c: Likewise.
30837         * math/e_log10l.c: Likewise.
30838         * math/e_log2l.c: Likewise.
30839         * math/e_logl.c: Likewise.
30840         * math/e_powl.c: Likewise.
30841         * math/e_sinhl.c: Likewise.
30842         * math/e_sqrtl.c: Likewise.
30843         * math/e_scalb.c: Completely rewritten and optimized.
30844         * math/e_scalbf.c: Likewise.
30845         * math/e_scalbl.c: Likewise.
30846         * math/w_acos.c: Likewise.
30847         * math/w_acosf.c: Likewise.
30848         * math/w_acosl.c: Likewise.
30849         * math/w_acosh.c: Likewise.
30850         * math/w_acoshf.c: Likewise.
30851         * math/w_acoshl.c: Likewise.
30852         * math/w_asin.c: Likewise.
30853         * math/w_asinf.c: Likewise.
30854         * math/w_asinl.c: Likewise.
30855         * math/w_atan2.c: Likewise.
30856         * math/w_atan2f.c: Likewise.
30857         * math/w_atan2l.c: Likewise.
30858         * math/w_atanh.c: Likewise.
30859         * math/w_atanhf.c: Likewise.
30860         * math/w_atanhl.c: Likewise.
30861         * math/w_exp10.c: Likewise.
30862         * math/w_exp10f.c: Likewise.
30863         * math/w_exp10l.c: Likewise.
30864         * math/w_fmod.c: Likewise.
30865         * math/w_fmodf.c: Likewise.
30866         * math/w_fmodl.c: Likewise.
30867         * math/w_j0.c: Likewise.
30868         * math/w_j0f.c: Likewise.
30869         * math/w_j0l.c: Likewise.
30870         * math/w_j1.c: Likewise.
30871         * math/w_j1f.c: Likewise.
30872         * math/w_j1l.c: Likewise.
30873         * math/w_jn.c: Likewise.
30874         * math/w_jnf.c: Likewise.
30875         * math/w_log.c: Likewise.
30876         * math/w_logf.c: Likewise.
30877         * math/w_logl.c: Likewise.
30878         * math/w_log10.c: Likewise.
30879         * math/w_log10f.c: Likewise.
30880         * math/w_log10l.c: Likewise.
30881         * math/w_log2.c: Likewise.
30882         * math/w_log2f.c: Likewise.
30883         * math/w_log2l.c: Likewise.
30884         * math/w_pow.c: Likewise.
30885         * math/w_powf.c: Likewise.
30886         * math/w_powl.c: Likewise.
30887         * math/w_remainder.c: Likewise.
30888         * math/w_remainderf.c: Likewise.
30889         * math/w_remainderl.c: Likewise.
30890         * math/w_scalb.c: Likewise.
30891         * math/w_scalbf.c: Likewise.
30892         * math/w_scalbl.c: Likewise.
30893         * math/w_sqrt.c: Likewise.
30894         * math/w_sqrtf.c: Likewise.
30895         * math/w_sqrtl.c: Likewise.
30896         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30897         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30898         used.
30899         * math/math_private.h: Declare __kernel_standard_f.
30900         * math/w_cosh.c: Remove cruft and optimize a bit.
30901         * math/w_coshf.c: Likewise.
30902         * math/w_coshl.c: Likewise.
30903         * math/w_exp2.c: Likewise.
30904         * math/w_exp2f.c: Likewise.
30905         * math/w_exp2l.c: Likewise.
30906         * math/w_hypot.c: Likewise.
30907         * math/w_hypotf.c: Likewise.
30908         * math/w_hypotl.c: Likewise.
30909         * math/w_lgamma.c: Likewise.
30910         * math/w_lgamma_r.c: Likewise.
30911         * math/w_lgammaf.c: Likewise.
30912         * math/w_lgammaf_r.c: Likewise.
30913         * math/w_lgammal.c: Likewise.
30914         * math/w_lgammal_r.c: Likewise.
30915         * math/w_sinh.c: Likewise.
30916         * math/w_sinhf.c: Likewise.
30917         * math/w_sinhl.c: Likewise.
30918         * math/w_tgamma.c: Likewise.
30919         * math/w_tgammaf.c: Likewise.
30920         * math/w_tgammal.c: Likewise.
30921         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30922         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30923         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30924         Minor optimizations.  Pretty printing.  Remove cruft.
30925         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30926         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30927         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30928         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30929         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30930         * sysdeps/i386/fpu/e_asin.S: Likewise.
30931         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30932         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30933         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30934         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30935         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30936         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30937         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30938         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30939         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30940         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30941         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30942         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30943         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30944         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30945         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30946         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30947         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30948         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30949         * sysdeps/i386/fpu/e_log.S: Likewise.
30950         * sysdeps/i386/fpu/e_log10.S: Likewise.
30951         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30952         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30953         * sysdeps/i386/fpu/e_log2.S: Likewise.
30954         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30955         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30956         * sysdeps/i386/fpu/e_logf.S: Likewise.
30957         * sysdeps/i386/fpu/e_logl.S: Likewise.
30958         * sysdeps/i386/fpu/e_pow.S: Likewise.
30959         * sysdeps/i386/fpu/e_powf.S: Likewise.
30960         * sysdeps/i386/fpu/e_powl.S: Likewise.
30961         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30962         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30963         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30964         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30965         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30966         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30967         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30968         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30969         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30970         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30971         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30973         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30974         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30975         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30976         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30977         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30978         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30979         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30980         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30981         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30982         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30983         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30984         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30985         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30986         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30987         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30988         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30989         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30990         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30991         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30992         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30993         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30994         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30995         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30996         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30997         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30998         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30999         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31000         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31001         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31002         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31003         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31004         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31005         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31006         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31007         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31008         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31009         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31010         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31011         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31012         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31013         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31014         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31015         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31016         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31017         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31018         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31019         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31020         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31021         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31022         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31023         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31024         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31025         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31026         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31027         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31028         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31029         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31030         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31031         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31032         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31033         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31034         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31035         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31036         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31037         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31038         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31039         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31040         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31041         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31042         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31043         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31044         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31045         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31046         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31047         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31048         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31049         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31050         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31051         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31052         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31053         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31054         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31055         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31056         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31057         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31058         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31059         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31060         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31061         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31062         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31063         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31064         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31065         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31066         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31067         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31068         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31069         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31070         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31071         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31072         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31073         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31074         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31075         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31076         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31077         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31078         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31079         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31080         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
31081         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31082         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31083         (__isnanf): Likewise.
31084         (__isinf_ns): Likewise.
31085         (__isinf_nsf): Likewise.
31086         (__finite): Likewise.
31087         (__finitef): Likewise.
31088         (__ieee754_sqrt): Define as macro.
31089         (__ieee754_sqrtf): Define as macro.
31090         (__ieee754_sqrtl): Define as macro.
31091         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31092         inlined copy.
31093         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31094         __FINITE_MATH_ONLY__ consistent.
31095         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31097 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
31099         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31100         of rawmemchr.
31102         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31104 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
31106         * po/ja.po: Update from translation team.
31108 2011-10-08  Roland McGrath  <roland@hack.frob.com>
31110         * locale/programs/locarchive.c (prepare_address_space): New function.
31111         (create_archive, enlarge_archive, open_archive): Use it.
31113         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31114         inside [SHARED], where it is used.
31116         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31118         * nss/getent.c (netgroup_keys): Remove unused variable.
31119         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31121 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
31123         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31124         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31125         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31126         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31127         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31128         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31129         * math/Makefile (libm-calls): Add s_isinf_ns.
31130         * math/divtc3.c: Use __isinf_nsl instead of isinf.
31131         * math/multc3.c: Likewise.
31132         * math/s_casin.c: Likewise.
31133         * math/s_casinf.c: Likewise.
31134         * math/s_casinl.c: Likewise.
31135         * math/s_ccos.c: Likewise.
31136         * math/s_ccosf.c: Likewise.
31137         * math/s_ccosl.c: Likewise.
31138         * math/s_ctan.c: Likewise.
31139         * math/s_ctanf.c: Likewise.
31140         * math/s_ctanh.c: Likewise.
31141         * math/s_ctanhf.c: Likewise.
31142         * math/s_ctanhl.c: Likewise.
31143         * math/s_ctanl.c: Likewise.
31144         * math/w_fmod.c: Likewise.
31145         * math/w_fmodf.c: Likewise.
31146         * math/w_fmodl.c: Likewise.
31147         * math/w_remainder.c: Likewise.
31148         * math/w_remainderf.c: Likewise.
31149         * math/w_remainderl.c: Likewise.
31150         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31151         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31152         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31153         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31154         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31155         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31156         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31157         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31159         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31160         of the number.
31161         * stdio-common/printf_fphex.c: Likewise.
31162         * stdio-common/printf_size.c: Likewise.
31164         * math/e_exp10.c: Include math_private.h using <...> not "...".
31165         * math/e_exp10f.c: Likewise.
31166         * math/e_exp10l.c: Likewise.
31167         * math/e_exp2l.c: Likewise.
31168         * math/e_j0l.c: Likewise.
31169         * math/e_j1l.c: Likewise.
31170         * math/e_jnl.c: Likewise.
31171         * math/e_lgammal_r.c: Likewise.
31172         * math/e_rem_pio2l.c: Likewise.
31173         * math/e_scalb.c: Likewise.
31174         * math/e_scalbf.c: Likewise.
31175         * math/e_scalbl.c: Likewise.
31176         * math/k_cosl.c: Likewise.
31177         * math/k_sinl.c: Likewise.
31178         * math/k_tanl.c: Likewise.
31179         * math/s_cacoshf.c: Likewise.
31180         * math/s_catan.c: Likewise.
31181         * math/s_catanf.c: Likewise.
31182         * math/s_catanh.c: Likewise.
31183         * math/s_catanhf.c: Likewise.
31184         * math/s_catanhl.c: Likewise.
31185         * math/s_catanl.c: Likewise.
31186         * math/s_ccosh.c: Likewise.
31187         * math/s_ccoshf.c: Likewise.
31188         * math/s_ccoshl.c: Likewise.
31189         * math/s_cexp.c: Likewise.
31190         * math/s_cexpf.c: Likewise.
31191         * math/s_cexpl.c: Likewise.
31192         * math/s_clog.c: Likewise.
31193         * math/s_clog10.c: Likewise.
31194         * math/s_clog10f.c: Likewise.
31195         * math/s_clog10l.c: Likewise.
31196         * math/s_clogf.c: Likewise.
31197         * math/s_clogl.c: Likewise.
31198         * math/s_csin.c: Likewise.
31199         * math/s_csinf.c: Likewise.
31200         * math/s_csinh.c: Likewise.
31201         * math/s_csinhf.c: Likewise.
31202         * math/s_csinhl.c: Likewise.
31203         * math/s_csinl.c: Likewise.
31204         * math/s_csqrt.c: Likewise.
31205         * math/s_csqrtf.c: Likewise.
31206         * math/s_csqrtl.c: Likewise.
31207         * math/s_ctan.c: Likewise.
31208         * math/s_ctanf.c: Likewise.
31209         * math/s_ctanh.c: Likewise.
31210         * math/s_ctanhf.c: Likewise.
31211         * math/s_ctanhl.c: Likewise.
31212         * math/s_ctanl.c: Likewise.
31213         * math/s_ldexp.c: Likewise.
31214         * math/s_ldexpf.c: Likewise.
31215         * math/s_ldexpl.c: Likewise.
31216         * math/s_significand.c: Likewise.
31217         * math/s_significandf.c: Likewise.
31218         * math/s_significandl.c: Likewise.
31219         * math/w_acos.c: Likewise.
31220         * math/w_acosf.c: Likewise.
31221         * math/w_acosh.c: Likewise.
31222         * math/w_acoshf.c: Likewise.
31223         * math/w_acoshl.c: Likewise.
31224         * math/w_acosl.c: Likewise.
31225         * math/w_asin.c: Likewise.
31226         * math/w_asinf.c: Likewise.
31227         * math/w_asinl.c: Likewise.
31228         * math/w_atan2.c: Likewise.
31229         * math/w_atan2f.c: Likewise.
31230         * math/w_atan2l.c: Likewise.
31231         * math/w_atanh.c: Likewise.
31232         * math/w_atanhf.c: Likewise.
31233         * math/w_atanhl.c: Likewise.
31234         * math/w_cosh.c: Likewise.
31235         * math/w_coshf.c: Likewise.
31236         * math/w_coshl.c: Likewise.
31237         * math/w_dremf.c: Likewise.
31238         * math/w_exp10.c: Likewise.
31239         * math/w_exp10f.c: Likewise.
31240         * math/w_exp10l.c: Likewise.
31241         * math/w_exp2.c: Likewise.
31242         * math/w_exp2f.c: Likewise.
31243         * math/w_fmod.c: Likewise.
31244         * math/w_fmodf.c: Likewise.
31245         * math/w_fmodl.c: Likewise.
31246         * math/w_hypot.c: Likewise.
31247         * math/w_hypotf.c: Likewise.
31248         * math/w_hypotl.c: Likewise.
31249         * math/w_j0.c: Likewise.
31250         * math/w_j0f.c: Likewise.
31251         * math/w_j0l.c: Likewise.
31252         * math/w_j1.c: Likewise.
31253         * math/w_j1f.c: Likewise.
31254         * math/w_j1l.c: Likewise.
31255         * math/w_jn.c: Likewise.
31256         * math/w_jnf.c: Likewise.
31257         * math/w_jnl.c: Likewise.
31258         * math/w_lgamma.c: Likewise.
31259         * math/w_lgamma_r.c: Likewise.
31260         * math/w_lgammaf.c: Likewise.
31261         * math/w_lgammaf_r.c: Likewise.
31262         * math/w_lgammal.c: Likewise.
31263         * math/w_lgammal_r.c: Likewise.
31264         * math/w_log.c: Likewise.
31265         * math/w_log10.c: Likewise.
31266         * math/w_log10f.c: Likewise.
31267         * math/w_log10l.c: Likewise.
31268         * math/w_log2.c: Likewise.
31269         * math/w_log2f.c: Likewise.
31270         * math/w_log2l.c: Likewise.
31271         * math/w_logf.c: Likewise.
31272         * math/w_logl.c: Likewise.
31273         * math/w_pow.c: Likewise.
31274         * math/w_powf.c: Likewise.
31275         * math/w_powl.c: Likewise.
31276         * math/w_remainder.c: Likewise.
31277         * math/w_remainderf.c: Likewise.
31278         * math/w_remainderl.c: Likewise.
31279         * math/w_scalb.c: Likewise.
31280         * math/w_scalbf.c: Likewise.
31281         * math/w_scalbl.c: Likewise.
31282         * math/w_sinh.c: Likewise.
31283         * math/w_sinhf.c: Likewise.
31284         * math/w_sinhl.c: Likewise.
31285         * math/w_sqrt.c: Likewise.
31286         * math/w_sqrtf.c: Likewise.
31287         * math/w_sqrtl.c: Likewise.
31288         * math/w_tgamma.c: Likewise.
31289         * math/w_tgammaf.c: Likewise.
31290         * math/w_tgammal.c: Likewise.
31292         * po/ja.po: Update from translation team.
31294 2011-09-29  Andreas Jaeger  <aj@suse.de>
31296         [BZ #13179]
31297         * sunrpc/netname.c (netname2host): Fix logic.
31299         [BZ #6779]
31300         [BZ #6783]
31301         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31302         correctly.
31303         * math/w_remainder.c (__remainder): Likewise.
31304         * math/w_remainderf.c (__remainderf): Likewise.
31305         * math/libm-test.inc (remainder_test): Add test cases.
31307 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31309         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
31310         sdiv_qrnnd.
31312 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31314         * string/test-memcmp.c: Avoid unncessary #defines.
31315         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31317 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31319         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31320         Use new sse2 version for core i3 - i7 as it's faster
31321         than sse42 version.
31322         (bit_Prefer_PMINUB_for_stringop): New.
31323         * sysdeps/x86_64/rawmemchr.S: Update.
31324         Replace with faster SSE2 version.
31325         * sysdeps/x86_64/memrchr.S: New file.
31326         * sysdeps/x86_64/memchr.S: Update.
31327         Replace with faster SSE2 version.
31329 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
31331         * elf/dl-load.c (lose): Add cast to avoid warning.
31333 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
31335         * po/ca.po: Update from translation team.
31337         * inet/getnetgrent_r.c: Hook up nscd.
31338         * nscd/Makefile (routines): Add nscd_netgroup.
31339         (nscd-modules): Add netgroupcache.
31340         (CFLAGS-netgroupcache.c): Define.
31341         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31342         (cache_search): Add const to second parameter.
31343         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31344         INNETGR.
31345         (dbs): Add netgrdb entry.
31346         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31347         (verify_persistent_db): Handle netgrdb.
31348         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31349         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31350         GETFDNETGR.
31351         (netgroup_response_header): Define.
31352         (innetgroup_response_header): Define.
31353         (datahead): Add netgroup_response_header and innetgroup_response_header
31354         elements.
31355         * nscd/nscd.conf: Add entries for netgroup cache.
31356         * nscd/nscd.h (dbtype): Add netgrdb.
31357         (_PATH_NSCD_NETGROUP_DB): Define.
31358         (netgroup_iov_disabled): Declare.
31359         (xmalloc, xcalloc, xrealloc): Move declarations here.
31360         (cache_search): Adjust prototype.
31361         Add netgroup-related prototypes.
31362         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31363         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31364         (__nscd_innetgr): Declare.
31365         * nscd/selinux.c (perms): Use access_vector_t as element type and
31366         add netgroup-related initializers.
31367         * nscd/netgroupcache.c: New file.
31368         * nscd/nscd_netgroup.c: New file.
31369         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31370         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31371         For four parameters use innetgr.
31372         * nss/nss_files/files-init.c: Add definition and callback for netgr.
31373         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31374         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31375         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31377         * nscd/connections.c (register_traced_file): Don't register file
31378         for disabled databases.
31380 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
31382         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31384         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31385         from tree and freeing node.
31387 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
31389         * nss/nsswitch.c (__nss_database_lookup): Handle
31390         nss_parse_service_list out of memory case.
31392 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
31394         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31395         out of memory case.
31397 2011-10-04  Andreas Schwab  <schwab@redhat.com>
31399         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31400         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31401         pass it down.
31402         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31403         elf_machine_rela, elf_machine_lazy_rel.
31404         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31405         (ELF_DYNAMIC_DO_REL): Likewise.
31406         (ELF_DYNAMIC_DO_RELA): Likewise.
31407         (ELF_DYNAMIC_RELOCATE): Likewise.
31408         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31409         to ELF_DYNAMIC_DO_REL.
31410         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31411         (dl_main): In trace mode always set __RTLD_NOIFUNC.
31412         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31413         elf_machine_rela.
31414         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31415         skip_ifunc, don't call ifunc function if non-zero.
31416         (elf_machine_rela): Likewise.
31417         (elf_machine_lazy_rel): Likewise.
31418         (elf_machine_lazy_rela): Likewise.
31419         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31420         (elf_machine_lazy_rel): Likewise.
31421         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31422         Likewise.
31423         (elf_machine_lazy_rel): Likewise.
31424         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31425         Likewise.
31426         (elf_machine_lazy_rel): Likewise.
31427         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31428         (elf_machine_lazy_rel): Likewise.
31429         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31430         (elf_machine_lazy_rel): Likewise.
31431         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31432         (elf_machine_lazy_rel): Likewise.
31433         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31434         (elf_machine_lazy_rel): Likewise.
31435         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31436         (elf_machine_lazy_rel): Likewise.
31437         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31438         (elf_machine_lazy_rel): Likewise.
31440 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
31442         * nss/nss_files/files-init.c (_nss_files_init): Use static
31443         initialization for all the *_traced_file variables.
31445 2011-09-28  Andreas Schwab  <schwab@redhat.com>
31447         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31449 2011-09-27  Roland McGrath  <roland@hack.frob.com>
31451         [BZ #13226]
31452         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31454 2011-09-27  Andreas Schwab  <schwab@redhat.com>
31456         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31457         Reread the line before reparsing it.
31459 2011-09-26  Andreas Schwab  <schwab@redhat.com>
31461         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31463 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
31464             Maxim Kuvyrkov  <maxim@codesourcery.com>
31465             Joseph Myers  <joseph@codesourcery.com>
31467         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31468         if needed for __stack_chk_guard.
31470 2011-09-19  Roland McGrath  <roland@hack.frob.com>
31472         * sysdeps/posix/spawni.c (script_execute): Always define it.
31473         It will be optimized away if unused.
31474         (maybe_script_execute): New function.
31475         (__spawni): Call it.
31477         * Makerules: Don't include tls.make.
31478         (config-tls): Always set to thread.
31479         * tls.make.c: File removed.
31481 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
31483         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31484         * config.make.in (CPPFLAGS-config): New substituted variable.
31486 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31488         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31490         [BZ #13192]
31491         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31492         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31494 2011-09-15  Roland McGrath  <roland@hack.frob.com>
31496         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31497         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31498         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31499         (CALL_FAIL): Likewise.
31500         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31501         (CALL_FAIL): Macro removed.
31502         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31504 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31506         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31507         for __FINITE_MATH_ONLY__ == 1.
31509 2011-09-15  Andreas Schwab  <schwab@redhat.com>
31511         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31512         __ieee754_sqrt instead of sqrt.
31513         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31514         __ieee754_sqrtf instead of sqrtf.
31515         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31516         __floorf instead of floorf.
31517         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31518         __floorf, __truncf instead of floorf, truncf.
31520 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
31522         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31524         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31525         __extern_always_inline.
31526         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31527         32-bit.
31529 2011-09-14  Andreas Schwab  <schwab@redhat.com>
31531         * elf/rtld.c (dl_main): Also relocate in dependency order when
31532         doing symbol dependency testing.
31534 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
31536         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31537         Always define `refsym'.
31539 2011-09-13  Andreas Schwab  <schwab@redhat.com>
31541         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31542         (__FD_ELT): Renamed from __FDELT.
31543         * misc/bits/select2.h (__FD_ELT): Likewise.
31544         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31545         __FD_MASK instead of __FDELT, __FDMASK.
31546         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31547         Likewise.
31548         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31549         Likewise.
31551         * elf/Makefile (gen-ldd): Fix pattern.
31553         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31554         (init_tls): Likewise.
31556 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
31558         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31560 2011-09-12  Andreas Schwab  <schwab@redhat.com>
31562         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31563         `struct cmsghdr *' instead of `void *'.
31564         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31565         Likewise.
31567 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
31569         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31570         if non-absolute.
31571         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31572         ldd_rewrite_script.
31574 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
31576         * configure.in: Remove --with-tls option.
31577         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31578         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31579         out in case it is missing.
31580         * sysdeps/ia64/elf/configure.in: Likewise.
31581         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31582         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31583         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31584         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31585         * sysdeps/sh/elf/configure.in: Likewise.
31586         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31587         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31588         * sysdeps/x86_64/elf/configure.in: Likewise.
31589         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31590         * sysdeps/mach/hurd/tls.h: Likewise.
31592         [BZ #13067]
31593         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31595         [BZ #13090]
31596         * configure.in: Fix use of AC_INIT.
31598         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31600 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
31602         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31603         __set_errno.
31604         * malloc/hooks.c: Likewise.
31606         [BZ #11929]
31607         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
31608         variables statically.
31609         (narenas): Initialize.
31610         (list_lock): Initialize.
31611         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
31612         initializtion of main_arena and list_lock.  Small cleanups.
31613         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31614         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
31615         Add initializers to main_arena and mp_.
31616         (malloc_state): Remove pagesize member.  Change all users to use
31617         GLRO(dl_pagesize).
31619         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31620         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
31621         is always initialized.
31623         * malloc/malloc.c: Removed unused configurations and dead code.
31624         * malloc/arena.c: Likewise.
31625         * malloc/hooks.c: Likewise.
31626         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31628         * include/tls.h: Removed.  USE___THREAD must always be defined.
31629         * bits/libc-tsd.h: Don't handle !USE___THREAD.
31630         * elf/dl-libc.c: Likewise.
31631         * elf/dl-tsd.c: Likewise.
31632         * include/errno.h: Likewise.
31633         * include/netdb.h: Likewise.
31634         * include/resolv.h: Likewise.
31635         * inet/herrno-loc.c: Likewise.
31636         * inet/herrno.c: Likewise.
31637         * malloc/arena.c: Likewise.
31638         * malloc/hooks.c: Likewise.
31639         * malloc/malloc.c: Likewise.
31640         * resolv/res-state.c: Likewise.
31641         * resolv/res_libc.c: Likewise.
31642         * sysdeps/i386/dl-machine.h: Likewise.
31643         * sysdeps/ia64/dl-machine.h: Likewise.
31644         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31645         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31646         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31647         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31648         * sysdeps/sh/dl-machine.h: Likewise.
31649         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31650         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31651         * sysdeps/unix/i386/sysdep.S: Likewise.
31652         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31653         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31658         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31662         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31663         * sysdeps/x86_64/dl-machine.h: Likewise.
31664         * tls.make.c: Likewise.
31666         * configure.in: Remove --with-__thread option.  Make tests for
31667         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31668         tls_model attribute fail if no support is available.  Remove
31669         USE_IN_LIBIO.
31670         * Makeconfig: Adjust for dropped configure option.  All features are
31671         now mandatory.
31672         * Makerules: Likewise.
31673         * Versions.def: Likewise.
31674         * argp/argp-fmtstream.c: Likewise.
31675         * argp/argp-fmtstream.h: Likewise.
31676         * argp/argp-help.c: Likewise.
31677         * assert/assert.c: Likewise.
31678         * config.h.in: Likewise.
31679         * config.make.in: Likewise.
31680         * configure: Likewise.
31681         * configure.in: Likewise.
31682         * csu/Versions: Likewise.
31683         * csu/init.c: Likewise.
31684         * elf/tst-audit2.c: Likewise.
31685         * elf/tst-tls10.c: Likewise.
31686         * elf/tst-tls10.h: Likewise.
31687         * elf/tst-tls11.c: Likewise.
31688         * elf/tst-tls12.c: Likewise.
31689         * elf/tst-tls14.c: Likewise.
31690         * elf/tst-tlsmod11.c: Likewise.
31691         * elf/tst-tlsmod12.c: Likewise.
31692         * elf/tst-tlsmod13.c: Likewise.
31693         * elf/tst-tlsmod13a.c: Likewise.
31694         * elf/tst-tlsmod14a.c: Likewise.
31695         * elf/tst-tlsmod15b.c: Likewise.
31696         * elf/tst-tlsmod16a.c: Likewise.
31697         * elf/tst-tlsmod16b.c: Likewise.
31698         * elf/tst-tlsmod7.c: Likewise.
31699         * elf/tst-tlsmod8.c: Likewise.
31700         * elf/tst-tlsmod9.c: Likewise.
31701         * gmon/gmon.c: Likewise.
31702         * grp/fgetgrent_r.c: Likewise.
31703         * grp/putgrent.c: Likewise.
31704         * hurd/fopenport.c: Likewise.
31705         * include/libc-symbols.h: Likewise.
31706         * include/tls.h: Likewise.
31707         * intl/gettextP.h: Likewise.
31708         * intl/loadinfo.h: Likewise.
31709         * locale/global-locale.c: Likewise.
31710         * locale/localeinfo.h: Likewise.
31711         * mach/devstream.c: Likewise.
31712         * malloc/arena.c: Likewise.
31713         * malloc/set-freeres.c: Likewise.
31714         * misc/err.c: Likewise.
31715         * misc/getttyent.c: Likewise.
31716         * misc/mntent_r.c: Likewise.
31717         * posix/getopt.c: Likewise.
31718         * posix/wordexp.c: Likewise.
31719         * pwd/fgetpwent_r.c: Likewise.
31720         * resolv/Versions: Likewise.
31721         * resolv/res_hconf.c: Likewise.
31722         * shadow/fgetspent_r.c: Likewise.
31723         * shadow/putspent.c: Likewise.
31724         * stdio-common/printf_fphex.c: Likewise.
31725         * stdio-common/tmpfile.c: Likewise.
31726         * stdlib/abort.c: Likewise.
31727         * stdlib/fmtmsg.c: Likewise.
31728         * sunrpc/auth_unix.c: Likewise.
31729         * sunrpc/clnt_perr.c: Likewise.
31730         * sunrpc/clnt_tcp.c: Likewise.
31731         * sunrpc/clnt_udp.c: Likewise.
31732         * sunrpc/clnt_unix.c: Likewise.
31733         * sunrpc/openchild.c: Likewise.
31734         * sunrpc/svc_simple.c: Likewise.
31735         * sunrpc/svc_tcp.c: Likewise.
31736         * sunrpc/svc_udp.c: Likewise.
31737         * sunrpc/svc_unix.c: Likewise.
31738         * sunrpc/xdr.c: Likewise.
31739         * sunrpc/xdr_array.c: Likewise.
31740         * sunrpc/xdr_rec.c: Likewise.
31741         * sunrpc/xdr_ref.c: Likewise.
31742         * sunrpc/xdr_stdio.c: Likewise.
31744 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31746         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31748 2011-07-03  Andreas Jaeger  <aj@suse.de>
31750         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31751         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31752         regenerate with gen-libm-tests.pl.
31754 2010-05-12  Petr Baudis  <pasky@suse.cz>
31756         [BZ #11589]
31757         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31758         around j0() zero points by switching to j1().
31759         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31760         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31762         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31764 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31766         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31767         instead of 0.
31768         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31769         instead of 0.
31770         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31771         Patch in part by Pavel Roskin <proski@gnu.org>.
31773         [BZ #13138]
31774         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31775         realloc.
31776         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31777         Free memory block if necessary.
31779         [BZ #12847]
31780         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31781         be NULL.  Don't lock in this case.
31783 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31785         * elf/elf.h (ELFOSABI_GNU): New macro.
31786         (ELFOSABI_LINUX): Define to that.
31788 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31790         * string/strncat.c (strncat): Undef the symbol in case it has been
31791         defined in bits/string.h.
31793 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31795         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31797         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31798         link map.
31800 2011-08-17  Andreas Jaeger  <aj@suse.de>
31802         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31804 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31805             Ian Lance Taylor  <iant@google.com>
31807         * math/libm-test.inc (lround_test): New testcase.
31808         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31810 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31812         * Makefile: Remove support for automatic cvs check-ins.
31813         * Makerules: Likewise.
31814         * config.make.in: Likewise.
31815         * configure.in: Likewise.
31816         * intl/Makefile: Likewise.
31817         * locale/Makefile: Likewise.
31818         * po/Makefile: Likewise.
31819         * posix/Makefile: Likewise.
31820         * sysdeps/gnu/Makefile: Likewise.
31821         * sysdeps/mach/hurd/Makefile: Likewise.
31822         * sysdeps/sparc/sparc32/Makefile: Likewise.
31824         [BZ #13118]
31825         * posix/Makefile (bug-regex32-ENV): Define.
31826         Patch by John Stanley <jpsinthemix@verizon.net>.
31828         * misc/Makefile (headers): Add bits/select2.h.
31829         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31830         * misc/bits/select2.h: New file.
31831         * include/bits/select2.h: New file.
31832         * debug/Makefile (routines): Add fdelt_chk.
31833         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31834         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31835         FD_ISSET.
31836         * debug/fdelt_chk.c: New file.
31838         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31839         * wcsmbs/test-wmemcmp.c: Likewise.
31840         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31841         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31843 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31845         * string/Makefile (strop-tests): Add memcmp.
31846         * string/test-wmemcmp.c: New file.
31847         * string/test-memcmp.c: Add wmemcmp support.
31849 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31851         [BZ #13153]
31852         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31853         2011-07-19 change.
31855         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31856         garbage value in a __mach_port_mod_refs call in the cases of the
31857         task-self and thread-self ports.
31859 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31861         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31863 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31865         * elf/dl-load.c (lose): Check for non-null L.
31867 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31869         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31871         * elf/dl-libc.c (dlerror_run): Pass back error code from
31872         dl_catch_error.
31874         [BZ #13123]
31875         * elf/dl-load.c (lose): Free l_origin if it is valid.
31877         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31878         names.
31879         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31880         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31881         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31882         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31883         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31884         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31886 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31888         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31889         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31890         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31891         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31892         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31893         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31894         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31895         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31896         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31897         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31899 2011-08-15  Alan Modra  <amodra@gmail.com>
31901         [BZ #13092]
31902         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31903         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31904         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31905         ppc_mcount to static-only-routines.
31906         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31907         __mcount_internal.
31908         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31909         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31911 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31913         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31914         for finite and infinity parameters.
31916 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31918         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31919         and add nop instructions for throughput optimization.
31920         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31922 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31924         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31925         aligned copy for power7 with vector-scalar instructions.
31926         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31928 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31930         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31931         AVX check.
31933 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31935         [BZ #13144]
31936         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31937         last change.
31939 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31941         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31942         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31943         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31944         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31945         clock_gettime.
31947 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31949         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31950         Forgot to demangle the pointer.
31952         * sysdeps/i386/sysdep.h: Define atom_text_section.
31953         * sysdeps/x86_64/sysdep.h: Likewise.
31954         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31955         section with atom_text_section.
31956         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31957         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31958         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31959         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31960         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31962         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31963         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31964         already be defined.  Change to take two parameters and don't assign
31965         result to variable.  Adjust all users.
31966         Define INTERNAL_GETTIME if not already defined.
31967         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31968         call.
31969         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31970         HAVE_CLOCK_GETTIME_VSYSCALL.
31971         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31973         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31974         gettimeofday vsyscall, just use time.
31976 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31978         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31979         <errno.h>.
31981 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31983         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31984         syscall on x86-64.
31985         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31986         syscall.
31987         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31988         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31989         syscall if possible.
31991 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31993         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31994         e_ident.  Don't pass to find_mapsXX.
31995         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31997 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32000         strchr-sse2-no-bsf strrchr-sse2-no-bsf
32001         * sysdeps/x86_64/multiarch/strchr.S: Update.
32002         Check bit_slow_BSF bit.
32003         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32004         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32005         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32007 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32009         [BZ #13134]
32010         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32011         before glibc 2.15.
32012         (tryshell): Define.
32013         (__spawni): Change last parameter to be flag.  Test
32014         SPAWN_XFLAGS_USE_PATH flag to use path or not.
32015         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32016         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32017         * posix/spawni.c: Likewise.
32018         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32019         * posix/spawnp.c: Likewise.  Change normal version to use
32020         SPAWN_XFLAGS_USE_PATH.
32021         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32022         SPAWN_XFLAGS_TRY_SHELL.
32024         [BZ #13150]
32025         * posix/glob.h: Remove gcc 1.x support.
32027         [BZ #13068]
32028         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32030 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32033         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32034         strrchr-sse2-bsf
32035         * sysdeps/i386/i686/multiarch/strchr.S: New file.
32036         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32037         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32038         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32039         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32040         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32042 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32044         * sysdeps/x86_64/wcscmp.S: New file.
32046         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32047         wcscmp-c wcscmp-sse2
32048         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32049         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32050         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32051         * wcsmbs/wcscmp.c: Allow renaming.
32053 2011-09-05  David S. Miller  <davem@davemloft.net>
32055         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32056         stack slot, rather than the struct return pointer slot.
32057         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32058         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32060         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32062 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32064         * po/ja.po: Update from translation team.
32066         [BZ #13144]
32067         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32068         kernel in 64-bit binaries.
32070 2011-09-01  David S. Miller  <davem@davemloft.net>
32072         * elf/elf.h (HWCAP_SPARC_*): Move to..
32073         * sysdeps/sparc/sysdep.h: this new file and add new values.
32074         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32075         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32076         _DL_HWCAP_COUNT to 24.
32077         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32078         entries.
32079         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32080         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32081         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32082         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32083         instead of magic constants.
32084         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32086 2011-08-31  David S. Miller  <davem@davemloft.net>
32088         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32090         Reimplement to do errno handling inline.
32091         (SYSCALL_ERROR_HANDLER): New macro.
32092         (__SYSCALL_STRING): Do not do errno handling in asm.
32093         (__CLONE_SYSCALL_STRING): Delete.
32094         (__INTERNAL_SYSCALL_STRING): Delete.
32095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32096         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32097         (PSEUDO): Reimplement to do errno handling inline.
32098         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32099         (SYSCALL_ERROR_HANDLER): New macro.
32100         (__SYSCALL_STRING): Do not do errno handling in asm.
32101         (__CLONE_SYSCALL_STRING): Delete.
32102         (__INTERNAL_SYSCALL_STRING): Delete.
32103         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32104         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32105         i386.
32106         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32107         (inline_syscall*): Add 'err' argument.
32108         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32109         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32110         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32111         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32113         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32114         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32116 2011-08-30  Andreas Schwab  <schwab@redhat.com>
32118         * elf/rtld.c (dl_main): Relocate objects in dependency order.
32120 2011-08-29  Jiri Olsa <jolsa@redhat.com>
32122         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32123         directive.
32125 2011-08-24  David S. Miller  <davem@davemloft.net>
32127         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32129 2011-08-24  Andreas Schwab  <schwab@redhat.com>
32131         * elf/Makefile: Add rules to build and run unload8 test.
32132         * elf/unload8.c: New file.
32133         * elf/unload8mod1.c: New file.
32134         * elf/unload8mod1x.c: New file.
32135         * elf/unload8mod2.c: New file.
32136         * elf/unload8mod3.c: New file.
32138         * elf/dl-close.c (_dl_close_worker): Reset private search list if
32139         it wasn't used.
32141 2011-08-23  David S. Miller  <davem@davemloft.net>
32143         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32144         subtract stack bias.
32145         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32146         %sp not %fp in calculations.
32147         (_JMPBUF_UNWINDS_ADJ): Likewise.
32149         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32150         (aio_suspend): Call it to force an exception region around the
32151         AIO_MISC_WAIT() invocation.
32153 2011-08-23  Andreas Schwab  <schwab@redhat.com>
32155         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32156         backslash.
32158 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
32160         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32161         protection macro.
32162         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32163         and <dl-machine.h>.
32164         (Elf64_FuncDesc): Remove.
32166 2011-08-22  David S. Miller  <davem@davemloft.net>
32168         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32169         sigaltstack check, add missing cfi directives.
32170         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32171         missing cfi directives, and sigaltstack handling.
32173 2011-08-16  Andreas Schwab  <schwab@redhat.com>
32175         [BZ #11724]
32176         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32177         object is seen twice.
32178         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32180         * elf/Makefile (distribute): Add tst-initorder2.c.
32181         (tests): Add tst-initorder2.
32182         (modules-names): Add tst-initorder2a tst-initorder2b
32183         tst-initorder2c tst-initorder2d.  Add rules to build them.
32184         ($(objpfx)tst-initorder2.out): New rule.
32185         * elf/tst-initorder2.c: New file.
32186         * elf/tst-initorder2.exp: New file.
32188 2011-08-22  Andreas Schwab  <schwab@redhat.com>
32190         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32192         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32193         dependencies back to end of function.
32195         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32196         $(elfobjdir)/ld.so.
32198 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
32200         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32201         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32202         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32203         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32204         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32205         of __vdso_gettimeofday.
32206         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32207         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
32208         attribute_hidden.
32209         (_libc_vdso_platform_setup): Remove initialization of
32210         __vdso_gettimeofday and __vdso_time.
32212 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
32214         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32215         and fgetc_unlocked.
32216         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32217         getc_unlocked.
32219         * elf/dl-open.c (add_to_global): Report additions to the global scope
32220         for LD_DEBUG=scopes.
32221         (dl_open_worker): Also print scope of newly loaded dependencies.
32222         (_dl_show_scope): Indicate if there is no scope.
32224         [BZ #13114]
32225         * stdio-common/Makefile (tests): Add bug24.
32226         * stdio-common/bug24.c: New file.
32228 2011-08-19  Andreas Jaeger  <aj@suse.de>
32230         [BZ #13114]
32231         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32232         non-existant file when using close-on-exec mode.
32234 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
32236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32237         the very first instruction.
32239         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32240         the CFI state in the end.
32241         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32242         inclusion of dl-trampoline.h.
32243         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32245 2011-08-19  Andreas Schwab  <schwab@redhat.com>
32247         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32248         expectations for long double.
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32251         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32253 2011-08-14  David S. Miller  <davem@davemloft.net>
32255         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32256         artificual limit depends upon the system page size.
32258 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
32260         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32261         * resolv/Makefile: Define CFLAGS-libresolv.
32263 2011-08-17  Andreas Schwab  <schwab@redhat.com>
32265         * nss/makedb.c (compute_tables): Make variables used in nested
32266         function static.
32268 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
32270         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32271         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32272         if buffer was too small.
32274         * elf/pldd.c (main): Attach to all threads in the process.
32275         Rewrite /proc handling to use *at functions.
32277 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
32279         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32280         specifies first scope to show.
32281         (dl_open_worker): Update callers.  Move printing scope of new
32282         object to before the relocation.
32283         * elf/rtld.c (dl_main): Update _dl_show_scope call.
32284         * sysdeps/generic/ldsodefs.h: Update declaration.
32286         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32287         string for the scope number.
32289 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
32291         * nscd/servicescache.c (cache_addserv): Make sure written is always
32292         initialized.
32294 2011-08-14  Roland McGrath  <roland@hack.frob.com>
32296         * sysdeps/i386/i486/bits/atomic.h
32297         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32298         statement expression, so as to suppress "set but not used" warning.
32299         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32301         * string/strncat.c (STRNCAT): Use prototype definition.
32303         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32304         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32305         -Iprograms here.
32306         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32307         (localedef-modules): Add localedef.
32308         (locale-modules): Add locale.
32310         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32311         * elf/rtld.c (dl_main): Invert order of assignment in last change,
32312         to avoid a warning.
32314 2011-08-14  David S. Miller  <davem@davemloft.net>
32316         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32317         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32319 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
32321         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32322         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32323         * elf/rtld.c (dl_main): Set l_name of vDSO.
32324         Call _dl_show_scope when DL_DEBUG_SCOPES.
32325         (process_dl_debug): Recognize scopes flag and also set it for all.
32326         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32327         Declare _dl_show_scope.
32329         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32330         (do_dlopen): Pass caller_dlopen to dl_open.
32331         (__libc_dlopen_mode): Initialize caller_dlopen.
32333         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32334         of libc.  Make tolower call locale-independent.  Optimize a bit by
32335         using isdigit instead of isalnum.
32336         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32338 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
32340         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32341         was a dependency or dynamically loaded.
32343 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
32345         * intl/l10nflist.c: Allow architecture-specific pop function.
32346         * sysdeps/x86_64/l10nflist.c: New file.
32348         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32349         classification.
32351 2011-08-10  Andreas Schwab  <schwab@redhat.com>
32353         * include/dirent.h: Add libc_hidden_proto for scandirat and
32354         scandirat64.  Don't declare __scandirat64.
32355         * dirent/scandirat.c: Add libc_hidden_def.
32356         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32357         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32359 2011-08-10  David S. Miller  <davem@davemloft.net>
32361         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32362         enum.
32363         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32364         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32365         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32367 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
32369         * Versions.def [libc]: Add GLIBC_2.15.
32370         * dirent/Makefile (routines): Add scandirat and scandirat64.
32371         * dirent/Versions [libc]: Export scandirat and scandirat64 for
32372         GLIBC_2.15.
32373         * dirent/dirent.h: Declare scandirat and scandirat64.
32374         * dirent/scandirat.c: New file.
32375         * dirent/scandirat64.c: New file.
32376         * sysdeps/wordsize-64/scandirat.c: New file.
32377         * sysdeps/wordsize-64/scandirat64.c: New file.
32378         * dirent/opendir.c: Define opendirat.
32379         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
32380         using scandirat.
32381         * dirent/scandir64.c: Adjust for scandir.c change.
32382         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
32383         __scandirat64, and __scandir_cancel_handler.
32384         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
32385         additional parameter and use openat instead of open (outside of ld.so).
32386         Add new __opendir as wrapper around __opendirat.
32387         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32388         here without requiring old scandirat implementation.
32390 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
32392         * dirent/scandir.c (cancel_handler): Renamed to
32393         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
32394         defined.  Adjust users.
32395         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32396         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32398 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
32400         * string/test-string.h (IMPL): Use __STRING to expand name and then
32401         stringify it.
32403         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
32404         of cleanups.
32406 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32408         * string/Makefile: Update.
32409         (strop-tests): Append strncat.
32410         * string/test-wcscmp.c: New file.
32411         New comprehensive test for wcscmp.
32412         * string/test-strcmp.c: Update.
32413         (WIDE): New define.
32415 2011-07-22  Andreas Schwab  <schwab@redhat.com>
32417         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32418         line.
32420 2011-07-26  Andreas Schwab  <schwab@redhat.com>
32422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32423         encoding to ACE if AI_IDN.
32425 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
32427         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32428         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32430 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32432         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32433         Fix overflow bug in strncat.
32434         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32436         * string/test-strncat.c: Update.
32437         Add new tests for checking overflow bugs.
32439 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32441         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32442         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32443         * sysdeps/i386/i686/multiarch/strcat.S: New file.
32444         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32445         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32446         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32447         * sysdeps/i386/i686/multiarch/strncat.S: New file.
32448         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32449         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32451         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32452         (USE_AS_STRCAT): Define.
32453         Add strcat and strncat support.
32454         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32456 2011-07-25  Andreas Schwab  <schwab@redhat.com>
32458         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32459         __n bigger than INT_MAX+1.
32460         (__strncmp_g): Likewise.
32462 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
32464         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32465         * libio/stido.h: Likewise.
32467         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32468         (AF_NFC): Define.
32469         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32470         (AF_NFC): Define.
32472         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32473         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32474         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32475         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32476         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32478         [BZ #13021]
32479         * scripts/test-installation.pl: Don't expect libnss_test1 to be
32480         installed.
32482         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32483         typo.
32484         (_dl_x86_64_save_sse): Likewise.
32486 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
32488         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32489         OSXSAVE.
32490         (_dl_x86_64_save_sse): Likewise.
32492         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32494         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32496 2011-07-21  Andreas Schwab  <schwab@redhat.com>
32498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32499         change.
32500         (_dl_x86_64_save_sse): Use correct AVX check.
32502 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32504         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32505         bug in strncpy/strncat.
32506         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32508 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
32510         * string/tester.c (test_strcat): Add tests for different alignments
32511         of source and destination.
32512         (test_strncat): Likewise.
32514 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32516         [BZ #12852]
32517         * posix/glob.c (glob): Check passed in values before using them in
32518         expressions to avoid some overflows.
32519         (glob_in_dir): Likewise.
32521         [BZ #13007]
32522         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32523         check for AVX enablement so that we don't crash with old kernels and
32524         new hardware.
32525         * elf/tst-audit4.c: Add same checks here.
32526         * elf/tst-audit6.c: Likewise.
32528         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32530 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
32532         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32534 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32536         * po/cs.po: Update from translation team.
32537         * po/bg.po: Likewise.
32539 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
32541         * misc/sys/cdefs.h: Add support for const attribute.
32542         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32543         to gnu_dev_{major,minor,makedev} functions.
32545 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
32547         * intl/dcigettext.c (get_output_charset): Add missing bracket.
32549 2011-07-20  Andreas Schwab  <schwab@redhat.com>
32551         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32552         strlen results.
32554 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32556         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32557         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32558         register in order to avoid conflicts with the soft frame pointer
32559         being held in r11 when necessary.
32560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32561         (INTERNAL_VSYSCALL_NCS): Likewise.
32563 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
32565         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32566         * elf/dl-fini.c (_dl_fini): Adjust caller.
32567         * elf/dl-close.c (_dl_close_worker): Likewise.
32568         * sysdeps/generic/ldsodefs.h: Adjust declaration.
32570 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32572         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32573         "aux_cache->nlibs < 0".
32575         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32576         in the reload-count case.
32578 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32581         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32582         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32583         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32584         * sysdeps/x86_64/multiarch/strcat.S: New file.
32585         * sysdeps/x86_64/multiarch/strncat.S: New file.
32586         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32587         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32588         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32589         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32590         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32591         (USE_AS_STRCAT): Define.
32592         Add strcat and strncat support.
32593         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32594         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32595         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32596         * string/strncat.c: Update.
32597         (USE_AS_STRNCAT): Define.
32598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32599         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32600         and i7.
32601         * sysdeps/x86_64/multiarch/init-arch.h
32602         (bit_Prefer_PMINUB_for_stringop): New.
32603         (index_Prefer_PMINUB_for_stringop): Likewise.
32604         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32605         bit_Prefer_PMINUB_for_stringop.
32607 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32609         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32610         buffer64.
32611         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32612         of casting of buffer.
32613         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32614         buffer32 and buffer64.
32615         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32616         writes instead of casting of buffer.
32617         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32618         buffer32.
32619         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32620         casting of buffer.
32622 2011-07-19  Andreas Schwab  <schwab@redhat.com>
32624         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32626 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32628         * nscd/nscd.c (termination_handler): Don't do anything for a database
32629         if it has not yet been initialized.
32631 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32633         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32635 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32637         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32639 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32641         * po/nl.po: Update from translation team.
32642         * po/sv.po: Likewise.
32644 2011-07-16  Roland McGrath  <roland@hack.frob.com>
32646         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32647         now disallowed by GCC.
32649         * configure.in (use-default-link): Default to yes if a test -shared
32650         link meets our qualifications.
32651         * configure: Regenerated.
32653         * config.make.in (output-format): New variable.
32654         * configure.in: Check for ld --print-output-format support.
32655         * configure: Regenerated.
32656         * Makerules ($(common-objpfx)format.lds)
32657         [$(output-format) != unknown]: Just use $(output-format),
32658         instead of the linker-script munging.
32660 2011-07-14  Roland McGrath  <roland@hack.frob.com>
32662         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32663         of $(common-objpfx)shlib.lds.
32664         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32666         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32667         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32669         * configure.in (-z relro check): Adjust test code to add a large
32670         writable data section after it.
32671         * configure: Regenerated.
32673 2011-07-11  Roland McGrath  <roland@hack.frob.com>
32675         * configure.in (-z relro check): Fix test code to make the variable
32676         truly const.
32677         * configure: Regenerated.
32679 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
32681         * nscd/nscd.h (struct traced_file): Define.
32682         (struct database_dyn): Remove inotify_descr, reset_res, and filename
32683         elements.  Add traced_files.
32684         (inotify_fd): Declare.
32685         (register_traced_file): Declare.
32686         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32687         (inotify_fd): Export.
32688         (resolv_conf_descr): Remove.
32689         (nscd_init): Move inotify descriptor creation to main.
32690         Don't register files for notification here.
32691         (register_traced_file): New function.
32692         (invalidate_cache): Don't use reset_res to determine whether to call
32693         res_init, go through the list of registered files.
32694         (main_loop_poll): The inotify descriptors are now stored in the
32695         structures for the traced files.
32696         (main_loop_epoll): Likewise
32697         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
32698         to __nss_disable_nscd.
32699         * nscd/cache.c (prune_cache): There is no single inotify descriptor
32700         for a database anymore.  Check the records for all the registered
32701         files instead.
32702         * nss/Makefile (libnss_files-routines): Add files-init.
32703         (libnss_db-routines): Add db-init.
32704         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32705         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32706         * nss/nss_db/db-init.c: New file.
32707         * nss/nss_files/files-init.c: New file.
32708         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
32709         __nss_lookup_function.
32710         (__nss_lookup_function): Call nss_load_library.
32711         (nss_load_all_libraries): New function.
32712         (__nss_disable_nscd): Take parameter with callback function for files
32713         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
32714         used for the cached services.
32715         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32716         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32717         options for features to all the files in nscd.
32719         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32721 2011-07-10  Roland McGrath  <roland@hack.frob.com>
32723         * csu/elf-init.c (__libc_csu_init): Comment typo.
32725 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
32727         * po/pl.po: Update from translation team.
32728         * po/ja.po: Likewise.
32729         * po/ru.po: Likewise.
32730         * po/ko.po: Likewise.
32731         * po/fr.po: Likewise.
32733 2011-07-09  Roland McGrath  <roland@hack.frob.com>
32735         * configure.in (.ctors/.dtors header and trailer check):
32736         Use an empirical test on a built program.
32737         * configure: Regenerated.
32739         * configure.in (-z relro check): Use an empirical test on a built DSO.
32740         Detect, but do not require, on ia64.
32741         * configure: Regenerated.
32743         * configure.in (READELF): Find it with AC_CHECK_TOOL.
32744         Update tests that use readelf to use $READELF instead.
32745         * configure: Regenerated.
32747 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
32749         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32750         if the result is not used.
32752 2011-07-05  Andreas Jaeger  <aj@suse.de>
32754         [BZ#9696]
32755         * stdlib/tst-strtod.c: Add testcase.
32757 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
32759         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32760         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32761         The latter has a higher limit.  Take additional parameter to pass to
32762         the new function.
32763         (__pathconf): Pass file to __statfs_link_max.
32764         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32765         __statfs_link_max.
32766         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32767         __statfs_link_max.
32769         [BZ #12868]
32770         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32771         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32772         Handle Lustre.
32773         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32774         (__statfs_filesize_max): Likewise.
32775         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32777 2011-07-05  Andreas Jaeger  <aj@suse.de>
32779         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32781 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32783         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32784         `status' variable.
32785         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32786         Likewise.
32788 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32790         * Makefile (strop-tests): Add strncat.
32791         * string/test-strncat.c: New file.
32793 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32795         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32797 2011-06-21  Andreas Jaeger  <aj@suse.de>
32799         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32800         Copy rule from iconvdata/Makefile.
32802 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32804         [BZ #12922]
32805         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32806         but no long options are defined, just return 'W'.
32808 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32810         [BZ #9696]
32811         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32813 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32815         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32816         netgroups to read.
32817         (innetgr): Likewise.
32819 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32821         * config.make.in (install_root): Default to $(DESTDIR).
32823 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32825         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32827 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32829         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32831         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32832         containing directory rather than embedding absolute directory names.
32834         * scripts/check-local-headers.sh: Rewritten using awk.
32835         Match by word, not by line.  Print error messages for matches.
32836         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32838         * Makerules [shlib-lds-flags empty]:
32839         ($(common-objpfx)libc_pic.opts): New target.
32840         ($(common-objpfx)libc_pic.os.clean): New target.
32841         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32843         * config.make.in (OBJCOPY): New variable.
32844         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32845         * configure: Regenerated.
32847         * config.make.in (use-default-link): New variable.
32848         * configure.in (use_default_link): Grok --with-default-link to set it.
32849         * configure: Regenerated.
32850         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32851         (shlib-lds, shlib-lds-flags): Define to empty.
32853         * Makerules (shlib-lds): New variable.
32854         (shlib-lds-flags): New variable.
32855         (build-shlib, build-moduile, build-module-asneeded): Use it.
32856         ($(common-objpfx)libc.so): Use $(shlib-lds).
32857         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32858         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32860         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32861         DT_FLAGS/DT_FLAGS_1 with zero flags.
32863         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32864         linker script munging.
32866 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32868         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32869         as 128-bit value.
32870         * crypt/sha512.c (sha512_process_block): Perform total addition using
32871         128-bit if possible.
32872         (__sha512_finish_ctx): Likewise.
32873         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32874         as 64-bit value.
32875         * crypt/sha256.c (SWAP64): Define.
32876         (sha256_process_block): Perform total addition using 64-bit if
32877         possible.
32878         (__sha256_finish_ctx): Likewise.
32880 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32882         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32883         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32884         * nscd/hstcache.c (cache_addhst): Likewise.
32885         * nscd/grpcache.c (cache_addgr): Likewise.
32886         * nscd/aicache.c (addhstaiX): Likewise
32887         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32889 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32891         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32892         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32893         * nscd/hstcache.c (cache_addhst): Likewise.
32894         * nscd/grpcache.c (cache_addgr): Likewise.
32895         * nscd/aicache.c (addhstaiX): Likewise
32897 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32899         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32900         domain only when needed.
32902 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32905         is always restored.
32907 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32909         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32910         are re-adding the entry.
32911         * nscd/servicescache.c (cache_addserv): Likewise.
32913 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32915         * sysdeps/generic/dl-irel.h: fix protection against multiple
32916         inclusions.
32917         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32919 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32921         [BZ #12935]
32922         * malloc/memusage.sh: Fix quoting in message.
32923         * debug/xtrace.sh: Likewise.
32925         * configure.in: Remove support for --experimental-malloc option, make
32926         it the default.
32927         * config.make.in: Likewise.
32928         * malloc/Makefile: Likewise.
32930 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32932         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32933         two-byte characters.
32935 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32937         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32938         AC_CACHE_CHECK invocation.
32939         * configure: Regenerated.
32941         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32943 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32945         [BZ #12350]
32946         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32947         bit from old_res_options.
32949         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32951         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32952         value type for setfct.
32954 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32956         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32957         __gettimeofday instead of gettimeofday.
32959 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32961         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32963 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32965         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32967         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32968         info.
32970 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32973         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32974         strcpy-sse2-unaligned strncpy-sse2-unaligned
32975         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32976         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32977         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32978         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32979         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32980         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32981         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32982         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32983         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32984         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32985         (STRCPY): Support SSE2 and SSSE3 versions.
32987 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32989         [BZ #12874]
32990         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32991         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32992         kernels which artificially limit size of requests.
32994 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32997         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32998         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32999         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33000         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33001         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33002         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33003         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33004         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33005         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33006         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33007         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33008         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33009         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33010         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33012         Enable unaligned load optimization for Intel Core i3, i5 and i7
33013         processors.
33014         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33015         Define.
33016         (index_Fast_Unaligned_Load): Define.
33017         (HAS_FAST_UNALIGNED_LOAD): Define.
33019 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
33021         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33023 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33025         [BZ #12907]
33026         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33027         until it is clear that the information is realy needed.
33028         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33030 2011-06-22  Andreas Schwab  <schwab@redhat.com>
33032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33034 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33036         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33037         /sys/devices/system/cpu/online if it is usable.
33039         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33040         reading the information from the /proc filesystem to once a second.
33042 2011-06-21  Andreas Jaeger  <aj@suse.de>
33044         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33045         NULL after inclusion of kernel headers.
33047 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
33049         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33050         calls to internal_setent.
33052         [BZ #12885]
33053         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33054         addresses using gethostbyname4_r ignore IPv4 addresses.
33056         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33057         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
33059         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33061 2011-06-20  David S. Miller  <davem@davemloft.net>
33063         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33064         inclusions.
33065         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33067         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33068         (elf_irel): Use it.
33069         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33070         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33071         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33072         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33073         * sysdeps/x86_64/dl-irel.h: Likewise.
33075         * elf/dl-runtime.c: Use elf_ifunc_invoke.
33076         * elf/dl-sym.c: Likewise.
33078 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33080         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
33081         need to dereference resplen2.
33083 2011-06-14  Andreas Schwab  <schwab@redhat.com>
33085         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33087 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33089         * Makeconfig: Define vardbdir and inst_vardbdir.
33090         * nss/Makefile: Add rules to install db-Makefile.
33092         * nss/nss_db/db-XXX.c: Cleanup.
33094         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33095         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33096         GLIBC_PRIVATE.
33097         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33098         * nss/makedb.c: Implement -g option to specify that value strings
33099         are generated and should not be added to table iterated over for
33100         get*ent calls.
33101         * nss/nss_db/db-initgroups.c: New file.
33103         * nss/getent.c: Add support for initgroups lookups through getgrouplist
33104         interface.
33106         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33107         (internal_getgrouplist): Adjust to name change.
33108         Update use_initgroups_entry if this is not the first call.
33109         * nss/databases.def: Add initgroups entry.
33111         * nss/makedb.c (compute_tables): Check result of multiple hash table
33112         sizes to minimize maximum chain length.
33114 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
33116         * Versions.def: Add entry for libnss_db.
33117         * shlib-versions: Likewise.
33118         * nss/Makefile: Add rules to build libnss_db.
33119         * nss/Versions: Add libnss_db information.  Organize libnss_files
33120         entries better.
33121         * nss/db-Makefile: Add gshadow support.  Change rules for the new
33122         makedb progra.  Some minor improvements to generate smaller files.
33123         * nss/nss_db/nss_db.h: Move NSS database header data structures to
33124         here from...
33125         * nss/makedb.c: ...here.
33126         Improve database format to be smaller and require less memory at
33127         runtime.
33128         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
33129         db anymore.
33130         * nss/nss_db/db-netgrp.c: Likewise.
33131         * nss/nss_db/db-open.c: Likewise.
33132         * nss/nss_files/flies-XXX.x: Adjust comments.
33133         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33134         * nss/nss_files/files-grp.c: Likewise.
33135         * nss/nss_files/files-hosts.c: Likewise.
33136         * nss/nss_files/files-network.c: Likewise.
33137         * nss/nss_files/files-proto.c: Likewise.
33138         * nss/nss_files/files-pwd.c: Likewise.
33139         * nss/nss_files/files-rpc.c: Likewise.
33140         * nss/nss_files/files-service.c: Likewise.
33141         * nss/nss_files/files-sgrp.c: Likewise.
33142         * nss/nss_files/files-spwd.c: Likewise.
33143         * nss/nss_db/db-alias.c: Removed.
33144         * nss/nss_db/dummy-db.h: Removed.
33146 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
33148         * nss/makedb.c: Rewritten to not use database library.
33149         * nss/Makefile: Update to build new makedb program.
33151 2011-06-14  Andreas Jaeger  <aj@suse.de>
33153         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33154         memset declaration.
33156 2011-06-10  Andreas Schwab  <schwab@redhat.com>
33158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33159         tmpbuf.
33161 2011-06-10  Roland McGrath  <roland@hack.frob.com>
33163         * Makerules (shlib.lds): Fail if the linker script comes out empty.
33164         * elf/Makefile ($(objpfx)ld.so): Likewise.
33166         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33167         Don't list ld.so twice in dependencies.
33169         * posix/bug-regex31.c: Include <stdlib.h>.
33171         * nscd/hstcache.c (cache_addhst): Remove unused variable.
33173         * nis/nss_compat/compat-spwd.c
33174         (getspent_next_nss_netgr): Remove unused variable.
33175         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33177         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33178         nonmembers" output to use the right array.
33180         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33182         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33184         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33185         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33186         * catgets/gencat.c (read_input_file): Likewise.
33187         * locale/programs/locarchive.c (enlarge_archive): Likewise.
33189         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33190         variable definition inside #if's controlling its use.
33192         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33194         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33196         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33198         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33199         unreachable code.
33201         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33203         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33204         * configure: Regenerated.
33206         * Makerules: Revert last change.
33207         * elf/Makefile: Likewise.
33209 2011-06-09  Roland McGrath  <roland@hack.frob.com>
33211         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33212         * elf/Makefile ($(objpfx)librtld.os): Likewise.
33213         (reloc-link): Likewise.
33215 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
33217         * elf/Makefile: Add rules to build pldd.
33218         * elf/pldd.c: New file.
33219         * elf/pldd-xx.c: New file.
33221 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
33223         * version.h: Update for 2.15 development version.
33225 2011-06-07  David S. Miller  <davem@davemloft.net>
33227         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33228         ifuncs.
33229         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33230         elf_machine_lazy_rel): Likewise.
33231         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33232         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33233         elf_machine_lazy_rel): Likewise.
33234         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33235         dl_hwcap via passed in argument.
33236         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33237         Likewise.
33239 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33241         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
33243 2011-06-06  Roland McGrath  <roland@hack.frob.com>
33245         [BZ #12849]
33246         * manual/fdl-1.1.texi: New file, verbatim from:
33247         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33248         * manual/lgpl-2.1.texi: New file, verbatim from:
33249         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33250         * manual/Makefile (licenses): New variable, list those new file names.
33251         (texis): Use it.
33252         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33254         * manual/fdl.texi: File removed.
33255         * manual/lesser.texi: File removed.
33256         * manual/libc.texinfo (Copying, Documentation License):
33257         Use new @include file names, put @appendix directive before @include.
33259 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
33261         [BZ #12841]
33262         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33263         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33264         (mq_open): Add __NTH.
33266 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
33268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33269         Assume Intel Core i3/i5/i7 processor if AVX is available.
33271 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
33273         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33274         typo.
33276 2011-05-31  Andreas Schwab  <schwab@redhat.com>
33278         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33279         memory.  Use alloca_account.  Fix memory leak when retrying.
33281 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
33283         * version.h (RELEASE): Bump for 2.14 release.
33284         * include/features.h (__GLIBC_MINOR__): Bump to 14.
33286         * config.make.in (RANLIB): Remove entry.
33288 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
33290         * po/Makefile (po-sed-cmd): Add ksh to extensions.
33291         (libc.pot): Work around missing support for .ksh extension in xgettext.
33293         [BZ #12684]
33294         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33295         if both request failed.
33296         (send_dg): In case of server errors clear resplen or *resplen2.
33298         [BZ #12454]
33299         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33300         when there are multiple maps.
33301         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33302         (_dl_fini): Remove test here.
33304         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33306 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
33308         [BZ #12350]
33309         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33310         bit from old_res_options.
33311         (gaih_inet): Likewise.
33313         [BZ #11099]
33314         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33315         as signed.
33317         * resolv/res_init.c (res_setoptions): Make the code more compact.
33319         [BZ #11558]
33320         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33321         set RES_USEVC.
33323         [BZ #11634]
33324         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33326         * malloc/malloc.h: Mark malloc hook variables as deprecated.
33328         [BZ #11781]
33329         * malloc/malloc.h: Declare malloc hook variables as volatile.
33331         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33332         in last patch.
33334         [BZ #11799]
33335         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33336         raise in the comment.
33337         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33338         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33339         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33341 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
33343         [BZ #12811]
33344         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33345         grow the buffers more if it already has to be sufficient.
33346         (build_wcs_upper_buffer): Likewise.
33347         * posix/regexec.c (check_matching): Likewise.
33348         (clean_state_log_if_needed): Likewise.
33349         (extend_buffers): Don't enlarge buffers beyond size of the input
33350         buffer.
33351         Patches mostly by Emil Wojak <emil@wojak.eu>.
33352         * posix/bug-regex32.c: New file.
33353         * posix/Makefile (tests): Add bug-regex32.
33355         * locale/findlocale.c (_nl_find_locale): Return right away if
33356         _nl_explode_name failed.
33357         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33359         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33361         * debug/xtrace.sh: Unify messages.
33362         * malloc/memusage.sh: Likewise.
33364         [BZ #12813]
33365         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33366         time symbol from vDSO.  Substitute with vsyscall if not available.
33367         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33368         __vdso_time.
33370         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33371         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33372         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33373         Add sendmmsg and internal_sendmmsg.
33374         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33375         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33376         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33378         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33379         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33380         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33382 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
33384         [BZ #12813]
33385         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33386         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
33387         available.
33388         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33389         __vdso_getcpu.
33391         [BZ #12814]
33392         * iconvdata/Makefile (tests): Add bug-iconv9.
33393         * iconvdata/bug-iconv9.c: New file.
33395 2011-05-27  Andreas Schwab  <schwab@redhat.com>
33397         [BZ #12814]
33398         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33400 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
33402         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33403         (struct user_regs_struct): Change intcs field back to cs.
33405 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
33407         * po/ja.po: Update from translation team.
33409 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
33411         [BZ #12795]
33412         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33413         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33415 2011-05-20  Andreas Schwab  <schwab@redhat.com>
33417         * stdlib/longlong.h: Update from GCC.
33419 2011-05-23  Andreas Schwab  <schwab@redhat.com>
33421         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33422         parameter name.
33423         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33424         Add parameter name.
33425         (__sysconf): Pass it down.
33427 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
33429         [BZ #12671]
33430         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33431         some situations.
33432         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33433         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33434         add in in __libc_use_alloca calls.  Adjust callers.
33435         (glob): Use malloc in some situations.
33437         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33438         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33439         pltexit.
33441 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
33443         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33444         and CLOCK_BOOTTIME_ALARM.
33446         [BZ #12782]
33447         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33448         is returned.
33450         * string/_strerror.c (__strerror_r): Print negative errors as signed
33451         numbers.
33453         [BZ #12777]
33454         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33455         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33456         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33458         * configure.in: Fix typo in redirection and correct removal of test
33459         files in two cases.
33461         [BZ #12788]
33462         * locale/setlocale.c (new_composite_name): Fix test to check for
33463         identical name of all categories.
33465         [BZ #12792]
33466         * libio/filedoalloc.c (local_isatty): New function.
33467         (_IO_file_doallocate): Use local_isatty.
33468         * stdio-common/perror.c (perror): In case a new stream is used
33469         forward the stream error.
33470         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33471         error flag.
33473 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
33475         [BZ #11869]
33476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33477         alloca.
33478         * include/alloca.h (extend_alloca_account): Define.
33480         [BZ #11857]
33481         * posix/regex.h: Fix comments with documentation of user-accessible
33482         fields after compilation and describe correct free'ing of pattern
33483         after re_compile_pattern.
33484         Patch by Reuben Thomas <rrt@sc3d.org>.
33486 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
33488         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33489         and -mno-altivec to prevent the compiler from using Altivec and/or
33490         VSX instructions when the corresponding registers are not available.
33492 2011-05-19  Andreas Schwab  <schwab@redhat.com>
33494         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33496 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
33498         * libio/freopen.c (freopen): Use __dup2, not dup2.
33499         * libio/freopen64.c (freopen64): Likewise.
33501 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33503         [BZ #12775]
33504         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33505         * math/Makefile (tests): Add test-powl.
33506         (CFLAGS-test-powl.c): Define.
33507         * math/test-powl.c: New file.
33509 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33511         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33513 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
33515         [BZ #11837]
33516         * iconvdata/gb18030.c: Update to GB18020-2005.
33518 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
33520         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33521         RE_SYNTAX_POSIX_AWK): Update to match recent development.
33522         Patch by Aharon Robbins <arnold@skeeve.com>.
33524         [BZ #11892]
33525         * stdlib/putenv.c (putenv): Don't always create copy of the variable
33526         on the stack.
33528         [BZ #11895]
33529         * misc/pselect.c (__pselect): Handle timeout value errors hidden
33530         through underflows.
33532         [BZ #12766]
33533         * misc/error.c (error_at_line): Ensure file_name and old_file_name
33534         point to strings before performing equality test for error_one_per_line
33535         mode.
33537         [BZ #11697]
33538         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33540         [BZ #11820]
33541         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33542         (struct user_fpregs_struct): Avoid __uint*_t types.
33544         [BZ #6420]
33545         * malloc/mtrace.c (tr_where): Add additional parameter to point to
33546         symbol info.  Use it instead of calling _dl_addr locally.
33547         (lock_and_info): New function.
33548         (tr_freehook): Call lock_and_info and pass symbol info as additional
33549         parameter to tr_where.
33550         (tr_mallochook): Likewise.
33551         (tr_reallochook): Likewise.
33552         (tr_memalignhook): Likewise.
33554         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
33555         used and couldn't be at all thread-safe.
33557 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
33559         * libio/freopen.c (freopen): Don't close old file descriptor
33560         before the new one is opened.  Instead dup the new file descriptor
33561         to the old one after the new stream is created.
33562         * libio/freopen64.c (freopen64): Likewise.
33563         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33564         * libio/fileops.c (_IO_new_file_close_it): Handle new
33565         _IO_FLAGS2_NOCLOSE flag.
33566         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33567         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33568         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33569         _IO_FLAGS2_NOCLOSE flag.
33570         * include/unistd.h: Add hidden_proto for dup3.
33571         Define __have_dup3.
33572         * io/dup3.c: Define hidden symbol.
33573         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33575         [BZ #7101]
33576         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33577         when an incomplete long option is used.
33578         * posix/tst-getopt_long1.c: New file.
33579         * posix/Makefile (tests): Add tst-getopt_long1.
33581         [BZ #10138]
33582         * scripts/config.guess: Update from autoconf-2.68.
33583         * scripts/config.sub: Likewise.
33585         [BZ #10157]
33586         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33587         tests into ...
33588         (has_cpuclock): ...this.  New function.
33589         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33590         macro here based on has_cpuclock code.
33592         [BZ #10149]
33593         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33594         First byte (not low byte) is now always NUL.
33595         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33598         Use non-cancelable interfaces.
33600         [BZ #9809]
33601         * locale/iso-639.def: Add entry for Sorani.
33603         [BZ #11901]
33604         * include/stdlib.h: Move include protection to the right place.
33605         Define abort_msg_s.  Declare __abort_msg with it.
33606         * stdlib/abort.c (__abort_msg): Adjust type.
33607         * assert/assert.c (__assert_fail_base): New function.  Majority
33608         of code from __assert_fail.  Allocate memory for __abort_msg with
33609         mmap.
33610         (__assert_fail): Now call __assert_fail_base.
33611         * assert/assert-perr.c: Remove bulk of implementation.  Use
33612         __assert_fail_base.
33613         * include/assert.hL Declare __assert_fail_base.
33614         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33615         mmap.
33616         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33618 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
33620         [BZ #11952]
33621         [BZ #12453]
33622         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33623         until all modules are registered in the DTV.
33624         * elf/Makefile: Add rules to build and run tst-tls19.
33625         * elf/tst-tls19.c: New file.
33626         * elf/tst-tls19mod1.c: New file.
33627         * elf/tst-tls19mod2.c: New file.
33628         * elf/tst-tls19mod3.c: New file.
33629         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33631         [BZ #12083]
33632         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33633         correctly.
33635         [BZ #12601]
33636         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33637         two-byte sequence errors.
33638         * iconvdata/Makefile (tests): Add bug-iconv8.
33639         * iconvdata/bug-iconv8.c: New file.
33641         [BZ #12626]
33642         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33643         buf2 definition.
33645         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33647         [BZ #12432]
33648         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33649         (dummy_getcfa): New function.
33650         (init): Get _Unwind_GetCFA address, use dummy if not found.
33651         (backtrace_helper): In recursion check, also check whether CFA changes.
33652         (__backtrace): Completely initialize arg.
33654         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33655         storing incomplete byte sequence in state object.  Avoid testing for
33656         guaranteed too small input if we know there is enough data available.
33658 2011-05-11  Andreas Schwab  <schwab@redhat.com>
33660         * Makeconfig (+link-pie): Indent.
33661         * Rules (binaries-pie): Define if $(have-fpie) and
33662         $(build-shared).
33663         (binaries-shared): Also filter out $(binaries-pie).
33664         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33665         * nscd/Makefile (others-pie): Add nscd.
33666         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33667         ($(objpfx)nscd): Remove command override.
33668         * login/Makefile (others-pie): Add pt_chown.
33669         ($(objpfx)pt_chown): Remove command override.
33670         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33671         remove command overrides.
33673 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
33675         * libio/tst_putwc.c: Fix error messages.
33677         [BZ #12724]
33678         * libio/fileops.c (_IO_new_file_close_it): Always flush when
33679         currently writing and seek to current position when not.
33680         * libio/Makefile (tests): Add bug-fclose1.
33681         * libio/bug-fclose1.c: New file.
33683 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
33685         [BZ #12511]
33686         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33687         don't set DF_1_NODELETE here.
33688         (do_lookup_x): When entering new entry test for copy relocation
33689         and if necessary set DF_1_NODELETE flag.
33690         * elf/tst-unique4.cc: New file.
33691         * elf/tst-unique4.h: New file.
33692         * elf/tst-unique4lib.cc: New file.
33693         * elf/Makefile: Add rules to build and run tst-unique4.
33694         Patch by Piotr Bury <pbury@goahead.com>.
33696 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
33698         [BZ #12052]
33699         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33701         [BZ #12625]
33702         * misc/mntent_r.c (addmntent): Flush the stream after the output
33704         [BZ #12393]
33705         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33706         (is_trusted_path_normalize): Skip initial colon.  Append slash
33707         to empty buffer.  Duplicate is_trusted_path code but allow
33708         constructed patch to be prefix.
33709         (is_dst): Allow $ORIGIN followed by /.
33710         (_dl_dst_substitute): Correct clearing of check_for_trusted.
33711         Correct testing of result of is_trusted_path_normalize
33712         (decompose_rpath): Fix warning.
33714 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
33716         [BZ #11257]
33717         * grp/initgroups.c (internal_getgrouplist): When we found the service
33718         list through the initgroups entry in nsswitch.conf do not always
33719         continue on a successful lookup.  Don't always use the
33720         __nss_group_database value if it is set.
33721         * nss/nsswitch.conf (initgroups): Change action for successful db
33722         lookup to continue for compatibility.
33724 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
33726         [BZ #11532]
33727         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33728         and CP774 modules.
33729         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33730         and CP774 modules.
33731         * iconvdata/tst-tables.sh: Likewise.
33732         * iconvdata/cp770.c: New file.
33733         * iconvdata/cp771.c: New file.
33734         * iconvdata/cp772.c: New file.
33735         * iconvdata/cp773.c: New file.
33736         * iconvdata/cp774.c: New file.
33737         * iconvdata/testdata/CP770: New file.
33738         * iconvdata/testdata/CP770..UTF8: New file.
33739         * iconvdata/testdata/CP771: New file.
33740         * iconvdata/testdata/CP771..UTF8: New file.
33741         * iconvdata/testdata/CP772: New file.
33742         * iconvdata/testdata/CP772..UTF8: New file.
33743         * iconvdata/testdata/CP773: New file.
33744         * iconvdata/testdata/CP773..UTF8: New file.
33745         * iconvdata/testdata/CP774: New file.
33746         * iconvdata/testdata/CP774..UTF8: New file.
33748         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33749         END CHARMAP line.
33750         * iconvdata/gen-8bit-gap.sh: Likewise.
33751         * iconvdata/gen-8bit.sh: Likewise.
33753         * locale/iso-639.def: Add ary entry.
33755         [BZ #11258]
33756         * locale/C-translit.h.in: Add U20A1 transliteration.
33758         [BZ #12178]
33759         * locale/iso-639.def: Add wae entry.
33760         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33762         [BZ #12545]
33763         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33764         for n.
33766         [BZ #12711]
33767         * locale/C-translit.h.in: Add entry for U20B9.
33768         Patch by pravin.d.s@gmail.com.
33770 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33772         [BZ #12713]
33773         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33774         ENAMETOOLONG use generic getcwd.
33775         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33776         in rtld.  Use *stat64.
33777         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33778         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33779         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33780         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33781         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33782         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33783         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33784         __fstatat64 macros.
33785         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33786         * dirent/rewinddir.c: Add libc_hidden_def.
33787         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33788         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33790         * include/dirent.h (__alloc_dir): Add flags parameter.
33791         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33792         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33793         __alloc_dir.
33794         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33795         from fdopendir if O_CLOEXEC is already set.
33797 2011-03-15  Alan Modra  <amodra@gmail.com>
33799         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33800         l_tls_firstbyte_offset non-zero.  Save padding offset in
33801         l_tls_firstbyte_offset for later use.
33802         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33803         freeing static tls block.
33805 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33807         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33808         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33809         being defined by the kernel headers.
33811 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33813         [BZ #12734]
33814         * resolv/resolv.h: Define RES_NOTLDQUERY.
33815         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33816         no-tld-query and set RES_NOTLDQUERY.
33817         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33818         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33819         modern BIND to search name as TLD unless forbidden.
33821 2011-05-07  Petr Baudis  <pasky@suse.cz>
33822             Ulrich Drepper  <drepper@gmail.com>
33824         [BZ #12393]
33825         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33826         (is_trusted_path): ...to here.
33827         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33828         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33829         using is_trusted_path_normalize() in setuid scripts.
33831 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33833         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33834         __BEGIN/__END_DECLS.
33836 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33838         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33839         NSS_STATUS_NOTFOUND if no record was found.
33841 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33843         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33844         (headers-not-in-tirpc): Remove rpc/netdb.h
33845         * resolv/netdb.h: Revert last change.
33847 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33849         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33850         circular dependency between libgcc.a and libc.a.
33852 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33854         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33855         * nis/Makefile: Don't install rpcsvc/*.
33856         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33857         instead of <rpc/types.h>.
33858         (MAXHOSTNAMELEN): Define.
33860 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33862         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33864 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33866         [BZ #12714]
33867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33868         gethostbyname4_r when IPv6 results are possible.
33870 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33872         [BZ #12723]
33873         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33874         _PC_PIPE_BUF handling.
33876 2011-04-30  Bruno Haible  <bruno@clisp.org>
33878         [BZ #12717]
33879         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33880         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33881         to 'int'.
33882         * inet/getnameinfo.c (getnameinfo): Likewise.
33884 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33886         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33887         to groups setting in database lookup.
33888         * nss/nsswitch.conf: Add initgroups entry.
33890 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33892         [BZ #12685]
33893         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33894         mode string.
33895         Patch by Eric Blake <eblake@redhat.com>.
33897 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33899         * sunrpc/Makefile (need-export-routines): Add svc_run.
33900         (routines): Remove svc_run.
33901         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33902         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33903         * sunrpc/svc_run.c (svc_run): Likewise.
33904         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33906 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33908         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33909         problem in reallocation in last patch.
33911 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33913         * sunrpc/Makefile: Move inclusion of Rules.
33915 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33917         * nss/nss_files/files-initgroups.c: New file.
33918         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33919         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33920         _nss_files_initgroups_dyn.
33922 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33924         * elf/elf.h (R_ARM_IRELATIVE): Define.
33926 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33928         * po/ru.po: Update from translation team.
33930 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33932         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33933         dependencies.
33935 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33937         [BZ #12653]
33938         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33939         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33940         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33941         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33942         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33944 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33946         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33947         differing bytes.
33948         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33949         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33950         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33952 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33954         [BZ #12420]
33955         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33956         storing it.
33957         * stdlib/bug-getcontext.c: New file.
33958         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33960 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33962         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33963         instructions into .machine "z9-109".
33964         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33965         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33967 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33969         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33970         between environment variables and auxiliary vector.
33972 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33974         * Makefile: Add rules to build linkobj/libc.so.
33975         * include/libc-symbols.h: Define libc_hidden_nolink.
33976         * include/rpc/auth.h: Mark functions which are to be hidden.
33977         * include/rpc/auth_des.h: Likewise.
33978         * include/rpc/auth_unix.h: Likewise.
33979         * include/rpc/clnt.h: Likewise.
33980         * include/rpc/des_crypt.h: Likewise.
33981         * include/rpc/key_prot.h: Likewise.
33982         * include/rpc/pmap_clnt.h: Likewise.
33983         * include/rpc/pmap_prot.h: Likewise.
33984         * include/rpc/pmap_rmt.h: Likewise.
33985         * include/rpc/rpc_msg.h: Likewise.
33986         * include/rpc/svc.h: Likewise.
33987         * include/rpc/svc_auth.h: Likewise.
33988         * include/rpc/xdr.h: Likewise.
33989         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33990         * nss/Makefile: Likewise.
33991         * sunrpc/Makefile: Don't install headers.  Build library with normal
33992         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33993         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33994         for the compat linking library.  Remove use of INTDEF/INTUSE.
33995         * sunrpc/auth_none.c: Likewise.
33996         * sunrpc/auth_unix.c: Likewise.
33997         * sunrpc/authdes_prot.c: Likewise.
33998         * sunrpc/authuxprot.c: Likewise.
33999         * sunrpc/clnt_gen.c: Likewise.
34000         * sunrpc/clnt_perr.c: Likewise.
34001         * sunrpc/clnt_raw.c: Likewise.
34002         * sunrpc/clnt_simp.c: Likewise.
34003         * sunrpc/clnt_tcp.c: Likewise.
34004         * sunrpc/clnt_udp.c: Likewise.
34005         * sunrpc/clnt_unix.c: Likewise.
34006         * sunrpc/des_crypt.c: Likewise.
34007         * sunrpc/des_soft.c: Likewise.
34008         * sunrpc/get_myaddr.c: Likewise.
34009         * sunrpc/key_call.c: Likewise.
34010         * sunrpc/key_prot.c: Likewise.
34011         * sunrpc/netname.c: Likewise.
34012         * sunrpc/pm_getmaps.c: Likewise.
34013         * sunrpc/pm_getport.c: Likewise.
34014         * sunrpc/pmap_clnt.c: Likewise.
34015         * sunrpc/pmap_prot.c: Likewise.
34016         * sunrpc/pmap_prot2.c: Likewise.
34017         * sunrpc/pmap_rmt.c: Likewise.
34018         * sunrpc/publickey.c: Likewise.
34019         * sunrpc/rpc_cmsg.c: Likewise.
34020         * sunrpc/rpc_common.c: Likewise.
34021         * sunrpc/rpc_dtable.c: Likewise.
34022         * sunrpc/rpc_prot.c: Likewise.
34023         * sunrpc/rpc_thread.c: Likewise.
34024         * sunrpc/rtime.c: Likewise.
34025         * sunrpc/svc.c: Likewise.
34026         * sunrpc/svc_auth.c: Likewise.
34027         * sunrpc/svc_authux.c: Likewise.
34028         * sunrpc/svc_raw.c: Likewise.
34029         * sunrpc/svc_run.c: Likewise.
34030         * sunrpc/svc_simple.c: Likewise.
34031         * sunrpc/svc_tcp.c: Likewise.
34032         * sunrpc/svc_udp.c: Likewise.
34033         * sunrpc/svc_unix.c: Likewise.
34034         * sunrpc/svcauth_des.c: Likewise.
34035         * sunrpc/xcrypt.c: Likewise.
34036         * sunrpc/xdr.c: Likewise.
34037         * sunrpc/xdr_array.c: Likewise.
34038         * sunrpc/xdr_float.c: Likewise.
34039         * sunrpc/xdr_intXX_t.c: Likewise.
34040         * sunrpc/xdr_mem.c: Likewise.
34041         * sunrpc/xdr_rec.c: Likewise.
34042         * sunrpc/xdr_ref.c: Likewise.
34043         * sunrpc/xdr_sizeof.c: Likewise.
34044         * sunrpc/xdr_stdio.c: Likewise.
34046 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
34048         [BZ #12650]
34049         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34050         * sysdeps/ia64/dl-tls.h: Likewise.
34051         * sysdeps/powerpc/dl-tls.h: Likewise.
34052         * sysdeps/s390/dl-tls.h: Likewise.
34053         * sysdeps/sh/dl-tls.h: Likewise.
34054         * sysdeps/sparc/dl-tls.h: Likewise.
34055         * sysdeps/x86_64/dl-tls.h: Likewise.
34056         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34058 2011-03-14  Andreas Schwab  <schwab@redhat.com>
34060         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34061         rpath element also skip the following colon.
34062         (expand_dynamic_string_token): Add is_path parameter and pass
34063         down to DL_DST_REQUIRED and _dl_dst_substitute.
34064         (decompose_rpath): Call expand_dynamic_string_token with
34065         non-zero is_path.  Ignore empty rpaths.
34066         (_dl_map_object_from_fd): Call expand_dynamic_string_token
34067         with zero is_path.
34069 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
34071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34072         Make cancelable.
34074 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
34076         [BZ #12655]
34077         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34078         Patch by Filipe David Manana <fdmanana@apache.org>.
34080 2011-04-07  Andreas Schwab  <schwab@redhat.com>
34082         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34083         Maintain aligned stack.
34084         (CHECK_RSP): Remove unused macro.
34086 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
34088         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34089         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34091 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
34093         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34095         * include/features.h: Mention __USE_XOPEN2K8 in comment.
34097 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
34099         [BZ #12518]
34100         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34101         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34102         * sysdeps/x86_64/memmove.c: New file.
34103         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34104         (memcpy): Renamed to ...
34105         (__new_memcpy): This.
34106         (memcpy): Provide GLIBC_2_14 memcpy.
34107         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34108         (memcpy): Provide GLIBC_2_2_5 memcpy.
34110 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34112         [BZ #12631]
34113         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34115 2011-03-30  Andreas Schwab  <schwab@redhat.com>
34117         * misc/syncfs.c: New file.
34118         * misc/Makefile (routines): Add syncfs.
34119         * posix/unistd.h: Declare syncfs.
34120         * sysdeps/unix/syscalls.list: Add syncfs.
34122 2011-04-01  Andreas Schwab  <schwab@redhat.com>
34124         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34125         open_by_handle_at.
34126         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34127         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34128         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34129         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34131         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34132         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34134 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34136         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34137         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34138         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34139         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34140         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34142         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34144         * io/Makefile: Compile fallocate.c, fallocate64.c, and
34145         sync_file_range.c with -fexceptions.
34146         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34147         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34148         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34149         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34150         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34151         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34152         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34153         sync_file_range as cancellation point
34154         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
34155         now a wrapper around __call_sync_file_range with cancellation handling.
34156         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34157         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
34158         function name to __call_sync_file_range.
34159         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34160         Add call_sync_file_range.
34162 2011-04-01  Andreas Schwab  <schwab@redhat.com>
34164         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34165         bits/timex.h.
34167 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34169         * iconv/iconv.h: Fix typo in comment.
34170         * io/fcntl.h: Likewise.
34171         * libio/stdio.h: Likewise.
34172         * posix/spawn.h: Likewise.
34173         * posix/unistd.h: Likewise.
34174         * stdlib/stdlib.h: Likewise.
34175         * time/time.h: Likewise.
34176         * wcsmbs/wchar.h: Likewise.
34178         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34179         open_by_handle): Add.
34180         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34181         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
34182         Augment a few comments.
34183         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34184         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34185         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34187         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34188         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34189         open_by_handle.
34191         * io/fcntl.h (AT_EMPTY_PATH): Define.
34193 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
34195         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34196         * sysdeps/unix/sysv/linux/bits/time.h: New file.
34197         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34198         to...
34199         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
34200         * Versions.def: Add GLIBC_2.14.
34201         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34202         Export.
34204 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
34206         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34207         round counter.
34208         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34210 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34212         [BZ #12597]
34213         * string/test-strncmp.c (do_page_test): New function.
34214         (check2): Likewise.
34215         (test_main): Call check2.
34216         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34218 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
34220         [BZ #12587]
34221         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34222         Handle cache information in CPU leaf 4.
34223         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34225 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
34227         [BZ #12583]
34228         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34229         character representation.
34230         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34232 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
34234         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34235         END(__isnan) to END(__isnanf) to match function entry point/label
34236         EALIGN(__isnanf,...).
34238 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
34240         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34242 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
34244         [BZ #12510]
34245         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34246         copy from the symbol referenced in the relocation to initialize the
34247         used variable.
34248         Patch by Piotr Bury <pbury@goahead.com>.
34249         * elf/Makefile: Add rules to build and tst-unique3.
34250         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34251         * elf/tst-unique3.cc: New file.
34252         * elf/tst-unique3.h: New file.
34253         * elf/tst-unique3lib.cc: New file.
34254         * elf/tst-unique3lib2.cc: New file.
34256         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34258 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
34260         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34261         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
34262         to _start.
34264 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
34266         * elf/dl-load.c (_dl_map_object): If we are looking for the first
34267         to-be-loaded object along a path to loader is ld.so.
34269 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
34270             Ulrich Drepper  <drepper@gmail.com>
34272         * sysdeps/x86_64/memset.S: After aligning destination, code
34273         branches to different locations depending on the value of
34274         misalignment, when multiarch is enabled. Fix this.
34276 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
34278         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34279         Set _x86_64_preferred_memory_instruction for AMD processsors.
34280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34281         Set bit_Prefer_SSE_for_memop for AMD processors.
34283 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
34285         * libio/fmemopen.c (fmemopen): Optimize a bit.
34287 2011-03-03  Andreas Schwab  <schwab@redhat.com>
34289         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34291 2011-03-03  Roland McGrath  <roland@redhat.com>
34293         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34295 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
34297         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34298         __bzero_ultra1 instead of __memset_ultra1.
34300 2011-02-23  Andreas Schwab  <schwab@redhat.com>
34301             Ulrich Drepper  <drepper@gmail.com>
34303         [BZ #12509]
34304         * include/link.h (struct link_map): Add l_orig_initfini.
34305         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34306         returning unsuccessfully.
34307         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34308         close of a file loaded at startup, restore the original l_initfini
34309         list.
34310         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34311         list, store the pointer.
34312         * elf/Makefile ($(objpfx)noload-mem): New rule.
34313         (noload-ENV): Define.
34314         (tests): Add $(objpfx)noload-mem.
34315         * elf/noload.c: Include <memcheck.h>.
34316         (main): Call mtrace.  Close all opened handles.
34318 2011-02-17  Andreas Schwab  <schwab@redhat.com>
34320         [BZ #12454]
34321         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34322         dependencies are missing.
34324 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34326         Fix __if_freereq crash: Unlike the generic version which uses free,
34327         Hurd needs munmap.
34328         * sysdeps/mach/hurd/ifreq.h: New file.
34330 2011-01-27  Petr Baudis  <pasky@suse.cz>
34331             Ulrich Drepper  <drepper@gmail.com>
34333         [BZ 12445]#
34334         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34335         to extend_alloca().
34336         * stdio-common/bug23.c: New file.
34337         * stdio-common/Makefile (tests): Add bug23.
34339 2010-09-28  Andreas Schwab  <schwab@redhat.com>
34340             Ulrich Drepper  <drepper@gmail.com>
34342         [BZ #12489]
34343         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34344         before performing relro protection.  At old place add assertion
34345         to make sure nothing changed.
34347 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
34348             Glauber de Oliveira Costa  <glommer@gmail.com>
34350         * elf/elf.h: Add new ARM TLS relocs.
34352 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
34354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34355         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34356         cast from r3.
34357         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
34358         'tests' variable.
34359         * sysdeps/wordsize-64/tst-writev.c: New file.
34361 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
34363         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34364         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34365         insns in _dl_start to prevent a TOC reference before relocs are
34366         resolved.
34368 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
34370         [BZ #12469]
34371         * Makeconfig: Remove RANLIB definition.
34372         * Makerules: Don't use RANLIB.
34373         * aclocal.m4: Remove ranlib test.
34374         * configure.in: No need to check for ranlib.
34375         * elf/rtld-Rules: Don't use RANLIB.
34377 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34379         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34380         protection macro.
34381         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34382         inclusion protection macro.
34384         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34385         SIGRTMIN and SIGRTMAX and print information in that case only when
34386         SIGRTMIN is defined.
34388 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
34390         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34391         arginfo fn returning -1.
34393         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34394         and thousands string is zero terminated.
34396 2011-02-03  Andreas Schwab  <schwab@redhat.com>
34398         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34399         sysdeps/unix/sysv/linux/bits/socket.h.
34401 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34403         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34404         (__CPU_COUNT): Remove old macros.
34405         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34406         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34407         (__CPU_ALLOC, __CPU_FREE): Add macros.
34408         (__sched_cpualloc, __sched_cpufree): Add declarations.
34410 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
34412         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34413         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34414         * nscd/aicache.c (addhstaiX): Return timeout of added value.
34415         (readdhstai): Return value of addhstaiX call.
34416         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34417         (addgrbyX): Return value returned by cache_addgr.
34418         (readdgrbyname): Return value returned by addgrbyX.
34419         (readdgrbygid): Likewise.
34420         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34421         (addpwbyX): Return value returned by cache_addpw.
34422         (readdpwbyname): Return value returned by addhstbyX.
34423         (readdpwbyuid): Likewise.
34424         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34425         (addservbyX): Return value returned by cache_addserv.
34426         (readdservbyname): Return value returned by addservbyX:
34427         (readdservbyport): Likewise.
34428         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34429         (addhstbyX): Return value returned by cache_addhst.
34430         (readdhstbyname): Return value returned by addhstbyX.
34431         (readdhstbyaddr): Likewise.
34432         (readdhstbynamev6): Likewise.
34433         (readdhstbyaddrv6): Likewise.
34434         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34435         (readdinitgroups): Return value returned by addinitgroupsX.
34436         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34437         (prune_cache): Keep track of timeout value of re-added entries.
34438         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34439         * nscd/nscd.h: Adjust prototypes of readd* functions.
34441 2011-02-04  Roland McGrath  <roland@redhat.com>
34443         * nis/nis_server.c (nis_servstate): Use the right name for 0.
34444         (nis_stats): Likewise.
34445         * nis/nis_modify.c (nis_modify): Likewise.
34446         * nis/nis_remove.c (nis_remove): Likewise.
34447         * nis/nis_add.c (nis_add): Likewise.
34449         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34451         * posix/fnmatch_loop.c: Add some consts.
34453         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34455 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
34457         [BZ #12460]
34458         * config.make.in (config-cflags-novzeroupper): Define.
34459         * configure.in: Substitute libc_cv_cc_novzeroupper.
34460         * elf/Makefile (AVX-CFLAGS): Define.
34461         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34462         (CFLAGS-tst-auditmod4a.c): Likewise.
34463         (CFLAGS-tst-auditmod4b.c): Likewise.
34464         (CFLAGS-tst-auditmod6b.c): Likewise.
34465         (CFLAGS-tst-auditmod6c.c): Likewise.
34466         (CFLAGS-tst-auditmod7b.c): Likewise.
34467         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34469 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
34471         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34472         function to the callback.
34473         Patch partly by Jiri Olsa <jolsa@redhat.com>.
34475 2011-02-02  Andreas Schwab  <schwab@redhat.com>
34477         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34478         of errno.
34480 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
34482         [BZ #11724]
34483         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34484         of constructors.
34485         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34486         of destructors.
34487         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34489         [BZ #11724]
34490         * elf/Makefile: Add rules to build and run new test.
34491         * elf/tst-initorder.c: New file.
34492         * elf/tst-initorder.exp: New file.
34493         * elf/tst-initordera1.c: New file.
34494         * elf/tst-initordera2.c: New file.
34495         * elf/tst-initordera3.c: New file.
34496         * elf/tst-initordera4.c: New file.
34497         * elf/tst-initorderb1.c: New file.
34498         * elf/tst-initorderb2.c: New file.
34499         * elf/tst-order-a1.c: New file.
34500         * elf/tst-order-a2.c: New file.
34501         * elf/tst-order-a3.c: New file.
34502         * elf/tst-order-a4.c: New file.
34503         * elf/tst-order-b1.c: New file.
34504         * elf/tst-order-b2.c: New file.
34505         * elf/tst-order-main.c: New file.
34506         New test case by George Gensure <werkt0@gmail.com>.
34508 2010-10-01  Andreas Schwab  <schwab@redhat.com>
34510         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34511         decoding ACE if AI_CANONIDN.
34513 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
34515         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34517 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
34519         * version.h (RELEASE): Bump for 2.13 release.
34520         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34522         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34524         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34525         MADV_NOHUGEPAGE.
34526         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34527         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34528         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34529         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34530         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34531         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34533         * posix/getconf.c: Update copyright year.
34534         * catgets/gencat.c: Likewise.
34535         * csu/version.c: Likewise.
34536         * debug/catchsegv.sh: Likewise.
34537         * debug/xtrace.sh: Likewise.
34538         * elf/ldconfig.c: Likewise.
34539         * elf/ldd.bash.in: Likewise.
34540         * elf/sprof.c (print_version): Likewise.
34541         * iconv/iconv_prog.c: Likewise.
34542         * iconv/iconvconfig.c: Likewise.
34543         * locale/programs/locale.c: Likewise.
34544         * locale/programs/localedef.c: Likewise.
34545         * malloc/memusage.sh: Likewise.
34546         * malloc/mtrace.pl: Likewise.
34547         * nscd/nscd.c (print_version): Likewise.
34548         * nss/getent.c: Likewise.
34550         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34551         PF_CAIF, and PF_ALG.
34552         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34554 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
34556         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34557         (modules-names): Use them.
34558         (ifunc-test-modules, ifunc-pie-tests): Define.
34559         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34560         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34561         (test-extras): Likewise.
34562         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34563         $(compile-command.c).
34564         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34565         (all-built-dso): Define.
34566         (check-textrel.out, check-execstack.out): Depend on it.
34568         * configure.in: Don't override --enable-multi-arch.
34570 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
34572         [BZ #6812]
34573         * nscd/hstcache.c (tryagain): Define.
34574         (cache_addhst): Return tryagain not notfound for temporary errors.
34575         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34576         failed.
34578 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
34580         [BZ #10563]
34581         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34582         to make the syscall.
34583         * sysdeps/unix/sysv/linux/setgroups.c: New file.
34585         [BZ #12378]
34586         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34587         and fall back to matching as normal character if the string ends before
34588         the matching ']' is found.  This is what POSIX requires.
34589         * posix/testfnm.c: Adjust test result.
34590         * posix/globtest.sh: Adjust test result.  Add new test.
34591         * posix/tst-fnmatch.input: Likewise.
34592         * posix/tst-fnmatch2.c: Add new test.
34594 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
34596         * elf/Makefile (check-execstack): Revert last change.  Depend on
34597         check-execstack.h.
34598         (check-execstack.h): New target.
34599         (generated): Add check-execstack.h.
34600         * elf/check-execstack.c: Include "check-execstack.h".
34601         (main): Revert last change.
34602         (handle_file): Return zero if GNU_STACK is absent and
34603         DEFAULT_STACK_PERMS doesn't include PF_X.
34605 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
34607         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34608         in child fails because the descriptor is already closed.
34609         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34610         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34611         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34613         [BZ #12397]
34614         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34615         syscall.
34617         [BZ #10484]
34618         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34619         temporary buffer used to handle multi lookups locally.
34620         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34622 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34624         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34625         loader is ld.so.
34627 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
34629         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34630         alignment for SSE2.
34632 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34634         [BZ #12394]
34635         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34636         characters.  When rounding increased number of integer digits recompute
34637         number of groups.
34638         * stdio-common/tst-grouping.c: New file.
34639         * stdio-common/Makefile: Add rules to build and run tst-grouping.
34641 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
34643         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34644         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
34646         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34647         void.
34648         * bits/select.h: Likewise.
34650 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
34652         * po/ja.po: Update from translation team.
34654 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
34656         [BZ #11155]
34657         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34658         implementation just like for lxstat, fxstatat, et al.
34660 2010-12-27  Jim Meyering  <meyering@redhat.com>
34662         [BZ #12348]
34663         * posix/regexec.c (build_trtable): Return failure indication upon
34664         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
34666 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
34668         [BZ #12201]
34669         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34670         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34671         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34672         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34674         [BZ #12207]
34675         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34677         [BZ #12204]
34678         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34679         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34681 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
34683         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34684         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34685         script has SORT_BY_INIT_PRIORITY.
34686         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34687         NO_CTORS_DTORS_SECTIONS is defined.
34688         * elf/soinit.c: Likewise.
34689         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34690         NO_CTORS_DTORS_SECTIONS is defined.
34691         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34692         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34693         * sysdeps/sh/init-first.c: Likewise.
34694         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34696 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
34698         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34699         always use the slow path.
34701 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
34703         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34704         similar rule which adds the sysdep directories to the header search in
34705         order to pick up the correct platform stackinfo.h.
34706         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34707         perform test if it is, otherwise return successfully without testing.
34708         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34709         DEFAULT_STACK_PERMS define in stackinfo.h.
34710         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34711         defined in stackinfo.h.
34712         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34713         DEFAULT_STACK_PERMS defined in stackinfo.h.
34714         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34715         * sysdeps/ia64/stackinfo.h: Likewise.
34716         * sysdeps/s390/stackinfo.h: Likewise.
34717         * sysdeps/sh/stackinfo.h: Likewise.
34718         * sysdeps/sparc/stackinfo.h: Likewise.
34719         * sysdeps/x86_64/stackinfo.h: Likewise.
34720         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34721         PF_X for powerpc64.  Retain PF_X for powerpc32.
34723 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
34725         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34726         accurately.
34727         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34728         GETDENTS_64BIT_ALIGNED.
34730 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
34732         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34734 2010-12-10  Andreas Schwab  <schwab@redhat.com>
34736         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34737         _GNU_SOURCE.
34739         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34740         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34741         Remove __restrict.
34742         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34743         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34745 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
34747         [BZ #11655]
34748         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34749         are initialized.
34751 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
34753         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34755 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
34757         * po/it.po: Update from translation team.
34759 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34761         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34762         unused codes.
34764 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34766         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34768 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34770         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34771         specially.
34772         (gaih_getanswer_slice): Likewise.
34774 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34776         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34778 2010-05-31  Petr Baudis  <pasky@suse.cz>
34780         [BZ #11149]
34781         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34782         silently even in the chroot mode.
34784 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34786         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34787         last patch a bit.  Pretty printing
34789 2010-05-31  Petr Baudis <pasky@suse.cz>
34791         [BZ #10085]
34792         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34793         initialization of skip_initgroups_dyn.
34795 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34797         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34798         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34800 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34802         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34804 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34806         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34807         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34808         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34809         ($(objpfx)tst-fnmatch-mem): New rule.
34810         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34811         * posix/tst-fnmatch.c (main): Call mtrace.
34813 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34816         Support Intel processor model 6 and model 0x2c.
34818 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34820         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34821           signed comparison.
34823 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34825         [BZ #12205]
34826         * string/test-strncasecmp.c (check_result): New function.
34827         (do_one_test): Use it.
34828         (check1): New function.
34829         (test_main): Use it.
34830         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34831         Support strcasecmp and strncasecmp.
34833 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34835         [BZ #12194]
34836         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34837         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34839 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34841         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34842         IFUNC support.
34843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34844         memset-x86-64.
34845         * sysdeps/x86_64/multiarch/bzero.S: New file.
34846         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34847         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34848         * sysdeps/x86_64/multiarch/memset.S: New file.
34849         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34851         Set bit_Prefer_SSE_for_memop for Intel processors.
34852         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34853         Define.
34854         (index_Prefer_SSE_for_memop): Define.
34855         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34857 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34859         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34860         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34862 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34864         [BZ #12191]
34865         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34866         (__x86_64_raw_data_cache_size_half): Likewise.
34867         (__x86_64_raw_shared_cache_size): Likewise.
34868         (__x86_64_raw_shared_cache_size_half): Likewise.
34870         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34871         (__x86_64_raw_data_cache_size_half): Likewise.
34872         (__x86_64_raw_shared_cache_size): Likewise.
34873         (__x86_64_raw_shared_cache_size_half): Likewise.
34874         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34875         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34876         and __x86_64_raw_shared_cache_size_half.  Round
34877         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34878         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34879         to multiple of 256 bytes.
34881 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34883         [BZ #12167]
34884         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34885         of inacessible symlinks.  Verify result of symlink before returning it.
34886         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34887         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34889 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34891         * math/math.h (isinf): Fix typo in comment.
34893 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34895         * po/da.po: Update from translation team.
34897 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34899         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34900         is added to the list.
34902 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34903             Ulrich Drepper  <drepper@gmail.com>
34905         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34906         the global list here.  Move code to...
34907         (_dl_add_to_namespace_list): ...here.  New function.
34908         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34909         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34910         * elf/dl-load.c (lose): Don't remove the element from the list.
34911         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34912         (_dl_map_object): Likewise.
34914 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34916         [BZ #12159]
34917         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34918         into all bytes of SSE register.
34919         Patch by Richard Li <richardpku@gmail.com>.
34921 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34923         [BZ #12140]
34924         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34925         perturbing.
34927 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34929         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34930         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34931         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34932         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34934         submachine.
34935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34937 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34939         * include/dlfcn.h (__RTLD_SECURE): Define.
34940         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34941         mode & __RTLD_SECURE instead.
34942         (open_path): Rename preloaded parameter to secure.
34943         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34944         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34945         * elf/dl-deps.c (openaux): Likewise.
34946         * elf/rtld.c (struct map_args): Remove is_preloaded.
34947         (map_doit): Don't use it.
34948         (dl_main): Likewise.
34949         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34950         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34952 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34954         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34955         (sysd-rules-targets): Remove duplicates.
34956         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34957         rtld-%.$o dependency.
34959 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34961         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34962         _dl_map_object do it.
34964 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34966         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34967         fast fma builtins, define the macros in the C99 standard.
34968         (FP_FAST_FMAF): Likewise.
34969         (FP_FAST_FMAL): Likewise.
34970         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34972         * bits/mathdef.h: Update copyright year.
34973         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34975 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34977         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34978         builtins, define the macros in the C99 standard.
34979         (FP_FAST_FMAF): Likewise.
34980         (FP_FAST_FMAL): Likewise.
34981         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34982         multiply/add.
34983         (FP_FAST_FMAF): Likewise.
34985 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34987         [BZ #3268]
34988         * math/libm-test.inc (fma_test): Some new testcases.
34989         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34990         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34991         y and infinite z.  Do multiplication by C already in long double.
34992         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34994         y and infinite z.  Do bitwise or of inexact bit into u.d.
34995         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34996         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34997         * sysdeps/i386/fpu/s_fma.S: Removed.
34998         * sysdeps/i386/fpu/s_fmal.S: Removed.
35000 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
35002         [BZ #3268]
35003         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35004         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35005         computation is not scheduled after fetestexcept.  Fix value
35006         of minimum denormal long double.
35008 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
35010         [BZ #3268]
35011         * math/libm-test.inc (fma_test): Add some more tests.
35012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35013         correctly.
35015 2010-10-15  Andreas Schwab  <schwab@redhat.com>
35017         * scripts/data/localplt-s390-linux-gnu.data: New file.
35018         * scripts/data/localplt-s390x-linux-gnu.data: New file.
35020 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
35022         [BZ #3268]
35023         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35024         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35025         instead of dbl-64.
35026         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35027         inlines.
35028         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35030         if one of x and y is very large and the other is subnormal.
35031         * sysdeps/s390/fpu/s_fmaf.c: New file.
35032         * sysdeps/s390/fpu/s_fma.c: New file.
35033         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35034         * sysdeps/powerpc/fpu/s_fma.S: New file.
35035         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35036         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35037         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35039 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
35041         [BZ #3268]
35042         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35043         fma tests.
35044         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35045         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35046         * sysdeps/i386/i686/multiarch/s_fma.c: Include
35047         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35048         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35049         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35050         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35052 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
35054         [BZ #12078]
35055         * posix/regcomp.c (parse_branch): One more memory leak plugged.
35056         * posix/bug-regex31.input: Add test case.
35058 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35060         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35061         * posix/bug-regex31.input: New file.
35063         [BZ #12078]
35064         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35065         (parse_sub_exp): Fix last change, use postorder.
35067         * posix/bug-regex31.c: New file.
35068         * posix/Makefile: Add rules to build and run bug-regex31.
35070         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35072         [BZ #12078]
35073         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35075         [BZ #12108]
35076         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35077         to have entries in sys_siglist.
35079         [BZ #12093]
35080         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35081         be NULL.
35083 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
35085         [BZ #3268]
35086         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35087         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35088         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35089         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35090         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35091         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35092         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35093         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35094         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35095         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35096         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35097         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35098         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35099         * math/ftestexcept.c (fetestexcept): Likewise.
35100         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35101         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35102         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35103         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35104         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35105         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35106         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35108 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35110         [BZ #12107]
35111         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35112         newline.
35114 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
35116         * string/bug-strstr1.c: New file.
35117         * string/Makefile: Add rules to build and run bug-strstr1.
35119 2010-10-05  Eric Blake  <eblake@redhat.com>
35121         [BZ #12092]
35122         * string/str-two-way.h (two_way_long_needle): Always clear memory
35123         when skipping input due to the shift table.
35125 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
35127         [BZ #12005]
35128         * malloc/mcheck.c: Handle large requests.
35130         [BZ #12077]
35131         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35132         for strncmp and strncasecmp.
35133         * string/stratcliff.c: Add tests for strcmp and strncmp.
35134         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35136 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35138         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35139         __set_fpscr.
35141 2010-09-30  Andreas Jaeger  <aj@suse.de>
35143         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35144         (CGROUP_SUPER_MAGIC): Define.
35145         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35146         Handle btrfs and cgroup file systems.
35147         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35148         Likewise.
35150 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
35152         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35153         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35155 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35157         [BZ #12067]
35158         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35159         trying to locate the ELF header.
35161 2010-09-27  Andreas Schwab  <schwab@redhat.com>
35163         [BZ #11611]
35164         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35165         Mask out sign-bit copies when constructing f_fsid.
35167 2010-09-24  Petr Baudis <pasky@suse.cz>
35169         * debug/stack_chk_fail_local.c: Add missing licence exception.
35170         * debug/warning-nop.c: Likewise.
35172 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
35174         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35175         implementing getdents64 using getdents syscall, set d_type if
35176         __ASSUME_GETDENTS32_D_TYPE.
35178 2010-09-16  Andreas Schwab  <schwab@redhat.com>
35180         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35181         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35183 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
35185         [BZ #12037]
35186         * posix/unistd.h: Undo change of feature selection for ftruncate from
35187         2010-01-11.
35189 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
35191         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35192         detection.
35194 2010-09-20  Andreas Schwab  <schwab@redhat.com>
35196         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35197         fanotify_mark.
35198         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35200 2010-09-14  Andreas Schwab  <schwab@redhat.com>
35202         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35203         variables after CHECK_SP call.
35204         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35206 2010-09-13  Andreas Schwab  <schwab@redhat.com>
35207             Ulrich Drepper  <drepper@redhat.com>
35209         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35210         re-relocationg ld.so.
35211         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35212         _dl_init_paths call.
35213         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
35214         here anymore.
35216 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
35218         * resolv/res_init.c (__res_vinit): Count the default server we added.
35220 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
35221             Ulrich Drepper  <drepper@redhat.com>
35223         [BZ #11968]
35224         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35225         (____longjmp_chk): Use %ebx for saving value across system call.
35226         Add unwind info.
35228 2010-09-06  Andreas Schwab  <schwab@redhat.com>
35230         * manual/Makefile: Don't mix pattern rules with normal rules.
35232 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35234         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35235         operation.
35236         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35237         * libio/iofopncook.c (_IO_cookie_init): Likewise.
35238         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35239         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35240         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35241         Likewise.
35243 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
35245         [BZ #11979]
35246         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35247         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35249 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
35251         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35252         * sysdeps/x86_64/addmul_1.S: Likewise.
35253         * sysdeps/x86_64/lshift.S: Likewise.
35254         * sysdeps/x86_64/mul_1.S: Likewise.
35255         * sysdeps/x86_64/rshift.S: Likewise.
35256         * sysdeps/x86_64/sub_n.S: Likewise.
35257         * sysdeps/x86_64/submul_1.S: Likewise.
35259 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35261         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35262         Define __sched_param instead of SCHED_* and sched_param when
35263         <bits/sched.h> is included with __need_schedparam defined.
35264         * bits/sched.h [__need_schedparam]
35265         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35266         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35267         (__defined_schedparam): Define to 1.
35268         (__sched_param): New structure, identical to sched_param.
35269         (__need_schedparam): Undefine.
35271 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
35273         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35274         (epoll_create1): Declare.
35276         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35278 2010-08-31  Andreas Schwab  <schwab@redhat.com>
35280         [BZ #7066]
35281         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35282         shifting retval into place.
35284 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
35286         * nis/rpcsvc/nis.h: Update copyright notice.
35287         * nis/rpcsvc/nis.x: Likewise.
35288         * nis/rpcsvc/nis_callback.h: Likewise.
35289         * nis/rpcsvc/nis_callback.x: Likewise.
35290         * nis/rpcsvc/nis_object.x: Likewise.
35291         * nis/rpcsvc/nis_tags.h: Likewise.
35292         * nis/rpcsvc/yp.h: Likewise.
35293         * nis/rpcsvc/yp.x: Likewise.
35294         * nis/rpcsvc/ypupd.h: Likewise.
35295         * nis/yp_xdr.c: Likewise.
35296         * nis/ypupdate_xdr.c: Likewise.
35298         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
35299         mainly the body of pmap_getport.  Add parameters to specify timeouts.
35300         (pmap_getport): Use __libc_rpc_getport.
35301         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35302         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35303         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35305 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
35307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35308         fanotify_mark.
35310 2010-08-27  Roland McGrath  <roland@redhat.com>
35312         * sysdeps/i386/i686/multiarch/Makefile
35313         (CFLAGS-varshift.c): New variable.
35315 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
35317         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35318         * sysdeps/i386/i686/multiarch/varshift.c: New file.
35320         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35322         * sysdeps/x86_64/strlen.S: Minimal code improvement.
35324 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
35326         * sysdeps/x86_64/strlen.S: Unroll the loop.
35327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35328         strlen-sse2 strlen-sse2-bsf.
35329         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35330         __strlen_no_bsf if bit_Slow_BSF is set.
35331         (__strlen_sse42): Removed.
35332         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35333         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35335 2010-08-25  Roland McGrath  <roland@redhat.com>
35337         * sysdeps/x86_64/multiarch/varshift.S: File removed.
35338         * sysdeps/x86_64/multiarch/varshift.c: New file.
35339         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35340         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35341         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35342         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35344 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
35346         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35347         strlen-sse2 strlen-sse2-bsf.
35348         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35349         __strlen_sse2_bsf if bit_Slow_BSF is unset.
35350         (__strlen_sse2): Removed.
35351         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35352         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35354         bit_Slow_BSF for Atom.
35355         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35356         (index_Slow_BSF): Define.
35357         (HAS_SLOW_BSF): Define.
35359 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
35361         [BZ #10851]
35362         * resolv/res_init.c (__res_vinit): When no server address at all
35363         is given default to loopback.
35365 2010-08-24  Roland McGrath  <roland@redhat.com>
35367         * configure.in: Remove config-name.h generation.
35368         * configure: Regenerated.
35369         * config-name.in: File removed.
35370         * scripts/config-uname.sh: New file.
35371         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35372         ($(objdir)config-name.h): New target.
35374         * sunrpc/rpc_parse.h: Avoid nested comment.
35376 2010-08-24  Richard Henderson  <rth@redhat.com>
35377             Ulrich Drepper  <drepper@redhat.com>
35378             H.J. Lu  <hongjiu.lu@intel.com>
35380         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35382         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35383         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
35384         _mm_alignr_epi8 with _mm_loadu_si128.
35385         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35386         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35387         (__m128i_shift_right): Removed.
35388         * sysdeps/i386/i686/multiarch/varshift.h: New file.
35389         * sysdeps/i386/i686/multiarch/varshift.S: New file.
35390         * sysdeps/x86_64/multiarch/varshift.h: New file.
35391         * sysdeps/x86_64/multiarch/varshift.S: New file.
35393 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
35395         * configure.in: Move assembler checks to before sysdep dir checking.
35397 2010-08-20  Petr Baudis  <pasky@suse.cz>
35399         * LICENSES: Sync the sunrpc license.
35401 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
35403         * sunrpc/auth_des.c: Update copyright notice once again.
35404         * sunrpc/auth_none.c: Likewise.
35405         * sunrpc/auth_unix.c: Likewise.
35406         * sunrpc/authdes_prot.c: Likewise.
35407         * sunrpc/authuxprot.c: Likewise.
35408         * sunrpc/bindrsvprt.c: Likewise.
35409         * sunrpc/clnt_gen.c: Likewise.
35410         * sunrpc/clnt_perr.c: Likewise.
35411         * sunrpc/clnt_raw.c: Likewise.
35412         * sunrpc/clnt_simp.c: Likewise.
35413         * sunrpc/clnt_tcp.c: Likewise.
35414         * sunrpc/clnt_udp.c: Likewise.
35415         * sunrpc/clnt_unix.c: Likewise.
35416         * sunrpc/des_crypt.c: Likewise.
35417         * sunrpc/des_soft.c: Likewise.
35418         * sunrpc/get_myaddr.c: Likewise.
35419         * sunrpc/getrpcport.c: Likewise.
35420         * sunrpc/key_call.c: Likewise.
35421         * sunrpc/key_prot.c: Likewise.
35422         * sunrpc/openchild.c: Likewise.
35423         * sunrpc/pm_getmaps.c: Likewise.
35424         * sunrpc/pm_getport.c: Likewise.
35425         * sunrpc/pmap_clnt.c: Likewise.
35426         * sunrpc/pmap_prot.c: Likewise.
35427         * sunrpc/pmap_prot2.c: Likewise.
35428         * sunrpc/pmap_rmt.c: Likewise.
35429         * sunrpc/rpc/auth.h: Likewise.
35430         * sunrpc/rpc/auth_unix.h: Likewise.
35431         * sunrpc/rpc/clnt.h: Likewise.
35432         * sunrpc/rpc/des_crypt.h: Likewise.
35433         * sunrpc/rpc/key_prot.h: Likewise.
35434         * sunrpc/rpc/netdb.h: Likewise.
35435         * sunrpc/rpc/pmap_clnt.h: Likewise.
35436         * sunrpc/rpc/pmap_prot.h: Likewise.
35437         * sunrpc/rpc/pmap_rmt.h: Likewise.
35438         * sunrpc/rpc/rpc.h: Likewise.
35439         * sunrpc/rpc/rpc_des.h: Likewise.
35440         * sunrpc/rpc/rpc_msg.h: Likewise.
35441         * sunrpc/rpc/svc.h: Likewise.
35442         * sunrpc/rpc/svc_auth.h: Likewise.
35443         * sunrpc/rpc/types.h: Likewise.
35444         * sunrpc/rpc/xdr.h: Likewise.
35445         * sunrpc/rpc_clntout.c: Likewise.
35446         * sunrpc/rpc_cmsg.c: Likewise.
35447         * sunrpc/rpc_common.c: Likewise.
35448         * sunrpc/rpc_cout.c: Likewise.
35449         * sunrpc/rpc_dtable.c: Likewise.
35450         * sunrpc/rpc_hout.c: Likewise.
35451         * sunrpc/rpc_main.c: Likewise.
35452         * sunrpc/rpc_parse.c: Likewise.
35453         * sunrpc/rpc_parse.h: Likewise.
35454         * sunrpc/rpc_prot.c: Likewise.
35455         * sunrpc/rpc_sample.c: Likewise.
35456         * sunrpc/rpc_scan.c: Likewise.
35457         * sunrpc/rpc_scan.h: Likewise.
35458         * sunrpc/rpc_svcout.c: Likewise.
35459         * sunrpc/rpc_tblout.c: Likewise.
35460         * sunrpc/rpc_util.c: Likewise.
35461         * sunrpc/rpc_util.h: Likewise.
35462         * sunrpc/rpcinfo.c: Likewise.
35463         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35464         * sunrpc/rpcsvc/key_prot.x: Likewise.
35465         * sunrpc/rpcsvc/klm_prot.x: Likewise.
35466         * sunrpc/rpcsvc/mount.x: Likewise.
35467         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35468         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35469         * sunrpc/rpcsvc/rex.x: Likewise.
35470         * sunrpc/rpcsvc/rstat.x: Likewise.
35471         * sunrpc/rpcsvc/rusers.x: Likewise.
35472         * sunrpc/rpcsvc/sm_inter.x: Likewise.
35473         * sunrpc/rpcsvc/spray.x: Likewise.
35474         * sunrpc/rpcsvc/yppasswd.x: Likewise.
35475         * sunrpc/rtime.c: Likewise.
35476         * sunrpc/svc.c: Likewise.
35477         * sunrpc/svc_auth.c: Likewise.
35478         * sunrpc/svc_authux.c: Likewise.
35479         * sunrpc/svc_raw.c: Likewise.
35480         * sunrpc/svc_run.c: Likewise.
35481         * sunrpc/svc_simple.c: Likewise.
35482         * sunrpc/svc_tcp.c: Likewise.
35483         * sunrpc/svc_udp.c: Likewise.
35484         * sunrpc/svc_unix.c: Likewise.
35485         * sunrpc/svcauth_des.c: Likewise.
35486         * sunrpc/xcrypt.c: Likewise.
35487         * sunrpc/xdr.c: Likewise.
35488         * sunrpc/xdr_array.c: Likewise.
35489         * sunrpc/xdr_float.c: Likewise.
35490         * sunrpc/xdr_mem.c: Likewise.
35491         * sunrpc/xdr_rec.c: Likewise.
35492         * sunrpc/xdr_ref.c: Likewise.
35493         * sunrpc/xdr_sizeof.c: Likewise.
35494         * sunrpc/xdr_stdio.c: Likewise.
35496         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35497         handling.
35499 2010-08-19  Andreas Schwab  <schwab@redhat.com>
35501         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35503 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
35505         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35506         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35507         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35508         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35509         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35510         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35511         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35512         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35513         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35514         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35515         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35516         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35517         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35518         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35520 2010-07-26  Anton Blanchard  <anton@samba.org>
35522         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35523         * malloc/arena.c (heap_trim): Likewise.
35525 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
35527         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35528         here.  Not...
35529         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35530         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35532 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35534         * sysdeps/i386/elf/Makefile: New file.
35536 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35538         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35539         from fanotify_init.
35540         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35541         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35543 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
35545         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35546         of strncasecmp_l.
35547         * sysdeps/multiarch/strcmp.S: Likewise.
35549 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
35551         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35552         strncase_l-nonascii.
35553         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35554         Add strncase_l-ssse3.
35555         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35556         * sysdeps/x86_64/strcmp.S: Likewise.
35557         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35558         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35559         * sysdeps/x86_64/strncase.S: New file.
35560         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35561         * sysdeps/x86_64/strncase_l.S: New file.
35562         * string/Makefile (strop-tests): Add strncasecmp.
35563         * string/test-strncasecmp.c: New file.
35565         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35566         warning.
35568         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35569         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35571 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35573         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35575 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
35577         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35578         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35579         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35581 2010-05-01  Alan Modra  <amodra@gmail.com>
35583         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35584         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35585         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35586         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35587         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35588         tidying.  Don't tail-call __sigjmp_save for static lib.
35589         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35590         save location.
35591         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35592         (CALL_MCOUNT): Add eh info, and nop after bl.
35593         (TAIL_CALL_SYSCALL_ERROR): New macro.
35594         (PSEUDO_RET): Use it.
35595         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35596         Correct save location of integer regs and cr.
35597         (_dl_profile_resolve): Correct cr save location.  Delete nops
35598         after bl when SHARED.  Reduce cfi size a little by better
35599         placement of cfi directives.
35600         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35601         make a stack frame.  Instead use parm save area as a temp.
35602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35603         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
35604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35605         Don't make a stack frame for parent, use parm save area.
35606         Increase child stack frame to 112 bytes.  Don't save unused reg,
35607         and adjust reg usage.  Set up cfi on error recovery and
35608         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35610         (__makecontext): Add dummy nop after jump to exit.
35611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35612         Use correct parm save area and cr save, reduce stack frame.
35613         Correct cfi for possible PSEUDO_RET frame setup.
35614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35615         Branch to local label emitted by PSEUDO_RET rather than
35616         __syscall_error.
35618 2010-08-12  Andreas Schwab  <schwab@redhat.com>
35620         [BZ #11904]
35621         * locale/programs/locale.c (print_assignment): New function.
35622         (show_locale_vars): Use it.
35624 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
35626         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35627         field.
35628         (struct statfs64): Likewise.
35629         (_STATFS_F_FLAGS): Define.
35630         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35631         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35632         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35633         (ST_VALID): Define locally.
35634         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35635         __statvfs_getflags, use the provided value.
35636         * sysdeps/unix/sysv/linux/kernel-features.h: Define
35637         __ASSUME_STATFS_F_FLAGS.
35639         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35641         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35642         Add sys/fanotify.h.
35643         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35644         fanotify_mask for GLIBC_2.13.
35645         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35646         fanotify_init and fanotify_mark.
35647         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35648         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35650         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35651         Add prlimit.
35652         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35653         prlimit64 for GLIBC_2.13.
35654         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35655         prlimit64.
35656         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35657         syscall.
35658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35659         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35660         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35661         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35662         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
35663         add prlimit alias.
35664         * sysdeps/unix/sysv/linux/prlimit.c: New file.
35666         [BZ #11903]
35667         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35668         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35670         * nss/Makefile: Add rules to build and run tst-nss-test1.
35671         * shlib-versions: Add entry for libnss_test1.
35672         * nss/nss_test1.c: New file.
35673         * nss/tst-nss-test1.c: New file.
35675         * nss/nsswitch.c (__nss_database_custom): Define new variable.
35676         (__nss_configure_lookup): Set appropriate entry in
35677         __nss_configure_lookup to true.
35678         * nss/nsswitch.h: Define enum with indeces of databases in
35679         databases and __nss_database_custom arrays.  Declare
35680         __nss_database_custom.
35681         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35682         to avoid using nscd when custom rules are installed.
35683         * nss/getXXbyYY_r.c: Likewise.
35684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35686         * nss/nss_files/files-parse.c: Whitespace fixes.
35688 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
35690         [BZ #11883]
35691         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35692         * posix/fnmatch_loop.c: Likewise.
35694 2010-07-17  Andi Kleen  <ak@linux.intel.com>
35696         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35697         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35698         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35699         * Versions.def [GLIBC_2.13]: Add.
35701 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
35703         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35704         Also fail if tpwd after pwuid call is NULL.
35706 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35708         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35709         when converting to ms.
35711 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35713         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35714         EOPNOTSUPP errors with ENOTTY.
35715         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35716         EOPNOTSUPP errors with ENOTTY.
35718 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
35720         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35721         Add strcasecmp_l-ssse3.
35722         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35723         strcasecmp.
35724         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35725         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35726         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35728 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
35730         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35732         * string/Makefile (strop-tests): Add strcasecmp.
35733         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35734         strcasecmp_l-nonascii.
35735         (gen-as-const-headers): Add locale-defines.sym.
35736         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35737         * sysdeps/x86_64/strcasecmp.S: New file.
35738         * sysdeps/x86_64/strcasecmp_l.S: New file.
35739         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35740         * sysdeps/x86_64/locale-defines.sym: New file.
35741         * string/test-strcasecmp.c: New file.
35743         * string/test-strcasestr.c: Test both ends of the range of characters.
35744         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35746 2010-07-29  Roland McGrath  <roland@redhat.com>
35748         [BZ #11856]
35749         * manual/locale.texi (Yes-or-No Questions): Fix example code.
35751 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
35753         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35754         for ld.so.
35756 2010-07-27  Andreas Schwab  <schwab@redhat.com>
35758         * manual/memory.texi (Malloc Tunable Parameters): Document
35759         M_PERTURB.
35761 2010-07-26  Roland McGrath  <roland@redhat.com>
35763         [BZ #11840]
35764         * configure.in (-fgnu89-inline check): Set and substitute
35765         gnu89_inline, not libc_cv_gnu89_inline.
35766         * configure: Regenerated.
35767         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35769 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35771         * string/test-strnlen.c: New file.
35772         * string/Makefile (strop-tests): Add strnlen.
35773         * string/tester.c (test_strnlen): Add a few more test cases.
35774         * string/tst-strlen.c: Better error reporting.
35776         * sysdeps/x86_64/strnlen.S: New file.
35778 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35780         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35781         lower-latency instructions.
35783 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35785         * string/test-strcasestr.c: New file.
35786         * string/test-strstr.c: New file.
35787         * string/Makefile (strop-tests): Add strstr and strcasestr.
35788         * string/str-two-way.h: Don't undefine MAX.
35789         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35791 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35794         strcasestr-nonascii.
35795         (CFLAGS-strcasestr-nonascii.c): Define.
35796         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35797         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35798         Remove unused attribute.
35800 2010-07-20  Roland McGrath  <roland@redhat.com>
35802         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35803         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35804         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35805         like LD_HWCAP_MASK can disable hwcaps.
35807 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35809         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35811 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35813         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35814         call in strcasestr.
35815         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35816         __strcasestr_sse42_nonascii.
35817         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35818         strcasestr-nonascii.c.
35819         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35821 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35823         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35824         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35825         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35826         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35828 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35830         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35831         fcntl.
35833 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35835         [BZ #11577]
35836         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35837         dl_signal_cerror.
35839 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35841         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35842         _PC_PIPE_BUF using F_GETPIPE_SZ.
35844 2010-07-05  Roland McGrath  <roland@redhat.com>
35846         * manual/arith.texi (Rounding Functions): Fix rint description
35847         implicit in round description.
35849 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35851         * elf/Makefile: Fix linking for a few tests to make recent linker
35852         happy.
35854 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35856         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35857         $(common-objpfx)libc_nonshared.a.
35859 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35861         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35862         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35863         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35864         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35865         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35866         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35867         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35868         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35883         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35884         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35885         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35886         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35887         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35888         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35889         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35890         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35891         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35892         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35893         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35894         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35910 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35912         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35913         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35914         * string/memmove.c (memmove): Renamed to ...
35915         (MEMMOVE): ...this.  Default to memmove.
35916         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35917         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35918         (END_CHK): Define.
35919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35920         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35921         mempcpy-ssse3-back memmove-ssse3-back.
35922         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35923         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35924         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35925         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35926         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35927         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35928         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35929         * sysdeps/x86_64/multiarch/memmove.c: New file.
35930         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35931         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35932         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35933         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35934         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35935         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35936         Define.
35937         (index_Fast_Copy_Backward): Define.
35938         (HAS_ARCH_FEATURE): Define.
35939         (HAS_FAST_REP_STRING): Define.
35940         (HAS_FAST_COPY_BACKWARD): Define.
35942 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35944         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35945         Restore proper fallback handling.
35947 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35949         [BZ #11701]
35950         * posix/group_member.c (__group_member): Correct checking loop.
35952         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35953         OOM in getpwuid_r correctly.  Return error number when the caller
35954         should return, otherwise -1.
35955         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35956         call returning > 0 value.
35957         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35959 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35961         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35962         libc_nonshared.a from targets in modules-names.
35964 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35966         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35967         requires it.
35969 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35971         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35972         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35973         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35974         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35976 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35978         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35980 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35982         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35983         and F_GETPIPE_SZ.
35984         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35985         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35988         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35989         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35991 2010-06-14  Roland McGrath  <roland@redhat.com>
35993         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35995 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35997         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35998         __REDIRECT followed by __THROW.
35999         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36000         * posix/getopt.h (getopt): Likewise.
36002 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36004         * hurd/lookup-at.c (__file_name_lookup_at): Accept
36005         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
36006         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36007         in AT_FLAGS.
36008         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36009         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36011 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
36013         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36015 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
36017         [BZ #11640]
36018         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36019         Properly check family and model.
36021 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
36023         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36025 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
36027         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36029 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
36031         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36032         symbol reference.
36034 2010-05-19  Andreas Schwab  <schwab@redhat.com>
36036         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36037         symbol reference.
36039 2010-05-21  Andreas Schwab  <schwab@redhat.com>
36041         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36042         and internal_recvmmsg.
36043         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36044         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36045         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36046         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36048         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36049         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36050         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36052 2010-05-20  Andreas Schwab  <schwab@redhat.com>
36054         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36056 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
36058         POWER7 optimizations.
36059         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36060         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36062 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
36064         * version.h: Update for 2.13 development version.
36066 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
36068         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36069         exceptions.  Return 0.
36071 2010-05-07  Roland McGrath  <roland@redhat.com>
36073         * elf/ldconfig.c (main): Add a const.
36075 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
36077         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36078         (args_options): Add no-idn option.
36079         (ahosts_keys_int): Add idn_flags to ai_flags.
36080         (parse_option): Handle 'i' option to clear idn_flags.
36082         * malloc/malloc.c (_int_free): Possible race in the most recently
36083         added check.  Only act on the data if no current modification
36084         happened.
36086 See ChangeLog.17 for earlier changes.